USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario Outline: DNF recognizes command alias created in /usr/share/dnf5/aliases.d directory -- @1.1 # dnf/aliases.feature:28 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//usr/share/dnf5/aliases.d" # common/file.py:30 And I create file "//usr/share/dnf5/aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['inthrone'] type = 'command' attached_command = 'install' descr = 'Install command test alias' """ When I execute dnf with args "inthrone labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y6_qq7of --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y6_qq7of/var/cache/dnf inthrone labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y6_qq7of --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y6_qq7of/var/cache/dnf inthrone labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:28 DNF recognizes command alias created in /usr/share/dnf5/aliases.d directory -- @1.1 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.098s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario Outline: DNF recognizes command alias created in /etc/dnf/dnf5-aliases.d directory -- @1.2 # dnf/aliases.feature:29 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['inthrone'] type = 'command' attached_command = 'install' descr = 'Install command test alias' """ When I execute dnf with args "inthrone labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6gzfvple --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6gzfvple/var/cache/dnf inthrone labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6gzfvple --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6gzfvple/var/cache/dnf inthrone labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:29 DNF recognizes command alias created in /etc/dnf/dnf5-aliases.d directory -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.099s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario Outline: DNF recognizes command alias created in /root/.config/dnf5/aliases.d directory -- @1.3 # dnf/aliases.feature:30 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//root/.config/dnf5/aliases.d" # common/file.py:30 And I create file "//root/.config/dnf5/aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['inthrone'] type = 'command' attached_command = 'install' descr = 'Install command test alias' """ When I execute dnf with args "inthrone labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zqj7n5lt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zqj7n5lt/var/cache/dnf inthrone labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zqj7n5lt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zqj7n5lt/var/cache/dnf inthrone labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:30 DNF recognizes command alias created in /root/.config/dnf5/aliases.d directory -- @1.3 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.099s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: I can add option to the aliased command # dnf/aliases.feature:33 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['inthrone'] type = 'command' attached_command = 'install' descr = 'Install command test alias' attached_named_args = [ { id_path = 'assumeno' } ] """ When I execute dnf with args "inthrone labirinto" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xw0qbk_9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xw0qbk_9/var/cache/dnf inthrone labirinto And stderr contains "Operation aborted by the user." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xw0qbk_9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xw0qbk_9/var/cache/dnf inthrone labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:33 I can add option to the aliased command 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.099s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: I can add option with value to the aliased command # dnf/aliases.feature:52 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['inthrone'] type = 'command' attached_command = 'install' descr = 'Install command test alias' attached_named_args = [ { id_path = 'repo', value = 'does_not_exist' } ] """ When I execute dnf with args "inthrone labirinto" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr contains "No matching repositories for does_not_exist." # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: No matching repositories for does_not_exist. ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3zcqu600 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3zcqu600/var/cache/dnf inthrone labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:52 I can add option with value to the aliased command 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 5 steps passed, 1 failed, 68 skipped Took 0min 0.103s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: DNF recognizes alias for a named argument # dnf/aliases.feature:71 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['use-repository-id'] type = 'cloned_named_arg' long_name = 'TEST-use-repository-id' source = 'repo' """ When I execute dnf with args "install labirinto --TEST-use-repository-id=simple-base" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__mftu3ps --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__mftu3ps/var/cache/dnf install labirinto --TEST-use-repository-id=simple-base And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__mftu3ps --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__mftu3ps/var/cache/dnf install labirinto --TEST-use-repository-id=simple-base  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:71 DNF recognizes alias for a named argument 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.101s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: I can define a new named argument to replace multiple options # dnf/aliases.feature:89 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['list.all-available'] type = 'named_arg' long_name = 'all-available' attached_named_args = [ { id_path = 'list.showduplicates' }, { id_path = 'list.available' } ] """ And I use repository "simple-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z7hgel6s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z7hgel6s/var/cache/dnf install labirinto When I execute dnf with args "list labirinto --all-available" # None Then the exit code is 0 # None And stdout is # None """ Available packages labirinto.src 1.0-1.fc29 simple-base labirinto.x86_64 1.0-1.fc29 simple-base labirinto.src 2.0-1.fc29 simple-updates labirinto.x86_64 2.0-1.fc29 simple-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z7hgel6s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z7hgel6s/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:89 I can define a new named argument to replace multiple options 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.164s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: Aliased command is printed to the user as part of the help # dnf/aliases.feature:117 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['inthrone'] type = 'command' attached_command = 'install' descr = 'Install command test alias' """ When I execute dnf with args "--help" # dnf/steps/cmd.py:110 Then stdout contains "inthrone" # dnf/steps/cmd.py:226 1 feature passed, 0 failed, 0 skipped 1 scenario passed, 0 failed, 11 skipped 5 steps passed, 0 failed, 69 skipped Took 0min 0.103s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: I can define a group for multiple commands or options # dnf/aliases.feature:132 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['repo.test-query-aliases'] type = 'group' header = 'Test Query Aliases:' ['repo.ls'] type = 'command' attached_command = 'repo.list' descr = "Alias for 'repo list'" group_id = 'test-query-aliases' ['repo.if'] type = 'command' attached_command = 'repo.info' descr = "Alias for 'repo info'" group_id = 'test-query-aliases' """ When I execute dnf with args "repo --help" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bij5jyx9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bij5jyx9/var/cache/dnf repo --help And stdout matches line by line # None """ Usage: dnf5 \[GLOBAL OPTIONS\] repo \.\.\. \s+ Query Commands: list List repositories info Print details about repositories \s+ Test Query Aliases: ls Alias for 'repo list' if Alias for 'repo info' """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bij5jyx9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bij5jyx9/var/cache/dnf repo --help  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:132 I can define a group for multiple commands or options 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.100s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: I can define an alias of an alias which preserves attached arguments # dnf/aliases.feature:170 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.0' ['inthrone'] type = 'command' attached_command = 'install' attached_named_args = [ { id_path = 'assumeno' } ] ['inthrone2'] type = 'command' attached_command = 'inthrone' """ When I execute dnf with args "inthrone2 labirinto" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nfiyte2t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nfiyte2t/var/cache/dnf inthrone2 labirinto And stderr contains "Operation aborted by the user." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nfiyte2t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nfiyte2t/var/cache/dnf inthrone2 labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:170 I can define an alias of an alias which preserves attached arguments 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.098s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: Alias of an alias can pass multiple required values to placeholders # dnf/aliases.feature:192 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.1' ['inthrone'] type = 'command' attached_command = 'install' attached_named_args = [ { id_path = 'repo', value = '${1}' }, { id_path = 'setopt', value = '${2}' }, { id_path = 'assumeno' } ] required_values = [ { value_help.C = 'REPO,...' }, { value_help.C = 'CUSTOM_SETOPT,...' }, ] ['inthrone2'] type = 'command' attached_command = 'inthrone' """ When I execute dnf with args "inthrone2 simple-base keepcache=true labirinto" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0aaoxac_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0aaoxac_/var/cache/dnf inthrone2 simple-base keepcache=true labirinto And stderr contains "Operation aborted by the user." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0aaoxac_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0aaoxac_/var/cache/dnf inthrone2 simple-base keepcache=true labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:192 Alias of an alias can pass multiple required values to placeholders 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.100s USING RUNNER: behave.runner:Runner @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 @destructive Feature: Test for dnf5 aliases functionality # dnf/aliases.feature:3 Scenario: Alias of an alias can pass multiple required values to placeholders and define its own placeholders # dnf/aliases.feature:220 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I create directory "//etc/dnf/dnf5-aliases.d" # common/file.py:30 And I create file "//etc/dnf/dnf5-aliases.d/TEST_ALIASES.conf" with # common/file.py:36 """ version = '1.1' ['inthrone'] type = 'command' attached_command = 'install' attached_named_args = [ { id_path = 'repo', value = '${1}' }, { id_path = 'setopt', value = '${2}' }, { id_path = 'assumeno' } ] required_values = [ { value_help.C = 'REPO' }, { value_help.C = 'CUSTOM_SETOPT' }, ] ['inthrone2'] type = 'command' attached_command = 'inthrone' attached_named_args = [ { id_path = 'install.store', value = '${1}' }, ] required_values = [ { value_help.C = 'PATH' }, ] """ When I execute dnf with args "inthrone2 ./test simple-base keepcache=true labirinto" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yevxai31 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yevxai31/var/cache/dnf inthrone2 ./test simple-base keepcache=true labirinto And stderr contains "Operation aborted by the user." # None And stderr contains "The operation will only store the transaction in ./test" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yevxai31 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yevxai31/var/cache/dnf inthrone2 ./test simple-base keepcache=true labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/aliases.feature:220 Alias of an alias can pass multiple required values to placeholders and define its own placeholders 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 11 skipped 4 steps passed, 1 failed, 69 skipped Took 0min 0.098s USING RUNNER: behave.runner:Runner Feature: DNF test of append option # dnf/append_options.feature:1 Feature: DNF test of append option # dnf/append_options.feature:1 Scenario: Test that excludes from config file are applied # dnf/append_options.feature:13 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q4axzzcm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q4axzzcm/var/cache/dnf repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q4axzzcm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q4axzzcm/var/cache/dnf repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test adding of excludes # dnf/append_options.feature:29 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--exclude=lz4 --exclude=wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8zdbkesh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8zdbkesh/var/cache/dnf --exclude=lz4 --exclude=wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8zdbkesh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8zdbkesh/var/cache/dnf --exclude=lz4 --exclude=wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test adding of excludes using --setopt # dnf/append_options.feature:43 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--setopt=excludepkgs=lz4 --setopt=excludepkgs=wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ou5fzvb8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ou5fzvb8/var/cache/dnf --setopt=excludepkgs=lz4 --setopt=excludepkgs=wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ou5fzvb8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ou5fzvb8/var/cache/dnf --setopt=excludepkgs=lz4 --setopt=excludepkgs=wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test adding of excludes short notation # dnf/append_options.feature:57 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--exclude=lz4,wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n5gi9iio --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n5gi9iio/var/cache/dnf --exclude=lz4,wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n5gi9iio --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n5gi9iio/var/cache/dnf --exclude=lz4,wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test adding of excludes short notation using --setopt # dnf/append_options.feature:71 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--setopt=excludepkgs=lz4,wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x7juep3s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x7juep3s/var/cache/dnf --setopt=excludepkgs=lz4,wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x7juep3s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x7juep3s/var/cache/dnf --setopt=excludepkgs=lz4,wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test removing of existing excludes # dnf/append_options.feature:85 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--exclude= repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8q9wrprn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8q9wrprn/var/cache/dnf --exclude= repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src lame-0:3.100-5.fc29.src lame-0:3.100-5.fc29.x86_64 lz4-0:1.8.2-2.fc29.i686 lz4-0:1.8.2-2.fc29.src lz4-0:1.8.2-2.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8q9wrprn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8q9wrprn/var/cache/dnf --exclude= repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test removing of existing excludes using --setopt # dnf/append_options.feature:106 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--setopt=excludepkgs= repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6kcxq3sm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6kcxq3sm/var/cache/dnf --setopt=excludepkgs= repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src lame-0:3.100-5.fc29.src lame-0:3.100-5.fc29.x86_64 lz4-0:1.8.2-2.fc29.i686 lz4-0:1.8.2-2.fc29.src lz4-0:1.8.2-2.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6kcxq3sm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6kcxq3sm/var/cache/dnf --setopt=excludepkgs= repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test replacing of existing excludes # dnf/append_options.feature:127 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--exclude= --exclude=lz4 --exclude=wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o1le4m7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o1le4m7w/var/cache/dnf --exclude= --exclude=lz4 --exclude=wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src lame-0:3.100-5.fc29.src lame-0:3.100-5.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o1le4m7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o1le4m7w/var/cache/dnf --exclude= --exclude=lz4 --exclude=wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test replacing of existing excludes using --setopt # dnf/append_options.feature:143 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--setopt=excludepkgs= --setopt=excludepkgs=lz4 --setopt=excludepkgs=wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hpdf8fev --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hpdf8fev/var/cache/dnf --setopt=excludepkgs= --setopt=excludepkgs=lz4 --setopt=excludepkgs=wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src lame-0:3.100-5.fc29.src lame-0:3.100-5.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hpdf8fev --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hpdf8fev/var/cache/dnf --setopt=excludepkgs= --setopt=excludepkgs=lz4 --setopt=excludepkgs=wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test replacing of existing excludes short notation # dnf/append_options.feature:159 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--exclude=,lz4,wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b5o3yba9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b5o3yba9/var/cache/dnf --exclude=,lz4,wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src lame-0:3.100-5.fc29.src lame-0:3.100-5.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b5o3yba9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b5o3yba9/var/cache/dnf --exclude=,lz4,wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test replacing of existing excludes short notation using --setopt # dnf/append_options.feature:175 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--setopt=excludepkgs=,lz4,wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_90f140y6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_90f140y6/var/cache/dnf --setopt=excludepkgs=,lz4,wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src lame-0:3.100-5.fc29.src lame-0:3.100-5.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_90f140y6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_90f140y6/var/cache/dnf --setopt=excludepkgs=,lz4,wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1788154 Scenario: Test adding excludes (empty values in the middle of short notation are ignored) # dnf/append_options.feature:192 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--exclude=lz4,,wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2qd3949x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2qd3949x/var/cache/dnf --exclude=lz4,,wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2qd3949x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2qd3949x/var/cache/dnf --exclude=lz4,,wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1788154 Scenario: Test adding excludes (empty values in the middle of short notation are ignored) using --setopt # dnf/append_options.feature:207 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--setopt=excludepkgs=lz4,,wget repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qpcd9bt4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qpcd9bt4/var/cache/dnf --setopt=excludepkgs=lz4,,wget repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qpcd9bt4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qpcd9bt4/var/cache/dnf --setopt=excludepkgs=lz4,,wget repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1788154 Scenario: Test adding excludes (empty value at the end of short notation is ignored) # dnf/append_options.feature:222 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--exclude=lz4,wget, repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_so1qn13e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_so1qn13e/var/cache/dnf --exclude=lz4,wget, repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_so1qn13e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_so1qn13e/var/cache/dnf --exclude=lz4,wget, repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1788154 Scenario: Test adding excludes (empty value at the end of short notation is ignored) using --setopt # dnf/append_options.feature:237 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | lame, lz4 | When I execute dnf with args "--setopt=excludepkgs=lz4,wget, repoquery abcde lame lz4 wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_balg5k_3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_balg5k_3/var/cache/dnf --setopt=excludepkgs=lz4,wget, repoquery abcde lame lz4 wget And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch abcde-0:2.9.3-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_balg5k_3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_balg5k_3/var/cache/dnf --setopt=excludepkgs=lz4,wget, repoquery abcde lame lz4 wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/append_options.feature:13 Test that excludes from config file are applied dnf/append_options.feature:29 Test adding of excludes dnf/append_options.feature:43 Test adding of excludes using --setopt dnf/append_options.feature:57 Test adding of excludes short notation dnf/append_options.feature:71 Test adding of excludes short notation using --setopt dnf/append_options.feature:85 Test removing of existing excludes dnf/append_options.feature:106 Test removing of existing excludes using --setopt dnf/append_options.feature:127 Test replacing of existing excludes dnf/append_options.feature:143 Test replacing of existing excludes using --setopt dnf/append_options.feature:159 Test replacing of existing excludes short notation dnf/append_options.feature:175 Test replacing of existing excludes short notation using --setopt dnf/append_options.feature:192 Test adding excludes (empty values in the middle of short notation are ignored) dnf/append_options.feature:207 Test adding excludes (empty values in the middle of short notation are ignored) using --setopt dnf/append_options.feature:222 Test adding excludes (empty value at the end of short notation is ignored) dnf/append_options.feature:237 Test adding excludes (empty value at the end of short notation is ignored) using --setopt 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 15 failed, 0 skipped 45 steps passed, 15 failed, 30 skipped Took 0min 0.640s USING RUNNER: behave.runner:Runner @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 Scenario: Repository metadata key under /etc/pki/rpm-gpg is imported without confirmation # dnf/auto-import-local-keys.feature:15 Given I create directory "//etc/pki/rpm-gpg" # common/file.py:30 And I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public" to "//etc/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg" # common/file.py:157 Given I do not assume yes # dnf/steps/cmd.py:164 And I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_a0dgmsmk/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_a0dgmsmk/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_a0dgmsmk/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_a0dgmsmk/gpg_home' And I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 0 | | repo_gpgcheck | 1 | | auto_import_local_keys | 1 | | gpgkey | file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 --installroot=/tmp/dnf_ci_installroot_a0dgmsmk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a0dgmsmk/var/cache/dnf makecache And stderr contains "The key was successfully imported." # None And stderr does not contain "Importing OpenPGP key" # None And stderr does not contain "Is this ok" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 --installroot=/tmp/dnf_ci_installroot_a0dgmsmk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a0dgmsmk/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/auto-import-local-keys.feature:15 Repository metadata key under /etc/pki/rpm-gpg is imported without confirmation 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 4 skipped 7 steps passed, 1 failed, 45 skipped Took 0min 0.122s USING RUNNER: behave.runner:Runner @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 Scenario: Repository metadata key under /usr/share/pki/rpm-gpg is imported without confirmation # dnf/auto-import-local-keys.feature:33 Given I create directory "//etc/pki/rpm-gpg" # common/file.py:30 And I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public" to "//etc/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg" # common/file.py:157 Given I do not assume yes # dnf/steps/cmd.py:164 And I create directory "//usr/share/pki/rpm-gpg" # common/file.py:30 And I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public" to "//usr/share/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg" # common/file.py:157 And I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_khexk2ox/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_khexk2ox/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_khexk2ox/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_khexk2ox/gpg_home' And I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 0 | | repo_gpgcheck | 1 | | auto_import_local_keys | 1 | | gpgkey | file:///usr/share/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 --installroot=/tmp/dnf_ci_installroot_khexk2ox --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_khexk2ox/var/cache/dnf makecache And stderr contains "The key was successfully imported." # None And stderr does not contain "Importing OpenPGP key" # None And stderr does not contain "Is this ok" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 --installroot=/tmp/dnf_ci_installroot_khexk2ox --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_khexk2ox/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/auto-import-local-keys.feature:33 Repository metadata key under /usr/share/pki/rpm-gpg is imported without confirmation 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 4 skipped 9 steps passed, 1 failed, 43 skipped Took 0min 0.123s USING RUNNER: behave.runner:Runner @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 Scenario: Package signing key is imported into the RPM database without confirmation # dnf/auto-import-local-keys.feature:53 Given I create directory "//etc/pki/rpm-gpg" # common/file.py:30 And I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public" to "//etc/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg" # common/file.py:157 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 1 | | repo_gpgcheck | 0 | | auto_import_local_keys | 1 | | gpgkey | file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg | When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rqr398af --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rqr398af/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | And stderr does not contain "Importing OpenPGP key" # None When I execute rpm with args "-q gpg-pubkey --qf 'gpg(%{{packager}})\n'" # None Then the exit code is 0 # None And stdout contains "gpg\(dnf-ci-gpg\)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rqr398af --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rqr398af/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/auto-import-local-keys.feature:53 Package signing key is imported into the RPM database without confirmation 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 4 skipped 4 steps passed, 1 failed, 48 skipped Took 0min 0.128s USING RUNNER: behave.runner:Runner @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 Scenario: Nothing is imported with assumeno # dnf/auto-import-local-keys.feature:74 Given I create directory "//etc/pki/rpm-gpg" # common/file.py:30 And I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public" to "//etc/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg" # common/file.py:157 Given I do not assume yes # dnf/steps/cmd.py:164 And I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 1 | | repo_gpgcheck | 0 | | auto_import_local_keys | 1 | | gpgkey | file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg | When I execute dnf with args "install setup --assumeno" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 --installroot=/tmp/dnf_ci_installroot_jpa_wt5d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jpa_wt5d/var/cache/dnf install setup --assumeno And RPMDB Transaction is empty # None When I execute rpm with args "-q gpg-pubkey --qf 'gpg(%{{packager}})\n'" # None Then the exit code is 0 # None And stdout does not contain "gpg\(dnf-ci-gpg\)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 --installroot=/tmp/dnf_ci_installroot_jpa_wt5d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jpa_wt5d/var/cache/dnf install setup --assumeno  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/auto-import-local-keys.feature:74 Nothing is imported with assumeno 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 4 skipped 5 steps passed, 1 failed, 47 skipped Took 0min 0.130s USING RUNNER: behave.runner:Runner @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 @destructive Feature: Import local OpenPGP keys without confirmation with auto_import_local_keys # dnf/auto-import-local-keys.feature:7 Scenario: Symlink in the trusted directory pointing outside of it still asks for confirmation # dnf/auto-import-local-keys.feature:90 Given I create directory "//etc/pki/rpm-gpg" # common/file.py:30 And I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public" to "//etc/pki/rpm-gpg/RPM-GPG-KEY-dnf-ci-gpg" # common/file.py:157 Given I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public" to "//tmp/RPM-GPG-KEY-dnf-ci-gpg-untrusted" # common/file.py:157 And I create symlink "//etc/pki/rpm-gpg/RPM-GPG-KEY-linked" to file "//tmp/RPM-GPG-KEY-dnf-ci-gpg-untrusted" # common/file.py:50 And I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 1 | | repo_gpgcheck | 0 | | auto_import_local_keys | 1 | | gpgkey | file:///etc/pki/rpm-gpg/RPM-GPG-KEY-linked | When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4gbt3xpm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4gbt3xpm/var/cache/dnf install setup And stderr contains "Importing OpenPGP key" # None And stderr contains "The key was successfully imported." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4gbt3xpm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4gbt3xpm/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/auto-import-local-keys.feature:90 Symlink in the trusted directory pointing outside of it still asks for confirmation 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 4 skipped 6 steps passed, 1 failed, 46 skipped Took 0min 0.129s USING RUNNER: behave.runner:Runner Feature: Autoremoval of unneeded packages # dnf/autoremove.feature:1 Scenario: Autoremoval of package which became non-required by others # dnf/autoremove.feature:3 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y75nffnt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y75nffnt/var/cache/dnf install SuperRipper And Transaction is following # None | Action | Package | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | When I use repository "dnf-ci-thirdparty-updates" # None And I execute dnf with args "upgrade --no-best" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | SuperRipper-0:1.2-1.x86_64 | | broken | SuperRipper-0:1.3-1.x86_64 | When I execute dnf with args "autoremove" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.2-1.fc29.noarch | | remove | flac-0:1.3.2-8.fc29.x86_64 | | remove | wget-0:1.19.5-5.fc29.x86_64 | | remove | FlacBetterEncoder-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y75nffnt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y75nffnt/var/cache/dnf install SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/autoremove.feature:3 Autoremoval of package which became non-required by others 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 3 steps passed, 1 failed, 8 skipped Took 0min 0.248s USING RUNNER: behave.runner:Runner Feature: Reporting broken dependencies with various strict, best options # dnf/broken-dependencies-report.feature:1 @bz2088422 Scenario: Broken dependencies block the transaction when strict mode is on # dnf/broken-dependencies-report.feature:5 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install postgresql --exclude=postgresql-libs --setopt=strict=true" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xsexe9bv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xsexe9bv/var/cache/dnf install postgresql --exclude=postgresql-libs --setopt=strict=true ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xsexe9bv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xsexe9bv/var/cache/dnf install postgresql --exclude=postgresql-libs --setopt=strict=true  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2088422 Scenario: Broken dependencies are reported when strict and best options are off # dnf/broken-dependencies-report.feature:12 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install postgresql --exclude=postgresql-libs --setopt=strict=false --setopt=best=false" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vwhcf9s2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vwhcf9s2/var/cache/dnf install postgresql --exclude=postgresql-libs --setopt=strict=false --setopt=best=false And stderr is # None """ Problem: package postgresql-9.6.5-1.fc29.x86_64 from dnf-ci-fedora requires libpq.so.5()(64bit), but none of the providers can be installed - package postgresql-9.6.5-1.fc29.x86_64 from dnf-ci-fedora requires postgresql-libs(x86-64) = 9.6.5-1.fc29, but none of the providers can be installed - conflicting requests - package postgresql-libs-9.6.5-1.fc29.x86_64 from dnf-ci-fedora is filtered out by exclude filtering """ And Transaction is following # None | Action | Package | | broken | postgresql-9.6.5-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vwhcf9s2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vwhcf9s2/var/cache/dnf install postgresql --exclude=postgresql-libs --setopt=strict=false --setopt=best=false  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2088422 Scenario: Broken dependencies are reported when strict option is off and best option is on # dnf/broken-dependencies-report.feature:30 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install postgresql --exclude=postgresql-libs --setopt=strict=false --setopt=best=true" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y5nikx5s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y5nikx5s/var/cache/dnf install postgresql --exclude=postgresql-libs --setopt=strict=false --setopt=best=true And stderr is # None """ Problem: package postgresql-9.6.5-1.fc29.x86_64 from dnf-ci-fedora requires libpq.so.5()(64bit), but none of the providers can be installed - package postgresql-9.6.5-1.fc29.x86_64 from dnf-ci-fedora requires postgresql-libs(x86-64) = 9.6.5-1.fc29, but none of the providers can be installed - conflicting requests - package postgresql-libs-9.6.5-1.fc29.x86_64 from dnf-ci-fedora is filtered out by exclude filtering """ And Transaction is following # None | Action | Package | | broken | postgresql-9.6.5-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y5nikx5s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y5nikx5s/var/cache/dnf install postgresql --exclude=postgresql-libs --setopt=strict=false --setopt=best=true  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2088422 Scenario: Broken dependencies are reported when skip-broken and best options are on # dnf/broken-dependencies-report.feature:48 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install postgresql --exclude=postgresql-libs --skip-broken --setopt=best=true" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cvc_z_n5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cvc_z_n5/var/cache/dnf install postgresql --exclude=postgresql-libs --skip-broken --setopt=best=true And stderr is # None """ Problem: package postgresql-9.6.5-1.fc29.x86_64 from dnf-ci-fedora requires libpq.so.5()(64bit), but none of the providers can be installed - package postgresql-9.6.5-1.fc29.x86_64 from dnf-ci-fedora requires postgresql-libs(x86-64) = 9.6.5-1.fc29, but none of the providers can be installed - conflicting requests - package postgresql-libs-9.6.5-1.fc29.x86_64 from dnf-ci-fedora is filtered out by exclude filtering """ And Transaction is following # None | Action | Package | | broken | postgresql-9.6.5-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cvc_z_n5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cvc_z_n5/var/cache/dnf install postgresql --exclude=postgresql-libs --skip-broken --setopt=best=true  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/broken-dependencies-report.feature:5 Broken dependencies block the transaction when strict mode is on dnf/broken-dependencies-report.feature:12 Broken dependencies are reported when strict and best options are off dnf/broken-dependencies-report.feature:30 Broken dependencies are reported when strict option is off and best option is on dnf/broken-dependencies-report.feature:48 Broken dependencies are reported when skip-broken and best options are on 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 6 skipped Took 0min 0.244s USING RUNNER: behave.runner:Runner Feature: Tests for cache # dnf/cache.feature:1 @bz2027445 Scenario: Regenerate solvfile cache when solvfile version doesn't match # dnf/cache.feature:5 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I execute dnf with args "makecache" # dnf/steps/cmd.py:110 When I invalidate solvfile version of "{context.dnf.installroot}/var/cache/dnf/simple-base-*/solv/simple-base.solv" # dnf/steps/repo.py:407 ASSERT FAILED: File path /tmp/dnf_ci_installroot_opkwulh6/var/cache/dnf/simple-base-*/solv/simple-base.solv doesn't match any file. And I execute dnf with args "repoquery" # None Then file "/var/log/dnf5.log" contains lines # None """ .*WARNING Libsolv solvfile version doesn't match.* """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_opkwulh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_opkwulh6/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/cache.feature:5 Regenerate solvfile cache when solvfile version doesn't match 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 2 skipped Took 0min 0.098s USING RUNNER: behave.runner:Runner Feature: Tests for cacheonly functionality # dnf/cacheonly.feature:1 Feature: Tests for cacheonly functionality # dnf/cacheonly.feature:1 Scenario: Cannot work with empty cache when using -C # dnf/cacheonly.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I execute dnf with args "install wget -C" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iqqhjxcf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iqqhjxcf/var/cache/dnf install wget -C And stderr contains lines # None """ Cache-only enabled but no cache for repository "dnf-ci-fedora" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iqqhjxcf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iqqhjxcf/var/cache/dnf install wget -C  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Cannot install a remote package when using -C # dnf/cacheonly.feature:17 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2zhea02h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2zhea02h/var/cache/dnf makecache When I execute dnf with args "install wget -C" # None Then the exit code is 1 # None And stderr contains lines # None """ Cannot download the "wget-1.19.5-5.fc29.x86_64" package, cacheonly option is activated. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2zhea02h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2zhea02h/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install previously downloaded package using -C # dnf/cacheonly.feature:27 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "download wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wlh5l_9i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wlh5l_9i/var/cache/dnf download wget When I execute dnf with args "install wget-1.19.5-5.fc29.x86_64.rpm -C" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wlh5l_9i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wlh5l_9i/var/cache/dnf download wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install locally cached package using -C # dnf/cacheonly.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install wget --downloadonly --setopt=keepcache=True" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b61ekqjr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b61ekqjr/var/cache/dnf install wget --downloadonly --setopt=keepcache=True When I execute dnf with args "install wget -C" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b61ekqjr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b61ekqjr/var/cache/dnf install wget --downloadonly --setopt=keepcache=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Cannot work with empty cache when using cacheonly=metadata # dnf/cacheonly.feature:45 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I execute dnf with args "install wget --setopt=cacheonly=metadata" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gp41u53s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gp41u53s/var/cache/dnf install wget --setopt=cacheonly=metadata And stderr contains lines # None """ Cache-only enabled but no cache for repository "dnf-ci-fedora" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gp41u53s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gp41u53s/var/cache/dnf install wget --setopt=cacheonly=metadata  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a remote package when using cacheonly=metadata # dnf/cacheonly.feature:54 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9jjcy3rt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9jjcy3rt/var/cache/dnf makecache When I execute dnf with args "install wget --setopt=cacheonly=metadata" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9jjcy3rt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9jjcy3rt/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Local key is imported during installation with -C option # dnf/cacheonly.feature:63 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I drop repository "dnf-ci-fedora" # dnf/steps/repo.py:227 And I use repository "dnf-ci-gpg" # dnf/steps/repo.py:186 And I configure repository "dnf-ci-gpg" with # dnf/steps/repo.py:197 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public | And I successfully execute dnf with args "install setup --downloadonly --setopt=keepcache=True" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1d3ejnkm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1d3ejnkm/var/cache/dnf install setup --downloadonly --setopt=keepcache=True When I execute dnf with args "install setup -C" # None Then Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | And stderr contains "The key was successfully imported." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1d3ejnkm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1d3ejnkm/var/cache/dnf install setup --downloadonly --setopt=keepcache=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/cacheonly.feature:8 Cannot work with empty cache when using -C dnf/cacheonly.feature:17 Cannot install a remote package when using -C dnf/cacheonly.feature:27 Install previously downloaded package using -C dnf/cacheonly.feature:36 Install locally cached package using -C dnf/cacheonly.feature:45 Cannot work with empty cache when using cacheonly=metadata dnf/cacheonly.feature:54 Install a remote package when using cacheonly=metadata dnf/cacheonly.feature:63 Local key is imported during installation with -C option 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 12 steps passed, 7 failed, 17 skipped Took 0min 0.438s USING RUNNER: behave.runner:Runner Feature: Check when there are multiple problems # dnf/check-all.feature:1 Feature: Check when there are multiple problems # dnf/check-all.feature:1 Scenario: Check # dnf/check-all.feature:20 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gwgiyenx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gwgiyenx/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc-2.28-26.fc29.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check" # None Then the exit code is 1 # None And stdout is # None """ glibc-0:2.28-26.fc29.x86_64 missing require "glibc-common = 2.28-26.fc29" missing require "glibc-langpack = 2.28-26.fc29" duplicate with "glibc-0:2.28-9.fc29.x86_64" glibc-0:2.28-9.fc29.x86_64 obsoleted by "glibc < 2.28-10.fc29" from "glibc-0:2.28-26.fc29.x86_64" duplicate with "glibc-0:2.28-26.fc29.x86_64" """ And stderr is # None """ Check discovered 5 problem(s) in 2 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gwgiyenx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gwgiyenx/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Check --dependencies # dnf/check-all.feature:39 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tc_31w70 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tc_31w70/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc-2.28-26.fc29.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --dependencies" # None Then the exit code is 1 # None And stdout is # None """ glibc-0:2.28-26.fc29.x86_64 missing require "glibc-common = 2.28-26.fc29" missing require "glibc-langpack = 2.28-26.fc29" """ And stderr is # None """ Check discovered 2 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tc_31w70 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tc_31w70/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Check --duplicates # dnf/check-all.feature:54 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fiv_h212 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fiv_h212/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc-2.28-26.fc29.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --duplicates" # None Then the exit code is 1 # None And stdout is # None """ glibc-0:2.28-26.fc29.x86_64 duplicate with "glibc-0:2.28-9.fc29.x86_64" glibc-0:2.28-9.fc29.x86_64 duplicate with "glibc-0:2.28-26.fc29.x86_64" """ And stderr is # None """ Check discovered 2 problem(s) in 2 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fiv_h212 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fiv_h212/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Check --obsoleted # dnf/check-all.feature:70 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_awmxxlxw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_awmxxlxw/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc-2.28-26.fc29.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --obsoleted" # None Then the exit code is 1 # None And stdout is # None """ glibc-0:2.28-9.fc29.x86_64 obsoleted by "glibc < 2.28-10.fc29" from "glibc-0:2.28-26.fc29.x86_64" """ And stderr is # None """ Check discovered 1 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_awmxxlxw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_awmxxlxw/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/check-all.feature:20 Check dnf/check-all.feature:39 Check --dependencies dnf/check-all.feature:54 Check --duplicates dnf/check-all.feature:70 Check --obsoleted 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 28 skipped Took 0min 0.247s USING RUNNER: behave.runner:Runner Feature: Check when there is a package with missing dependency # dnf/check-dependencies.feature:1 Scenario Outline: Check -- @1.1 # dnf/check-dependencies.feature:22 When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "check " # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_5nic_f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_5nic_f/var/cache/dnf check And stdout is # None """ filesystem-0:3.9-2.fc29.x86_64 missing require "setup" """ And stderr is # None """ Check discovered 1 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_5nic_f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_5nic_f/var/cache/dnf check  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --dependencies -- @1.2 # dnf/check-dependencies.feature:23 When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "check --dependencies" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pdof04hu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pdof04hu/var/cache/dnf check --dependencies And stdout is # None """ filesystem-0:3.9-2.fc29.x86_64 missing require "setup" """ And stderr is # None """ Check discovered 1 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pdof04hu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pdof04hu/var/cache/dnf check --dependencies  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --duplicates -- @1.1 # dnf/check-dependencies.feature:36 When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "check --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c83gqwbs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c83gqwbs/var/cache/dnf check --duplicates And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c83gqwbs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c83gqwbs/var/cache/dnf check --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --obsoleted -- @1.2 # dnf/check-dependencies.feature:37 When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "check --obsoleted" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2vc40o6b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2vc40o6b/var/cache/dnf check --obsoleted And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2vc40o6b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2vc40o6b/var/cache/dnf check --obsoleted  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1543449 Scenario: Removed scriptlet pre and post dependencies are not reported as missing # dnf/check-dependencies.feature:41 Given I use repository "dnf-ci-check-dependencies" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install package-requires-all-scriptlets" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nz6wfi2v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nz6wfi2v/var/cache/dnf install package-requires-all-scriptlets And I successfully execute dnf with args "remove dependency-1 dependency-2" # None When I execute dnf with args "check --dependencies" # None Then the exit code is 0 # None And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nz6wfi2v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nz6wfi2v/var/cache/dnf install package-requires-all-scriptlets  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Removed requires(pre) dependency is reported if it is also requires # dnf/check-dependencies.feature:51 Given I use repository "dnf-ci-check-dependencies" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install package-requires-and-requires-pre" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0dmbye05 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0dmbye05/var/cache/dnf install package-requires-and-requires-pre And I successfully execute rpm with args "--erase --nodeps dependency-1" # None When I execute dnf with args "check --dependencies" # None Then the exit code is 1 # None And stdout is # None """ package-requires-and-requires-pre-0:1.0-1.x86_64 missing require "dependency-1" """ And stderr is # None """ Check discovered 1 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0dmbye05 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0dmbye05/var/cache/dnf install package-requires-and-requires-pre  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Removed requires(pre) dependency is reported if it is also requires(preun) # dnf/check-dependencies.feature:68 Given I use repository "dnf-ci-check-dependencies" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install package-requires-pre-and-requires-preun" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b51a77ti --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b51a77ti/var/cache/dnf install package-requires-pre-and-requires-preun And I successfully execute rpm with args "--erase --nodeps dependency-1" # None When I execute dnf with args "check --dependencies" # None Then the exit code is 1 # None And stdout is # None """ package-requires-pre-and-requires-preun-0:1.0-1.x86_64 missing require "dependency-1" """ And stderr is # None """ Check discovered 1 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b51a77ti --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b51a77ti/var/cache/dnf install package-requires-pre-and-requires-preun  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Removed scriptlet preun and postun dependencies are reported as missing # dnf/check-dependencies.feature:85 Given I use repository "dnf-ci-check-dependencies" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install package-requires-all-scriptlets" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7dvuormm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7dvuormm/var/cache/dnf install package-requires-all-scriptlets And I successfully execute rpm with args "--erase --nodeps dependency-3 dependency-4" # None When I execute dnf with args "check --dependencies" # None Then the exit code is 1 # None And stdout is # None """ package-requires-all-scriptlets-0:1.0-1.x86_64 missing require "dependency-3" missing require "dependency-4" """ And stderr is # None """ Check discovered 2 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7dvuormm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7dvuormm/var/cache/dnf install package-requires-all-scriptlets  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/check-dependencies.feature:22 Check -- @1.1 dnf/check-dependencies.feature:23 Check --dependencies -- @1.2 dnf/check-dependencies.feature:36 Check --duplicates -- @1.1 dnf/check-dependencies.feature:37 Check --obsoleted -- @1.2 dnf/check-dependencies.feature:41 Removed scriptlet pre and post dependencies are not reported as missing dnf/check-dependencies.feature:51 Removed requires(pre) dependency is reported if it is also requires dnf/check-dependencies.feature:68 Removed requires(pre) dependency is reported if it is also requires(preun) dnf/check-dependencies.feature:85 Removed scriptlet preun and postun dependencies are reported as missing 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 16 steps passed, 8 failed, 28 skipped Took 0min 0.402s USING RUNNER: behave.runner:Runner Feature: Check when there are duplicate packages # dnf/check-duplicates.feature:1 Feature: Check when there are duplicate packages # dnf/check-duplicates.feature:1 Scenario Outline: Check -- @1.1 # dnf/check-duplicates.feature:33 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_miennjas --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_miennjas/var/cache/dnf install flac-1.3.3-1.fc29 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-1.fc29.x86_64 | When I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check " # None Then the exit code is 1 # None And stdout is # None """ flac-0:1.3.3-1.fc29.x86_64 duplicate with "flac-0:1.3.3-3.fc29.x86_64" flac-0:1.3.3-3.fc29.x86_64 duplicate with "flac-0:1.3.3-1.fc29.x86_64" """ And stderr is # None """ Check discovered 2 problem(s) in 2 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_miennjas --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_miennjas/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --duplicates -- @1.2 # dnf/check-duplicates.feature:34 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z2v_g_z5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z2v_g_z5/var/cache/dnf install flac-1.3.3-1.fc29 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-1.fc29.x86_64 | When I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --duplicates" # None Then the exit code is 1 # None And stdout is # None """ flac-0:1.3.3-1.fc29.x86_64 duplicate with "flac-0:1.3.3-3.fc29.x86_64" flac-0:1.3.3-3.fc29.x86_64 duplicate with "flac-0:1.3.3-1.fc29.x86_64" """ And stderr is # None """ Check discovered 2 problem(s) in 2 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z2v_g_z5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z2v_g_z5/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --dependencies -- @1.1 # dnf/check-duplicates.feature:45 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4rlbvyp5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4rlbvyp5/var/cache/dnf install flac-1.3.3-1.fc29 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-1.fc29.x86_64 | When I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --dependencies" # None Then the exit code is 0 # None And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4rlbvyp5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4rlbvyp5/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --obsoleted -- @1.2 # dnf/check-duplicates.feature:46 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u5hvf7de --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u5hvf7de/var/cache/dnf install flac-1.3.3-1.fc29 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-1.fc29.x86_64 | When I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --obsoleted" # None Then the exit code is 0 # None And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u5hvf7de --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u5hvf7de/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/check-duplicates.feature:33 Check -- @1.1 dnf/check-duplicates.feature:34 Check --duplicates -- @1.2 dnf/check-duplicates.feature:45 Check --dependencies -- @1.1 dnf/check-duplicates.feature:46 Check --obsoleted -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 28 skipped Took 0min 0.273s USING RUNNER: behave.runner:Runner Feature: Check when there is no problem # dnf/check-no-problem.feature:1 Scenario Outline: Check -- @1.1 # dnf/check-no-problem.feature:13 When I execute dnf with args "check " # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_olc_6p_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_olc_6p_0/var/cache/dnf check And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_olc_6p_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_olc_6p_0/var/cache/dnf check  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --dependencies -- @1.2 # dnf/check-no-problem.feature:14 When I execute dnf with args "check --dependencies" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1zds474x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1zds474x/var/cache/dnf check --dependencies And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1zds474x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1zds474x/var/cache/dnf check --dependencies  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --duplicates -- @1.3 # dnf/check-no-problem.feature:15 When I execute dnf with args "check --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yv0e4duq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yv0e4duq/var/cache/dnf check --duplicates And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yv0e4duq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yv0e4duq/var/cache/dnf check --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --obsoleted -- @1.4 # dnf/check-no-problem.feature:16 When I execute dnf with args "check --obsoleted" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_khrcp0lf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_khrcp0lf/var/cache/dnf check --obsoleted And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_khrcp0lf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_khrcp0lf/var/cache/dnf check --obsoleted  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/check-no-problem.feature:13 Check -- @1.1 dnf/check-no-problem.feature:14 Check --dependencies -- @1.2 dnf/check-no-problem.feature:15 Check --duplicates -- @1.3 dnf/check-no-problem.feature:16 Check --obsoleted -- @1.4 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 4 steps passed, 4 failed, 8 skipped Took 0min 0.136s USING RUNNER: behave.runner:Runner Feature: Check when there is a package that obsoletes another installed package # dnf/check-obsoleted.feature:1 Feature: Check when there is a package that obsoletes another installed package # dnf/check-obsoleted.feature:1 Scenario Outline: Check -- @1.1 # dnf/check-obsoleted.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a308i97k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a308i97k/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/x86_64/glibc-profile-2.3.1-10.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check " # None Then the exit code is 1 # None And stdout is # None """ glibc-profile-0:2.3.1-10.x86_64 obsoleted by "glibc-profile < 2.4" from "glibc-0:2.28-9.fc29.x86_64" """ And stderr is # None """ Check discovered 1 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a308i97k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a308i97k/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --obsoleted -- @1.2 # dnf/check-obsoleted.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v2kkvbm1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v2kkvbm1/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/x86_64/glibc-profile-2.3.1-10.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --obsoleted" # None Then the exit code is 1 # None And stdout is # None """ glibc-profile-0:2.3.1-10.x86_64 obsoleted by "glibc-profile < 2.4" from "glibc-0:2.28-9.fc29.x86_64" """ And stderr is # None """ Check discovered 1 problem(s) in 1 package(s) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v2kkvbm1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v2kkvbm1/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --dependencies -- @1.1 # dnf/check-obsoleted.feature:48 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__x6qrdh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__x6qrdh6/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/x86_64/glibc-profile-2.3.1-10.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --dependencies" # None Then the exit code is 0 # None And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__x6qrdh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__x6qrdh6/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check --duplicates -- @1.2 # dnf/check-obsoleted.feature:49 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_61pa1ome --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_61pa1ome/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/x86_64/glibc-profile-2.3.1-10.x86_64.rpm" # None Then the exit code is 0 # None When I execute dnf with args "check --duplicates" # None Then the exit code is 0 # None And stdout is empty # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_61pa1ome --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_61pa1ome/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/check-obsoleted.feature:36 Check -- @1.1 dnf/check-obsoleted.feature:37 Check --obsoleted -- @1.2 dnf/check-obsoleted.feature:48 Check --dependencies -- @1.1 dnf/check-obsoleted.feature:49 Check --duplicates -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 28 skipped Took 0min 0.244s USING RUNNER: behave.runner:Runner Feature: check-upgrade commands # dnf/check-update.feature:1 @bz1769466 Scenario: check for updates according to priority # dnf/check-update.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e85hbva9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e85hbva9/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "check-upgrade" # None Then the exit code is 100 # None Then stdout contains "glibc.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates" # None Then stdout contains "glibc-common.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates" # None Then stdout contains "glibc-all-langpacks.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates" # None Given I use repository "dnf-ci-fedora-updates" with configuration # None | key | value | | priority | 100 | When I execute dnf with args "check-upgrade" # None Then the exit code is 0 # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e85hbva9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e85hbva9/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: check for updates according to priority and utilize `--json` output # dnf/check-update.feature:32 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3vf3ce7k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3vf3ce7k/var/cache/dnf install glibc And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "check-upgrade --json" # None Then stdout json matches # None """ { "upgrades": [ { "name": "glibc", "arch": "x86_64", "evr": "2.28-26.fc29", "repository": "dnf-ci-fedora-updates" }, { "name": "glibc-common", "arch": "x86_64", "evr": "2.28-26.fc29", "repository": "dnf-ci-fedora-updates" }, { "name": "glibc-all-langpacks", "arch": "x86_64", "evr": "2.28-26.fc29", "repository": "dnf-ci-fedora-updates" } ], "obsoleting_packages": [ { "name": "glibc", "arch": "x86_64", "evr": "2.28-26.fc29", "repository": "dnf-ci-fedora-updates", "obsoletes": [ { "name": "glibc", "arch": "x86_64", "evr": "2.28-9.fc29", "repository": "dnf-ci-fedora" } ] } ] } """ Given I use repository "dnf-ci-fedora-updates" with configuration # None | key | value | | priority | 100 | When I execute dnf with args "check-upgrade --json" # None Then stdout json matches # None """ {} """ When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3vf3ce7k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3vf3ce7k/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2101421 Scenario: --security check-upgrade doesn't show pkgs from resolved advisories (when obsoletes are involved) # dnf/check-update.feature:68 Given I use repository "check-update" # dnf/steps/repo.py:186 And I execute dnf with args "install A-1-1" # dnf/steps/cmd.py:110 When I execute dnf with args "upgrade --security" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8bmn5mdv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8bmn5mdv/var/cache/dnf upgrade --security And Transaction is empty # None When I execute dnf with args "check-upgrade --security" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ No security updates needed, but 1 update(s) available """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8bmn5mdv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8bmn5mdv/var/cache/dnf upgrade --security  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2151910 Scenario: check-upgrade does not report source packages as upgrades # dnf/check-update.feature:87 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | abcde-2.9.3-1.fc29.noarch | And I successfully execute dnf with args "install abcde-2.9.2-1.fc29.noarch" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jzjbtsq0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jzjbtsq0/var/cache/dnf install abcde-2.9.2-1.fc29.noarch When I execute dnf with args "check-upgrade abcde" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jzjbtsq0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jzjbtsq0/var/cache/dnf install abcde-2.9.2-1.fc29.noarch  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @gh-dnf5-3011 Scenario: check-upgrade reports replacements when no same-name upgrade is available # dnf/check-update.feature:106 Given I use repository "obsoletes-yum" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wood-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g98v6v2l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g98v6v2l/var/cache/dnf install wood-1.0 When I execute dnf with args "check-upgrade --exclude=wood-2.0*" # None Then the exit code is 100 # None And stdout contains "Obsoleting packages" # None And stdout contains "iron.x86_64" # None And stdout contains "copper.x86_64" # None And stdout contains "wood.x86_64" # None When I execute dnf with args "check-upgrade wood --exclude=wood-2.0*" # None Then the exit code is 100 # None And stdout contains "iron.x86_64" # None And stdout contains "copper.x86_64" # None When I execute dnf with args "check-upgrade copper --exclude=wood-2.0*" # None Then the exit code is 100 # None And stdout contains "copper.x86_64" # None And stdout does not contain "iron.x86_64" # None When I execute dnf with args "check-upgrade --exclude=wood-2.0* --setopt=obsoletes=0" # None Then the exit code is 0 # None And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g98v6v2l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g98v6v2l/var/cache/dnf install wood-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/check-update.feature:4 check for updates according to priority dnf/check-update.feature:32 check for updates according to priority and utilize `--json` output dnf/check-update.feature:68 --security check-upgrade doesn't show pkgs from resolved advisories (when obsoletes are involved) dnf/check-update.feature:87 check-upgrade does not report source packages as upgrades dnf/check-update.feature:106 check-upgrade reports replacements when no same-name upgrade is available 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 10 steps passed, 5 failed, 48 skipped Took 0min 0.600s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Testing that dnf clean command removes files from the cache # dnf/clean-cachefiles.feature:2 @dnf5daemon Feature: Testing that dnf clean command removes files from the cache # dnf/clean-cachefiles.feature:2 Scenario: Cleanup of the whole cache (dnf clean all) # dnf/clean-cachefiles.feature:28 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "--setopt=keepcache=true install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7vg5oanv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7vg5oanv/var/cache/dnf --setopt=keepcache=true install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/packages \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.zst \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml \./simple-base-[0-9a-f]{16}/solv \./simple-base-[0-9a-f]{16}/solv/simple-base\.solv """ When I execute dnf with args "clean all" # None Then the exit code is 0 # None And stdout matches line by line # None """ (Removed 4 files, 4 directories \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.) """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7vg5oanv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7vg5oanv/var/cache/dnf --setopt=keepcache=true install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Cleanup of the whole cache, cache contains link pointing outside, content outside the cache must not be cleaned! # dnf/clean-cachefiles.feature:42 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "--setopt=keepcache=true install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0cn9lxh0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0cn9lxh0/var/cache/dnf --setopt=keepcache=true install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/packages \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.zst \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml \./simple-base-[0-9a-f]{16}/solv \./simple-base-[0-9a-f]{16}/solv/simple-base\.solv """ Given I create directory "/tmp/user_dir" # None And I create file "/tmp/user_dir/user_file1" with # None """ User data 1 """ And I create file "/tmp/user_file2" with # None """ User data 2 """ And I execute "ln -s {context.dnf.installroot}/tmp/user_dir `ls -d simple-base-*`/packages/link_outside1" in "{context.dnf.installroot}/var/cache/dnf" # None And I execute "ln -s {context.dnf.installroot}/tmp/user_file2 `ls -d simple-base-*`/packages/link_outside2" in "{context.dnf.installroot}/var/cache/dnf" # None When I execute dnf with args "clean all" # None Then the exit code is 0 # None And stdout matches line by line # None """ (Removed 6 files, 4 directories \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.) """ And directory "/var/cache/dnf" is empty # None And file "/tmp/user_dir/user_file1" exists # None And file "/tmp/user_file2" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0cn9lxh0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0cn9lxh0/var/cache/dnf --setopt=keepcache=true install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Cached metadata cleanup (dnf clean metadata) # dnf/clean-cachefiles.feature:67 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "--setopt=keepcache=true install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pi5bh0hv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pi5bh0hv/var/cache/dnf --setopt=keepcache=true install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/packages \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.zst \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml \./simple-base-[0-9a-f]{16}/solv \./simple-base-[0-9a-f]{16}/solv/simple-base\.solv """ When I execute dnf with args "clean metadata" # None Then the exit code is 0 # None And stdout matches line by line # None """ (Removed 3 files, 2 directories \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.) """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/packages \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pi5bh0hv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pi5bh0hv/var/cache/dnf --setopt=keepcache=true install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Cached packages cleanup (dnf clean packages) # dnf/clean-cachefiles.feature:84 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "--setopt=keepcache=true install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xxry_ml3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xxry_ml3/var/cache/dnf --setopt=keepcache=true install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/packages \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.zst \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml \./simple-base-[0-9a-f]{16}/solv \./simple-base-[0-9a-f]{16}/solv/simple-base\.solv """ When I execute dnf with args "clean packages" # None Then the exit code is 0 # None And stdout matches line by line # None """ (Removed 1 file, 1 directory \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.) """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.zst \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml \./simple-base-[0-9a-f]{16}/solv \./simple-base-[0-9a-f]{16}/solv/simple-base\.solv """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xxry_ml3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xxry_ml3/var/cache/dnf --setopt=keepcache=true install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Database cached cleanup (dnf clean dbcache) # dnf/clean-cachefiles.feature:104 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "--setopt=keepcache=true install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_siztxs05 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_siztxs05/var/cache/dnf --setopt=keepcache=true install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/packages \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.zst \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml \./simple-base-[0-9a-f]{16}/solv \./simple-base-[0-9a-f]{16}/solv/simple-base\.solv """ When I execute dnf with args "clean dbcache" # None Then the exit code is 0 # None And stdout matches line by line # None """ (Removed 1 file, 1 directory \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.) """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/packages \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.zst \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_siztxs05 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_siztxs05/var/cache/dnf --setopt=keepcache=true install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/clean-cachefiles.feature:28 Cleanup of the whole cache (dnf clean all) dnf/clean-cachefiles.feature:42 Cleanup of the whole cache, cache contains link pointing outside, content outside the cache must not be cleaned! dnf/clean-cachefiles.feature:67 Cached metadata cleanup (dnf clean metadata) dnf/clean-cachefiles.feature:84 Cached packages cleanup (dnf clean packages) dnf/clean-cachefiles.feature:104 Database cached cleanup (dnf clean dbcache) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 10 steps passed, 5 failed, 46 skipped Took 0min 0.809s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 30 leaked semaphore objects to clean up at shutdown: {'/mp-c6nldms5', '/mp-r_14txu8', '/mp-v7ouci4b', '/mp-q9shuhsm', '/mp-q_usasfx', '/mp-hduryniz', '/mp-ge240ac_', '/mp-pj_1_4sm', '/mp-4uw9r95k', '/mp-yp2jeghm', '/mp-tg1uiavx', '/mp-vm0vdt7m', '/mp-cdnd7_1l', '/mp-prp0tzox', '/mp-kivpyexd', '/mp-txtw_n51', '/mp-yey6xc42', '/mp-hc26smij', '/mp-sylepu3r', '/mp-t2wgvtdn', '/mp-wm0vv7tp', '/mp-i6zm7_ai', '/mp-rm9q63v5', '/mp-rvrv8_89', '/mp-hgah98gl', '/mp-dlc0i_el', '/mp-h0sc_3qg', '/mp-m1kgd__l', '/mp-s02cawpl', '/mp-s8_r1je2'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Autoremoval of unneeded packages # dnf/clean-requirements-on-remove.feature:1 Scenario: Remove with --setopt=clean_requirements_on_remove=True # dnf/clean-requirements-on-remove.feature:3 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vjsntj_d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vjsntj_d/var/cache/dnf install abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | When I execute dnf with args "remove abcde --setopt=clean_requirements_on_remove=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.2-1.fc29.noarch | | remove-unused | flac-0:1.3.2-8.fc29.x86_64 | | remove-unused | wget-0:1.19.5-5.fc29.x86_64 | | remove-unused | FlacBetterEncoder-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vjsntj_d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vjsntj_d/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove with --setopt=clean_requirements_on_remove=False # dnf/clean-requirements-on-remove.feature:23 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2m_9qz80 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2m_9qz80/var/cache/dnf install abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | When I execute dnf with args "remove abcde --setopt=clean_requirements_on_remove=False" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2m_9qz80 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2m_9qz80/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove with --no-autoremove # dnf/clean-requirements-on-remove.feature:40 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ool9dc_e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ool9dc_e/var/cache/dnf install abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | When I execute dnf with args "remove abcde --no-autoremove" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ool9dc_e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ool9dc_e/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/clean-requirements-on-remove.feature:3 Remove with --setopt=clean_requirements_on_remove=True dnf/clean-requirements-on-remove.feature:23 Remove with --setopt=clean_requirements_on_remove=False dnf/clean-requirements-on-remove.feature:40 Remove with --no-autoremove 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 9 steps passed, 3 failed, 12 skipped Took 0min 0.318s USING RUNNER: behave.runner:Runner Feature: Testing dnf clean command # dnf/clean.feature:1 Scenario: Ensure that metadata are unavailable after "dnf clean all" # dnf/clean.feature:4 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wybcf05d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wybcf05d/var/cache/dnf makecache When I execute dnf with args "repoquery cream -C" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ cream-0:1.0-1.src cream-0:1.0-1.x86_64 """ When I execute dnf with args "clean all" # None Then the exit code is 0 # None When I execute dnf with args "repoquery cream -C" # None Then the exit code is 1 # None And stdout is empty # None And stderr is # None """ Cache-only enabled but no cache for repository "dnf-ci-rich" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wybcf05d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wybcf05d/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @tier1 @dnf5daemon Scenario: Expire dnf cache and run repoquery for a package that has been removed meanwhile # dnf/clean.feature:33 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --available SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fy_pg33y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fy_pg33y/var/cache/dnf repoquery --available SuperRipper And stderr is # None """ """ And stdout is # None """ SuperRipper-0:1.2-1.src SuperRipper-0:1.2-1.x86_64 SuperRipper-0:1.3-1.src SuperRipper-0:1.3-1.x86_64 """ Given I delete file "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/x86_64/SuperRipper-1.2-1.x86_64.rpm" # None And I generate repodata for repository "dnf-ci-thirdparty-updates" # None When I execute dnf with args "repoquery --available SuperRipper" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ SuperRipper-0:1.2-1.src SuperRipper-0:1.2-1.x86_64 SuperRipper-0:1.3-1.src SuperRipper-0:1.3-1.x86_64 """ When I execute dnf with args "clean expire-cache" # None Then the exit code is 0 # None When I execute dnf with args "repoquery --available SuperRipper" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ SuperRipper-0:1.2-1.src SuperRipper-0:1.3-1.src SuperRipper-0:1.3-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fy_pg33y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fy_pg33y/var/cache/dnf repoquery --available SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @tier1 @dnf5daemon Scenario: Expire dnf cache and run repoquery when a package has been removed meanwhile # dnf/clean.feature:82 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1oe5_whw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1oe5_whw/var/cache/dnf repoquery And stderr is # None """ """ And stdout is # None """ CQRlib-extension-0:1.6-2.src CQRlib-extension-0:1.6-2.x86_64 SuperRipper-0:1.2-1.src SuperRipper-0:1.2-1.x86_64 SuperRipper-0:1.3-1.src SuperRipper-0:1.3-1.x86_64 """ Given I delete file "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/x86_64/SuperRipper-1.2-1.x86_64.rpm" # None And I generate repodata for repository "dnf-ci-thirdparty-updates" # None When I execute dnf with args "repoquery" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ CQRlib-extension-0:1.6-2.src CQRlib-extension-0:1.6-2.x86_64 SuperRipper-0:1.2-1.src SuperRipper-0:1.2-1.x86_64 SuperRipper-0:1.3-1.src SuperRipper-0:1.3-1.x86_64 """ When I execute dnf with args "clean expire-cache" # None Then the exit code is 0 # None When I execute dnf with args "repoquery" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ CQRlib-extension-0:1.6-2.src CQRlib-extension-0:1.6-2.x86_64 SuperRipper-0:1.2-1.src SuperRipper-0:1.3-1.src SuperRipper-0:1.3-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1oe5_whw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1oe5_whw/var/cache/dnf repoquery  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/clean.feature:4 Ensure that metadata are unavailable after "dnf clean all" dnf/clean.feature:33 Expire dnf cache and run repoquery for a package that has been removed meanwhile dnf/clean.feature:82 Expire dnf cache and run repoquery when a package has been removed meanwhile 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 8 steps passed, 3 failed, 38 skipped Took 0min 0.251s USING RUNNER: behave.runner:Runner Feature: Tests for command aliases availability # dnf/command-aliases.feature:1 Scenario: "nonexistent" is not an alias for any dnf command # dnf/command-aliases.feature:4 When I execute dnf with args "nonexistent -h" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ Unknown argument "nonexistent" for command "dnf5". It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(nonexistent)' """ ASSERT FAILED: Stderr is not: Unknown argument "nonexistent" for command "dnf5". It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(nonexistent)' ---- CAPTURED STDOUT: scenario expected | found Unknown argument "nonexistent" for command "dnf5". | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(nonexistent)' |   Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dowqj0in --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dowqj0in/var/cache/dnf nonexistent -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "updateinfo" is an alias for "advisory" -- @1.1 # dnf/command-aliases.feature:25 When I execute dnf with args "updateinfo -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c6uio0nk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c6uio0nk/var/cache/dnf updateinfo -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c6uio0nk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c6uio0nk/var/cache/dnf updateinfo -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "autoremove" is an alias for "autoremove" -- @1.2 # dnf/command-aliases.feature:26 When I execute dnf with args "autoremove -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2scs6jtv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2scs6jtv/var/cache/dnf autoremove -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2scs6jtv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2scs6jtv/var/cache/dnf autoremove -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "check-update" is an alias for "check-upgrade" -- @1.3 # dnf/command-aliases.feature:27 When I execute dnf with args "check-update -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8274wdt_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8274wdt_/var/cache/dnf check-update -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8274wdt_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8274wdt_/var/cache/dnf check-update -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "check-upgrade" is an alias for "check-upgrade" -- @1.4 # dnf/command-aliases.feature:28 When I execute dnf with args "check-upgrade -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mjbi14vz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mjbi14vz/var/cache/dnf check-upgrade -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mjbi14vz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mjbi14vz/var/cache/dnf check-upgrade -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "clean" is an alias for "clean" -- @1.5 # dnf/command-aliases.feature:29 When I execute dnf with args "clean -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qelj5o26 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qelj5o26/var/cache/dnf clean -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qelj5o26 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qelj5o26/var/cache/dnf clean -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "distro-sync" is an alias for "distro-sync" -- @1.6 # dnf/command-aliases.feature:30 When I execute dnf with args "distro-sync -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0fnrizi1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0fnrizi1/var/cache/dnf distro-sync -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0fnrizi1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0fnrizi1/var/cache/dnf distro-sync -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "dg" is an alias for "downgrade" -- @1.7 # dnf/command-aliases.feature:31 When I execute dnf with args "dg -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yaxeqc8s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yaxeqc8s/var/cache/dnf dg -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yaxeqc8s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yaxeqc8s/var/cache/dnf dg -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "download" is an alias for "download" -- @1.8 # dnf/command-aliases.feature:32 When I execute dnf with args "download -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g07_13e_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g07_13e_/var/cache/dnf download -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g07_13e_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g07_13e_/var/cache/dnf download -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "downgrade" is an alias for "downgrade" -- @1.9 # dnf/command-aliases.feature:33 When I execute dnf with args "downgrade -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yq_6zje8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yq_6zje8/var/cache/dnf downgrade -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yq_6zje8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yq_6zje8/var/cache/dnf downgrade -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "environment" is an alias for "environment" -- @1.10 # dnf/command-aliases.feature:34 When I execute dnf with args "environment -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_40zwp4l_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_40zwp4l_/var/cache/dnf environment -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_40zwp4l_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_40zwp4l_/var/cache/dnf environment -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "group" is an alias for "group" -- @1.11 # dnf/command-aliases.feature:35 When I execute dnf with args "group -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ccb3pzjg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ccb3pzjg/var/cache/dnf group -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ccb3pzjg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ccb3pzjg/var/cache/dnf group -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "grp" is an alias for "group" -- @1.12 # dnf/command-aliases.feature:36 When I execute dnf with args "grp -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z6h4a_rp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z6h4a_rp/var/cache/dnf grp -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z6h4a_rp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z6h4a_rp/var/cache/dnf grp -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "history" is an alias for "history" -- @1.13 # dnf/command-aliases.feature:37 When I execute dnf with args "history -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ck53uch0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ck53uch0/var/cache/dnf history -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ck53uch0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ck53uch0/var/cache/dnf history -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "info" is an alias for "info" -- @1.14 # dnf/command-aliases.feature:38 When I execute dnf with args "info -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0thyy4x4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0thyy4x4/var/cache/dnf info -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0thyy4x4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0thyy4x4/var/cache/dnf info -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "in" is an alias for "install" -- @1.15 # dnf/command-aliases.feature:39 When I execute dnf with args "in -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iynfbyc9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iynfbyc9/var/cache/dnf in -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iynfbyc9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iynfbyc9/var/cache/dnf in -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "install" is an alias for "install" -- @1.16 # dnf/command-aliases.feature:40 When I execute dnf with args "install -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yqe04mej --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yqe04mej/var/cache/dnf install -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yqe04mej --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yqe04mej/var/cache/dnf install -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "leaves" is an alias for "leaves" -- @1.17 # dnf/command-aliases.feature:41 When I execute dnf with args "leaves -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e57kjc7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e57kjc7w/var/cache/dnf leaves -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e57kjc7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e57kjc7w/var/cache/dnf leaves -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "list" is an alias for "list" -- @1.18 # dnf/command-aliases.feature:42 When I execute dnf with args "list -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mhjgdmvg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mhjgdmvg/var/cache/dnf list -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mhjgdmvg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mhjgdmvg/var/cache/dnf list -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "ls" is an alias for "list" -- @1.19 # dnf/command-aliases.feature:43 When I execute dnf with args "ls -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qpdqroz_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qpdqroz_/var/cache/dnf ls -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qpdqroz_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qpdqroz_/var/cache/dnf ls -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "mc" is an alias for "makecache" -- @1.20 # dnf/command-aliases.feature:44 When I execute dnf with args "mc -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lf5i1erd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lf5i1erd/var/cache/dnf mc -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lf5i1erd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lf5i1erd/var/cache/dnf mc -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "mark" is an alias for "mark" -- @1.21 # dnf/command-aliases.feature:45 When I execute dnf with args "mark -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk9axf8i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk9axf8i/var/cache/dnf mark -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk9axf8i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk9axf8i/var/cache/dnf mark -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "provides" is an alias for "provides" -- @1.22 # dnf/command-aliases.feature:46 When I execute dnf with args "provides -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ic5cbat --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ic5cbat/var/cache/dnf provides -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ic5cbat --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ic5cbat/var/cache/dnf provides -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "whatprovides" is an alias for "provides" -- @1.23 # dnf/command-aliases.feature:47 When I execute dnf with args "whatprovides -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6wqfq92j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6wqfq92j/var/cache/dnf whatprovides -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6wqfq92j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6wqfq92j/var/cache/dnf whatprovides -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "rei" is an alias for "reinstall" -- @1.24 # dnf/command-aliases.feature:48 When I execute dnf with args "rei -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j2flkd6b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j2flkd6b/var/cache/dnf rei -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j2flkd6b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j2flkd6b/var/cache/dnf rei -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "reinstall" is an alias for "reinstall" -- @1.25 # dnf/command-aliases.feature:49 When I execute dnf with args "reinstall -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dxabytl2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dxabytl2/var/cache/dnf reinstall -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dxabytl2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dxabytl2/var/cache/dnf reinstall -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "remove" is an alias for "remove" -- @1.26 # dnf/command-aliases.feature:50 When I execute dnf with args "remove -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dogw51nf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dogw51nf/var/cache/dnf remove -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dogw51nf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dogw51nf/var/cache/dnf remove -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "rm" is an alias for "remove" -- @1.27 # dnf/command-aliases.feature:51 When I execute dnf with args "rm -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_167co9wz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_167co9wz/var/cache/dnf rm -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_167co9wz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_167co9wz/var/cache/dnf rm -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "repoinfo" is an alias for "repo info" -- @1.28 # dnf/command-aliases.feature:52 When I execute dnf with args "repoinfo -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8wphaob2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8wphaob2/var/cache/dnf repoinfo -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8wphaob2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8wphaob2/var/cache/dnf repoinfo -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "repolist" is an alias for "repo list" -- @1.29 # dnf/command-aliases.feature:53 When I execute dnf with args "repolist -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tt79mzwq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tt79mzwq/var/cache/dnf repolist -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tt79mzwq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tt79mzwq/var/cache/dnf repolist -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "repoquery" is an alias for "repoquery" -- @1.30 # dnf/command-aliases.feature:54 When I execute dnf with args "repoquery -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3vy0oe16 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3vy0oe16/var/cache/dnf repoquery -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3vy0oe16 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3vy0oe16/var/cache/dnf repoquery -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "rq" is an alias for "repoquery" -- @1.31 # dnf/command-aliases.feature:55 When I execute dnf with args "rq -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4dc0dbus --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4dc0dbus/var/cache/dnf rq -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4dc0dbus --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4dc0dbus/var/cache/dnf rq -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "search" is an alias for "search" -- @1.32 # dnf/command-aliases.feature:56 When I execute dnf with args "search -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yyjsn4io --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yyjsn4io/var/cache/dnf search -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yyjsn4io --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yyjsn4io/var/cache/dnf search -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "swap" is an alias for "swap" -- @1.33 # dnf/command-aliases.feature:57 When I execute dnf with args "swap -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w1_rzlrc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w1_rzlrc/var/cache/dnf swap -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w1_rzlrc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w1_rzlrc/var/cache/dnf swap -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "up" is an alias for "upgrade" -- @1.34 # dnf/command-aliases.feature:58 When I execute dnf with args "up -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2sqsnfpz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2sqsnfpz/var/cache/dnf up -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2sqsnfpz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2sqsnfpz/var/cache/dnf up -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "update" is an alias for "upgrade" -- @1.35 # dnf/command-aliases.feature:59 When I execute dnf with args "update -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jc0a8s7h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jc0a8s7h/var/cache/dnf update -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jc0a8s7h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jc0a8s7h/var/cache/dnf update -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "upgrade" is an alias for "upgrade" -- @1.36 # dnf/command-aliases.feature:60 When I execute dnf with args "upgrade -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f5rgin6g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f5rgin6g/var/cache/dnf upgrade -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f5rgin6g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f5rgin6g/var/cache/dnf upgrade -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: "upgrade-minimal" is an alias for "upgrade" -- @1.37 # dnf/command-aliases.feature:61 When I execute dnf with args "upgrade-minimal -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qx8vf9kp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qx8vf9kp/var/cache/dnf upgrade-minimal -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qx8vf9kp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qx8vf9kp/var/cache/dnf upgrade-minimal -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__11 Scenario Outline: "module" is an alias for "module" -- @2.1 # dnf/command-aliases.feature:67 When I execute dnf with args "module -h" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pe9h32dr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pe9h32dr/var/cache/dnf module -h And stdout contains "Usage:\n" # None And stdout does not contain "Unknown argument" # None And stderr does not contain "Unknown argument" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pe9h32dr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pe9h32dr/var/cache/dnf module -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/command-aliases.feature:4 "nonexistent" is not an alias for any dnf command dnf/command-aliases.feature:25 "updateinfo" is an alias for "advisory" -- @1.1 dnf/command-aliases.feature:26 "autoremove" is an alias for "autoremove" -- @1.2 dnf/command-aliases.feature:27 "check-update" is an alias for "check-upgrade" -- @1.3 dnf/command-aliases.feature:28 "check-upgrade" is an alias for "check-upgrade" -- @1.4 dnf/command-aliases.feature:29 "clean" is an alias for "clean" -- @1.5 dnf/command-aliases.feature:30 "distro-sync" is an alias for "distro-sync" -- @1.6 dnf/command-aliases.feature:31 "dg" is an alias for "downgrade" -- @1.7 dnf/command-aliases.feature:32 "download" is an alias for "download" -- @1.8 dnf/command-aliases.feature:33 "downgrade" is an alias for "downgrade" -- @1.9 dnf/command-aliases.feature:34 "environment" is an alias for "environment" -- @1.10 dnf/command-aliases.feature:35 "group" is an alias for "group" -- @1.11 dnf/command-aliases.feature:36 "grp" is an alias for "group" -- @1.12 dnf/command-aliases.feature:37 "history" is an alias for "history" -- @1.13 dnf/command-aliases.feature:38 "info" is an alias for "info" -- @1.14 dnf/command-aliases.feature:39 "in" is an alias for "install" -- @1.15 dnf/command-aliases.feature:40 "install" is an alias for "install" -- @1.16 dnf/command-aliases.feature:41 "leaves" is an alias for "leaves" -- @1.17 dnf/command-aliases.feature:42 "list" is an alias for "list" -- @1.18 dnf/command-aliases.feature:43 "ls" is an alias for "list" -- @1.19 dnf/command-aliases.feature:44 "mc" is an alias for "makecache" -- @1.20 dnf/command-aliases.feature:45 "mark" is an alias for "mark" -- @1.21 dnf/command-aliases.feature:46 "provides" is an alias for "provides" -- @1.22 dnf/command-aliases.feature:47 "whatprovides" is an alias for "provides" -- @1.23 dnf/command-aliases.feature:48 "rei" is an alias for "reinstall" -- @1.24 dnf/command-aliases.feature:49 "reinstall" is an alias for "reinstall" -- @1.25 dnf/command-aliases.feature:50 "remove" is an alias for "remove" -- @1.26 dnf/command-aliases.feature:51 "rm" is an alias for "remove" -- @1.27 dnf/command-aliases.feature:52 "repoinfo" is an alias for "repo info" -- @1.28 dnf/command-aliases.feature:53 "repolist" is an alias for "repo list" -- @1.29 dnf/command-aliases.feature:54 "repoquery" is an alias for "repoquery" -- @1.30 dnf/command-aliases.feature:55 "rq" is an alias for "repoquery" -- @1.31 dnf/command-aliases.feature:56 "search" is an alias for "search" -- @1.32 dnf/command-aliases.feature:57 "swap" is an alias for "swap" -- @1.33 dnf/command-aliases.feature:58 "up" is an alias for "upgrade" -- @1.34 dnf/command-aliases.feature:59 "update" is an alias for "upgrade" -- @1.35 dnf/command-aliases.feature:60 "upgrade" is an alias for "upgrade" -- @1.36 dnf/command-aliases.feature:61 "upgrade-minimal" is an alias for "upgrade" -- @1.37 dnf/command-aliases.feature:67 "module" is an alias for "module" -- @2.1 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 39 failed, 0 skipped 40 steps passed, 39 failed, 114 skipped Took 0min 1.485s USING RUNNER: behave.runner:Runner Feature: Tests for environment list and info commands # dnf/comps-environment-list.feature:1 Feature: Tests for environment list and info commands # dnf/comps-environment-list.feature:1 @xfail Scenario: I can list environments (installed environment is not duplicated) # dnf/comps-environment-list.feature:19 Scenario: I can filter listed environments by their ids # dnf/comps-environment-list.feature:35 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/environments.toml" with # common/file.py:36 """ version = "1.0" [environments] test-environment = {groups = [], userinstalled = true} """ When I execute dnf with args "environment list "empty-*"" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k4ewqhvv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k4ewqhvv/var/cache/dnf environment list "empty-*" And stderr is # None """ """ And stdout is # None """ ID Name Installed empty-environment Empty Environment no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k4ewqhvv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k4ewqhvv/var/cache/dnf environment list "empty-*"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can filter listed environments by their names # dnf/comps-environment-list.feature:49 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/environments.toml" with # common/file.py:36 """ version = "1.0" [environments] test-environment = {groups = [], userinstalled = true} """ When I execute dnf with args "environment list "Empty *"" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_re0n43d_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_re0n43d_/var/cache/dnf environment list "Empty *" And stderr is # None """ """ And stdout is # None """ ID Name Installed empty-environment Empty Environment no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_re0n43d_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_re0n43d_/var/cache/dnf environment list "Empty *"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can list only installed environments # dnf/comps-environment-list.feature:63 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/environments.toml" with # common/file.py:36 """ version = "1.0" [environments] test-environment = {groups = [], userinstalled = true} """ When I execute dnf with args "environment list --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t5lxzagc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t5lxzagc/var/cache/dnf environment list --installed And stderr is # None """ """ And stdout is # None """ ID Name Installed test-environment Test Environment yes """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t5lxzagc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t5lxzagc/var/cache/dnf environment list --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can list only available environments # dnf/comps-environment-list.feature:77 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/environments.toml" with # common/file.py:36 """ version = "1.0" [environments] test-environment = {groups = [], userinstalled = true} """ When I execute dnf with args "environment list --available" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tchuniy_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tchuniy_/var/cache/dnf environment list --available And stderr is # None """ """ And stdout is # None """ ID Name Installed test-environment Test Environment no empty-environment Empty Environment no no-name-environment no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tchuniy_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tchuniy_/var/cache/dnf environment list --available  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: I can get info about all environments (installed environment is not duplicated) # dnf/comps-environment-list.feature:95 Scenario Outline: Info command accepts --installed option -- @1.1 # dnf/comps-environment-list.feature:135 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/environments.toml" with # common/file.py:36 """ version = "1.0" [environments] test-environment = {groups = [], userinstalled = true} """ When I execute dnf with args "environment info --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_25e0ym7a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_25e0ym7a/var/cache/dnf environment info --installed ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_25e0ym7a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_25e0ym7a/var/cache/dnf environment info --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Info command accepts --available option -- @1.2 # dnf/comps-environment-list.feature:136 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/environments.toml" with # common/file.py:36 """ version = "1.0" [environments] test-environment = {groups = [], userinstalled = true} """ When I execute dnf with args "environment info --available" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_99han84l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_99han84l/var/cache/dnf environment info --available ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_99han84l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_99han84l/var/cache/dnf environment info --available  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-environment-list.feature:35 I can filter listed environments by their ids dnf/comps-environment-list.feature:49 I can filter listed environments by their names dnf/comps-environment-list.feature:63 I can list only installed environments dnf/comps-environment-list.feature:77 I can list only available environments dnf/comps-environment-list.feature:135 Info command accepts --installed option -- @1.1 dnf/comps-environment-list.feature:136 Info command accepts --available option -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 2 skipped 18 steps passed, 6 failed, 20 skipped Took 0min 0.257s USING RUNNER: behave.runner:Runner Feature: Testing environments # dnf/comps-environment.feature:1 Scenario: group installed before environment is not removed with the environment # dnf/comps-environment.feature:4 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install a-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1tju482_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1tju482_/var/cache/dnf group install a-group And I successfully execute dnf with args "environment install AB-environment" # None When I execute dnf with args "environment remove AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | env-remove | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1tju482_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1tju482_/var/cache/dnf group install a-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group installed after environment is not removed with the environment # dnf/comps-environment.feature:15 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "environment install AB-environment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gk_oruei --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gk_oruei/var/cache/dnf environment install AB-environment And I successfully execute dnf with args "group install a-group" # None When I execute dnf with args "environment remove AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | env-remove | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gk_oruei --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gk_oruei/var/cache/dnf environment install AB-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-environment.feature:4 group installed before environment is not removed with the environment dnf/comps-environment.feature:15 group installed after environment is not removed with the environment 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 2 steps passed, 2 failed, 8 skipped Took 0min 0.150s USING RUNNER: behave.runner:Runner Feature: Group and environment upgrade # dnf/comps-excludes.feature:1 Scenario: Fail to install excluded group # dnf/comps-excludes.feature:21 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install a-group --setopt=excludegroups=a-group" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t38wkhk6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t38wkhk6/var/cache/dnf group install a-group --setopt=excludegroups=a-group And Transaction is empty # None And stderr contains "No match for argument: a-group" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t38wkhk6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t38wkhk6/var/cache/dnf group install a-group --setopt=excludegroups=a-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install excluded environment # dnf/comps-excludes.feature:28 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AB-environment --setopt=excludeenvs=AB-environment" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fm92wuak --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fm92wuak/var/cache/dnf group install AB-environment --setopt=excludeenvs=AB-environment And Transaction is empty # None And stderr contains "No match for argument: AB-environment" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fm92wuak --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fm92wuak/var/cache/dnf group install AB-environment --setopt=excludeenvs=AB-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment when some of its groups are excluded # dnf/comps-excludes.feature:35 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AC-environment --setopt=excludegroups=a-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zqmypi_4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zqmypi_4/var/cache/dnf group install AC-environment --setopt=excludegroups=a-group And Transaction is following # None | Action | Package | | install-group | C-mandatory-0:1.0-1.x86_64 | | group-install | C-group | | env-install | AC-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zqmypi_4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zqmypi_4/var/cache/dnf group install AC-environment --setopt=excludegroups=a-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment when all of its groups are excluded # dnf/comps-excludes.feature:45 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AC-environment --setopt=excludegroups=a-group,C-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xrr_ud_f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xrr_ud_f/var/cache/dnf group install AC-environment --setopt=excludegroups=a-group,C-group And Transaction is following # None | Action | Package | | env-install | AC-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xrr_ud_f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xrr_ud_f/var/cache/dnf group install AC-environment --setopt=excludegroups=a-group,C-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install comps that are not excluded # dnf/comps-excludes.feature:53 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install *-group *-environment --setopt=excludegroups=a-group --setopt=excludeenvs=AB*-environment" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cr_h3s7z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cr_h3s7z/var/cache/dnf group install *-group *-environment --setopt=excludegroups=a-group --setopt=excludeenvs=AB*-environment And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | install-group | C-mandatory-0:1.0-1.x86_64 | | group-install | AB-group | | group-install | C-group | | group-install | empty-group | | env-install | empty-environment | | env-install | optional-environment | | env-install | AC-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cr_h3s7z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cr_h3s7z/var/cache/dnf group install *-group *-environment --setopt=excludegroups=a-group --setopt=excludeenvs=AB*-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install comps when there are non-existent excluded comps # dnf/comps-excludes.feature:69 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install a-group AB-environment --setopt=excludegroups=nonexistent-group --setopt=excludeenvs=nonexistent-environment" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1_x3rx23 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1_x3rx23/var/cache/dnf group install a-group AB-environment --setopt=excludegroups=nonexistent-group --setopt=excludeenvs=nonexistent-environment And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | group-install | A-group - repo#1 | | env-install | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1_x3rx23 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1_x3rx23/var/cache/dnf group install a-group AB-environment --setopt=excludegroups=nonexistent-group --setopt=excludeenvs=nonexistent-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a group when it's excluded but all excludes are disabled # dnf/comps-excludes.feature:80 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nstni220 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nstni220/var/cache/dnf group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=* And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | group-install | A-group - repo#1 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nstni220 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nstni220/var/cache/dnf group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment when it's excluded but all excludes are disabled # dnf/comps-excludes.feature:90 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jxcgh60l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jxcgh60l/var/cache/dnf group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=* And Transaction is following # None | Action | Package | | env-install | empty-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jxcgh60l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jxcgh60l/var/cache/dnf group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a group when it's excluded but main excludes are disabled # dnf/comps-excludes.feature:98 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=main" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rco9oe1s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rco9oe1s/var/cache/dnf group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=main And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | group-install | A-group - repo#1 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rco9oe1s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rco9oe1s/var/cache/dnf group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=main  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment when it's excluded but main excludes are disabled # dnf/comps-excludes.feature:108 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=main" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2decglbt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2decglbt/var/cache/dnf group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=main And Transaction is following # None | Action | Package | | env-install | empty-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2decglbt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2decglbt/var/cache/dnf group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=main  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install a group when it's excluded, even though repo excludes are disabled # dnf/comps-excludes.feature:116 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=comps-upgrade-1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2w53x1bj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2w53x1bj/var/cache/dnf group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=comps-upgrade-1 And Transaction is empty # None And stderr contains "No match for argument: a-group" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2w53x1bj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2w53x1bj/var/cache/dnf group install a-group --setopt=excludegroups=a-group --setopt=disable_excludes=comps-upgrade-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install an environment when it's excluded, even though repo excludes are disabled # dnf/comps-excludes.feature:123 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=comps-upgrade-1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9_ou6jb0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9_ou6jb0/var/cache/dnf group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=comps-upgrade-1 And Transaction is empty # None And stderr contains "No match for argument: empty-environment" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9_ou6jb0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9_ou6jb0/var/cache/dnf group install empty-environment --setopt=excludeenvs=empty-environment --setopt=disable_excludes=comps-upgrade-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install a group excluded using globs # dnf/comps-excludes.feature:130 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install a-group --setopt=excludegroups=a-*" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1doh62px --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1doh62px/var/cache/dnf group install a-group --setopt=excludegroups=a-* And Transaction is empty # None And stderr contains "No match for argument: a-group" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1doh62px --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1doh62px/var/cache/dnf group install a-group --setopt=excludegroups=a-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install an environment excluded using globs # dnf/comps-excludes.feature:137 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AB-environment --setopt=excludeenvs=AB-*" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ehbnghz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ehbnghz/var/cache/dnf group install AB-environment --setopt=excludeenvs=AB-* And Transaction is empty # None And stderr contains "No match for argument: AB-environment" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ehbnghz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ehbnghz/var/cache/dnf group install AB-environment --setopt=excludeenvs=AB-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment when its group is excluded using globs # dnf/comps-excludes.feature:144 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AB-environment --setopt=excludegroups=a-*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yyz0iv3o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yyz0iv3o/var/cache/dnf group install AB-environment --setopt=excludegroups=a-* And Transaction is following # None | Action | Package | | env-install | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yyz0iv3o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yyz0iv3o/var/cache/dnf group install AB-environment --setopt=excludegroups=a-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-excludes.feature:21 Fail to install excluded group dnf/comps-excludes.feature:28 Fail to install excluded environment dnf/comps-excludes.feature:35 Install an environment when some of its groups are excluded dnf/comps-excludes.feature:45 Install an environment when all of its groups are excluded dnf/comps-excludes.feature:53 Install comps that are not excluded dnf/comps-excludes.feature:69 Install comps when there are non-existent excluded comps dnf/comps-excludes.feature:80 Install a group when it's excluded but all excludes are disabled dnf/comps-excludes.feature:90 Install an environment when it's excluded but all excludes are disabled dnf/comps-excludes.feature:98 Install a group when it's excluded but main excludes are disabled dnf/comps-excludes.feature:108 Install an environment when it's excluded but main excludes are disabled dnf/comps-excludes.feature:116 Fail to install a group when it's excluded, even though repo excludes are disabled dnf/comps-excludes.feature:123 Fail to install an environment when it's excluded, even though repo excludes are disabled dnf/comps-excludes.feature:130 Fail to install a group excluded using globs dnf/comps-excludes.feature:137 Fail to install an environment excluded using globs dnf/comps-excludes.feature:144 Install an environment when its group is excluded using globs 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 15 failed, 0 skipped 30 steps passed, 15 failed, 21 skipped Took 0min 0.579s USING RUNNER: behave.runner:Runner Feature: Test group remove when repositories are disabled # dnf/comps-group-disabled-repo.feature:1 Feature: Test group remove when repositories are disabled # dnf/comps-group-disabled-repo.feature:1 Scenario: Remove group with disabled repository # dnf/comps-group-disabled-repo.feature:17 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k1vlj7ll --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k1vlj7ll/var/cache/dnf group install dnf-ci-testgroup And Transaction is following # None | Action | Package | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group remove dnf-ci-testgroup --disable-repo=dnf-ci-thirdparty" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | | group-remove | DNF-CI-Testgroup | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k1vlj7ll --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k1vlj7ll/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2064341 Scenario: Remove group with no enabed repository # dnf/comps-group-disabled-repo.feature:29 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7zmcayqz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7zmcayqz/var/cache/dnf group install dnf-ci-testgroup And Transaction is following # None | Action | Package | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group remove dnf-ci-testgroup --disable-repo=\*" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | | group-remove | DNF-CI-Testgroup | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7zmcayqz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7zmcayqz/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-group-disabled-repo.feature:17 Remove group with disabled repository dnf/comps-group-disabled-repo.feature:29 Remove group with no enabed repository 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 8 steps passed, 2 failed, 8 skipped Took 0min 0.334s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Tests for group list and info commands # dnf/comps-group-list.feature:2 @dnf5daemon Feature: Tests for group list and info commands # dnf/comps-group-list.feature:2 Scenario: All user visible groups are listed by default (installed group is not duplicated) # dnf/comps-group-list.feature:19 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6rle3pkc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6rle3pkc/var/cache/dnf group list And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed test-group Test Group yes empty-group Empty group no no-name-group no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6rle3pkc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6rle3pkc/var/cache/dnf group list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can list also hidden groups # dnf/comps-group-list.feature:34 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group list --hidden" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__rz_k_jn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__rz_k_jn/var/cache/dnf group list --hidden And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed hidden-group Hidden group no test-group Test Group yes empty-group Empty group no no-name-group no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__rz_k_jn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__rz_k_jn/var/cache/dnf group list --hidden  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can filter listed groups by their ids (hidden groups are included) # dnf/comps-group-list.feature:50 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group list "hidden-*"" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_famveu4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_famveu4_/var/cache/dnf group list "hidden-*" And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed hidden-group Hidden group no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_famveu4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_famveu4_/var/cache/dnf group list "hidden-*"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can filter listed groups by their names (hidden groups are included) # dnf/comps-group-list.feature:63 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group list "* group"" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_emfzn8z2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_emfzn8z2/var/cache/dnf group list "* group" And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed hidden-group Hidden group no test-group Test Group yes empty-group Empty group no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_emfzn8z2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_emfzn8z2/var/cache/dnf group list "* group"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can list only installed groups # dnf/comps-group-list.feature:78 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group list --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a99mnj2e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a99mnj2e/var/cache/dnf group list --installed And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed test-group Test Group yes """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a99mnj2e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a99mnj2e/var/cache/dnf group list --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can list only available groups # dnf/comps-group-list.feature:91 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group list --available" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1u7burda --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1u7burda/var/cache/dnf group list --available And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed test-group Test Group no empty-group Empty group no no-name-group no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1u7burda --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1u7burda/var/cache/dnf group list --available  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can list only groups containing a package # dnf/comps-group-list.feature:106 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group list --contains-pkgs=test-package" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m8s_iz3c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m8s_iz3c/var/cache/dnf group list --contains-pkgs=test-package And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed test-group Test Group yes no-name-group no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m8s_iz3c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m8s_iz3c/var/cache/dnf group list --contains-pkgs=test-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can get info about all groups (installed group is not duplicated) # dnf/comps-group-list.feature:120 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dsjo8j4i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dsjo8j4i/var/cache/dnf group info And stderr is # None """ """ And stdout is # None """ Id : test-group Name : Test Group Description : Test Group description. Installed : yes Order : 4 Langonly : Uservisible : yes Repositories : @System Mandatory packages : test-package Id : empty-group Name : Empty group Description : Installed : no Order : 16 Langonly : Uservisible : yes Repositories : comps-group-list Id : no-name-group Name : Description : Installed : no Order : Langonly : Uservisible : yes Repositories : comps-group-list Mandatory packages : test-package """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dsjo8j4i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dsjo8j4i/var/cache/dnf group info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Info command accepts --hidden option -- @1.1 # dnf/comps-group-list.feature:166 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group info --hidden" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nw59_zv7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nw59_zv7/var/cache/dnf group info --hidden ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nw59_zv7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nw59_zv7/var/cache/dnf group info --hidden  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Info command accepts --installed option -- @1.2 # dnf/comps-group-list.feature:167 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group info --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6b3wurr_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6b3wurr_/var/cache/dnf group info --installed ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6b3wurr_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6b3wurr_/var/cache/dnf group info --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Info command accepts --available option -- @1.3 # dnf/comps-group-list.feature:168 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group info --available" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_17ft97fh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_17ft97fh/var/cache/dnf group info --available ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_17ft97fh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_17ft97fh/var/cache/dnf group info --available  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Info command accepts --contains-pkgs=pkg option -- @1.4 # dnf/comps-group-list.feature:169 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ When I execute dnf with args "group info --contains-pkgs=pkg" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_af45os29 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_af45os29/var/cache/dnf group info --contains-pkgs=pkg ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_af45os29 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_af45os29/var/cache/dnf group info --contains-pkgs=pkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-group-list.feature:19 All user visible groups are listed by default (installed group is not duplicated) dnf/comps-group-list.feature:34 I can list also hidden groups dnf/comps-group-list.feature:50 I can filter listed groups by their ids (hidden groups are included) dnf/comps-group-list.feature:63 I can filter listed groups by their names (hidden groups are included) dnf/comps-group-list.feature:78 I can list only installed groups dnf/comps-group-list.feature:91 I can list only available groups dnf/comps-group-list.feature:106 I can list only groups containing a package dnf/comps-group-list.feature:120 I can get info about all groups (installed group is not duplicated) dnf/comps-group-list.feature:166 Info command accepts --hidden option -- @1.1 dnf/comps-group-list.feature:167 Info command accepts --installed option -- @1.2 dnf/comps-group-list.feature:168 Info command accepts --available option -- @1.3 dnf/comps-group-list.feature:169 Info command accepts --contains-pkgs=pkg option -- @1.4 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 12 failed, 0 skipped 36 steps passed, 12 failed, 16 skipped Took 0min 0.456s USING RUNNER: behave.runner:Runner Feature: Test removal packages along with group # dnf/comps-group-pkgremove.feature:1 @bz2173927 Scenario: Remove group with self dependent package # dnf/comps-group-pkgremove.feature:7 Given I use repository "comps-group-pkgremove" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install group-one" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7vvoft73 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7vvoft73/var/cache/dnf group install group-one Then Transaction is following # None | Action | Package | | install-group | self-dependent-package-0:1.0-1.fc29.noarch | | group-install | Test Group One | When I execute dnf with args "group remove group-one" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | self-dependent-package-0:1.0-1.fc29.noarch | | group-remove | Test Group One | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7vvoft73 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7vvoft73/var/cache/dnf group install group-one  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2173927 Scenario: Remove also group packages required only by another removed group package # dnf/comps-group-pkgremove.feature:26 Given I use repository "comps-group-pkgremove" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install group-two group-three" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_alp5f49n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_alp5f49n/var/cache/dnf group install group-two group-three Then Transaction is following # None | Action | Package | | install-group | test-package-0:1.0-1.fc29.noarch | | install-group | test-package-dep-0:1.0-1.fc29.noarch | | install-dep | test-package-dep-dep-0:1.0-1.fc29.noarch | | group-install | Test Group Two | | group-install | Test Group Three | When I execute dnf with args "group remove group-two group-three" # None Then the exit code is 0 # None Then Transaction is following # None | Action | Package | | remove | test-package-0:1.0-1.fc29.noarch | | remove | test-package-dep-0:1.0-1.fc29.noarch | | remove-unused | test-package-dep-dep-0:1.0-1.fc29.noarch | | group-remove | Test Group Two | | group-remove | Test Group Three | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_alp5f49n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_alp5f49n/var/cache/dnf group install group-two group-three  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2173927 Scenario: Remove also group packages required only by unused dependency of another removed group package # dnf/comps-group-pkgremove.feature:51 Given I use repository "comps-group-pkgremove" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install group-two group-four" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o2aegyxs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o2aegyxs/var/cache/dnf group install group-two group-four Then Transaction is following # None | Action | Package | | install-group | test-package-0:1.0-1.fc29.noarch | | install-group | test-package-dep-dep-0:1.0-1.fc29.noarch | | install-dep | test-package-dep-0:1.0-1.fc29.noarch | | group-install | Test Group Two | | group-install | Test Group Four | When I execute dnf with args "group remove group-two group-four" # None Then the exit code is 0 # None Then Transaction is following # None | Action | Package | | remove | test-package-0:1.0-1.fc29.noarch | | remove | test-package-dep-dep-0:1.0-1.fc29.noarch | | remove-unused | test-package-dep-0:1.0-1.fc29.noarch | | group-remove | Test Group Two | | group-remove | Test Group Four | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o2aegyxs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o2aegyxs/var/cache/dnf group install group-two group-four  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-group-pkgremove.feature:7 Remove group with self dependent package dnf/comps-group-pkgremove.feature:26 Remove also group packages required only by another removed group package dnf/comps-group-pkgremove.feature:51 Remove also group packages required only by unused dependency of another removed group package 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 3 steps passed, 3 failed, 12 skipped Took 0min 0.184s USING RUNNER: behave.runner:Runner Feature: Testing groups # dnf/comps-group.feature:1 @bz2030255 @destructive Scenario: 'dnf group list -C' works for unprivileged user even when decompressed groups.xml is not present in the cache # dnf/comps-group.feature:550 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute "chmod go+rwx {context.dnf.installroot}" # common/cmd.py:35 And I create directory "/{context.dnf.installroot}/var/tmp" # common/file.py:30 And I successfully execute "chmod 777 {context.dnf.installroot}/var/tmp" # common/cmd.py:35 And I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kowd42vk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kowd42vk/var/cache/dnf makecache When I execute dnf with args "group list -C --skip-file-locks" as an unprivileged user # None Then the exit code is 0 # None Then stderr does not contain "Permission denied: '{context.dnf.installroot}/var/cache/dnf/dnf-ci-thirdparty-[a-z0-9]{{16}}/repodata/gen'" # None And stderr is # None """ """ And stdout is # None """ ID Name Installed cqrlib-non-devel CQRlib-non-devel no dnf-ci-testgroup DNF-CI-Testgroup no superripper-and-deps SuperRipper-and-deps no Groups: 3 (0 installed, 3 available) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kowd42vk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kowd42vk/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-group.feature:550 'dnf group list -C' works for unprivileged user even when decompressed groups.xml is not present in the cache 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 30 skipped 4 steps passed, 1 failed, 217 skipped Took 0min 0.146s USING RUNNER: behave.runner:Runner Feature: Testing groups # dnf/comps-group.feature:1 @xfail Scenario: Install and remove group using group name # dnf/comps-group.feature:12 Scenario: Install and remove group # dnf/comps-group.feature:38 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_npmjfa2e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_npmjfa2e/var/cache/dnf group install dnf-ci-testgroup And Transaction is following # None | Action | Package | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group remove dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | | group-remove | DNF-CI-Testgroup | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_npmjfa2e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_npmjfa2e/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a group that is already installed # dnf/comps-group.feature:61 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sw_t81o7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sw_t81o7/var/cache/dnf group install dnf-ci-testgroup And Transaction is following # None | Action | Package | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group install dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sw_t81o7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sw_t81o7/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install and remove group with excluded package # dnf/comps-group.feature:78 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install --exclude=lame dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9vdt7t3y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9vdt7t3y/var/cache/dnf group install --exclude=lame dnf-ci-testgroup And Transaction is following # None | Action | Package | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group remove dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | group-remove | DNF-CI-Testgroup | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9vdt7t3y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9vdt7t3y/var/cache/dnf group install --exclude=lame dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1707624 Scenario: Install installed group when group is not available # dnf/comps-group.feature:98 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install --exclude=lame dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q0hv6wmd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q0hv6wmd/var/cache/dnf group install --exclude=lame dnf-ci-testgroup And Transaction is following # None | Action | Package | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group install --disable-repo=dnf-ci-thirdparty dnf-ci-testgroup" # None Then the exit code is 1 # None And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: dnf-ci-testgroup """ And stderr does not contain "ValueError" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q0hv6wmd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q0hv6wmd/var/cache/dnf group install --exclude=lame dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install and remove group with excluded package dependency # dnf/comps-group.feature:118 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install --exclude=setup dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hmjzqix3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hmjzqix3/var/cache/dnf group install --exclude=setup dnf-ci-testgroup And stderr is # None """ Failed to resolve the transaction: Problem: package filesystem-3.9-2.fc29.x86_64 from dnf-ci-fedora requires setup, but none of the providers can be installed - conflicting requests - package setup-2.12.1-1.fc29.noarch from dnf-ci-fedora is filtered out by exclude filtering You can try to add to command line: --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hmjzqix3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hmjzqix3/var/cache/dnf group install --exclude=setup dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1673851 Scenario: Install condidional package if required package is about to be installed # dnf/comps-group.feature:136 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install @dnf-ci-testgroup filesystem-content" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zrmg5ono --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zrmg5ono/var/cache/dnf install @dnf-ci-testgroup filesystem-content And Transaction is following # None | Action | Package | | install | filesystem-content-0:3.9-2.fc29.x86_64 | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-group | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | When I execute dnf with args "group remove dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | DNF-CI-Testgroup | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove | lame-0:3.100-4.fc29.x86_64 | | remove | wget-0:1.19.5-5.fc29.x86_64 | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zrmg5ono --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zrmg5ono/var/cache/dnf install @dnf-ci-testgroup filesystem-content  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1673851 Scenario: Install condidional package if required package has been installed # dnf/comps-group.feature:163 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem-content" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2nr6ku_2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2nr6ku_2/var/cache/dnf install filesystem-content And Transaction is following # None | Action | Package | | install | filesystem-content-0:3.9-2.fc29.x86_64 | When I execute dnf with args "group install dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-group | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2nr6ku_2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2nr6ku_2/var/cache/dnf install filesystem-content  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Group remove does not remove packages required by user installed packages # dnf/comps-group.feature:183 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i6z2akh2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i6z2akh2/var/cache/dnf group install dnf-ci-testgroup And Transaction is following # None | Action | Package | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-6.fc29.noarch | When I execute dnf with args "group remove dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | | group-remove | DNF-CI-Testgroup | | changing-reason | filesystem-0:3.9-2.fc29.x86_64 | | unchanged | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | basesystem-0:11-6.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i6z2akh2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i6z2akh2/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Group remove does not remove user installed packages # dnf/comps-group.feature:220 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g_srh_3i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g_srh_3i/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "group install dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group remove dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | | group-remove | DNF-CI-Testgroup | | unchanged | filesystem-0:3.9-2.fc29.x86_64 | | unchanged | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g_srh_3i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g_srh_3i/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1809600 Scenario: Group remove does not traceback when reason change # dnf/comps-group.feature:252 @bz1706382 @dnf5daemon Scenario: Group list # dnf/comps-group.feature:289 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "group list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rqvdi89c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rqvdi89c/var/cache/dnf group list And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed cqrlib-non-devel CQRlib-non-devel no dnf-ci-testgroup DNF-CI-Testgroup no superripper-and-deps SuperRipper-and-deps no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rqvdi89c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rqvdi89c/var/cache/dnf group list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @bz1706382 Scenario: Group list with arg # dnf/comps-group.feature:308 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "group list dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vid14myf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vid14myf/var/cache/dnf group list dnf-ci-testgroup And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed dnf-ci-testgroup DNF-CI-Testgroup no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vid14myf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vid14myf/var/cache/dnf group list dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1826198 Scenario: List an environment with empty name # dnf/comps-group.feature:324 Given I use repository "comps-group" # dnf/steps/repo.py:186 When I execute dnf with args "group list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fiqoxzl2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fiqoxzl2/var/cache/dnf group list And stderr is # None """ """ And stdout is # None """ ID Name Installed no-name-group no test-group Test Group no Groups: 2 (0 installed, 2 available) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fiqoxzl2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fiqoxzl2/var/cache/dnf group list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1826198 Scenario: Install a group with empty name # dnf/comps-group.feature:342 Given I use repository "comps-group" # dnf/steps/repo.py:186 When I execute dnf with args "group install no-name-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_or_h6j0f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_or_h6j0f/var/cache/dnf group install no-name-group And Transaction is following # None | Action | Package | | group-install | | | install-group | test-package-1.0-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_or_h6j0f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_or_h6j0f/var/cache/dnf group install no-name-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1826198 Scenario: Install an environment with empty name # dnf/comps-group.feature:354 Given I use repository "comps-group" # dnf/steps/repo.py:186 When I execute dnf with args "group install no-name-env" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_272z4e24 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_272z4e24/var/cache/dnf group install no-name-env And Transaction is following # None | Action | Package | | env-install | | | group-install | Test Group | | install-group | test-package-1.0-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_272z4e24 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_272z4e24/var/cache/dnf group install no-name-env  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: List and info a group with missing packagelist # dnf/comps-group.feature:367 Given I use repository "comps-group-merging" # dnf/steps/repo.py:186 When I execute dnf with args "group list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ptuf7_u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ptuf7_u/var/cache/dnf group list And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed test-group Test Group no """ When I execute dnf with args "group info test-group" # None Then stderr is # None """ """ And stdout is # None """ Id : test-group Name : Test Group Description : Test Group description updated. Installed : no Order : Langonly : Uservisible : yes Repositories : comps-group-merging """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ptuf7_u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ptuf7_u/var/cache/dnf group list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a group with empty packagelist # dnf/comps-group.feature:398 Given I use repository "comps-group-merging" # dnf/steps/repo.py:186 When I execute dnf with args "group install test-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o7yayz4s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o7yayz4s/var/cache/dnf group install test-group And Transaction is following # None | Action | Package | | group-install | Test Group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o7yayz4s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o7yayz4s/var/cache/dnf group install test-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__8 Scenario: Merge groups when one has empty packagelist # dnf/comps-group.feature:408 Given I use repository "comps-group" # dnf/steps/repo.py:186 And I use repository "comps-group-merging" # dnf/steps/repo.py:186 When I execute dnf with args "group install test-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_als__s0c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_als__s0c/var/cache/dnf group install test-group And Transaction is following # None | Action | Package | | group-install | Test Group | | install-group | test-package-1.0-1.fc29.noarch | When I execute dnf with args "group info test-group" # None Then stderr is # None """ """ And stdout is # None """ Id : test-group Name : Test Group Description : Test Group description updated. Installed : yes Order : 2 Langonly : Uservisible : yes Repositories : @System Mandatory packages : test-package """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_als__s0c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_als__s0c/var/cache/dnf group install test-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Merge environment with missing names containg a group with missing name # dnf/comps-group.feature:438 Given I use repository "comps-group" # dnf/steps/repo.py:186 And I use repository "comps-group-merging" # dnf/steps/repo.py:186 When I execute dnf with args "environment info no-name-env" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout is # None """ Id : no-name-env Name : Description : Order : 2 Installed : False Repositories : comps-group, comps-group-merging Required groups : no-name-group : test-group """ ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mr3a_760 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mr3a_760/var/cache/dnf environment info no-name-env  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Group info with a group that has missing name # dnf/comps-group.feature:460 Given I use repository "comps-group" # dnf/steps/repo.py:186 When I execute dnf with args "group info no-name-group" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout is # None """ Id : no-name-group Name : Description : Installed : no Order : 1 Langonly : Uservisible : yes Repositories : comps-group Mandatory packages : test-package """ ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ag8cwsl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ag8cwsl/var/cache/dnf group info no-name-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Mark a group and an environment without name # dnf/comps-group.feature:481 Given I use repository "comps-group" # dnf/steps/repo.py:186 And I use repository "comps-group-merging" # dnf/steps/repo.py:186 When I execute dnf with args "group install --no-packages no-name-group no-name-env" # dnf/steps/cmd.py:110 Then Transaction is following # dnf/steps/transaction.py:159 | Action | Package | | env-install | | | group-install | | | group-install | Test Group | Traceback (most recent call last): File "/usr/lib/python3.15/site-packages/behave/model.py", line 1991, in run match.run(runner.context) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/behave/matchers.py", line 105, in run self.func(context, *args, **kwargs) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "dnf/steps/transaction.py", line 161, in then_Transaction_is_following check_transaction(context, 'exact_match') ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "dnf/steps/transaction.py", line 156, in check_transaction check_dnf5_transaction(context, mode) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "dnf/steps/transaction.py", line 117, in check_dnf5_transaction dnf_transaction = parse_transaction_table_dnf5(context, lines) File "/opt/ci/dnf-behave-tests/dnf/steps/lib/dnf.py", line 103, in parse_transaction_table_dnf5 table_begin = find_transaction_table_begin_dnf5(context, lines) File "/opt/ci/dnf-behave-tests/dnf/steps/lib/dnf.py", line 79, in find_transaction_table_begin_dnf5 raise RuntimeError("Transaction table start not found") RuntimeError: Transaction table start not found Scenario: Install an environment with a nonexistent group # dnf/comps-group.feature:492 Given I use repository "comps-group" # dnf/steps/repo.py:186 When I execute dnf with args "group install env-with-a-nonexistent-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7p85wm_3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7p85wm_3/var/cache/dnf group install env-with-a-nonexistent-group And Transaction is following # None | Action | Package | | env-install | Env with a nonexistent group | | group-install | Test Group | | group-install | | | install-group | test-package-1.0-1.fc29.noarch | And stderr contains lines # None """ No match for group from environment: nonexistent-group """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7p85wm_3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7p85wm_3/var/cache/dnf group install env-with-a-nonexistent-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment using @^environment syntax # dnf/comps-group.feature:508 Given I use repository "comps-group" # dnf/steps/repo.py:186 When I execute dnf with args "install @^env-with-a-nonexistent-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ahmkcxtn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ahmkcxtn/var/cache/dnf install @^env-with-a-nonexistent-group And Transaction is following # None | Action | Package | | env-install | Env with a nonexistent group | | group-install | Test Group | | group-install | | | install-group | test-package-1.0-1.fc29.noarch | And stderr contains lines # None """ No match for group from environment: nonexistent-group """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ahmkcxtn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ahmkcxtn/var/cache/dnf install @^env-with-a-nonexistent-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2066638 Scenario: Packages that are part of another installed group are not removed # dnf/comps-group.feature:525 Given I use repository "comps-group" # dnf/steps/repo.py:186 When I execute dnf with args "group install test-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_io1i90fs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_io1i90fs/var/cache/dnf group install test-group And Transaction is following # None | Action | Package | | group-install | Test Group | | install-group | test-package-1.0-1.fc29.noarch | When I execute dnf with args "group install no-name-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-install | | When I execute dnf with args "group remove test-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | Test Group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_io1i90fs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_io1i90fs/var/cache/dnf group install test-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @bz2173929 Scenario: dnf5 group list: empty output when run for the second time # dnf/comps-group.feature:577 Given I use repository "advisories-and-groups" # dnf/steps/repo.py:186 When I execute dnf with args "clean metadata" # dnf/steps/cmd.py:110 And I execute dnf with args "group list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wg69z4oa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wg69z4oa/var/cache/dnf group list And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed test-group-1 Test Group 1 no test-group-2 Test Group 2 no """ When I execute dnf with args "group list" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout contains lines # None """ ID Name Installed test-group-1 Test Group 1 no test-group-2 Test Group 2 no """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wg69z4oa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wg69z4oa/var/cache/dnf group list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf can list installed groups even without their xml definitions present, group available # dnf/comps-group.feature:609 Given I use repository "comps-group" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install test-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cpxbv1v6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cpxbv1v6/var/cache/dnf group install test-group And I delete file "/usr/lib/sysimage/libdnf5/comps_groups/groups/test-group.xml" # None When I execute dnf with args "group info --installed" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Id : test-group Name : Test Group Description : Test Group description. Installed : yes Order : 2 Langonly : Uservisible : yes Repositories : @System Mandatory packages : test-package """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cpxbv1v6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cpxbv1v6/var/cache/dnf group install test-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf can list installed groups even without their xml definitions present, group not available # dnf/comps-group.feature:635 Given I use repository "comps-group" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install test-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dk9e8_kv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dk9e8_kv/var/cache/dnf group install test-group And I delete file "/usr/lib/sysimage/libdnf5/comps_groups/groups/test-group.xml" # None And I drop repository "comps-group" # None When I execute dnf with args "group info --installed" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Id : test-group Name : Description : Installed : yes Order : Langonly : Uservisible : yes Repositories : @System Default packages : test-package """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dk9e8_kv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dk9e8_kv/var/cache/dnf group install test-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove group that is not installed # dnf/comps-group.feature:661 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "group remove dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m06jnkbm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m06jnkbm/var/cache/dnf group remove dnf-ci-testgroup And stderr is # None """ No groups to remove for argument: dnf-ci-testgroup """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m06jnkbm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m06jnkbm/var/cache/dnf group remove dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2263762 Scenario: Dnf works with comps group containing duplicate package entry # dnf/comps-group.feature:673 Given I use repository "comps-group-duplicate-package" # dnf/steps/repo.py:186 When I execute dnf with args "install @test-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t1bkz9v8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t1bkz9v8/var/cache/dnf install @test-group And Transaction is following # None | Action | Package | | group-install | Test Group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t1bkz9v8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t1bkz9v8/var/cache/dnf install @test-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-group.feature:38 Install and remove group dnf/comps-group.feature:61 Install a group that is already installed dnf/comps-group.feature:78 Install and remove group with excluded package dnf/comps-group.feature:98 Install installed group when group is not available dnf/comps-group.feature:118 Install and remove group with excluded package dependency dnf/comps-group.feature:136 Install condidional package if required package is about to be installed dnf/comps-group.feature:163 Install condidional package if required package has been installed dnf/comps-group.feature:183 Group remove does not remove packages required by user installed packages dnf/comps-group.feature:220 Group remove does not remove user installed packages dnf/comps-group.feature:289 Group list dnf/comps-group.feature:308 Group list with arg dnf/comps-group.feature:324 List an environment with empty name dnf/comps-group.feature:342 Install a group with empty name dnf/comps-group.feature:354 Install an environment with empty name dnf/comps-group.feature:367 List and info a group with missing packagelist dnf/comps-group.feature:398 Install a group with empty packagelist dnf/comps-group.feature:408 Merge groups when one has empty packagelist dnf/comps-group.feature:438 Merge environment with missing names containg a group with missing name dnf/comps-group.feature:460 Group info with a group that has missing name dnf/comps-group.feature:492 Install an environment with a nonexistent group dnf/comps-group.feature:508 Install an environment using @^environment syntax dnf/comps-group.feature:525 Packages that are part of another installed group are not removed dnf/comps-group.feature:577 dnf5 group list: empty output when run for the second time dnf/comps-group.feature:609 dnf can list installed groups even without their xml definitions present, group available dnf/comps-group.feature:635 dnf can list installed groups even without their xml definitions present, group not available dnf/comps-group.feature:661 Remove group that is not installed dnf/comps-group.feature:673 Dnf works with comps group containing duplicate package entry Errored scenarios: dnf/comps-group.feature:481 Mark a group and an environment without name 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 27 failed, 1 error, 3 skipped 67 steps passed, 27 failed, 1 error, 127 skipped Took 0min 1.483s USING RUNNER: behave.runner:Runner Feature: Test installing groups and environments that are already installed # dnf/comps-install-again.feature:1 Scenario: Install a group that is already installed # dnf/comps-install-again.feature:4 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install C-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p0qo_xzh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p0qo_xzh/var/cache/dnf group install C-group And Transaction is following # None | Action | Package | | install-group | C-mandatory-0:1.0-1.x86_64 | | group-install | C-group | When I execute dnf with args "group install C-group" # None Then the exit code is 0 # None And Transaction is empty # None And stderr contains "Group \"C-group\" is already installed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p0qo_xzh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p0qo_xzh/var/cache/dnf group install C-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment that is already installed # dnf/comps-install-again.feature:18 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AB-environment" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r1gmpwrd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r1gmpwrd/var/cache/dnf group install AB-environment And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | group-install | A-group - repo#1 | | env-install | AB-environment | When I execute dnf with args "group install AB-environment" # None Then the exit code is 0 # None And Transaction is empty # None And stderr contains "Environmental group \"AB-environment\" is already installed." # None And stderr contains "Group \"a-group\" is already installed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r1gmpwrd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r1gmpwrd/var/cache/dnf group install AB-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a group that is already installed, but with different definition # dnf/comps-install-again.feature:35 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AB-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oh2b4uj6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oh2b4uj6/var/cache/dnf group install AB-group And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | group-install | AB-group | When I use repository "comps-upgrade-2" # None And I execute dnf with args "group install AB-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | And stderr contains "Group \"AB-group\" is already installed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oh2b4uj6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oh2b4uj6/var/cache/dnf group install AB-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment that is already installed, but with different definition # dnf/comps-install-again.feature:56 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AB-environment" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_faxfye61 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_faxfye61/var/cache/dnf group install AB-environment And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | group-install | A-group - repo#1 | | env-install | AB-environment | When I use repository "comps-upgrade-2" # None And I execute dnf with args "group install AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | group-install | B-group | And stderr contains "Environmental group \"AB-environment\" is already installed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_faxfye61 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_faxfye61/var/cache/dnf group install AB-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a group that is already installed, but only as a dependency -> change the reason # dnf/comps-install-again.feature:79 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install AB-environment" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kjf9mzks --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kjf9mzks/var/cache/dnf group install AB-environment And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | group-install | A-group - repo#1 | | env-install | AB-environment | And I execute dnf with args "group install a-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-changing-reason | A-group - repo#1 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reason Change | a-group | User | comps-upgrade-1 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kjf9mzks --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kjf9mzks/var/cache/dnf group install AB-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment that contains an already installed group -> don't change the reason # dnf/comps-install-again.feature:99 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I execute dnf with args "group install a-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mz_ycojn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mz_ycojn/var/cache/dnf group install a-group And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | group-install | A-group - repo#1 | When I execute dnf with args "group install AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | env-install | AB-environment | And stderr contains "Group \"a-group\" is already installed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mz_ycojn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mz_ycojn/var/cache/dnf group install a-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-install-again.feature:4 Install a group that is already installed dnf/comps-install-again.feature:18 Install an environment that is already installed dnf/comps-install-again.feature:35 Install a group that is already installed, but with different definition dnf/comps-install-again.feature:56 Install an environment that is already installed, but with different definition dnf/comps-install-again.feature:79 Install a group that is already installed, but only as a dependency -> change the reason dnf/comps-install-again.feature:99 Install an environment that contains an already installed group -> don't change the reason 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 12 steps passed, 6 failed, 33 skipped Took 0min 0.278s USING RUNNER: behave.runner:Runner @bz1928181 Feature: Comps are merged based on repoconf load order # dnf/comps-load-order.feature:2 Scenario: Comps merging and repoconf load order of dnf-ci-fedora and dnf-ci-fedora-updates repo files # dnf/comps-load-order.feature:5 Given I create and substitute file "/etc/yum.repos.d/dnf-ci-fedora.repo" with # common/file.py:43 """ [dnf-ci-fedora] name=dnf-ci-fedora baseurl={context.scenario.repos_location}/comps-upgrade-1 enabled=1 gpgcheck=0 """ And I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/yum.repos.d/dnf-ci-fedora-updates.repo" with # common/file.py:43 """ [dnf-ci-fedora-updates] name=dnf-ci-fedora-updates baseurl={context.scenario.repos_location}/comps-upgrade-2 enabled=1 gpgcheck=0 """ And I use repository "comps-upgrade-2" # dnf/steps/repo.py:186 When I execute dnf with args "group info a-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c3e2ocdw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c3e2ocdw/var/cache/dnf group info a-group And stdout contains "Name *: A-group - repo#2" # None And stdout contains "Description *: Testgroup for DNF CI testing - repo#2" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c3e2ocdw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c3e2ocdw/var/cache/dnf group info a-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Comps merging and repoconf load order of dnf-ci-abc and dnf-ci-fedora repo files # dnf/comps-load-order.feature:32 Given I create and substitute file "/etc/yum.repos.d/dnf-ci-fedora.repo" with # common/file.py:43 """ [dnf-ci-fedora] name=dnf-ci-fedora baseurl={context.scenario.repos_location}/comps-upgrade-1 enabled=1 gpgcheck=0 """ And I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/yum.repos.d/dnf-ci-abc.repo" with # common/file.py:43 """ [dnf-ci-abc] name=dnf-ci-abc baseurl={context.scenario.repos_location}/comps-upgrade-2 enabled=1 gpgcheck=0 """ And I use repository "comps-upgrade-2" # dnf/steps/repo.py:186 When I execute dnf with args "group info a-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nrmi9hua --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nrmi9hua/var/cache/dnf group info a-group And stdout contains "Name *: A-group - repo#1" # None And stdout contains "Description *: Testgroup for DNF CI testing - repo#1" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nrmi9hua --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nrmi9hua/var/cache/dnf group info a-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-load-order.feature:5 Comps merging and repoconf load order of dnf-ci-fedora and dnf-ci-fedora-updates repo files dnf/comps-load-order.feature:32 Comps merging and repoconf load order of dnf-ci-abc and dnf-ci-fedora repo files 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 10 steps passed, 2 failed, 4 skipped Took 0min 0.225s USING RUNNER: behave.runner:Runner Feature: Packagelists, grouplists and optionlists are merged # dnf/comps-merge.feature:1 Scenario: The group packagelist is a union of this group's lists across all repos # dnf/comps-merge.feature:4 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I use repository "comps-upgrade-2" # dnf/steps/repo.py:186 When I execute dnf with args "group info AB-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8hoc0hc8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8hoc0hc8/var/cache/dnf group info AB-group And stdout is # None """ Id : AB-group Name : AB-group Description : Testgroup for DNF CI testing Installed : no Order : 1024 Langonly : Uservisible : yes Repositories : comps-upgrade-1, comps-upgrade-2 Mandatory packages : A-mandatory : B-mandatory Default packages : A-default : B-default Optional packages : A-optional : B-optional Conditional packages : A-conditional-false : A-conditional-true : B-conditional-false : B-conditional-true """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8hoc0hc8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8hoc0hc8/var/cache/dnf group info AB-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The environment grouplist and optionlist is a union of this environment's lists across all repos # dnf/comps-merge.feature:33 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I use repository "comps-upgrade-2" # dnf/steps/repo.py:186 When I execute dnf with args "environment info ABC-environment" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u4al5lfp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u4al5lfp/var/cache/dnf environment info ABC-environment And stdout is # None """ Id : ABC-environment Name : ABC-environment Description : Testenvironment for DNF CI testing Order : 1024 Installed : False Repositories : comps-upgrade-1, comps-upgrade-2 Required groups : B-group : a-group Optional groups : AB-group : C-group """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u4al5lfp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u4al5lfp/var/cache/dnf environment info ABC-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: When a package changes type within group, it is considered as both types # dnf/comps-merge.feature:53 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I use repository "comps-upgrade-2" # dnf/steps/repo.py:186 When I execute dnf with args "group info change-package-type" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__lx9lcc4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__lx9lcc4/var/cache/dnf group info change-package-type And stdout is # None """ Id : change-package-type Name : change-package-type Description : Testgroup for DNF CI testing Installed : no Order : 1024 Langonly : Uservisible : yes Repositories : comps-upgrade-1, comps-upgrade-2 Mandatory packages : A-mandatory : dummy Default packages : A-mandatory : B-mandatory Optional packages : B-mandatory : C-mandatory Conditional packages : C-mandatory : dummy """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__lx9lcc4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__lx9lcc4/var/cache/dnf group info change-package-type  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-merge.feature:4 The group packagelist is a union of this group's lists across all repos dnf/comps-merge.feature:33 The environment grouplist and optionlist is a union of this environment's lists across all repos dnf/comps-merge.feature:53 When a package changes type within group, it is considered as both types 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 9 steps passed, 3 failed, 3 skipped Took 0min 0.259s USING RUNNER: behave.runner:Runner Feature: Test groups and environments with the same id # dnf/comps-same-id-group-and-env.feature:1 Scenario: Install a group with the same id as an environment # dnf/comps-same-id-group-and-env.feature:4 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yy_36o5r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yy_36o5r/var/cache/dnf group install same-id And Transaction is following # None | Action | Package | | group-install | Same id group | | install-group | C-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yy_36o5r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yy_36o5r/var/cache/dnf group install same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment with the same id as a group # dnf/comps-same-id-group-and-env.feature:17 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 When I execute dnf with args "environment install same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w6t15s0m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w6t15s0m/var/cache/dnf environment install same-id And Transaction is following # None | Action | Package | | env-install | Same id env | | group-install | AB-group | | install-group | A-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w6t15s0m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w6t15s0m/var/cache/dnf environment install same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install both group and environment with the same id # dnf/comps-same-id-group-and-env.feature:31 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 When I execute dnf with args "install @same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x6e2fhaq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x6e2fhaq/var/cache/dnf install @same-id And Transaction is following # None | Action | Package | | env-install | Same id env | | group-install | AB-group | | install-group | A-mandatory-1.0-1.x86_64 | | group-install | Same id group | | install-group | C-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x6e2fhaq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x6e2fhaq/var/cache/dnf install @same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove a group with the same id as an environment # dnf/comps-same-id-group-and-env.feature:47 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 And I execute dnf with args "install @same-id" # dnf/steps/cmd.py:110 When I execute dnf with args "group remove same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_azf8z5_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_azf8z5_i/var/cache/dnf group remove same-id And Transaction is following # None | Action | Package | | group-remove | Same id group | | remove | C-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_azf8z5_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_azf8z5_i/var/cache/dnf group remove same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove an environment with the same id as a group # dnf/comps-same-id-group-and-env.feature:61 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 And I execute dnf with args "install @same-id" # dnf/steps/cmd.py:110 When I execute dnf with args "environment remove same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tp_7i_t2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tp_7i_t2/var/cache/dnf environment remove same-id And Transaction is following # None | Action | Package | | env-remove | Same id env | | group-remove | AB-group | | remove | A-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tp_7i_t2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tp_7i_t2/var/cache/dnf environment remove same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove both group and environment with the same id # dnf/comps-same-id-group-and-env.feature:76 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 And I execute dnf with args "install @same-id" # dnf/steps/cmd.py:110 When I execute dnf with args "remove @same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iushm6x5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iushm6x5/var/cache/dnf remove @same-id And Transaction is following # None | Action | Package | | env-remove | Same id env | | group-remove | AB-group | | remove | A-mandatory-1.0-1.x86_64 | | group-remove | Same id group | | remove | C-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iushm6x5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iushm6x5/var/cache/dnf remove @same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade a group with the same id as an environment # dnf/comps-same-id-group-and-env.feature:93 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 And I execute dnf with args "install @same-id" # dnf/steps/cmd.py:110 And I use repository "comps-same-id-2" # dnf/steps/repo.py:186 When I execute dnf with args "group upgrade same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hng6_na0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hng6_na0/var/cache/dnf group upgrade same-id And Transaction is following # None | Action | Package | | group-upgrade | Same id group | | install-group | D-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hng6_na0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hng6_na0/var/cache/dnf group upgrade same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an environment with the same id as a group # dnf/comps-same-id-group-and-env.feature:108 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 And I execute dnf with args "install @same-id" # dnf/steps/cmd.py:110 And I use repository "comps-same-id-2" # dnf/steps/repo.py:186 When I execute dnf with args "environment upgrade same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3kpkrw78 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3kpkrw78/var/cache/dnf environment upgrade same-id And Transaction is following # None | Action | Package | | env-upgrade | Same id env | | group-upgrade | AB-group | | install-group | B-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3kpkrw78 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3kpkrw78/var/cache/dnf environment upgrade same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade both group and environment with the same id # dnf/comps-same-id-group-and-env.feature:124 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 And I execute dnf with args "install @same-id" # dnf/steps/cmd.py:110 And I use repository "comps-same-id-2" # dnf/steps/repo.py:186 When I execute dnf with args "upgrade @same-id" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4th4tkth --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4th4tkth/var/cache/dnf upgrade @same-id And Transaction is following # None | Action | Package | | env-upgrade | Same id env | | group-upgrade | AB-group | | install-group | B-mandatory-1.0-1.x86_64 | | group-upgrade | Same id group | | install-group | D-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4th4tkth --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4th4tkth/var/cache/dnf upgrade @same-id  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a group with the same id and name as an environment # dnf/comps-same-id-group-and-env.feature:142 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install same-id-and-name" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1eaq542b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1eaq542b/var/cache/dnf group install same-id-and-name And Transaction is following # None | Action | Package | | group-install | Same id and name group and env | | install-group | C-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id-and-name.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id-and-name.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id-and-name.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1eaq542b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1eaq542b/var/cache/dnf group install same-id-and-name  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment with the same id and name as a group # dnf/comps-same-id-group-and-env.feature:155 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 When I execute dnf with args "environment install same-id-and-name" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8idhmci1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8idhmci1/var/cache/dnf environment install same-id-and-name And Transaction is following # None | Action | Package | | env-install | Same id and name group and env | | group-install | AB-group | | install-group | A-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-id-and-name.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-id-and-name.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/same-id-and-name.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8idhmci1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8idhmci1/var/cache/dnf environment install same-id-and-name  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a group using globs that also match an environment # dnf/comps-same-id-group-and-env.feature:169 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 When I execute dnf with args "group install same-prefix-*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zxklo_ki --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zxklo_ki/var/cache/dnf group install same-prefix-* And Transaction is following # None | Action | Package | | group-install | Same prefix group | | install-group | C-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-prefix-group.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-prefix-env.xml" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zxklo_ki --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zxklo_ki/var/cache/dnf group install same-prefix-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an environment using globs that also match a group # dnf/comps-same-id-group-and-env.feature:181 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 When I execute dnf with args "environment install same-prefix-*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7148v599 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7148v599/var/cache/dnf environment install same-prefix-* And Transaction is following # None | Action | Package | | env-install | Same prefix env | | group-install | AB-group | | install-group | A-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-prefix-group.xml" does not exist # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-prefix-env.xml" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7148v599 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7148v599/var/cache/dnf environment install same-prefix-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install both group and environment using globs # dnf/comps-same-id-group-and-env.feature:194 Given I use repository "comps-same-id-1" # dnf/steps/repo.py:186 When I execute dnf with args "install @same-prefix-*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nvdg7tl_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nvdg7tl_/var/cache/dnf install @same-prefix-* And Transaction is following # None | Action | Package | | env-install | Same prefix env | | group-install | AB-group | | install-group | A-mandatory-1.0-1.x86_64 | | group-install | Same prefix group | | install-group | C-mandatory-1.0-1.x86_64 | And file "/usr/lib/sysimage/libdnf5/comps_groups/groups/same-prefix-group.xml" exists # None And file "/usr/lib/sysimage/libdnf5/comps_groups/environments/same-prefix-env.xml" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nvdg7tl_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nvdg7tl_/var/cache/dnf install @same-prefix-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-same-id-group-and-env.feature:4 Install a group with the same id as an environment dnf/comps-same-id-group-and-env.feature:17 Install an environment with the same id as a group dnf/comps-same-id-group-and-env.feature:31 Install both group and environment with the same id dnf/comps-same-id-group-and-env.feature:47 Remove a group with the same id as an environment dnf/comps-same-id-group-and-env.feature:61 Remove an environment with the same id as a group dnf/comps-same-id-group-and-env.feature:76 Remove both group and environment with the same id dnf/comps-same-id-group-and-env.feature:93 Upgrade a group with the same id as an environment dnf/comps-same-id-group-and-env.feature:108 Upgrade an environment with the same id as a group dnf/comps-same-id-group-and-env.feature:124 Upgrade both group and environment with the same id dnf/comps-same-id-group-and-env.feature:142 Install a group with the same id and name as an environment dnf/comps-same-id-group-and-env.feature:155 Install an environment with the same id and name as a group dnf/comps-same-id-group-and-env.feature:169 Install a group using globs that also match an environment dnf/comps-same-id-group-and-env.feature:181 Install an environment using globs that also match a group dnf/comps-same-id-group-and-env.feature:194 Install both group and environment using globs 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 14 failed, 0 skipped 37 steps passed, 14 failed, 53 skipped Took 0min 0.824s USING RUNNER: behave.runner:Runner Feature: Group and environment upgrade # dnf/comps-upgrade.feature:1 Feature: Group and environment upgrade # dnf/comps-upgrade.feature:1 Scenario: Upgrade group when there are new package versions - upgrade packages # dnf/comps-upgrade.feature:43 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_16wecnia --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_16wecnia/var/cache/dnf install dummy Given I successfully execute dnf with args "group install a-group" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade a-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | upgrade | A-conditional-true-0:2.0-1.x86_64 | | group-upgrade | A-group - repo#2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_16wecnia --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_16wecnia/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade group when there are no new packages - nothing is installed # dnf/comps-upgrade.feature:56 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mo7arm4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mo7arm4_/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-group" # None When I execute dnf with args "group upgrade AB-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | AB-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mo7arm4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mo7arm4_/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade group when there are new packages - install new packages # dnf/comps-upgrade.feature:65 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1bjmluit --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1bjmluit/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-group" # None And I drop repository "comps-upgrade-1" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade AB-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-upgrade | AB-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1bjmluit --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1bjmluit/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade group when there are both old and new packages - install only new packages # dnf/comps-upgrade.feature:79 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e6i13jsw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e6i13jsw/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-group" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade AB-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-upgrade | AB-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e6i13jsw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e6i13jsw/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade group to new metadata and back - always install new packages # dnf/comps-upgrade.feature:93 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oj3jrbru --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oj3jrbru/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-group" # None And I drop repository "comps-upgrade-1" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade AB-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-upgrade | AB-group | Given I drop repository "comps-upgrade-2" # None And I use repository "comps-upgrade-1" # None When I execute dnf with args "group upgrade AB-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | install-group | A-conditional-true-0:1.0-1.x86_64 | | group-upgrade | AB-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oj3jrbru --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oj3jrbru/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade group when there were excluded packages during installation - don't install these packages # dnf/comps-upgrade.feature:117 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9xxdpl8w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9xxdpl8w/var/cache/dnf install dummy When I execute dnf with args "group install AB-group --exclude=A-mandatory,A-default,A-optional,A-conditional-true" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-install | AB-group | When I execute dnf with args "group upgrade AB-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | AB-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9xxdpl8w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9xxdpl8w/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade group when there were removed packages since installation - don't install these packages # dnf/comps-upgrade.feature:130 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zyzy0gvp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zyzy0gvp/var/cache/dnf install dummy Given I successfully execute dnf with args "group install AB-group" # None And I successfully execute dnf with args "remove A-mandatory A-default A-conditional-true" # None When I execute dnf with args "group upgrade AB-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | AB-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zyzy0gvp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zyzy0gvp/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environment when there are no new groups/packages - nothing is installed # dnf/comps-upgrade.feature:140 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_su2x34pz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_su2x34pz/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-environment" # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | A-group - repo#1 | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_su2x34pz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_su2x34pz/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environment when there are new groups/packages - install new groups/packages # dnf/comps-upgrade.feature:150 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_th5jmo4z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_th5jmo4z/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-environment" # None And I drop repository "comps-upgrade-1" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-install | B-group | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_th5jmo4z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_th5jmo4z/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environment - user-installed groups are not removed # dnf/comps-upgrade.feature:165 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ykodj2bi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ykodj2bi/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-environment" # None And I successfully execute dnf with args "group install --no-packages a-group" # None And I drop repository "comps-upgrade-1" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-install | B-group | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ykodj2bi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ykodj2bi/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environment when there are both old and new groups/packages - install only new groups/packages # dnf/comps-upgrade.feature:181 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w8ldohft --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w8ldohft/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-environment" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-upgrade | A-group - repo#2 | | group-install | B-group | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w8ldohft --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w8ldohft/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environment to new metadata and back - always install new groups/packages # dnf/comps-upgrade.feature:197 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v71n6h2f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v71n6h2f/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-environment" # None And I drop repository "comps-upgrade-1" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-install | B-group | | env-upgrade | AB-environment | Given I drop repository "comps-upgrade-2" # None And I use repository "comps-upgrade-1" # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | A-mandatory-0:1.0-1.x86_64 | | install-group | A-default-0:1.0-1.x86_64 | | install-group | A-conditional-true-0:1.0-1.x86_64 | | env-upgrade | AB-environment | And stderr contains "Group \"a-group\" is already installed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v71n6h2f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v71n6h2f/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environment when there were excluded packages during installation - don't install these packages # dnf/comps-upgrade.feature:223 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v6r6wywe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v6r6wywe/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages AB-environment" # None When I execute dnf with args "group install AB-environment --exclude=A-mandatory,A-default,A-optional,A-conditional-true" # None Then the exit code is 0 # None And Transaction is empty # None And stderr contains "Group \"a-group\" is already installed." # None And stderr contains "Environmental group \"AB-environment\" is already installed." # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | A-group - repo#1 | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v6r6wywe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v6r6wywe/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environment when there were removed packages since installation - don't install these packages # dnf/comps-upgrade.feature:238 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dtl2vx5c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dtl2vx5c/var/cache/dnf install dummy Given I successfully execute dnf with args "group install AB-environment" # None And I successfully execute dnf with args "remove A-mandatory A-default A-conditional-true" # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | A-group - repo#1 | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dtl2vx5c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dtl2vx5c/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1872586 Scenario: Upgrade empty group # dnf/comps-upgrade.feature:250 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xd9hg3mo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xd9hg3mo/var/cache/dnf install dummy Given I successfully execute dnf with args "group install empty-group" # None When I execute dnf with args "group upgrade empty-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | empty-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xd9hg3mo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xd9hg3mo/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1872586 Scenario: Upgrade empty environment # dnf/comps-upgrade.feature:260 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fncly49h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fncly49h/var/cache/dnf install dummy Given I successfully execute dnf with args "group install empty-environment" # None When I execute dnf with args "group upgrade empty-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | env-upgrade | empty-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fncly49h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fncly49h/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1872586 Scenario: Upgrade environment when all groups are removed # dnf/comps-upgrade.feature:270 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qqp1mex6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qqp1mex6/var/cache/dnf install dummy Given I successfully execute dnf with args "group install AB-environment" # None And I successfully execute dnf with args "group remove a-group" # None When I execute dnf with args "group upgrade AB-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qqp1mex6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qqp1mex6/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1872586 Scenario: Upgrade environment with installed optional groups # dnf/comps-upgrade.feature:281 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n_92yi1w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n_92yi1w/var/cache/dnf install dummy Given I successfully execute dnf with args "group install --no-packages optional-environment a-group" # None When I execute dnf with args "group upgrade optional-environment" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | A-group - repo#1 | | env-upgrade | optional-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n_92yi1w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n_92yi1w/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade nonexistent group # dnf/comps-upgrade.feature:291 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q6ffkofg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q6ffkofg/var/cache/dnf install dummy When I execute dnf with args "group upgrade nonexistent" # None Then the exit code is 1 # None And Transaction is empty # None And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nonexistent """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q6ffkofg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q6ffkofg/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade nonexistent and existent group # dnf/comps-upgrade.feature:302 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cc7rqbby --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cc7rqbby/var/cache/dnf install dummy Given I successfully execute dnf with args "group install empty-group" # None When I execute dnf with args "group upgrade nonexistent empty-group --skip-unavailable" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | empty-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cc7rqbby --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cc7rqbby/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade group and a package that was removed from the group at the same time # dnf/comps-upgrade.feature:311 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sgijmkrl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sgijmkrl/var/cache/dnf install dummy Given I successfully execute dnf with args "group install AB-group" # None And I drop repository "comps-upgrade-1" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "upgrade @AB-group A-mandatory" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-upgrade | AB-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sgijmkrl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sgijmkrl/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environment and a group that was removed from the environment at the same time # dnf/comps-upgrade.feature:326 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3omay9bu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3omay9bu/var/cache/dnf install dummy Given I successfully execute dnf with args "group install AB-environment" # None And I drop repository "comps-upgrade-1" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "group upgrade AB-environment a-group" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | upgrade | A-conditional-true-0:2.0-1.x86_64 | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-upgrade | A-group - repo#2 | | group-install | B-group | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3omay9bu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3omay9bu/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Packages removed from a group are still upgraded during an upgrade # dnf/comps-upgrade.feature:345 Given I use repository "comps-upgrade-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rk_05_cc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rk_05_cc/var/cache/dnf install dummy Given I successfully execute dnf with args "group install AB-group" # None And I drop repository "comps-upgrade-1" # None And I use repository "comps-upgrade-2" # None When I execute dnf with args "upgrade @AB-group" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | install-group | B-conditional-true-0:1.0-1.x86_64 | | group-upgrade | AB-group | When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | upgrade | A-conditional-true-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rk_05_cc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rk_05_cc/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/comps-upgrade.feature:43 Upgrade group when there are new package versions - upgrade packages dnf/comps-upgrade.feature:56 Upgrade group when there are no new packages - nothing is installed dnf/comps-upgrade.feature:65 Upgrade group when there are new packages - install new packages dnf/comps-upgrade.feature:79 Upgrade group when there are both old and new packages - install only new packages dnf/comps-upgrade.feature:93 Upgrade group to new metadata and back - always install new packages dnf/comps-upgrade.feature:117 Upgrade group when there were excluded packages during installation - don't install these packages dnf/comps-upgrade.feature:130 Upgrade group when there were removed packages since installation - don't install these packages dnf/comps-upgrade.feature:140 Upgrade environment when there are no new groups/packages - nothing is installed dnf/comps-upgrade.feature:150 Upgrade environment when there are new groups/packages - install new groups/packages dnf/comps-upgrade.feature:165 Upgrade environment - user-installed groups are not removed dnf/comps-upgrade.feature:181 Upgrade environment when there are both old and new groups/packages - install only new groups/packages dnf/comps-upgrade.feature:197 Upgrade environment to new metadata and back - always install new groups/packages dnf/comps-upgrade.feature:223 Upgrade environment when there were excluded packages during installation - don't install these packages dnf/comps-upgrade.feature:238 Upgrade environment when there were removed packages since installation - don't install these packages dnf/comps-upgrade.feature:250 Upgrade empty group dnf/comps-upgrade.feature:260 Upgrade empty environment dnf/comps-upgrade.feature:270 Upgrade environment when all groups are removed dnf/comps-upgrade.feature:281 Upgrade environment with installed optional groups dnf/comps-upgrade.feature:291 Upgrade nonexistent group dnf/comps-upgrade.feature:302 Upgrade nonexistent and existent group dnf/comps-upgrade.feature:311 Upgrade group and a package that was removed from the group at the same time dnf/comps-upgrade.feature:326 Upgrade environment and a group that was removed from the environment at the same time dnf/comps-upgrade.feature:345 Packages removed from a group are still upgraded during an upgrade 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 23 failed, 0 skipped 23 steps passed, 23 failed, 136 skipped Took 0min 0.855s USING RUNNER: behave.runner:Runner Feature: Config option: best # dnf/config-best.feature:1 Scenario: Verify that repo priorities work # dnf/config-best.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc --setopt=dnf-ci-fedora.priority=90 --setopt=best=0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m00nun7x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m00nun7x/var/cache/dnf install glibc --setopt=dnf-ci-fedora.priority=90 --setopt=best=0 And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m00nun7x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m00nun7x/var/cache/dnf install glibc --setopt=dnf-ci-fedora.priority=90 --setopt=best=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: When priority repo is broken and best=0, install a package from repo with lower priority # dnf/config-best.feature:19 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc --setopt=dnf-ci-fedora.priority=90 --setopt=best=0 -x glibc-common-0:2.28-9.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v2rvvllu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v2rvvllu/var/cache/dnf install glibc --setopt=dnf-ci-fedora.priority=90 --setopt=best=0 -x glibc-common-0:2.28-9.fc29.x86_64 And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | broken | glibc-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v2rvvllu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v2rvvllu/var/cache/dnf install glibc --setopt=dnf-ci-fedora.priority=90 --setopt=best=0 -x glibc-common-0:2.28-9.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: When installing with option --nobest, install a package from repo with lower priority # dnf/config-best.feature:35 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc --setopt=dnf-ci-fedora.priority=90 --nobest -x glibc-common-0:2.28-9.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fi7bn1_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fi7bn1_i/var/cache/dnf install glibc --setopt=dnf-ci-fedora.priority=90 --nobest -x glibc-common-0:2.28-9.fc29.x86_64 And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | broken | glibc-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fi7bn1_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fi7bn1_i/var/cache/dnf install glibc --setopt=dnf-ci-fedora.priority=90 --nobest -x glibc-common-0:2.28-9.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1670776 @bz1671683 Scenario: When installing with best=1 set in dnf.conf, fail on broken packages, and advise to use --nobest # dnf/config-best.feature:52 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc -x glibc-common-0:2.28-26.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_efjwpser --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_efjwpser/var/cache/dnf install glibc -x glibc-common-0:2.28-26.fc29.x86_64 And stderr contains " --no-best to not limit the transaction to the best candidates" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_efjwpser --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_efjwpser/var/cache/dnf install glibc -x glibc-common-0:2.28-26.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1670776 @bz1671683 Scenario: When installing with option --best, fail on broken packages, and don't advise to use --nobest # dnf/config-best.feature:61 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc --best -x glibc-common-0:2.28-26.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r05zd9x0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r05zd9x0/var/cache/dnf install glibc --best -x glibc-common-0:2.28-26.fc29.x86_64 And stdout does not contain "--nobest" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r05zd9x0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r05zd9x0/var/cache/dnf install glibc --best -x glibc-common-0:2.28-26.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: When installing with best=0, install a package of lower version # dnf/config-best.feature:69 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc --setopt=best=0 -x glibc-common-0:2.28-26.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2qm7vnqp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2qm7vnqp/var/cache/dnf install glibc --setopt=best=0 -x glibc-common-0:2.28-26.fc29.x86_64 And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | broken | glibc-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2qm7vnqp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2qm7vnqp/var/cache/dnf install glibc --setopt=best=0 -x glibc-common-0:2.28-26.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1670776 @bz1671683 Scenario: When installing with option --nobest, install a package of lower version # dnf/config-best.feature:86 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc --nobest -x glibc-common-0:2.28-26.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yx_1xxj0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yx_1xxj0/var/cache/dnf install glibc --nobest -x glibc-common-0:2.28-26.fc29.x86_64 And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | broken | glibc-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yx_1xxj0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yx_1xxj0/var/cache/dnf install glibc --nobest -x glibc-common-0:2.28-26.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: When upgrading with best=0, only report broken packages # dnf/config-best.feature:102 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2nw9bzmt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2nw9bzmt/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --setopt=best=0 -x glibc-common-0:2.28-26.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | broken | glibc-0:2.28-26.fc29.x86_64 | | broken | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2nw9bzmt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2nw9bzmt/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1670776 @bz1671683 Scenario: When upgrading with option --nobest, only report broken packages # dnf/config-best.feature:124 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ya1qeyjn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ya1qeyjn/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --nobest -x glibc-common-0:2.28-26.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | broken | glibc-0:2.28-26.fc29.x86_64 | | broken | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ya1qeyjn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ya1qeyjn/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1670776 @bz1671683 Scenario: When upgrading with best=1 (default), fail on broken packages # dnf/config-best.feature:145 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_thhdodye --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_thhdodye/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade -x glibc-common-0:2.28-26.fc29.x86_64 --best" # None Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_thhdodye --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_thhdodye/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config-best.feature:4 Verify that repo priorities work dnf/config-best.feature:19 When priority repo is broken and best=0, install a package from repo with lower priority dnf/config-best.feature:35 When installing with option --nobest, install a package from repo with lower priority dnf/config-best.feature:52 When installing with best=1 set in dnf.conf, fail on broken packages, and advise to use --nobest dnf/config-best.feature:61 When installing with option --best, fail on broken packages, and don't advise to use --nobest dnf/config-best.feature:69 When installing with best=0, install a package of lower version dnf/config-best.feature:86 When installing with option --nobest, install a package of lower version dnf/config-best.feature:102 When upgrading with best=0, only report broken packages dnf/config-best.feature:124 When upgrading with option --nobest, only report broken packages dnf/config-best.feature:145 When upgrading with best=1 (default), fail on broken packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 10 failed, 0 skipped 27 steps passed, 10 failed, 21 skipped Took 0min 0.585s USING RUNNER: behave.runner:Runner Feature: Test drop-in directories for configuration files # dnf/config-drop-in.feature:1 Scenario: Config files from the drop-in directories are loaded # dnf/config-drop-in.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/etc/dnf/libdnf5.conf.d/exclude-filesystem.conf" with # common/file.py:36 """ [main] exclude=filesystem """ And I create file "/etc/dnf/libdnf5.conf.d/exclude-wget.conf" with # common/file.py:36 """ [main] exclude=wget """ And I create file "/usr/share/dnf5/libdnf.conf.d/exclude-lame.conf" with # common/file.py:36 """ [main] exclude=lame """ And I create file "/usr/share/dnf5/libdnf.conf.d/exclude-flac.conf" with # common/file.py:36 """ [main] exclude=flac """ When I execute dnf with args "install filesystem wget lame flac setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k9ue4_n_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k9ue4_n_/var/cache/dnf install filesystem wget lame flac setup And stderr is # None """ Failed to resolve the transaction: Argument 'filesystem' matches only excluded packages. Argument 'wget' matches only excluded packages. Argument 'lame' matches only excluded packages. Argument 'flac' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k9ue4_n_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k9ue4_n_/var/cache/dnf install filesystem wget lame flac setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: In case of the same file name, /etc/dnf/libdnf5.conf.d/... masks usr/share/dnf5/libdnf.conf.d/... # dnf/config-drop-in.feature:39 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/usr/share/dnf5/libdnf.conf.d/exclude-dwn.conf" with # common/file.py:36 """ [main] exclude=dwm """ And I create file "/etc/dnf/libdnf5.conf.d/test.conf" with # common/file.py:36 """ [main] exclude=filesystem """ And I create file "/usr/share/dnf5/libdnf.conf.d/test.conf" with # common/file.py:36 """ [main] exclude=wget """ When I execute dnf with args "install dwm filesystem wget" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6u8wj7sy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6u8wj7sy/var/cache/dnf install dwm filesystem wget And stderr is # None """ Failed to resolve the transaction: Argument 'dwm' matches only excluded packages. Argument 'filesystem' matches only excluded packages. """ When I execute dnf with args "install wget" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6u8wj7sy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6u8wj7sy/var/cache/dnf install dwm filesystem wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The configs are ordered by name # dnf/config-drop-in.feature:69 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/etc/dnf/libdnf5.conf.d/10-exclude-filesystem.conf" with # common/file.py:36 """ [main] exclude=filesystem """ And I create file "/usr/share/dnf5/libdnf.conf.d/20-exclude-wget.conf" with # common/file.py:36 """ [main] exclude=wget """ And I create file "/usr/share/dnf5/libdnf.conf.d/30-exclude-only-flac.conf" with # common/file.py:36 """ [main] exclude=,flac """ And I create file "/etc/dnf/libdnf5.conf.d/40-exclude-lame.conf" with # common/file.py:36 """ [main] exclude=lame """ When I execute dnf with args "install filesystem wget flac lame" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1yvusgyd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1yvusgyd/var/cache/dnf install filesystem wget flac lame And stderr is # None """ Failed to resolve the transaction: Argument 'flac' matches only excluded packages. Argument 'lame' matches only excluded packages. """ When I execute dnf with args "install filesystem wget" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1yvusgyd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1yvusgyd/var/cache/dnf install filesystem wget flac lame  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The /etc/dnf/dnf.conf is loaded last # dnf/config-drop-in.feature:104 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | ,flac | And I create file "/etc/dnf/libdnf5.conf.d/10-exclude-filesystem.conf" with # common/file.py:36 """ [main] exclude=filesystem """ And I create file "/usr/share/dnf5/libdnf.conf.d/20-exclude-wget.conf" with # common/file.py:36 """ [main] exclude=wget """ When I execute dnf with args "install filesystem wget flac" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__i083abo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__i083abo/var/cache/dnf install filesystem wget flac And stderr is # None """ Failed to resolve the transaction: Argument 'flac' matches only excluded packages. """ When I execute dnf with args "install filesystem wget" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__i083abo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__i083abo/var/cache/dnf install filesystem wget flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail when explicitly requested config file doesn't exist # dnf/config-drop-in.feature:131 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem --config /etc/dnf/libdnf5.conf.d/test.conf" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cfgb5lkq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cfgb5lkq/var/cache/dnf install filesystem --config /etc/dnf/libdnf5.conf.d/test.conf And stderr is # None """ Configuration file "/etc/dnf/libdnf5.conf.d/test.conf" not found cannot open file: (2) - No such file or directory [/etc/dnf/libdnf5.conf.d/test.conf] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cfgb5lkq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cfgb5lkq/var/cache/dnf install filesystem --config /etc/dnf/libdnf5.conf.d/test.conf  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config-drop-in.feature:4 Config files from the drop-in directories are loaded dnf/config-drop-in.feature:39 In case of the same file name, /etc/dnf/libdnf5.conf.d/... masks usr/share/dnf5/libdnf.conf.d/... dnf/config-drop-in.feature:69 The configs are ordered by name dnf/config-drop-in.feature:104 The /etc/dnf/dnf.conf is loaded last dnf/config-drop-in.feature:131 Fail when explicitly requested config file doesn't exist 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 24 steps passed, 5 failed, 11 skipped Took 0min 0.282s USING RUNNER: behave.runner:Runner Feature: Repository overriding configuration files # dnf/config-repos-overrides.feature:1 Feature: Repository overriding configuration files # dnf/config-repos-overrides.feature:1 Scenario: Test the overrides in "/usr/share/dnf5/repos.override.d" # dnf/config-repos-overrides.feature:15 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | Given I create file "/usr/share/dnf5/repos.override.d/10-disable-all.repo" with # common/file.py:36 """ [*] enabled=0 """ And I create file "/usr/share/dnf5/repos.override.d/20-enable-some.repo" with # common/file.py:36 """ [dnf-ci-fedora-updates] enabled=1 """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cd088c8q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cd088c8q/var/cache/dnf repo list And stdout does not contain "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout does not contain "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates" # None And stdout contains "dnf-ci-fedora-updates\s+dnf-ci-fedora-updates" # None And stdout does not contain "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cd088c8q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cd088c8q/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The conf file in "/etc/dnf/repos.override.d" hides the file of the same name in "/usr/share/dnf5/repos.override.d" # dnf/config-repos-overrides.feature:34 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | Given I create file "/usr/share/dnf5/repos.override.d/20-enable-some.repo" with # common/file.py:36 """ [dnf-ci-fedora-updates] enabled=1 """ And I create file "/etc/dnf/repos.override.d/20-enable-some.repo" with # common/file.py:36 """ [dnf-ci-thirdparty] enabled=1 """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ml_mj822 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ml_mj822/var/cache/dnf repo list And stdout contains "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout contains "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates" # None And stdout does not contain "dnf-ci-fedora-updates\s+dnf-ci-fedora-updates" # None And stdout contains "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ml_mj822 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ml_mj822/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The configuration files are applied in alphabetical order by their names. # dnf/config-repos-overrides.feature:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | Given I create file "/usr/share/dnf5/repos.override.d/10-disable-all.repo" with # common/file.py:36 """ [*] enabled=0 """ And I create file "/usr/share/dnf5/repos.override.d/20-enable-some.repo" with # common/file.py:36 """ [dnf-ci-fedora-updates] enabled=1 """ And I create file "/etc/dnf/repos.override.d/20-enable-some.repo" with # common/file.py:36 """ [dnf-ci-fedora] enabled=1 [dnf-ci-thirdparty] enabled=1 """ And I create file "/usr/share/dnf5/repos.override.d/30-disable-some.repo" with # common/file.py:36 """ [dnf-ci-fedora] enabled=0 """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_35jyfppv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_35jyfppv/var/cache/dnf repo list And stdout does not contain "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout does not contain "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates" # None And stdout does not contain "dnf-ci-fedora-updates\s+dnf-ci-fedora-updates" # None And stdout contains "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_35jyfppv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_35jyfppv/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test globs in repoid # dnf/config-repos-overrides.feature:85 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | Given I create file "/usr/share/dnf5/repos.override.d/10-disable-all.repo" with # common/file.py:36 """ [*] enabled=0 [d?f-[a-c]i-fed*] enabled=1 """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yktsuhdk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yktsuhdk/var/cache/dnf repo list And stdout contains "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout does not contain "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates" # None And stdout contains "dnf-ci-fedora-updates\s+dnf-ci-fedora-updates" # None And stdout does not contain "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yktsuhdk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yktsuhdk/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test vars in repoid # dnf/config-repos-overrides.feature:102 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | Given I create file "/etc/dnf/vars/distrib" with # common/file.py:36 """ fedora """ And I create file "/usr/share/dnf5/repos.override.d/10-disable-all.repo" with # common/file.py:36 """ [*] enabled=0 [dnf-ci-${distrib}-updates] enabled=1 """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mdpac3tx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mdpac3tx/var/cache/dnf repo list And stdout does not contain "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout does not contain "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates" # None And stdout contains "dnf-ci-fedora-updates\s+dnf-ci-fedora-updates" # None And stdout does not contain "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mdpac3tx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mdpac3tx/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test vars in configuration # dnf/config-repos-overrides.feature:123 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | Given I create file "/etc/dnf/vars/enabled" with # common/file.py:36 """ 1 """ And I create file "/etc/dnf/vars/disabled" with # common/file.py:36 """ 0 """ And I create file "/usr/share/dnf5/repos.override.d/10-disable-all.repo" with # common/file.py:36 """ [*] enabled=${disabled} [dnf-ci-fedora-updates] enabled=${enabled} """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1wdloe98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1wdloe98/var/cache/dnf repo list And stdout does not contain "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout does not contain "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates" # None And stdout contains "dnf-ci-fedora-updates\s+dnf-ci-fedora-updates" # None And stdout does not contain "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1wdloe98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1wdloe98/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config-repos-overrides.feature:15 Test the overrides in "/usr/share/dnf5/repos.override.d" dnf/config-repos-overrides.feature:34 The conf file in "/etc/dnf/repos.override.d" hides the file of the same name in "/usr/share/dnf5/repos.override.d" dnf/config-repos-overrides.feature:53 The configuration files are applied in alphabetical order by their names. dnf/config-repos-overrides.feature:85 Test globs in repoid dnf/config-repos-overrides.feature:102 Test vars in repoid dnf/config-repos-overrides.feature:123 Test vars in configuration 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 44 steps passed, 6 failed, 24 skipped Took 0min 0.645s USING RUNNER: behave.runner:Runner Feature: Repositories configured in main configuration file # dnf/config-with-repos.feature:2 Feature: Repositories configured in main configuration file # dnf/config-with-repos.feature:2 Scenario: Repositories configured only in the main configuration file # dnf/config-with-repos.feature:23 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | gpgcheck | 0 | | [repo-A] | | | name | repo-A test repository | | enabled | 1 | | baseurl | http://url.xyz | | [repo-B] | | | name | repo-B test repository | | enabled | 0 | | baseurl | http://url.xyz | | [repo-C] | | | name | repo-C test repository | | enabled | 1 | | baseurl | http://url.xyz | When I execute dnf with args "repo list --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zt1dbgdl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zt1dbgdl/var/cache/dnf repo list --all And stdout is # None """ repo id repo name status repo-A repo-A test repository enabled repo-B repo-B test repository disabled repo-C repo-C test repository enabled """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zt1dbgdl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zt1dbgdl/var/cache/dnf repo list --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repositories configured in the main configuration file and in *.repo files # dnf/config-with-repos.feature:35 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | gpgcheck | 0 | | [repo-A] | | | name | repo-A test repository | | enabled | 1 | | baseurl | http://url.xyz | | [repo-B] | | | name | repo-B test repository | | enabled | 0 | | baseurl | http://url.xyz | | [repo-C] | | | name | repo-C test repository | | enabled | 1 | | baseurl | http://url.xyz | Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b4ybdz2f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b4ybdz2f/var/cache/dnf repo list --all And stdout is # None """ repo id repo name status dnf-ci-fedora dnf-ci-fedora test repository enabled dnf-ci-fedora-updates dnf-ci-fedora-updates test repository disabled repo-A repo-A test repository enabled repo-B repo-B test repository disabled repo-C repo-C test repository enabled """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b4ybdz2f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b4ybdz2f/var/cache/dnf repo list --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config-with-repos.feature:23 Repositories configured only in the main configuration file dnf/config-with-repos.feature:35 Repositories configured in the main configuration file and in *.repo files 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 6 steps passed, 2 failed, 2 skipped Took 0min 0.316s USING RUNNER: behave.runner:Runner Feature: DNF config files testing # dnf/config.feature:1 @no_installroot Scenario: Create dnf.conf file and test if host is using /etc/dnf/dnf.conf # dnf/config.feature:188 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] exclude=vagare """ When I execute dnf with args "install vagare" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install vagare And stderr contains "Argument 'vagare' matches only excluded packages." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config.feature:188 Create dnf.conf file and test if host is using /etc/dnf/dnf.conf 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 3 steps passed, 1 failed, 98 skipped Took 0min 0.272s USING RUNNER: behave.runner:Runner Feature: DNF config files testing # dnf/config.feature:1 @no_installroot Scenario: Create dnf.conf file and test if host is taking option --config /test/dnf.conf file # dnf/config.feature:204 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] exclude=vagare """ And I create file "/test/dnf.conf" with # common/file.py:36 """ [main] exclude=dedalo """ When I execute dnf with args "--config /test/dnf.conf install vagare" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --config /test/dnf.conf install vagare And Transaction is following # None | Action | Package | | install | vagare-1.0-1.fc29.x86_64 | | install-dep | labirinto-1.0-1.fc29.x86_64 | When I execute dnf with args "--config /test/dnf.conf install dedalo" # None Then the exit code is 1 # None And stderr contains "Argument 'dedalo' matches only excluded packages." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --config /test/dnf.conf install vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config.feature:204 Create dnf.conf file and test if host is taking option --config /test/dnf.conf file 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 97 skipped Took 0min 0.270s USING RUNNER: behave.runner:Runner Feature: DNF config files testing # dnf/config.feature:1 @destructive Scenario: dnf.conf is not taken from host even even if the file in installroot does not exist # dnf/config.feature:231 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I create and substitute file "//etc/dnf/dnf.conf" with # common/file.py:43 """ [main] exclude=vagare reposdir={context.dnf.installroot}/etc/yum.repos.d """ And I delete file "/etc/dnf/dnf.conf" # common/file.py:58 When I execute dnf with args "install vagare" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_blu2c2ut --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_blu2c2ut/var/cache/dnf install vagare And Transaction is following # None | Action | Package | | install | vagare-1.0-1.fc29.x86_64 | | install-dep | labirinto-1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_blu2c2ut --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_blu2c2ut/var/cache/dnf install vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config.feature:231 dnf.conf is not taken from host even even if the file in installroot does not exist 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 97 skipped Took 0min 0.099s USING RUNNER: behave.runner:Runner Feature: DNF config files testing # dnf/config.feature:1 @destructive Scenario: dnf.conf is taken from host if --use-host-config is used # dnf/config.feature:251 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I create and substitute file "//etc/dnf/dnf.conf" with # common/file.py:43 """ [main] exclude=vagare reposdir={context.dnf.installroot}/etc/yum.repos.d """ And I delete file "/etc/dnf/dnf.conf" # common/file.py:58 When I execute dnf with args "install vagare --use-host-config" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s5tz_ctu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s5tz_ctu/var/cache/dnf install vagare --use-host-config And stderr is # None """ Failed to resolve the transaction: Argument 'vagare' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s5tz_ctu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s5tz_ctu/var/cache/dnf install vagare --use-host-config  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config.feature:251 dnf.conf is taken from host if --use-host-config is used 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 97 skipped Took 0min 0.104s USING RUNNER: behave.runner:Runner Feature: DNF config files testing # dnf/config.feature:1 @no_installroot Scenario: Reposdir option in dnf.conf file in host # dnf/config.feature:273 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | reposdir | /testrepos | And I generate repodata for repository "simple-base" # dnf/steps/repo.py:166 And I configure a new repository "testrepo" in "/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | {context.scenario.repos_location}/simple-base | When I execute dnf with args "install vagare" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install vagare And Transaction is following # None | Action | Package | | install | vagare-1.0-1.fc29.x86_64 | | install-dep | labirinto-1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config.feature:273 Reposdir option in dnf.conf file in host 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 97 skipped Took 0min 0.270s USING RUNNER: behave.runner:Runner Feature: DNF config files testing # dnf/config.feature:1 Scenario: Test removal of dependency when clean_requirements_on_remove=false # dnf/config.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | filesystem | | clean_requirements_on_remove | False | When I execute dnf with args "install --setopt=disable_excludes=main filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3k67qb3n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3k67qb3n/var/cache/dnf install --setopt=disable_excludes=main filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove --setopt=disable_excludes=* filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3k67qb3n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3k67qb3n/var/cache/dnf install --setopt=disable_excludes=main filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test with dnf.conf in installroot (dnf.conf is taken from installroot) # dnf/config.feature:23 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | filesystem | When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fg0gc_pr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fg0gc_pr/var/cache/dnf install filesystem And stderr is # None """ Failed to resolve the transaction: Argument 'filesystem' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fg0gc_pr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fg0gc_pr/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test with dnf.conf in installroot and --config (dnf.conf is taken from --config) # dnf/config.feature:38 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | exclude | filesystem | And I create file "/test/dnf.conf" with # common/file.py:36 """ [main] exclude=dwm """ When I execute dnf with args "--config {context.dnf.installroot}/test/dnf.conf install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e4wdcvr7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e4wdcvr7/var/cache/dnf --config /tmp/dnf_ci_installroot_e4wdcvr7/test/dnf.conf install filesystem When I execute dnf with args "--config {context.dnf.installroot}/test/dnf.conf install dwm" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Argument 'dwm' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e4wdcvr7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e4wdcvr7/var/cache/dnf --config /tmp/dnf_ci_installroot_e4wdcvr7/test/dnf.conf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposdir option in dnf.conf file in installroot # dnf/config.feature:60 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | reposdir | /testrepos | And I generate repodata for repository "dnf-ci-fedora" # dnf/steps/repo.py:166 And I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | {context.scenario.repos_location}/dnf-ci-fedora | When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7_v7db3a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7_v7db3a/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7_v7db3a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7_v7db3a/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposdir option in dnf.conf file with --config option in installroot # dnf/config.feature:76 Given I create file "/test/dnf.conf" with # common/file.py:36 """ [main] reposdir=/testrepos """ And I generate repodata for repository "dnf-ci-fedora" # dnf/steps/repo.py:166 And I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | {context.scenario.repos_location}/dnf-ci-fedora | When I execute dnf with args "--config {context.dnf.installroot}/test/dnf.conf install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_69ke0x84 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_69ke0x84/var/cache/dnf --config /tmp/dnf_ci_installroot_69ke0x84/test/dnf.conf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_69ke0x84 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_69ke0x84/var/cache/dnf --config /tmp/dnf_ci_installroot_69ke0x84/test/dnf.conf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposdir option set by --setopt # dnf/config.feature:94 Given I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | {context.scenario.repos_location}/dnf-ci-fedora | And I generate repodata for repository "dnf-ci-fedora" # dnf/steps/repo.py:166 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ue1bv23g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ue1bv23g/var/cache/dnf install filesystem When I execute dnf with args "install --setopt=reposdir=/testrepos filesystem" # None Then the exit code is 1 # None When I execute dnf with args "install --setopt=reposdir={context.dnf.installroot}/testrepos filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ue1bv23g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ue1bv23g/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1512457 Scenario: Test usage of not existing config file # dnf/config.feature:114 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "--config {context.dnf.installroot}/non/existing/dnf.conf list" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qj13no25 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qj13no25/var/cache/dnf --config /tmp/dnf_ci_installroot_qj13no25/non/existing/dnf.conf list And stderr contains "Configuration file.*not found" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qj13no25 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qj13no25/var/cache/dnf --config /tmp/dnf_ci_installroot_qj13no25/non/existing/dnf.conf list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test using the short alias "-c" instead of "--config" (we'll use the test for a non-existent config file) # dnf/config.feature:121 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "-c {context.dnf.installroot}/non/existing/dnf.conf list" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t8uf80c6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t8uf80c6/var/cache/dnf -c /tmp/dnf_ci_installroot_t8uf80c6/non/existing/dnf.conf list And stderr contains "Configuration file.*not found" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t8uf80c6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t8uf80c6/var/cache/dnf -c /tmp/dnf_ci_installroot_t8uf80c6/non/existing/dnf.conf list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1722493 Scenario: Lines that contain only whitespaces do not spoil previous config options # dnf/config.feature:129 Given I create file "/test/dnf.conf" with # common/file.py:36 """ [main] gpgcheck=0 [testingrepo] gpgcheck=1 baseurl=http://some.url/ """ When I execute dnf with args "--config={context.dnf.installroot}/test/dnf.conf --dump-repo-config=testingrepo" # dnf/steps/cmd.py:110 Then stdout contains lines # dnf/steps/cmd.py:240 """ gpgcheck = 1 """ ASSERT FAILED: Stdout doesn't contain line: gpgcheck = 1 ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ky2zy11d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ky2zy11d/var/cache/dnf --config=/tmp/dnf_ci_installroot_ky2zy11d/test/dnf.conf --dump-repo-config=testingrepo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1721091 Scenario: Dnf can use config file from remote location # dnf/config.feature:152 @bz1721091 Scenario: Dnf prints reasonable error when remote config file is not downloadable # dnf/config.feature:170 Given I create directory "/remotedir" # common/file.py:30 And I set up a http server for directory "/remotedir" # dnf/steps/cmd.py:219 When I execute dnf with args "--config http://localhost:{context.dnf.ports[/remotedir]}/does-not-exist.conf repo list repo-from-remote-config" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hamkwdcs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hamkwdcs/var/cache/dnf --config http://localhost:43469/does-not-exist.conf repo list repo-from-remote-config And stderr contains "Configuration file.*not found" # None When I execute dnf with args "--config xxxx://localhost:{context.dnf.ports[/remotedir]}/does-not-exist.conf repo list repo-from-remote-config" # None Then the exit code is 1 # None And stderr contains "Configuration file.*not found" # None When I execute dnf with args "--config http://the_host:{context.dnf.ports[/remotedir]}/does-not-exist.conf repo list repo-from-remote-config" # None Then the exit code is 1 # None And stderr contains "Configuration file.*not found" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hamkwdcs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hamkwdcs/var/cache/dnf --config http://localhost:43469/does-not-exist.conf repo list repo-from-remote-config  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/config.feature:4 Test removal of dependency when clean_requirements_on_remove=false dnf/config.feature:23 Test with dnf.conf in installroot (dnf.conf is taken from installroot) dnf/config.feature:38 Test with dnf.conf in installroot and --config (dnf.conf is taken from --config) dnf/config.feature:60 Reposdir option in dnf.conf file in installroot dnf/config.feature:76 Reposdir option in dnf.conf file with --config option in installroot dnf/config.feature:94 Reposdir option set by --setopt dnf/config.feature:114 Test usage of not existing config file dnf/config.feature:121 Test using the short alias "-c" instead of "--config" (we'll use the test for a non-existent config file) dnf/config.feature:129 Lines that contain only whitespaces do not spoil previous config options dnf/config.feature:170 Dnf prints reasonable error when remote config file is not downloadable 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 10 failed, 6 skipped 30 steps passed, 10 failed, 62 skipped Took 0min 0.648s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-vi3um4gc', '/mp-5c3d_4w9', '/mp-834cibox', '/mp-fq427a91', '/mp-ocw976lm', '/mp-39awk2zw'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive @bz1777255 @bz1676891 Scenario Outline: User-Agent header is sent -- @1.1 # dnf/countme.feature:17 Given I am running a system identified as the "Fedora 29; server" # dnf/steps/repo.py:368 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then every HTTP GET request should match # dnf/steps/server.py:60 | header | value | | User-Agent | libdnf (Fedora 29; server; Linux.x86_64) | ASSERT FAILED: No HTTP requests have been received! ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4fzopbc3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4fzopbc3/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:17 User-Agent header is sent -- @1.1 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 294 skipped Took 0min 0.347s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-pa2edw30', '/mp-65r898gi', '/mp-3pw94p4b', '/mp-w50yb2nr', '/mp-9gsc5pxj', '/mp-y21szoh7'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive @bz1777255 @bz1676891 Scenario Outline: User-Agent header is sent -- @1.2 # dnf/countme.feature:18 Given I am running a system identified as the "Fedora 30; workstation" # dnf/steps/repo.py:368 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then every HTTP GET request should match # dnf/steps/server.py:60 | header | value | | User-Agent | libdnf (Fedora 30; workstation; Linux.x86_64) | ASSERT FAILED: No HTTP requests have been received! ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cip_ppo3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cip_ppo3/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:18 User-Agent header is sent -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 294 skipped Took 0min 0.369s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-otqj7g26', '/mp-mwqour6t', '/mp-re41xj0e', '/mp-67z2rhz8', '/mp-6lk11fyc', '/mp-gn4gfoe4'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive @bz1777255 @bz1676891 Scenario Outline: User-Agent header is sent -- @1.3 # dnf/countme.feature:19 Given I am running a system identified as the "Fedora 31" # dnf/steps/repo.py:368 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then every HTTP GET request should match # dnf/steps/server.py:60 | header | value | | User-Agent | libdnf (Fedora 31; generic; Linux.x86_64) | ASSERT FAILED: No HTTP requests have been received! ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_avybidw8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_avybidw8/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:19 User-Agent header is sent -- @1.3 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 294 skipped Took 0min 0.344s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-y8iy818_', '/mp-z5sdieo4', '/mp-4wmnwy3a', '/mp-rhsyx6uv', '/mp-wposcfqk', '/mp-3gcg0ld1'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive @bz1777255 @bz1676891 Scenario Outline: User-Agent header is sent -- @1.4 # dnf/countme.feature:20 Given I am running a system identified as the "Red Hat Enterprise Linux 8.1" # dnf/steps/repo.py:368 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then every HTTP GET request should match # dnf/steps/server.py:60 | header | value | | User-Agent | libdnf (Red Hat Enterprise Linux 8.1; generic; Linux.x86_64) | ASSERT FAILED: No HTTP requests have been received! ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k5gg852g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k5gg852g/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:20 User-Agent header is sent -- @1.4 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 294 skipped Took 0min 0.349s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-_x80z7w7', '/mp-5z26klf_', '/mp-8ou4rp58', '/mp-8m62pqph', '/mp-f1i2i3u2', '/mp-_p9mtjlb'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive @bz1777255 @bz1676891 Scenario Outline: User-Agent header is sent -- @1.5 # dnf/countme.feature:21 Given I am running a system identified as the "CentOS Linux 8.1" # dnf/steps/repo.py:368 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then every HTTP GET request should match # dnf/steps/server.py:60 | header | value | | User-Agent | libdnf (CentOS Linux 8.1; generic; Linux.x86_64) | ASSERT FAILED: No HTTP requests have been received! ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fykszs5h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fykszs5h/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:21 User-Agent header is sent -- @1.5 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 294 skipped Took 0min 0.346s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-0jynsf9k', '/mp-ijv8h7e4', '/mp-i82vit73', '/mp-88shndfr', '/mp-vrvhsj9r', '/mp-ye7qanyd'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario: No os-release file installed # dnf/countme.feature:24 Given I remove the os-release file # dnf/steps/repo.py:385 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zm7allpd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zm7allpd/var/cache/dnf makecache --refresh And every HTTP GET request should match # None | header | value | | User-Agent | libdnf | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zm7allpd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zm7allpd/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:24 No os-release file installed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 294 skipped Took 0min 0.344s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-ihd6m2a0', '/mp-ht7rry7j', '/mp-cv28fd8x', '/mp-mtlcog0m', '/mp-ye7oj8p1', '/mp-bkjl_sup'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario Outline: Countme flag is sent once per calendar week -- @1.1 # dnf/countme.feature:114 Given the machine-id file is initialized as of Aug 06, 2019 # dnf/steps/repo.py:391 And I set config option "countme" to "1" # dnf/steps/cmd.py:212 And I set releasever to "39" # dnf/steps/repo.py:144 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When today is Aug 07, 2019 # dnf/steps/cmd.py:73 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then exactly one HTTP GET request should match # dnf/steps/server.py:60 | path | | */metalink.xml*&countme=1 | ASSERT FAILED: No HTTP requests have been received! When today is Aug 07, 2019 + 3 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then no HTTP GET request should match # None | path | | */metalink.xml*&countme=* | When today is Aug 07, 2019 + 8 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=1 | When today is Aug 07, 2019 + 15 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=2 | When today is Aug 07, 2019 + 40 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=3 | When today is Aug 07, 2019 + 182 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Aug 07, 2019 + 365 days # None And I set releasever to "40" # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime 'Aug 07, 2019' dnf5 -y --installroot=/tmp/dnf_ci_installroot_b530z5xz --releasever=39 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=1 --setopt=cachedir=/tmp/dnf_ci_installroot_b530z5xz/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:114 Countme flag is sent once per calendar week -- @1.1 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 9 steps passed, 1 failed, 289 skipped Took 0min 0.505s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-m1awcsql', '/mp-bpih0f60', '/mp-kfgbnu74', '/mp-ruxprhrp', '/mp-k5ji_uq4', '/mp-bbtbf97v'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario Outline: Countme flag is sent once per calendar week -- @1.2 # dnf/countme.feature:115 Given the machine-id file is initialized as of Aug 06, 2019 # dnf/steps/repo.py:391 And I set config option "countme" to "1" # dnf/steps/cmd.py:212 And I set releasever to "39" # dnf/steps/repo.py:144 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When today is Aug 20, 2019 # dnf/steps/cmd.py:73 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then exactly one HTTP GET request should match # dnf/steps/server.py:60 | path | | */metalink.xml*&countme=2 | ASSERT FAILED: No HTTP requests have been received! When today is Aug 20, 2019 + 3 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then no HTTP GET request should match # None | path | | */metalink.xml*&countme=* | When today is Aug 20, 2019 + 8 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=2 | When today is Aug 20, 2019 + 15 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=2 | When today is Aug 20, 2019 + 40 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=3 | When today is Aug 20, 2019 + 182 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Aug 20, 2019 + 365 days # None And I set releasever to "40" # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime 'Aug 20, 2019' dnf5 -y --installroot=/tmp/dnf_ci_installroot_ffl2_au4 --releasever=39 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=1 --setopt=cachedir=/tmp/dnf_ci_installroot_ffl2_au4/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:115 Countme flag is sent once per calendar week -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 9 steps passed, 1 failed, 289 skipped Took 0min 0.506s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-x4dv74zt', '/mp-1dltunrx', '/mp-2lfv51uo', '/mp-0t7eqdpm', '/mp-5c9rkxfh', '/mp-rggyus6w'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario Outline: Countme flag is sent once per calendar week -- @1.3 # dnf/countme.feature:116 Given the machine-id file is initialized as of Aug 06, 2019 # dnf/steps/repo.py:391 And I set config option "countme" to "1" # dnf/steps/cmd.py:212 And I set releasever to "39" # dnf/steps/repo.py:144 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When today is Sep 12, 2019 # dnf/steps/cmd.py:73 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then exactly one HTTP GET request should match # dnf/steps/server.py:60 | path | | */metalink.xml*&countme=3 | ASSERT FAILED: No HTTP requests have been received! When today is Sep 12, 2019 + 3 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then no HTTP GET request should match # None | path | | */metalink.xml*&countme=* | When today is Sep 12, 2019 + 8 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=3 | When today is Sep 12, 2019 + 15 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=3 | When today is Sep 12, 2019 + 40 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=3 | When today is Sep 12, 2019 + 182 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Sep 12, 2019 + 365 days # None And I set releasever to "40" # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime 'Sep 12, 2019' dnf5 -y --installroot=/tmp/dnf_ci_installroot_lpb97iei --releasever=39 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=1 --setopt=cachedir=/tmp/dnf_ci_installroot_lpb97iei/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:116 Countme flag is sent once per calendar week -- @1.3 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 9 steps passed, 1 failed, 289 skipped Took 0min 0.501s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-3hnyyq42', '/mp-0qzqbzh8', '/mp-d70tqr2t', '/mp-io3ma0jq', '/mp-wvsxfx_c', '/mp-mt0bwd9u'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario Outline: Countme flag is sent once per calendar week -- @1.4 # dnf/countme.feature:117 Given the machine-id file is initialized as of Aug 06, 2019 # dnf/steps/repo.py:391 And I set config option "countme" to "1" # dnf/steps/cmd.py:212 And I set releasever to "39" # dnf/steps/repo.py:144 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When today is Jun 18, 2020 # dnf/steps/cmd.py:73 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then exactly one HTTP GET request should match # dnf/steps/server.py:60 | path | | */metalink.xml*&countme=4 | ASSERT FAILED: No HTTP requests have been received! When today is Jun 18, 2020 + 3 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then no HTTP GET request should match # None | path | | */metalink.xml*&countme=* | When today is Jun 18, 2020 + 8 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Jun 18, 2020 + 15 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Jun 18, 2020 + 40 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Jun 18, 2020 + 182 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Jun 18, 2020 + 365 days # None And I set releasever to "40" # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime 'Jun 18, 2020' dnf5 -y --installroot=/tmp/dnf_ci_installroot_ec0dzu3k --releasever=39 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=1 --setopt=cachedir=/tmp/dnf_ci_installroot_ec0dzu3k/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:117 Countme flag is sent once per calendar week -- @1.4 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 9 steps passed, 1 failed, 289 skipped Took 0min 0.507s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-l9zb44l2', '/mp-e_dn9om8', '/mp-hc3p23a0', '/mp-wql572m7', '/mp-eyahn08v', '/mp-6lxdn8bn'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario Outline: Countme flag is sent once per calendar week -- @1.5 # dnf/countme.feature:119 Given the machine-id file is uninitialized as of Aug 06, 2019 # dnf/steps/repo.py:391 And I set config option "countme" to "1" # dnf/steps/cmd.py:212 And I set releasever to "39" # dnf/steps/repo.py:144 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When today is Jun 18, 2020 # dnf/steps/cmd.py:73 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then exactly one HTTP GET request should match # dnf/steps/server.py:60 | path | | */metalink.xml*&countme=1 | ASSERT FAILED: No HTTP requests have been received! When today is Jun 18, 2020 + 3 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then no HTTP GET request should match # None | path | | */metalink.xml*&countme=* | When today is Jun 18, 2020 + 8 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=1 | When today is Jun 18, 2020 + 15 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=2 | When today is Jun 18, 2020 + 40 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=3 | When today is Jun 18, 2020 + 182 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Jun 18, 2020 + 365 days # None And I set releasever to "40" # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=1 | ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime 'Jun 18, 2020' dnf5 -y --installroot=/tmp/dnf_ci_installroot_pzmtm1rz --releasever=39 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=1 --setopt=cachedir=/tmp/dnf_ci_installroot_pzmtm1rz/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:119 Countme flag is sent once per calendar week -- @1.5 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 9 steps passed, 1 failed, 289 skipped Took 0min 0.503s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-nm8w08b_', '/mp-7qyhhoke', '/mp-q01tynqa', '/mp-vjmhusww', '/mp-mes35055', '/mp-vgxprkp7'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario Outline: Countme flag is sent once per calendar week -- @1.6 # dnf/countme.feature:120 Given the machine-id file is empty as of --- # dnf/steps/repo.py:391 And I set config option "countme" to "1" # dnf/steps/cmd.py:212 And I set releasever to "39" # dnf/steps/repo.py:144 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When today is Jun 18, 2020 # dnf/steps/cmd.py:73 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then exactly one HTTP GET request should match # dnf/steps/server.py:60 | path | | */metalink.xml*&countme=1 | ASSERT FAILED: No HTTP requests have been received! When today is Jun 18, 2020 + 3 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then no HTTP GET request should match # None | path | | */metalink.xml*&countme=* | When today is Jun 18, 2020 + 8 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=1 | When today is Jun 18, 2020 + 15 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=2 | When today is Jun 18, 2020 + 40 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=3 | When today is Jun 18, 2020 + 182 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Jun 18, 2020 + 365 days # None And I set releasever to "40" # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=1 | ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime 'Jun 18, 2020' dnf5 -y --installroot=/tmp/dnf_ci_installroot_ncarljo8 --releasever=39 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=1 --setopt=cachedir=/tmp/dnf_ci_installroot_ncarljo8/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:120 Countme flag is sent once per calendar week -- @1.6 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 9 steps passed, 1 failed, 289 skipped Took 0min 0.501s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-tcykz32k', '/mp-dhnx9oio', '/mp-a61aefyq', '/mp-8jwrpgpf', '/mp-tuzizvhe', '/mp-xlqdc6an'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario Outline: Countme flag is sent once per calendar week -- @1.7 # dnf/countme.feature:121 Given the machine-id file is absent as of --- # dnf/steps/repo.py:391 And I set config option "countme" to "1" # dnf/steps/cmd.py:212 And I set releasever to "39" # dnf/steps/repo.py:144 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When today is Jun 18, 2020 # dnf/steps/cmd.py:73 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then exactly one HTTP GET request should match # dnf/steps/server.py:60 | path | | */metalink.xml*&countme=1 | ASSERT FAILED: No HTTP requests have been received! When today is Jun 18, 2020 + 3 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then no HTTP GET request should match # None | path | | */metalink.xml*&countme=* | When today is Jun 18, 2020 + 8 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=1 | When today is Jun 18, 2020 + 15 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=2 | When today is Jun 18, 2020 + 40 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=3 | When today is Jun 18, 2020 + 182 days # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=4 | When today is Jun 18, 2020 + 365 days # None And I set releasever to "40" # None And I forget any HTTP requests captured so far # None And I execute dnf with args "makecache --refresh" 4 times # None Then exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=1 | ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime 'Jun 18, 2020' dnf5 -y --installroot=/tmp/dnf_ci_installroot_3lgg0fxl --releasever=39 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=1 --setopt=cachedir=/tmp/dnf_ci_installroot_3lgg0fxl/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:121 Countme flag is sent once per calendar week -- @1.7 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 9 steps passed, 1 failed, 289 skipped Took 0min 0.501s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-5tjbtaqa', '/mp-ix90qmcw', '/mp-7t8s6lu2', '/mp-deww3l6u', '/mp-hh6dv1hq', '/mp-jsdo_elo'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario: Countme flag is not sent repeatedly on retries # dnf/countme.feature:124 Given the machine-id file is initialized as of today # dnf/steps/repo.py:391 And I set config option "countme" to "1" # dnf/steps/cmd.py:212 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And the server starts responding with HTTP status code 503 # dnf/steps/server.py:35 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then exactly 48 HTTP GET requests should match # dnf/steps/server.py:60 | path | | */metalink.xml* | ASSERT FAILED: No HTTP requests have been received! And exactly one HTTP GET request should match # None | path | | */metalink.xml*&countme=1 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wbto2s1d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=1 --setopt=cachedir=/tmp/dnf_ci_installroot_wbto2s1d/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:124 Countme flag is not sent repeatedly on retries 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 8 steps passed, 1 failed, 290 skipped Took 0min 0.491s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-pv3q0j8e', '/mp-_fbkfl1j', '/mp-7dslrl4g', '/mp-47wvn0_x', '/mp-4c7rhjfa', '/mp-ltp9oc0c'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 @destructive Scenario: Countme feature is disabled # dnf/countme.feature:144 Given the machine-id file is initialized as of today # dnf/steps/repo.py:391 And I set config option "countme" to "0" # dnf/steps/cmd.py:212 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set up metalink for repository "dnf-ci-fedora" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" 4 times # dnf/steps/cmd.py:136 Then no HTTP GET request should match # dnf/steps/server.py:60 | path | | */metalink.xml*&countme=* | ASSERT FAILED: No HTTP requests have been received! ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lwmo742v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=countme=0 --setopt=cachedir=/tmp/dnf_ci_installroot_lwmo742v/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:144 Countme feature is disabled 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 7 steps passed, 1 failed, 291 skipped Took 0min 0.500s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-f8rk3j6k', '/mp-jcrgk0l7', '/mp-zrsm7q3x', '/mp-5d1t4uxb', '/mp-7f4z60ww', '/mp-yjwi9uj3'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Better user counting # dnf/countme.feature:1 Scenario: Custom User-Agent value # dnf/countme.feature:34 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set config option "user_agent" to "'Agent 007'" # dnf/steps/cmd.py:212 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then every HTTP GET request should match # dnf/steps/server.py:60 | header | value | | User-Agent | Agent 007 | ASSERT FAILED: No HTTP requests have been received! ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dnf0m_k4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=user_agent='Agent 007' --setopt=cachedir=/tmp/dnf_ci_installroot_dnf0m_k4/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/countme.feature:34 Custom User-Agent value 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 15 skipped 4 steps passed, 1 failed, 294 skipped Took 0min 0.350s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-neehz5s9', '/mp-kcr5p44y', '/mp-k7xlyt4t', '/mp-ag27pl0i', '/mp-hrzr0aeb', '/mp-rpwh1cfu'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: distro-sync with --from-repo # dnf/distro-sync-from-repo.feature:1 Feature: distro-sync with --from-repo # dnf/distro-sync-from-repo.feature:1 Scenario: distro-sync pkgB from "from-repo-updates1" and install new dependency from another repo # dnf/distro-sync-from-repo.feature:24 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_450j6xh8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_450j6xh8/var/cache/dnf install abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "distro-sync --from-repo=from-repo-updates1 pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_450j6xh8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_450j6xh8/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync all RPMs "from-repo-updates1" and install new dependency from another repo # dnf/distro-sync-from-repo.feature:36 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3zopd9rv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3zopd9rv/var/cache/dnf install abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "distro-sync --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3zopd9rv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3zopd9rv/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/distro-sync-from-repo.feature:24 distro-sync pkgB from "from-repo-updates1" and install new dependency from another repo dnf/distro-sync-from-repo.feature:36 distro-sync all RPMs "from-repo-updates1" and install new dependency from another repo 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 24 skipped Took 0min 0.148s USING RUNNER: behave.runner:Runner Feature: distro-sync with --from-vendor # dnf/distro-sync-from-vendor.feature:1 Feature: distro-sync with --from-vendor # dnf/distro-sync-from-vendor.feature:1 Scenario: Distrosync specific packages from "Second Vendor" (allow_vendor_change=1) # dnf/distro-sync-from-vendor.feature:22 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorapp2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lajuuevj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lajuuevj/var/cache/dnf install vendorapp2 And Transaction is following # None | Action | Package | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-3" # None When I execute dnf with args "install vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "distro-sync --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' vendorapp vendorapp2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | vendorapp2-0:2.0-1.x86_64 | | upgrade | vendorapp-0:2.7-1.x86_64 | | upgrade | vendordep-0:1.1-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reinstall | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-2 | | Upgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Replaced | vendorapp-0:2.2-1.x86_64 | User | @System | | Replaced | vendorapp2-0:2.0-1.x86_64 | User | @System | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lajuuevj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lajuuevj/var/cache/dnf install vendorapp2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Distrosync specific packages from "Second Vendor" fails (allow_vendor_change=0) # dnf/distro-sync-from-vendor.feature:43 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorapp2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_441jle3e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_441jle3e/var/cache/dnf install vendorapp2 And Transaction is following # None | Action | Package | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-3" # None When I execute dnf with args "install vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "distro-sync --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' vendorapp vendorapp2" # None Then the exit code is 1 # None And stderr contains "- package vendorapp2-2.0-1.x86_64 from dnf-ci-vendor-2 requires vendordep = 1.1, but none of the providers can be installed" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_441jle3e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_441jle3e/var/cache/dnf install vendorapp2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Distrosync all packages using wildcard from "Second Vendor" (allow_vendor_change=1) # dnf/distro-sync-from-vendor.feature:52 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorapp2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ejm85gf9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ejm85gf9/var/cache/dnf install vendorapp2 And Transaction is following # None | Action | Package | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-3" # None When I execute dnf with args "install vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "distro-sync --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | vendorapp2-0:2.0-1.x86_64 | | upgrade | vendorapp-0:2.7-1.x86_64 | | upgrade | vendordep-0:1.1-1.x86_64 | | upgrade | vendorweak-0:1.7-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reinstall | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-2 | | Upgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Upgrade | vendorweak-0:1.7-1.x86_64 | Weak Dependency | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.2-1.x86_64 | User | @System | | Replaced | vendorapp2-0:2.0-1.x86_64 | User | @System | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | | Replaced | vendorweak-0:1.2-1.x86_64 | Weak Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ejm85gf9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ejm85gf9/var/cache/dnf install vendorapp2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Distrosync all packages using wildcard from "Second Vendor" (allow_vendor_change=0) # dnf/distro-sync-from-vendor.feature:76 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorapp2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3ekr8nek --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3ekr8nek/var/cache/dnf install vendorapp2 And Transaction is following # None | Action | Package | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-3" # None When I execute dnf with args "install vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "distro-sync --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | vendorapp2-0:2.0-1.x86_64 | | upgrade | vendorapp-0:2.7-1.x86_64 | | upgrade | vendordep-0:1.1-1.x86_64 | | upgrade | vendorweak-0:1.7-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reinstall | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-2 | | Upgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Upgrade | vendorweak-0:1.7-1.x86_64 | Weak Dependency | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.2-1.x86_64 | User | @System | | Replaced | vendorapp2-0:2.0-1.x86_64 | User | @System | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | | Replaced | vendorweak-0:1.2-1.x86_64 | Weak Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3ekr8nek --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3ekr8nek/var/cache/dnf install vendorapp2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/distro-sync-from-vendor.feature:22 Distrosync specific packages from "Second Vendor" (allow_vendor_change=1) dnf/distro-sync-from-vendor.feature:43 Distrosync specific packages from "Second Vendor" fails (allow_vendor_change=0) dnf/distro-sync-from-vendor.feature:52 Distrosync all packages using wildcard from "Second Vendor" (allow_vendor_change=1) dnf/distro-sync-from-vendor.feature:76 Distrosync all packages using wildcard from "Second Vendor" (allow_vendor_change=0) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 51 skipped Took 0min 0.199s USING RUNNER: behave.runner:Runner Feature: distro-sync with --install-from-repo and --from-repo # dnf/distro-sync-installed-from-repo.feature:1 Feature: distro-sync with --install-from-repo and --from-repo # dnf/distro-sync-installed-from-repo.feature:1 Scenario: distro-sync all packages installed from "from-repo" and install new dependency # dnf/distro-sync-installed-from-repo.feature:26 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ogtl6v4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ogtl6v4/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "distro-sync --installed-from-repo=from-repo" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | upgrade | wget-0:1.19.8-2.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ogtl6v4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ogtl6v4/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync all packages (spec by '*') installed from "from-repo" and install new dependency # dnf/distro-sync-installed-from-repo.feature:39 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_urs_qqur --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_urs_qqur/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "distro-sync --installed-from-repo=from-repo '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | upgrade | wget-0:1.19.8-2.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_urs_qqur --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_urs_qqur/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync all packages installed from "from-repo" and install to "from-repo-updates1"; install new dependency from another repo # dnf/distro-sync-installed-from-repo.feature:52 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kkquy2ii --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kkquy2ii/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "distro-sync --installed-from-repo=from-repo --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kkquy2ii --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kkquy2ii/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync all packages installed from "from-repo-updates2" to "from-repo-updates1" # dnf/distro-sync-installed-from-repo.feature:64 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pp4xq5vq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pp4xq5vq/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "distro-sync --installed-from-repo=from-repo-updates2 --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | basesystem-0:11-8.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pp4xq5vq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pp4xq5vq/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync all packages installed from "from-repo" and "from-repo-updates2" to "from-repo-updates1"; install dependency from another repo # dnf/distro-sync-installed-from-repo.feature:72 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bn1vcg4z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bn1vcg4z/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "distro-sync --installed-from-repo=from-repo,from-repo-updates2 --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | downgrade | basesystem-0:11-8.fc29.noarch | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bn1vcg4z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bn1vcg4z/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync all pkgs installed from "from-repo" and "from-repo-updates2" (globs in def) to "from-repo-updates1"; install dependency from another repo # dnf/distro-sync-installed-from-repo.feature:85 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sc70mnco --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sc70mnco/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "distro-sync --installed-from-repo=from-repo,from-repo-updates2 --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | downgrade | basesystem-0:11-8.fc29.noarch | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sc70mnco --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sc70mnco/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distrosync packages installed from "obsoletes-yum"; obsoleters are installed # dnf/distro-sync-installed-from-repo.feature:98 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_evz0ac4n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_evz0ac4n/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | Given I use repository "obsoletes-yum" # None When I execute dnf with args "install wood-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wood-0:1.0-1.fc29.x86_64 | When I execute dnf with args "distro-sync --installed-from-repo=obsoletes-yum" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | copper-0:1.0-1.fc29.x86_64 | | install | iron-0:1.0-1.fc29.x86_64 | | upgrade | wood-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_evz0ac4n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_evz0ac4n/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distrosync packages (spec '*') installed from "obsoletes-yum"; obsoleters are installed # dnf/distro-sync-installed-from-repo.feature:114 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3m2gefws --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3m2gefws/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | Given I use repository "obsoletes-yum" # None When I execute dnf with args "install wood-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wood-0:1.0-1.fc29.x86_64 | When I execute dnf with args "distro-sync --installed-from-repo=obsoletes-yum '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | copper-0:1.0-1.fc29.x86_64 | | install | iron-0:1.0-1.fc29.x86_64 | | upgrade | wood-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3m2gefws --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3m2gefws/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/distro-sync-installed-from-repo.feature:26 distro-sync all packages installed from "from-repo" and install new dependency dnf/distro-sync-installed-from-repo.feature:39 distro-sync all packages (spec by '*') installed from "from-repo" and install new dependency dnf/distro-sync-installed-from-repo.feature:52 distro-sync all packages installed from "from-repo" and install to "from-repo-updates1"; install new dependency from another repo dnf/distro-sync-installed-from-repo.feature:64 distro-sync all packages installed from "from-repo-updates2" to "from-repo-updates1" dnf/distro-sync-installed-from-repo.feature:72 distro-sync all packages installed from "from-repo" and "from-repo-updates2" to "from-repo-updates1"; install dependency from another repo dnf/distro-sync-installed-from-repo.feature:85 distro-sync all pkgs installed from "from-repo" and "from-repo-updates2" (globs in def) to "from-repo-updates1"; install dependency from another repo dnf/distro-sync-installed-from-repo.feature:98 distrosync packages installed from "obsoletes-yum"; obsoleters are installed dnf/distro-sync-installed-from-repo.feature:114 distrosync packages (spec '*') installed from "obsoletes-yum"; obsoleters are installed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 16 steps passed, 8 failed, 80 skipped Took 0min 0.350s USING RUNNER: behave.runner:Runner Feature: distro-sync # dnf/distro-sync.feature:1 @dnf5daemon Scenario: when there is noting to do # dnf/distro-sync.feature:5 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "distro-sync" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zjiy_t3f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zjiy_t3f/var/cache/dnf distro-sync And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zjiy_t3f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zjiy_t3f/var/cache/dnf distro-sync  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: updating a pkg # dnf/distro-sync.feature:13 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 And I use repository "simple-updates" # dnf/steps/repo.py:186 When I execute dnf with args "distro-sync" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tcftrob9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tcftrob9/var/cache/dnf distro-sync And Transaction is following # None | Action | Package | | upgrade | labirinto-2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tcftrob9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tcftrob9/var/cache/dnf distro-sync  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Ignore excluded packages - not fail on excluded best candidate # dnf/distro-sync.feature:24 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 And I use repository "simple-updates" # dnf/steps/repo.py:186 When I execute dnf with args "distro-sync --setopt=excludepkgs=labirinto-2.0-1.fc29.x86_64 --setopt=best=True" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_603ihspp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_603ihspp/var/cache/dnf distro-sync --setopt=excludepkgs=labirinto-2.0-1.fc29.x86_64 --setopt=best=True And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_603ihspp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_603ihspp/var/cache/dnf distro-sync --setopt=excludepkgs=labirinto-2.0-1.fc29.x86_64 --setopt=best=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: updating a signed pkg # dnf/distro-sync.feature:34 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dedalo" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ki72uyai --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ki72uyai/var/cache/dnf install dedalo And I use repository "simple-updates" # None When I execute dnf with args "distro-sync" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | dedalo-2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ki72uyai --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ki72uyai/var/cache/dnf install dedalo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: updating a signed pkg without key specified # dnf/distro-sync.feature:45 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lxt05vqw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lxt05vqw/var/cache/dnf install wget And I use repository "dnf-ci-gpg-updates" with configuration # None | key | value | | gpgcheck | 1 | When I execute dnf with args "distro-sync" # None Then the exit code is 1 # None And stderr contains "Transaction failed: Signature verification failed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lxt05vqw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lxt05vqw/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: updating a broken signed pkg whose key is not imported # dnf/distro-sync.feature:56 Given I use repository "dnf-ci-gpg" # dnf/steps/repo.py:186 And I execute dnf with args "install wget" # dnf/steps/cmd.py:110 And I use repository "dnf-ci-gpg-updates" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-updates/dnf-ci-gpg-updates-public | When I execute dnf with args "distro-sync wget" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pefiomn0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pefiomn0/var/cache/dnf distro-sync wget And stderr contains lines matching # None """ Transaction failed: Signature verification failed\. OpenPGP check for package "wget-2\.0\.0-1\.fc29\.x86_64" \(.*/wget-2.0.0-1.fc29.x86_64.rpm\) from repo "dnf-ci-gpg-updates" has failed: Problem occurred when opening the package\. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pefiomn0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pefiomn0/var/cache/dnf distro-sync wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1963732 @not.with_os=rhel__ge__8 Scenario: updating a broken signed pkg whose key is imported # dnf/distro-sync.feature:74 Given I use repository "dnf-ci-gpg" # dnf/steps/repo.py:186 And I execute dnf with args "install wget" # dnf/steps/cmd.py:110 And I use repository "dnf-ci-gpg-updates" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-updates/dnf-ci-gpg-updates-public | And I successfully execute rpm with args "--import {context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-updates/dnf-ci-gpg-updates-public" # dnf/steps/cmd.py:198 When I execute dnf with args "distro-sync wget" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8v0nbmf9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8v0nbmf9/var/cache/dnf distro-sync wget And stderr contains lines matching # None """ Transaction failed: Signature verification failed\. OpenPGP check for package "wget-2\.0\.0-1\.fc29\.x86_64" \(.*/wget-2.0.0-1.fc29.x86_64.rpm\) from repo "dnf-ci-gpg-updates" has failed: Problem occurred when opening the package\. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8v0nbmf9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8v0nbmf9/var/cache/dnf distro-sync wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync list of packages, one of them is not available # dnf/distro-sync.feature:91 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gky61b5r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gky61b5r/var/cache/dnf install flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "distro-sync flac nosuchpkg" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: nosuchpkg You can try to add to command line: --skip-unavailable to skip unavailable packages """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gky61b5r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gky61b5r/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync list of packages with --skip-unavailable, one of them is not available # dnf/distro-sync.feature:109 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j5bedl3i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j5bedl3i/var/cache/dnf install flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "distro-sync --skip-unavailable flac nosuchpkg" # None Then the exit code is 0 # None And stderr contains lines # None """ No match for argument: nosuchpkg """ And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j5bedl3i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j5bedl3i/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync list of packages, one of them is not installed # dnf/distro-sync.feature:125 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__rjikuwc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__rjikuwc/var/cache/dnf install flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "distro-sync flac dwm" # None Then the exit code is 1 # None And stderr contains lines # None """ Failed to resolve the transaction: Packages for argument 'dwm' available, but not installed. """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__rjikuwc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__rjikuwc/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync list of packages with --skip-unavailable, one of them is not installed # dnf/distro-sync.feature:140 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w7y_74qa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w7y_74qa/var/cache/dnf install flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "distro-sync --skip-unavailable dwm flac" # None Then the exit code is 0 # None And stderr contains lines # None """ Packages for argument 'dwm' available, but not installed. """ And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w7y_74qa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w7y_74qa/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync all with a broken dependency and without best # dnf/distro-sync.feature:156 Given I use repository "upgrade-dependent" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dmhdbhhr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dmhdbhhr/var/cache/dnf install labirinto And I drop repository "upgrade-dependent" # None And I use repository "broken-distrosync" # None When I execute dnf with args "distro-sync --no-best" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: installed package labirinto-2.0-1.noarch requires labirinto-libs = 2.0-1, but none of the providers can be installed - labirinto-libs-2.0-1.noarch does not belong to a distupgrade repository - problem with installed package You can try to add to command line: --skip-broken to skip uninstallable packages """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dmhdbhhr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dmhdbhhr/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/distro-sync.feature:5 when there is noting to do dnf/distro-sync.feature:13 updating a pkg dnf/distro-sync.feature:24 Ignore excluded packages - not fail on excluded best candidate dnf/distro-sync.feature:34 updating a signed pkg dnf/distro-sync.feature:45 updating a signed pkg without key specified dnf/distro-sync.feature:56 updating a broken signed pkg whose key is not imported dnf/distro-sync.feature:74 updating a broken signed pkg whose key is imported dnf/distro-sync.feature:91 distro-sync list of packages, one of them is not available dnf/distro-sync.feature:109 distro-sync list of packages with --skip-unavailable, one of them is not available dnf/distro-sync.feature:125 distro-sync list of packages, one of them is not installed dnf/distro-sync.feature:140 distro-sync list of packages with --skip-unavailable, one of them is not installed dnf/distro-sync.feature:156 distro-sync all with a broken dependency and without best 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 12 failed, 0 skipped 30 steps passed, 12 failed, 39 skipped Took 0min 1.014s USING RUNNER: behave.runner:Runner @xfail @no_installroot Feature: Test exception when dnf tries to do a transaction resolved but not valid anymore # dnf/dnf-transaction-exception.feature:6 @xfail @no_installroot Feature: Test exception when dnf tries to do a transaction resolved but not valid anymore # dnf/dnf-transaction-exception.feature:6 @bz1815327 @bz1887293 @bz1909845 @not.with_os=rhel__ge__8 Scenario: Dnf fails to update a plugin if it does not exist after resolving the transaction # dnf/dnf-transaction-exception.feature:21 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 9 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: "do" command with "--from-repo" # dnf/do-from-repo.feature:1 Feature: "do" command with "--from-repo" # dnf/do-from-repo.feature:1 Scenario: Upgrade pkgB, use package from "from-repo-updates1" and install new dependency from another repo # dnf/do-from-repo.feature:26 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rv5rwyg4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rv5rwyg4/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade --from-repo=from-repo-updates1 pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rv5rwyg4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rv5rwyg4/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade packages, use packages from "from-repo-updates1" and install new dependency from another repo # dnf/do-from-repo.feature:35 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_chpi8j7m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_chpi8j7m/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_chpi8j7m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_chpi8j7m/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade basesystem, use package from "from-repo" # dnf/do-from-repo.feature:47 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ukrlutra --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ukrlutra/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=downgrade --from-repo=from-repo basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | basesystem-0:11-6.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ukrlutra --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ukrlutra/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade packages, use packages from "from-repo-updates1" # dnf/do-from-repo.feature:55 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rjd0azx7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rjd0azx7/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=downgrade --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | basesystem-0:11-8.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rjd0azx7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rjd0azx7/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall setup, use package from "frem-repo-updates2" # dnf/do-from-repo.feature:63 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rfuaga9j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rfuaga9j/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --from-repo=from-repo-updates2 setup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rfuaga9j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rfuaga9j/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test reinstall with two repos in "--from-repo=" # dnf/do-from-repo.feature:71 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jk4b80vh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jk4b80vh/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --from-repo=from-repo,from-repo-updates2 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | abcde-0:2.9.2-1.fc29.noarch | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | dependency1-0:1.0-1.fc29.x86_64 | | reinstall | flac-0:1.3.2-8.fc29.x86_64 | | reinstall | pkgB-0:1.0-1.fc29.x86_64 | | reinstall | setup-0:2.14.2-1.fc29.noarch | | reinstall | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jk4b80vh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jk4b80vh/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test reinstall with glob pattern in "--from-repo=" # dnf/do-from-repo.feature:85 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f1xj0yhc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f1xj0yhc/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --from-repo=from-*-updates? '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | filesystem-0:3.10-1.fc29.x86_64 | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f1xj0yhc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f1xj0yhc/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test reinstall,upgrade,install; one transaction; first action different "--from-repo", package lame not installed - not in requested repo # dnf/do-from-repo.feature:95 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_byps1yhm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_byps1yhm/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --skip-unavailable --action=reinstall --from-repo=from-repo-updates2 '*' --action=upgrade --from-repo=from-repo-updates1 '*' --action=install lame" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_byps1yhm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_byps1yhm/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test reinstall,upgrade,install; one transaction; each action different "--from-repo" # dnf/do-from-repo.feature:110 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0mpvfswy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0mpvfswy/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --from-repo=from-repo-updates2 '*' --action=upgrade --from-repo=from-repo-updates1 '*' --action=install --from-repo=from-repo lame" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | lame-3.100-4.fc29.x86_64 | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | | install-dep | lame-libs-3.100-4.fc29.x86_64 | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0mpvfswy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0mpvfswy/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/do-from-repo.feature:26 Upgrade pkgB, use package from "from-repo-updates1" and install new dependency from another repo dnf/do-from-repo.feature:35 Upgrade packages, use packages from "from-repo-updates1" and install new dependency from another repo dnf/do-from-repo.feature:47 Downgrade basesystem, use package from "from-repo" dnf/do-from-repo.feature:55 Downgrade packages, use packages from "from-repo-updates1" dnf/do-from-repo.feature:63 Reinstall setup, use package from "frem-repo-updates2" dnf/do-from-repo.feature:71 Test reinstall with two repos in "--from-repo=" dnf/do-from-repo.feature:85 Test reinstall with glob pattern in "--from-repo=" dnf/do-from-repo.feature:95 Test reinstall,upgrade,install; one transaction; first action different "--from-repo", package lame not installed - not in requested repo dnf/do-from-repo.feature:110 Test reinstall,upgrade,install; one transaction; each action different "--from-repo" 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 18 steps passed, 9 failed, 81 skipped Took 0min 0.383s USING RUNNER: behave.runner:Runner Feature: do with --from-vendor # dnf/do-from-vendor.feature:1 Feature: do with --from-vendor # dnf/do-from-vendor.feature:1 Scenario: Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" (--allow-vendor-change) # dnf/do-from-vendor.feature:24 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iazogvi3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iazogvi3/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-1 | | Install | vendorapp-0:2.2-1.x86_64 | User | dnf-ci-vendor-3 | | Install | vendordep-0:1.0-1.x86_64 | Dependency | dnf-ci-vendor-1 | | Install | vendorweak-0:1.2-1.x86_64 | Weak Dependency | dnf-ci-vendor-3 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "do --action=reinstall --allow-vendor-change --from-vendor='Second\ Vendor' vendorapp2 --action=downgrade --from-vendor='First\ Vendor' vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | vendorapp2-0:2.0-1.x86_64 | | upgrade | vendordep-0:1.1-1.x86_64 | | downgrade | vendorapp-0:2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reinstall | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-2 | | Upgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Downgrade | vendorapp-0:2.0-1.x86_64 | User | dnf-ci-vendor-1 | | Replaced | vendorapp-0:2.2-1.x86_64 | User | @System | | Replaced | vendorapp2-0:2.0-1.x86_64 | User | @System | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iazogvi3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iazogvi3/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" (--setopt=allow_vendor_change=1) # dnf/do-from-vendor.feature:45 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0d38bvf5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0d38bvf5/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-1 | | Install | vendorapp-0:2.2-1.x86_64 | User | dnf-ci-vendor-3 | | Install | vendordep-0:1.0-1.x86_64 | Dependency | dnf-ci-vendor-1 | | Install | vendorweak-0:1.2-1.x86_64 | Weak Dependency | dnf-ci-vendor-3 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "do --action=reinstall --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' vendorapp2 --action=downgrade --from-vendor='First\ Vendor' vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | vendorapp2-0:2.0-1.x86_64 | | upgrade | vendordep-0:1.1-1.x86_64 | | downgrade | vendorapp-0:2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reinstall | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-2 | | Upgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Downgrade | vendorapp-0:2.0-1.x86_64 | User | dnf-ci-vendor-1 | | Replaced | vendorapp-0:2.2-1.x86_64 | User | @System | | Replaced | vendorapp2-0:2.0-1.x86_64 | User | @System | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0d38bvf5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0d38bvf5/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" fails (--no-allow-vendor-change) # dnf/do-from-vendor.feature:66 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9p0xxe96 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9p0xxe96/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-1 | | Install | vendorapp-0:2.2-1.x86_64 | User | dnf-ci-vendor-3 | | Install | vendordep-0:1.0-1.x86_64 | Dependency | dnf-ci-vendor-1 | | Install | vendorweak-0:1.2-1.x86_64 | Weak Dependency | dnf-ci-vendor-3 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "do --action=reinstall --no-allow-vendor-change --from-vendor='Second\ Vendor' vendorapp2 --action=downgrade --from-vendor='First\ Vendor' vendorapp" # None Then the exit code is 1 # None And stderr contains "- package vendorapp2-2.0-1.x86_64 from dnf-ci-vendor-2 requires vendordep = 1.1, but none of the providers can be installed" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9p0xxe96 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9p0xxe96/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" fails (--setopt=allow_vendor_change=0) # dnf/do-from-vendor.feature:75 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9rwwab57 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9rwwab57/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-1 | | Install | vendorapp-0:2.2-1.x86_64 | User | dnf-ci-vendor-3 | | Install | vendordep-0:1.0-1.x86_64 | Dependency | dnf-ci-vendor-1 | | Install | vendorweak-0:1.2-1.x86_64 | Weak Dependency | dnf-ci-vendor-3 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "do --action=reinstall --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' vendorapp2 --action=downgrade --from-vendor='First\ Vendor' vendorapp" # None Then the exit code is 1 # None And stderr contains "- package vendorapp2-2.0-1.x86_64 from dnf-ci-vendor-2 requires vendordep = 1.1, but none of the providers can be installed" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9rwwab57 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9rwwab57/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" with --skip-broken (allow_vendor_change=0) # dnf/do-from-vendor.feature:84 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6vhxhhee --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6vhxhhee/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.2-1.x86_64 | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-1 | | Install | vendorapp-0:2.2-1.x86_64 | User | dnf-ci-vendor-3 | | Install | vendordep-0:1.0-1.x86_64 | Dependency | dnf-ci-vendor-1 | | Install | vendorweak-0:1.2-1.x86_64 | Weak Dependency | dnf-ci-vendor-3 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "do --skip-broken --action=reinstall --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' vendorapp2 --action=downgrade --from-vendor='First\ Vendor' vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | vendorapp-0:2.0-1.x86_64 | | conflict | vendordep-0:1.1-1.x86_64 | | conflict | vendordep-0:1.6-1.x86_64 | | broken | vendorapp2-0:2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | vendorapp-0:2.0-1.x86_64 | User | dnf-ci-vendor-1 | | Replaced | vendorapp-0:2.2-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6vhxhhee --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6vhxhhee/var/cache/dnf do --action=install --from-vendor="First\ Vendor" vendorapp2 --from-vendor="Third\ Vendor" vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/do-from-vendor.feature:24 Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" (--allow-vendor-change) dnf/do-from-vendor.feature:45 Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" (--setopt=allow_vendor_change=1) dnf/do-from-vendor.feature:66 Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" fails (--no-allow-vendor-change) dnf/do-from-vendor.feature:75 Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" fails (--setopt=allow_vendor_change=0) dnf/do-from-vendor.feature:84 Reinstall vendorapp2 from "Second Vendor" and downgrade vendorapp from "First Vendor" with --skip-broken (allow_vendor_change=0) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 20 steps passed, 5 failed, 43 skipped Took 0min 0.363s USING RUNNER: behave.runner:Runner Feature: "do" command with "--installed-from-repo" and "--from-repo" # dnf/do-installed-from-repo.feature:1 Feature: "do" command with "--installed-from-repo" and "--from-repo" # dnf/do-installed-from-repo.feature:1 Scenario: Upgrade pkgB installed from "from-repo" and install new dependency # dnf/do-installed-from-repo.feature:26 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ri9qhhhi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ri9qhhhi/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade --installed-from-repo=from-repo pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ri9qhhhi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ri9qhhhi/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade packages defined by 'p*' installed from "from-repo" and install new dependency # dnf/do-installed-from-repo.feature:35 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_by3g28xy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_by3g28xy/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade --installed-from-repo=from-repo 'p*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_by3g28xy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_by3g28xy/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade packages defined by 'p*' fails, none is installed from "from-repo-updates1" # dnf/do-installed-from-repo.feature:44 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3nz6gzix --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3nz6gzix/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade --installed-from-repo=from-repo-updates1 'p*'" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Packages for argument 'p*' available, but not installed. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3nz6gzix --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3nz6gzix/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade packages installed from "from-repo" # dnf/do-installed-from-repo.feature:55 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iw6z0rgi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iw6z0rgi/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade --installed-from-repo=from-repo '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | upgrade | wget-0:1.19.8-2.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iw6z0rgi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iw6z0rgi/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade packages installed from "obsoletes-yum"; obsoleters are installed # dnf/do-installed-from-repo.feature:68 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ejxifhr8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ejxifhr8/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | Given I use repository "obsoletes-yum" # None When I execute dnf with args "do --action=install wood-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wood-0:1.0-1.fc29.x86_64 | When I execute dnf with args "do --action=upgrade --installed-from-repo=obsoletes-yum '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | copper-0:1.0-1.fc29.x86_64 | | install | iron-0:1.0-1.fc29.x86_64 | | upgrade | wood-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ejxifhr8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ejxifhr8/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Uprade packages installed from "from-repo", use packages from "from-repo-updates1" # dnf/do-installed-from-repo.feature:84 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3ge3fkf2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3ge3fkf2/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade --installed-from-repo=from-repo --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3ge3fkf2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3ge3fkf2/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade packages installed from repo "from-repo-updates1" # dnf/do-installed-from-repo.feature:96 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_zxi75q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_zxi75q/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=downgrade --installed-from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | filesystem-0:3.9-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_zxi75q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_zxi75q/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall package setup instaled from repo "from-repo-updates2" # dnf/do-installed-from-repo.feature:104 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g70t98qi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g70t98qi/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --installed-from-repo=from-repo-updates2 setup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g70t98qi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g70t98qi/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall packages installed from defined list of repositories # dnf/do-installed-from-repo.feature:112 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2_ewms3d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2_ewms3d/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --installed-from-repo=from-repo,from-repo-updates2 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | abcde-0:2.9.2-1.fc29.noarch | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | dependency1-0:1.0-1.fc29.x86_64 | | reinstall | flac-0:1.3.2-8.fc29.x86_64 | | reinstall | pkgB-0:1.0-1.fc29.x86_64 | | reinstall | setup-0:2.14.2-1.fc29.noarch | | reinstall | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2_ewms3d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2_ewms3d/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall packages from repositories with globs in definition # dnf/do-installed-from-repo.feature:126 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vfinhsui --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vfinhsui/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --installed-from-repo=from-*-updates? '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | filesystem-0:3.10-1.fc29.x86_64 | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vfinhsui --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vfinhsui/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove packages installed from "from-repo-updates1" # dnf/do-installed-from-repo.feature:136 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5q41djkw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5q41djkw/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --allowerasing --action=remove --installed-from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.10-1.fc29.x86_64 | | remove-dep | basesystem-0:12-2.fc29.noarch | | remove-unused | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5q41djkw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5q41djkw/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test reinstall,upgrade,install; one transaction; first action different "--installed-from-repo"; no upgrades for packages installed from "from-repo-updates1" # dnf/do-installed-from-repo.feature:146 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9jkexsc8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9jkexsc8/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --installed-from-repo=from-repo-updates2 '*' --action=upgrade --installed-from-repo=from-repo-updates1 '*' --action=install lame" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | lame-3.100-5.fc29.x86_64 | | install-dep | lame-libs-3.100-5.fc29.x86_64 | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9jkexsc8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9jkexsc8/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test reinstall,upgrade,install; one transaction; first action different "--installed-from-repo" # dnf/do-installed-from-repo.feature:157 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7zzfqf_f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7zzfqf_f/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --installed-from-repo=from-repo-updates2 '*' --action=upgrade --installed-from-repo=from-repo '*' --action=install lame" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | lame-3.100-5.fc29.x86_64 | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | upgrade | wget-0:1.19.8-2.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | lame-libs-3.100-5.fc29.x86_64 | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7zzfqf_f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7zzfqf_f/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test reinstall,upgrade,install; one transaction; transaction fails; package lame was not installed from "--from-repo-updates1" # dnf/do-installed-from-repo.feature:174 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4v7x5k1t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4v7x5k1t/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall --installed-from-repo=from-repo-updates2 '*' --action=upgrade --installed-from-repo=from-repo --from-repo=from-repo-updates1 '*' --action=install lame" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument 'lame' in repositories 'from-repo-updates1' """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4v7x5k1t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4v7x5k1t/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test reinstall,upgrade,install; one transaction; package lame skipped - was not installed from "--from-repo-updates1" # dnf/do-installed-from-repo.feature:185 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_goe5prde --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_goe5prde/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --skip-unavailable --action=reinstall --installed-from-repo=from-repo-updates2 '*' --action=upgrade --installed-from-repo=from-repo --from-repo=from-repo-updates1 '*' --action=install lame" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | | reinstall | basesystem-0:12-2.fc29.noarch | | reinstall | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_goe5prde --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_goe5prde/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/do-installed-from-repo.feature:26 Upgrade pkgB installed from "from-repo" and install new dependency dnf/do-installed-from-repo.feature:35 Upgrade packages defined by 'p*' installed from "from-repo" and install new dependency dnf/do-installed-from-repo.feature:44 Upgrade packages defined by 'p*' fails, none is installed from "from-repo-updates1" dnf/do-installed-from-repo.feature:55 Upgrade packages installed from "from-repo" dnf/do-installed-from-repo.feature:68 Upgrade packages installed from "obsoletes-yum"; obsoleters are installed dnf/do-installed-from-repo.feature:84 Uprade packages installed from "from-repo", use packages from "from-repo-updates1" dnf/do-installed-from-repo.feature:96 Downgrade packages installed from repo "from-repo-updates1" dnf/do-installed-from-repo.feature:104 Reinstall package setup instaled from repo "from-repo-updates2" dnf/do-installed-from-repo.feature:112 Reinstall packages installed from defined list of repositories dnf/do-installed-from-repo.feature:126 Reinstall packages from repositories with globs in definition dnf/do-installed-from-repo.feature:136 Remove packages installed from "from-repo-updates1" dnf/do-installed-from-repo.feature:146 Test reinstall,upgrade,install; one transaction; first action different "--installed-from-repo"; no upgrades for packages installed from "from-repo-updates1" dnf/do-installed-from-repo.feature:157 Test reinstall,upgrade,install; one transaction; first action different "--installed-from-repo" dnf/do-installed-from-repo.feature:174 Test reinstall,upgrade,install; one transaction; transaction fails; package lame was not installed from "--from-repo-updates1" dnf/do-installed-from-repo.feature:185 Test reinstall,upgrade,install; one transaction; package lame skipped - was not installed from "--from-repo-updates1" 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 15 failed, 0 skipped 30 steps passed, 15 failed, 139 skipped Took 0min 0.589s USING RUNNER: behave.runner:Runner Feature: "do" command # dnf/do.feature:1 Feature: "do" command # dnf/do.feature:1 Scenario: Test action upgrade specified package # dnf/do.feature:26 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dp5psv03 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dp5psv03/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dp5psv03 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dp5psv03/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test action upgrade all packages # dnf/do.feature:35 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ct5w7pn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ct5w7pn/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=upgrade '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | upgrade | wget-0:1.19.8-2.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ct5w7pn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ct5w7pn/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test action downgrade specified package # dnf/do.feature:48 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rjh6twyb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rjh6twyb/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=downgrade filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | filesystem-0:3.9-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rjh6twyb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rjh6twyb/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test action downgrade all packages # dnf/do.feature:56 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2sk82d5p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2sk82d5p/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=downgrade '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | basesystem-0:11-8.fc29.noarch | | downgrade | filesystem-0:3.9-2.fc29.x86_64 | | downgrade | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2sk82d5p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2sk82d5p/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test action remove specified package # dnf/do.feature:66 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nyrjtr7e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nyrjtr7e/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=remove abcde" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.2-1.fc29.noarch | | remove-unused | flac-0:1.3.2-8.fc29.x86_64 | | remove-unused | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nyrjtr7e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nyrjtr7e/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test action remove; glob pattern in specified packages # dnf/do.feature:76 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r8yqbkj9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r8yqbkj9/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --allowerasing --action=remove 'f*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.10-1.fc29.x86_64 | | remove | flac-0:1.3.2-8.fc29.x86_64 | | remove-dep | basesystem-0:12-2.fc29.noarch | | remove-unused | setup-0:2.14.2-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r8yqbkj9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r8yqbkj9/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test action reinstall specified packages # dnf/do.feature:87 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_splgc4a0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_splgc4a0/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall abcde filesystem flac" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | abcde-0:2.9.2-1.fc29.noarch | | reinstall | filesystem-0:3.10-1.fc29.x86_64 | | reinstall | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_splgc4a0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_splgc4a0/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test action reinstall; glob pattern in specified packages # dnf/do.feature:97 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ibnk56op --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ibnk56op/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | When I execute dnf with args "do --action=reinstall abcde 'f*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | abcde-0:2.9.2-1.fc29.noarch | | reinstall | filesystem-0:3.10-1.fc29.x86_64 | | reinstall | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ibnk56op --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ibnk56op/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test actions upgrade/downgrade/remove/install/reinstall together in one command (one transaction) # dnf/do.feature:107 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "do --action=install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q1xo6f5a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q1xo6f5a/var/cache/dnf do --action=install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "do --action=install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:12-2.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | Given I use repository "from-repo" # None When I execute dnf with args "do --action=upgrade abcde pkgB --action=downgrade filesystem --action=remove flac --action=install lame --action=reinstall wget" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | lame-3.100-5.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | lame-libs-3.100-5.fc29.x86_64 | | reinstall | wget-0:1.19.5-5.fc29.x86_64 | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | downgrade | filesystem-0:3.9-2.fc29.x86_64 | | remove | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q1xo6f5a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q1xo6f5a/var/cache/dnf do --action=install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/do.feature:26 Test action upgrade specified package dnf/do.feature:35 Test action upgrade all packages dnf/do.feature:48 Test action downgrade specified package dnf/do.feature:56 Test action downgrade all packages dnf/do.feature:66 Test action remove specified package dnf/do.feature:76 Test action remove; glob pattern in specified packages dnf/do.feature:87 Test action reinstall specified packages dnf/do.feature:97 Test action reinstall; glob pattern in specified packages dnf/do.feature:107 Test actions upgrade/downgrade/remove/install/reinstall together in one command (one transaction) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 18 steps passed, 9 failed, 82 skipped Took 0min 0.380s USING RUNNER: behave.runner:Runner Feature: downgrade with --from-repo # dnf/downgrade-from-repo.feature:1 Feature: downgrade with --from-repo # dnf/downgrade-from-repo.feature:1 Scenario: Downgrade pkgB from "from-repo-updates1" and install new dependency from another repo # dnf/downgrade-from-repo.feature:24 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6xcr66sh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6xcr66sh/var/cache/dnf install abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "downgrade --from-repo=from-repo-updates1 pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6xcr66sh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6xcr66sh/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade all RPMs "from-repo-updates1" and install new dependency from another repo # dnf/downgrade-from-repo.feature:36 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aa58kltp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aa58kltp/var/cache/dnf install abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "install pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "downgrade --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aa58kltp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aa58kltp/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/downgrade-from-repo.feature:24 Downgrade pkgB from "from-repo-updates1" and install new dependency from another repo dnf/downgrade-from-repo.feature:36 Downgrade all RPMs "from-repo-updates1" and install new dependency from another repo 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 24 skipped Took 0min 0.146s USING RUNNER: behave.runner:Runner Feature: downgrade with --from-vendor # dnf/downgrade-from-vendor.feature:1 Feature: downgrade with --from-vendor # dnf/downgrade-from-vendor.feature:1 Scenario: Downgrade vendorapp from "Second Vendor" # dnf/downgrade-from-vendor.feature:18 Given I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m7_038jh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m7_038jh/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.8-1.x86_64 | | install | vendorpkg-0:1.12-1.x86_64 | | install-dep | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | install-weak | vendorweak-0:1.8-1.x86_64 | Given I use repository "dnf-ci-vendor-1" # None And I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "downgrade --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | vendorapp-0:2.7-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.8-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m7_038jh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m7_038jh/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade vendorapp from "Second Vendor" (--from-vendor has higher priority than allow_vendor_change=0) # dnf/downgrade-from-vendor.feature:34 Given I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gh9k_nk5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gh9k_nk5/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.8-1.x86_64 | | install | vendorpkg-0:1.12-1.x86_64 | | install-dep | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | install-weak | vendorweak-0:1.8-1.x86_64 | Given I use repository "dnf-ci-vendor-1" # None And I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "downgrade --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | vendorapp-0:2.7-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.8-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gh9k_nk5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gh9k_nk5/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade vendorpkg from "Second Vendor" and downgrade dependencies and install new dependency from any repos # dnf/downgrade-from-vendor.feature:50 Given I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z9ws0ui6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z9ws0ui6/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.8-1.x86_64 | | install | vendorpkg-0:1.12-1.x86_64 | | install-dep | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | install-weak | vendorweak-0:1.8-1.x86_64 | Given I use repository "dnf-ci-vendor-1" # None And I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "downgrade --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' vendorpkg" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | vendorpkg-0:1.10-1.x86_64 | | downgrade | vendordep2-0:1.1-1.x86_64 | | install-dep | vendordep3-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendordep3-0:1.2-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | | Downgrade | vendorpkg-0:1.10-1.x86_64 | User | dnf-ci-vendor-2-updates | | Downgrade | vendordep2-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2-updates | | Replaced | vendordep2-0:1.2-1.x86_64 | Dependency | @System | | Replaced | vendorpkg-0:1.12-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z9ws0ui6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z9ws0ui6/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade vendorpkg from "Second Vendor", don't change vendor for downgraded dependencies and install new dependency from any repos # dnf/downgrade-from-vendor.feature:71 Given I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rtwaqpo1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rtwaqpo1/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.8-1.x86_64 | | install | vendorpkg-0:1.12-1.x86_64 | | install-dep | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | install-weak | vendorweak-0:1.8-1.x86_64 | Given I use repository "dnf-ci-vendor-1" # None And I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "downgrade --no-best --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' vendorpkg" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | vendorpkg-0:1.7-1.x86_64 | | conflict | vendordep2-0:1.0-1.x86_64 | | conflict | vendordep2-0:1.1-1.x86_64 | | broken | vendorpkg-0:1.10-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | vendorpkg-0:1.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Replaced | vendorpkg-0:1.12-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rtwaqpo1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rtwaqpo1/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Use downgrades from "Second Vendor" and install new dependency from any repos (allow_vendor_change=1) # dnf/downgrade-from-vendor.feature:90 Given I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_39ae_ru9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_39ae_ru9/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.8-1.x86_64 | | install | vendorpkg-0:1.12-1.x86_64 | | install-dep | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | install-weak | vendorweak-0:1.8-1.x86_64 | Given I use repository "dnf-ci-vendor-1" # None And I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "downgrade --no-best --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | vendorapp-0:2.7-1.x86_64 | | downgrade | vendordep-0:1.1-1.x86_64 | | downgrade | vendordep2-0:1.1-1.x86_64 | | downgrade | vendorpkg-0:1.7-1.x86_64 | | downgrade | vendorweak-0:1.7-1.x86_64 | | broken | vendorpkg-0:1.10-1.x86_64 | | conflict | vendordep-0:1.2-1.x86_64 | | conflict | vendordep-0:1.6-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Downgrade | vendordep2-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2-updates | | Downgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Downgrade | vendorpkg-0:1.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Downgrade | vendorweak-0:1.7-1.x86_64 | Weak Dependency | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.8-1.x86_64 | User | @System | | Replaced | vendordep-0:1.8-1.x86_64 | Dependency | @System | | Replaced | vendordep2-0:1.2-1.x86_64 | Dependency | @System | | Replaced | vendorpkg-0:1.12-1.x86_64 | User | @System | | Replaced | vendorweak-0:1.8-1.x86_64 | Weak Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_39ae_ru9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_39ae_ru9/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Use downgrades from "Second Vendor" and downgrade new dependency from any repos (allow_vendor_change=0) # dnf/downgrade-from-vendor.feature:121 Given I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gl_17t3p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gl_17t3p/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.8-1.x86_64 | | install | vendorpkg-0:1.12-1.x86_64 | | install-dep | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | install-weak | vendorweak-0:1.8-1.x86_64 | Given I use repository "dnf-ci-vendor-1" # None And I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "downgrade --no-best --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | vendorapp-0:2.7-1.x86_64 | | downgrade | vendordep-0:1.1-1.x86_64 | | downgrade | vendordep2-0:1.1-1.x86_64 | | downgrade | vendorpkg-0:1.7-1.x86_64 | | downgrade | vendorweak-0:1.7-1.x86_64 | | broken | vendorpkg-0:1.10-1.x86_64 | | conflict | vendordep-0:1.2-1.x86_64 | | conflict | vendordep-0:1.6-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Downgrade | vendordep2-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2-updates | | Downgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Downgrade | vendorpkg-0:1.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Downgrade | vendorweak-0:1.7-1.x86_64 | Weak Dependency | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.8-1.x86_64 | User | @System | | Replaced | vendordep-0:1.8-1.x86_64 | Dependency | @System | | Replaced | vendordep2-0:1.2-1.x86_64 | Dependency | @System | | Replaced | vendorpkg-0:1.12-1.x86_64 | User | @System | | Replaced | vendorweak-0:1.8-1.x86_64 | Weak Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gl_17t3p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gl_17t3p/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade fails when trying to downgrade from nonexist vendor # dnf/downgrade-from-vendor.feature:151 Given I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_he53uqq6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_he53uqq6/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorapp-0:2.8-1.x86_64 | | install | vendorpkg-0:1.12-1.x86_64 | | install-dep | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | install-weak | vendorweak-0:1.8-1.x86_64 | Given I use repository "dnf-ci-vendor-1" # None And I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "downgrade --from-vendor='Nonexist\ Vendor' vendorpkg" # None Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_he53uqq6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_he53uqq6/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/downgrade-from-vendor.feature:18 Downgrade vendorapp from "Second Vendor" dnf/downgrade-from-vendor.feature:34 Downgrade vendorapp from "Second Vendor" (--from-vendor has higher priority than allow_vendor_change=0) dnf/downgrade-from-vendor.feature:50 Downgrade vendorpkg from "Second Vendor" and downgrade dependencies and install new dependency from any repos dnf/downgrade-from-vendor.feature:71 Downgrade vendorpkg from "Second Vendor", don't change vendor for downgraded dependencies and install new dependency from any repos dnf/downgrade-from-vendor.feature:90 Use downgrades from "Second Vendor" and install new dependency from any repos (allow_vendor_change=1) dnf/downgrade-from-vendor.feature:121 Use downgrades from "Second Vendor" and downgrade new dependency from any repos (allow_vendor_change=0) dnf/downgrade-from-vendor.feature:151 Downgrade fails when trying to downgrade from nonexist vendor 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 21 steps passed, 7 failed, 59 skipped Took 0min 0.372s USING RUNNER: behave.runner:Runner Feature: downgrade with --install-from-repo # dnf/downgrade-installed-from-repo.feature:1 Feature: downgrade with --install-from-repo # dnf/downgrade-installed-from-repo.feature:1 Scenario: Downgrade all packages installed from "from-repo-updates2" and install new dependency # dnf/downgrade-installed-from-repo.feature:27 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 When I execute dnf with args "install basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lbux7lv0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lbux7lv0/var/cache/dnf install basesystem And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "install abcde pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "downgrade --installed-from-repo=from-repo-updates2 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | | downgrade | dependency1-0:1.0-1.fc29.x86_64 | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | downgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lbux7lv0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lbux7lv0/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade all packages installed from "from-repo-updates1" # dnf/downgrade-installed-from-repo.feature:39 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 When I execute dnf with args "install basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pjpxmuxu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pjpxmuxu/var/cache/dnf install basesystem And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "install abcde pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "downgrade --installed-from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | abcde-0:2.9.2-1.fc29.noarch | | downgrade | basesystem-0:11-6.fc29.noarch | | downgrade | filesystem-0:3.9-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pjpxmuxu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pjpxmuxu/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade all packages installed from "from-repo-updates1" and "from-repo-updates2" and install new dependency # dnf/downgrade-installed-from-repo.feature:49 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 When I execute dnf with args "install basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6gankq5a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6gankq5a/var/cache/dnf install basesystem And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "install abcde pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "downgrade --installed-from-repo=from-repo-updates1,from-repo-updates2 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | abcde-0:2.9.2-1.fc29.noarch | | downgrade | basesystem-0:11-6.fc29.noarch | | downgrade | filesystem-0:3.9-2.fc29.x86_64 | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | | downgrade | dependency1-0:1.0-1.fc29.x86_64 | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | downgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6gankq5a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6gankq5a/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade all packages installed from repos defined by glob pattern and install new dependency # dnf/downgrade-installed-from-repo.feature:64 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 When I execute dnf with args "install basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w62lbqr6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w62lbqr6/var/cache/dnf install basesystem And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "install abcde pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "downgrade --installed-from-repo=from-*-updates? '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | abcde-0:2.9.2-1.fc29.noarch | | downgrade | basesystem-0:11-6.fc29.noarch | | downgrade | filesystem-0:3.9-2.fc29.x86_64 | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | | downgrade | dependency1-0:1.0-1.fc29.x86_64 | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | downgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w62lbqr6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w62lbqr6/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade pkg* packages installed from repos defined by glob pattern and install new dependency # dnf/downgrade-installed-from-repo.feature:79 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 When I execute dnf with args "install basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xfjg5wq6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xfjg5wq6/var/cache/dnf install basesystem And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "install abcde pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "downgrade --installed-from-repo=from-*-updates? 'pkg*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xfjg5wq6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xfjg5wq6/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade all packages installed from from-repo-updates2, to pkgs from from-repo-updates1, but dependency from another repo # dnf/downgrade-installed-from-repo.feature:88 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 When I execute dnf with args "install basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t0ffzfh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t0ffzfh6/var/cache/dnf install basesystem And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "install abcde pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "downgrade --installed-from-repo=from-repo-updates2 --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-1.fc29.x86_64 | | downgrade | pkgB-0:1.1-1.fc29.x86_64 | | downgrade | wget-0:1.19.6-5.fc29.x86_64 | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t0ffzfh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t0ffzfh6/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/downgrade-installed-from-repo.feature:27 Downgrade all packages installed from "from-repo-updates2" and install new dependency dnf/downgrade-installed-from-repo.feature:39 Downgrade all packages installed from "from-repo-updates1" dnf/downgrade-installed-from-repo.feature:49 Downgrade all packages installed from "from-repo-updates1" and "from-repo-updates2" and install new dependency dnf/downgrade-installed-from-repo.feature:64 Downgrade all packages installed from repos defined by glob pattern and install new dependency dnf/downgrade-installed-from-repo.feature:79 Downgrade pkg* packages installed from repos defined by glob pattern and install new dependency dnf/downgrade-installed-from-repo.feature:88 Downgrade all packages installed from from-repo-updates2, to pkgs from from-repo-updates1, but dependency from another repo 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 18 steps passed, 6 failed, 48 skipped Took 0min 0.363s USING RUNNER: behave.runner:Runner Feature: Downgrade command # dnf/downgrade.feature:1 Feature: Downgrade command # dnf/downgrade.feature:1 Scenario: Downgrade one RPM # dnf/downgrade.feature:8 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_enqt5flk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_enqt5flk/var/cache/dnf install flac And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "downgrade flac" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | When I execute dnf with args "downgrade flac" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-1.fc29.x86_64 | When I execute dnf with args "downgrade flac" # None Then the exit code is 0 # None And stderr is # None """ The lowest available version of the "flac.x86_64" package is already installed, cannot downgrade it. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_enqt5flk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_enqt5flk/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade RPM that requires downgrade of dependency # dnf/downgrade.feature:33 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_37gd9ik6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_37gd9ik6/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | When I execute dnf with args "downgrade glibc" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | glibc-0:2.28-9.fc29.x86_64 | | downgrade | glibc-common-0:2.28-9.fc29.x86_64 | | downgrade | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | | basesystem-11-6.fc29.noarch | Dependency | dnf-ci-fedora | | filesystem-3.9-2.fc29.x86_64 | Dependency | dnf-ci-fedora | | glibc-2.28-9.fc29.x86_64 | User | dnf-ci-fedora | | glibc-all-langpacks-2.28-9.fc29.x86_64 | Dependency | dnf-ci-fedora | | glibc-common-2.28-9.fc29.x86_64 | Dependency | dnf-ci-fedora | | setup-2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | glibc-0:2.28-9.fc29.x86_64 | User | dnf-ci-fedora | | Downgrade | glibc-common-0:2.28-9.fc29.x86_64 | Dependency | dnf-ci-fedora | | Downgrade | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Dependency | dnf-ci-fedora | | Replaced | glibc-0:2.28-26.fc29.x86_64 | User | @System | | Replaced | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | Dependency | @System | | Replaced | glibc-common-0:2.28-26.fc29.x86_64 | Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_37gd9ik6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_37gd9ik6/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade a package that was installed via rpm # dnf/downgrade.feature:70 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute rpm with args "-i --nodeps {context.scenario.repos_location}/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "downgrade flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b9ovr89w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b9ovr89w/var/cache/dnf downgrade flac And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | Then package reasons are # None | Package | Reason | | flac-1.3.3-2.fc29.x86_64 | External User | And package state is # None | package | reason | from_repo | | flac-1.3.3-2.fc29.x86_64 | External User | dnf-ci-fedora-updates | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | flac-0:1.3.3-2.fc29.x86_64 | External User | dnf-ci-fedora-updates | | Replaced | flac-0:1.3.3-3.fc29.x86_64 | External User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b9ovr89w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b9ovr89w/var/cache/dnf downgrade flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade list of packages, none of them has a downgrade available # dnf/downgrade.feature:90 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7m45wl9x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7m45wl9x/var/cache/dnf install abcde wget When I execute dnf with args "downgrade wget abcde" # None Then the exit code is 0 # None And stdout contains "Nothing to do." # None And stderr is # None """ The lowest available version of the "wget.x86_64" package is already installed, cannot downgrade it. The lowest available version of the "abcde.noarch" package is already installed, cannot downgrade it. """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7m45wl9x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7m45wl9x/var/cache/dnf install abcde wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade list of packages, one of them is not available # dnf/downgrade.feature:105 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4jhj1qwb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4jhj1qwb/var/cache/dnf install flac When I execute dnf with args "downgrade flac nosuchpkg" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: nosuchpkg You can try to add to command line: --skip-unavailable to skip unavailable packages """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4jhj1qwb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4jhj1qwb/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade list of packages with --skip-unavailable, one of them is not available # dnf/downgrade.feature:121 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gw_yr6ya --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gw_yr6ya/var/cache/dnf install flac When I execute dnf with args "downgrade --skip-unavailable flac nosuchpkg" # None Then the exit code is 0 # None And stderr contains lines # None """ No match for argument: nosuchpkg """ And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gw_yr6ya --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gw_yr6ya/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade list of packages, one of them is not installed # dnf/downgrade.feature:135 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d17bv3qx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d17bv3qx/var/cache/dnf install flac When I execute dnf with args "downgrade flac abcde" # None Then the exit code is 1 # None And stderr contains lines # None """ Failed to resolve the transaction: Packages for argument 'abcde' available, but not installed. """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d17bv3qx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d17bv3qx/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade list of packages with --skip-unavailable, one of them is not installed # dnf/downgrade.feature:148 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vp7funzj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vp7funzj/var/cache/dnf install flac When I execute dnf with args "downgrade --skip-unavailable flac abcde" # None Then the exit code is 0 # None And stderr contains lines # None """ Packages for argument 'abcde' available, but not installed. """ And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vp7funzj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vp7funzj/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade mixture of not available/not installed/not downgradable/downgradable packages # dnf/downgrade.feature:162 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iwfpecj6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iwfpecj6/var/cache/dnf install flac wget When I execute dnf with args "downgrade nosuchpkg flac wget abcde" # None Then the exit code is 1 # None And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nosuchpkg The lowest available version of the "wget.x86_64" package is already installed, cannot downgrade it. Packages for argument 'abcde' available, but not installed. You can try to add to command line: --skip-unavailable to skip unavailable packages """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iwfpecj6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iwfpecj6/var/cache/dnf install flac wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade mixture of not available/not installed/not downgradable/downgradable packages with --skip-unavailable # dnf/downgrade.feature:179 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9e9fmzdp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9e9fmzdp/var/cache/dnf install flac wget When I execute dnf with args "downgrade --skip-unavailable nosuchpkg flac wget abcde" # None Then the exit code is 0 # None And stderr contains lines # None """ No match for argument: nosuchpkg The lowest available version of the "wget.x86_64" package is already installed, cannot downgrade it. Packages for argument 'abcde' available, but not installed. """ And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9e9fmzdp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9e9fmzdp/var/cache/dnf install flac wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check upgrade exit code - package does not exist -- @1.1 # dnf/downgrade.feature:211 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "upgrade non-existent-package" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nvede6vg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nvede6vg/var/cache/dnf upgrade non-existent-package And stderr is # None """ Failed to resolve the transaction: No match for argument: non-existent-package You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nvede6vg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nvede6vg/var/cache/dnf upgrade non-existent-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check downgrade exit code - package does not exist -- @1.2 # dnf/downgrade.feature:212 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "downgrade non-existent-package" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7u_d2zrs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7u_d2zrs/var/cache/dnf downgrade non-existent-package And stderr is # None """ Failed to resolve the transaction: No match for argument: non-existent-package You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7u_d2zrs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7u_d2zrs/var/cache/dnf downgrade non-existent-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check upgrade exit code - package not installed -- @1.1 # dnf/downgrade.feature:228 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "upgrade flac" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lm9o9y6j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lm9o9y6j/var/cache/dnf upgrade flac And stderr is # None """ Failed to resolve the transaction: Packages for argument 'flac' available, but not installed. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lm9o9y6j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lm9o9y6j/var/cache/dnf upgrade flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Check downgrade exit code - package not installed -- @1.2 # dnf/downgrade.feature:229 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "downgrade flac" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ix3fijw_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ix3fijw_/var/cache/dnf downgrade flac And stderr is # None """ Failed to resolve the transaction: Packages for argument 'flac' available, but not installed. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ix3fijw_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ix3fijw_/var/cache/dnf downgrade flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1759847 Scenario: Check upgrade exit code - package already on the highest version # dnf/downgrade.feature:233 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install flac-0:1.3.3-3.fc29.x86_64" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7xm1zcer --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7xm1zcer/var/cache/dnf install flac-0:1.3.3-3.fc29.x86_64 When I execute dnf with args "upgrade flac" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Nothing to do. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7xm1zcer --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7xm1zcer/var/cache/dnf install flac-0:1.3.3-3.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1759847 Scenario: Check downgrade exit code - package already on the lowest version # dnf/downgrade.feature:249 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install flac-0:1.3.2-8.fc29.x86_64" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_75yui4b3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_75yui4b3/var/cache/dnf install flac-0:1.3.2-8.fc29.x86_64 When I execute dnf with args "downgrade flac" # None Then the exit code is 0 # None And stdout is # None """ Nothing to do. """ And stderr is # None """ The lowest available version of the "flac.x86_64" package is already installed, cannot downgrade it. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_75yui4b3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_75yui4b3/var/cache/dnf install flac-0:1.3.2-8.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/downgrade.feature:8 Downgrade one RPM dnf/downgrade.feature:33 Downgrade RPM that requires downgrade of dependency dnf/downgrade.feature:70 Downgrade a package that was installed via rpm dnf/downgrade.feature:90 Downgrade list of packages, none of them has a downgrade available dnf/downgrade.feature:105 Downgrade list of packages, one of them is not available dnf/downgrade.feature:121 Downgrade list of packages with --skip-unavailable, one of them is not available dnf/downgrade.feature:135 Downgrade list of packages, one of them is not installed dnf/downgrade.feature:148 Downgrade list of packages with --skip-unavailable, one of them is not installed dnf/downgrade.feature:162 Downgrade mixture of not available/not installed/not downgradable/downgradable packages dnf/downgrade.feature:179 Downgrade mixture of not available/not installed/not downgradable/downgradable packages with --skip-unavailable dnf/downgrade.feature:211 Check upgrade exit code - package does not exist -- @1.1 dnf/downgrade.feature:212 Check downgrade exit code - package does not exist -- @1.2 dnf/downgrade.feature:228 Check upgrade exit code - package not installed -- @1.1 dnf/downgrade.feature:229 Check downgrade exit code - package not installed -- @1.2 dnf/downgrade.feature:233 Check upgrade exit code - package already on the highest version dnf/downgrade.feature:249 Check downgrade exit code - package already on the lowest version 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 16 failed, 0 skipped 40 steps passed, 16 failed, 61 skipped Took 0min 0.797s USING RUNNER: behave.runner:Runner Feature: dnf download command on packages with xml:base # dnf/download-binary-xml-base.feature:1 Scenario: Download packages from local repository with local xml:base # dnf/download-binary-xml-base.feature:4 Given I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--baseurl file://{context.dnf.installroot}/xml_base/dnf-ci-fedora" # dnf/steps/repo.py:152 And I copy directory "{context.dnf.repos[dnf-ci-fedora].path}" to "/xml_base/dnf-ci-fedora" # common/file.py:149 When I execute dnf with args "download setup --destdir={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g0vu966w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g0vu966w/var/cache/dnf download setup --destdir=/tmp/dnf_ci_tempdir_brgrc4gn And file "/xml_base/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" exists # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g0vu966w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g0vu966w/var/cache/dnf download setup --destdir=/tmp/dnf_ci_tempdir_brgrc4gn  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download from local repodata with xml:base pointing to remote packages # dnf/download-binary-xml-base.feature:18 Given I make packages from repository "dnf-ci-fedora" accessible via http # dnf/steps/repo.py:283 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--baseurl http://localhost:{context.dnf.ports[dnf-ci-fedora]}" # dnf/steps/repo.py:152 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "download setup --destdir={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: Then the exit code is 0 # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hds_c9bp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hds_c9bp/var/cache/dnf download setup --destdir=/tmp/dnf_ci_tempdir_g9zgg3yl  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download from remote repodata with xml:base pointing to packages on different remote # dnf/download-binary-xml-base.feature:34 Given I make packages from repository "dnf-ci-fedora" accessible via http # dnf/steps/repo.py:283 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--baseurl http://localhost:{context.dnf.ports[dnf-ci-fedora]}" # dnf/steps/repo.py:152 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "download setup --destdir={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_axosvqr9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_axosvqr9/var/cache/dnf download setup --destdir=/tmp/dnf_ci_tempdir_t4dkebnw Then stderr is # None """ """ And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_axosvqr9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_axosvqr9/var/cache/dnf download setup --destdir=/tmp/dnf_ci_tempdir_t4dkebnw  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download to destdir from local repodata that have packages with xml:base pointing to a remote as well as local packages # dnf/download-binary-xml-base.feature:50 Given I make packages from repository "dnf-ci-fedora" accessible via http # dnf/steps/repo.py:283 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I copy repository "dnf-ci-thirdparty" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--baseurl http://localhost:{context.dnf.ports[dnf-ci-fedora]}" # dnf/steps/repo.py:152 And I execute "mergerepo_c --repo file://{context.dnf.repos[dnf-ci-fedora].path} --repo file://{context.dnf.repos[dnf-ci-thirdparty].path}" in "{context.dnf.installroot}" # common/cmd.py:19 And I configure a new repository "merged-repo" with # dnf/steps/repo.py:271 | key | value | | baseurl | file://{context.dnf.installroot}/merged_repo | When I execute dnf with args "download setup alternator --destdir={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_952593ar --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_952593ar/var/cache/dnf download setup alternator --destdir=/tmp/dnf_ci_tempdir__2ouzxqt And stderr is # None """ """ And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | | {context.dnf.tempdir}/alternator-1.1-1.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/x86_64/alternator-1.1-1.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_952593ar --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_952593ar/var/cache/dnf download setup alternator --destdir=/tmp/dnf_ci_tempdir__2ouzxqt  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/download-binary-xml-base.feature:4 Download packages from local repository with local xml:base dnf/download-binary-xml-base.feature:18 Download from local repodata with xml:base pointing to remote packages dnf/download-binary-xml-base.feature:34 Download from remote repodata with xml:base pointing to packages on different remote dnf/download-binary-xml-base.feature:50 Download to destdir from local repodata that have packages with xml:base pointing to a remote as well as local packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 22 steps passed, 4 failed, 8 skipped Took 0min 1.696s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 24 leaked semaphore objects to clean up at shutdown: {'/mp-05cun2dg', '/mp-bqp2gvxv', '/mp-vilimzkb', '/mp-8pan4bcn', '/mp-8rz0j_1q', '/mp-7np5bmw6', '/mp-8eko0106', '/mp-kl_1ehjf', '/mp-jhfy2ce1', '/mp-ie48pp0d', '/mp-5bqq39vh', '/mp-r10bjtj7', '/mp-uo1ydx9o', '/mp-_liz8q6u', '/mp-6cunow1s', '/mp-y68rv6ax', '/mp-y35o7qjz', '/mp-ws1qlzqh', '/mp-ward87mw', '/mp-ewfd42ys', '/mp-5_jzl70g', '/mp-nixkllli', '/mp-g15bb66e', '/mp-bmew0yyk'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: dnf download command test for binary downloads # dnf/download-binary.feature:1 Feature: dnf download command test for binary downloads # dnf/download-binary.feature:1 @xfail Scenario: Download an RPM that doesn't exist # dnf/download-binary.feature:11 Scenario: Download an existing RPM # dnf/download-binary.feature:17 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_is5_l3my --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_is5_l3my/var/cache/dnf download setup And stderr contains "setup-0:2.12.1-1.fc29.noarch" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_is5_l3my --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_is5_l3my/var/cache/dnf download setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download an existing RPM with dependencies # dnf/download-binary.feature:26 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download filesystem --resolve" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vt72_b89 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vt72_b89/var/cache/dnf download filesystem --resolve And stderr contains "filesystem-0:3.9-2.fc29.x86_64" # None And stderr contains "setup-0:2.12.1-1.fc29.noarch" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/filesystem-3.9-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm | | {context.dnf.tempdir}/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vt72_b89 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vt72_b89/var/cache/dnf download filesystem --resolve  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1844925 Scenario: Error when failed to resolve dependencies # dnf/download-binary.feature:38 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download filesystem --resolve --exclude setup" # dnf/steps/cmd.py:110 Then stderr contains lines # dnf/steps/cmd.py:304 """ Failed to resolve the transaction: Problem: package filesystem-3.9-2.fc29.x86_64 from dnf-ci-fedora requires setup, but none of the providers can be installed - conflicting requests - package setup-2.12.1-1.fc29.noarch from dnf-ci-fedora is filtered out by exclude filtering """ ASSERT FAILED: Stderr doesn't contain line: Failed to resolve the transaction: Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_biqhfzxr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_biqhfzxr/var/cache/dnf download filesystem --resolve --exclude setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download an existing RPM with dependencies into a --destdir # dnf/download-binary.feature:50 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download filesystem --resolve --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y0g9j8_t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y0g9j8_t/var/cache/dnf download filesystem --resolve --destdir=/tmp/dnf_ci_tempdir_sf27cy2v/downloaddir And stderr contains "filesystem-0:3.9-2.fc29.x86_64" # None And stderr contains "setup-0:2.12.1-1.fc29.noarch" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/filesystem-3.9-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y0g9j8_t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y0g9j8_t/var/cache/dnf download filesystem --resolve --destdir=/tmp/dnf_ci_tempdir_sf27cy2v/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download an existing RPM with dependencies into a --destdir where a dependency is installed # dnf/download-binary.feature:61 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c62c3px_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c62c3px_/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "download basesystem --resolve --destdir={context.dnf.tempdir}/downloaddir" # None Then the exit code is 0 # None And stderr contains "basesystem-0:11-6.fc29.noarch" # None And stderr contains "filesystem-0:3.9-2.fc29.x86_64" # None And stderr does not contain "setup-2.12.1-1.fc29.noarch" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/basesystem-11-6.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/basesystem-11-6.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/filesystem-3.9-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | - | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c62c3px_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c62c3px_/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download an existing RPM with dependencies into a --destdir where all packages are already installed # dnf/download-binary.feature:79 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "install basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5itopes4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5itopes4/var/cache/dnf install basesystem And Transaction is following # None | Action | Package | | install | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "download basesystem --resolve --destdir={context.dnf.tempdir}/downloaddir" # None Then the exit code is 0 # None And stderr contains "basesystem-0:11-6.fc29.noarch" # None And stderr does not contain "filesystem-0:3.9-2.fc29.x86_64" # None And stderr does not contain "setup-0:2.12.1-1.fc29.noarch" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/basesystem-11-6.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/basesystem-11-6.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/filesystem-3.9-2.fc29.x86_64.rpm | - | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | - | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5itopes4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5itopes4/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1612874 Scenario: Download an existing RPM when there are multiple packages of the same NEVRA # dnf/download-binary.feature:100 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-gpg" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --destdir={context.dnf.installroot}/downloaddir setup filesystem wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_djswj859 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_djswj859/var/cache/dnf download --destdir=/tmp/dnf_ci_installroot_djswj859/downloaddir setup filesystem wget And stderr contains "setup-0:2.12.1-1.fc29.noarch" # None And stderr contains "filesystem-0:3.9-2.fc29.x86_64" # None And stderr contains "wget-0:1.19.5-5.fc29.x86_64" # None And stderr does not contain "setup-0:2\.12\.1-1\.fc29\.noarch(.|\n)*setup-0:2\.12\.1-1\.fc29\.noarch" # None And stderr does not contain "filesystem-0:3\.9-2\.fc29\.x86_64(.|\n)*filesystem-0:3\.9-2\.fc29\.x86_64" # None And stderr does not contain "wget-0:1\.19\.5-5\.fc29\.x86_64(.|\n)*wget-0:1\.19\.5-5\.fc29\.x86_64" # None And file "downloaddir/setup-2.12.1-1.fc29.noarch.rpm" exists # None And file "downloaddir/filesystem-3.9-2.fc29.x86_64.rpm" exists # None And file "downloaddir/wget-1.19.5-5.fc29.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_djswj859 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_djswj859/var/cache/dnf download --destdir=/tmp/dnf_ci_installroot_djswj859/downloaddir setup filesystem wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/download-binary.feature:17 Download an existing RPM dnf/download-binary.feature:26 Download an existing RPM with dependencies dnf/download-binary.feature:38 Error when failed to resolve dependencies dnf/download-binary.feature:50 Download an existing RPM with dependencies into a --destdir dnf/download-binary.feature:61 Download an existing RPM with dependencies into a --destdir where a dependency is installed dnf/download-binary.feature:79 Download an existing RPM with dependencies into a --destdir where all packages are already installed dnf/download-binary.feature:100 Download an existing RPM when there are multiple packages of the same NEVRA 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 1 skipped 22 steps passed, 7 failed, 37 skipped Took 0min 1.260s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 48 leaked semaphore objects to clean up at shutdown: {'/mp-j1ak8zas', '/mp-gp8rhiru', '/mp-47524mvz', '/mp-np30v06e', '/mp-c22vl15x', '/mp-fy_dlna7', '/mp-lx9nfa25', '/mp-851vbnec', '/mp-8lgiiuur', '/mp-3rucmn4k', '/mp-qdj5wx9x', '/mp-p_7yjbqn', '/mp-yyzc4k60', '/mp-98s937dz', '/mp-34cxl1ar', '/mp-xaxdrooe', '/mp-n5t6dibb', '/mp-8jadisyu', '/mp-_0fxvb1u', '/mp-t6_3hhj1', '/mp-76op7pex', '/mp-dwho4oqk', '/mp-6415msx0', '/mp-5b_lsjrs', '/mp-3eiwc314', '/mp-qmgdghze', '/mp-6jtof_1e', '/mp-e_e2rar9', '/mp-_n7mes9r', '/mp-g_qtghvc', '/mp-3ic199h8', '/mp-10xhnrsu', '/mp-ii54sz_3', '/mp-_n8zuz37', '/mp-eiqvkub_', '/mp-8amyeg25', '/mp-wkown9ne', '/mp-d510bepq', '/mp-1ze937p9', '/mp-9vmr30t0', '/mp-w09628ys', '/mp-oleffjbk', '/mp-i916e4is', '/mp-59i2ef69', '/mp-m8er_4ih', '/mp-ly6qt8d0', '/mp-ggzx7ess', '/mp-y32gi3j7'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: dnf download --debuginfo command # dnf/download-debuginfo.feature:3 Feature: dnf download --debuginfo command # dnf/download-debuginfo.feature:3 Scenario: Download a debuginfo for an RPM that doesn't exist # dnf/download-debuginfo.feature:10 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --debuginfo does-not-exist" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xqob3kbz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xqob3kbz/var/cache/dnf download --debuginfo does-not-exist And stderr contains "No package \"does-not-exist\" available" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xqob3kbz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xqob3kbz/var/cache/dnf download --debuginfo does-not-exist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download a debuginfo for an existing RPM # dnf/download-debuginfo.feature:17 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --debuginfo libzstd" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rv4un6am --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rv4un6am/var/cache/dnf download --debuginfo libzstd And stderr contains "libzstd-debuginfo-0:1.3.6-1.fc29" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/libzstd-debuginfo-1.3.6-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/libzstd-debuginfo-1.3.6-1.fc29.x86_64.rpm | | {context.dnf.tempdir}/libzstd-1.3.6-1.fc29.x86_64.rpm | - | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rv4un6am --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rv4un6am/var/cache/dnf download --debuginfo libzstd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download debuginfo for all architectures # dnf/download-debuginfo.feature:28 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --debuginfo lz4" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_84mvhofy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_84mvhofy/var/cache/dnf download --debuginfo lz4 And stderr contains "lz4-debuginfo-0:1.8.2-2.fc29" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/lz4-debuginfo-1.8.2-2.fc29.i686.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/i686/lz4-debuginfo-1.8.2-2.fc29.i686.rpm | | {context.dnf.tempdir}/lz4-debuginfo-1.8.2-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/lz4-debuginfo-1.8.2-2.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_84mvhofy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_84mvhofy/var/cache/dnf download --debuginfo lz4  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1637008 Scenario: Download source, debuginfo for an existing RPM # dnf/download-debuginfo.feature:40 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --source --debuginfo libzstd" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uixdxo7q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uixdxo7q/var/cache/dnf download --source --debuginfo libzstd And stderr contains "zstd-0:1.3.6-1.fc29" # None And stderr contains "libzstd-debuginfo-0:1.3.6-1.fc29" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/zstd-1.3.6-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/src/zstd-1.3.6-1.fc29.src.rpm | | {context.dnf.tempdir}/libzstd-debuginfo-1.3.6-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/libzstd-debuginfo-1.3.6-1.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uixdxo7q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uixdxo7q/var/cache/dnf download --source --debuginfo libzstd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download debuginfo with --destdir option # dnf/download-debuginfo.feature:52 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --debuginfo libzstd --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l4p99wxa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l4p99wxa/var/cache/dnf download --debuginfo libzstd --destdir=/tmp/dnf_ci_tempdir_x8zl9kwe/downloaddir And stderr contains "libzstd-debuginfo-0:1.3.6-1.fc29" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/libzstd-debuginfo-1.3.6-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/libzstd-debuginfo-1.3.6-1.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l4p99wxa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l4p99wxa/var/cache/dnf download --debuginfo libzstd --destdir=/tmp/dnf_ci_tempdir_x8zl9kwe/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download debuginfo for multiple packages # dnf/download-debuginfo.feature:62 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --debuginfo libzstd lz4" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wi06o56f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wi06o56f/var/cache/dnf download --debuginfo libzstd lz4 And stderr contains "libzstd-debuginfo-0:1.3.6-1.fc29" # None And stderr contains "lz4-debuginfo-0:1.8.2-2.fc29" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/libzstd-debuginfo-1.3.6-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/libzstd-debuginfo-1.3.6-1.fc29.x86_64.rpm | | {context.dnf.tempdir}/lz4-debuginfo-1.8.2-2.fc29.i686.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/i686/lz4-debuginfo-1.8.2-2.fc29.i686.rpm | | {context.dnf.tempdir}/lz4-debuginfo-1.8.2-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/lz4-debuginfo-1.8.2-2.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wi06o56f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wi06o56f/var/cache/dnf download --debuginfo libzstd lz4  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/download-debuginfo.feature:10 Download a debuginfo for an RPM that doesn't exist dnf/download-debuginfo.feature:17 Download a debuginfo for an existing RPM dnf/download-debuginfo.feature:28 Download debuginfo for all architectures dnf/download-debuginfo.feature:40 Download source, debuginfo for an existing RPM dnf/download-debuginfo.feature:52 Download debuginfo with --destdir option dnf/download-debuginfo.feature:62 Download debuginfo for multiple packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 18 steps passed, 6 failed, 13 skipped Took 0min 1.124s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 36 leaked semaphore objects to clean up at shutdown: {'/mp-lvgns450', '/mp-w8zpy0xv', '/mp-q1k55t4g', '/mp-rlyl215k', '/mp-g7fur76w', '/mp-59wd9dvt', '/mp-jwg05hfb', '/mp-j1kibj4n', '/mp-xlyxvk1l', '/mp-j97aho43', '/mp-uevqy6cb', '/mp-l0swlae9', '/mp-6ndq9ze0', '/mp-wr52mwa1', '/mp-ru1g1dfp', '/mp-e6k3lmuo', '/mp-bi5dlxic', '/mp-30v0_5jw', '/mp-wlb0nnr2', '/mp-apbhbg2r', '/mp-mu49s0vz', '/mp-ekz3l1y6', '/mp-jtq41ua9', '/mp-vezp5jpm', '/mp-bcztd3hb', '/mp-wl5ahq8p', '/mp-cntgi7li', '/mp-xnqq85kx', '/mp-d8xfmb12', '/mp-kgq8svh2', '/mp-js_v4q4s', '/mp-kd6kuuag', '/mp-p6al4vt1', '/mp-q3ijxf42', '/mp-ud6g8gb9', '/mp-i7te3hc0'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: dnf download --debugsource command # dnf/download-debugsource.feature:1 Feature: dnf download --debugsource command # dnf/download-debugsource.feature:1 Scenario: Download a debugsource for an RPM that doesn't exist # dnf/download-debugsource.feature:9 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --debugsource does-not-exist" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x43rh6gi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x43rh6gi/var/cache/dnf download --debugsource does-not-exist And stderr contains "No package \"does-not-exist\" available" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x43rh6gi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x43rh6gi/var/cache/dnf download --debugsource does-not-exist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download a debugsource for an existing RPM # dnf/download-debugsource.feature:15 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --debugsource libzstd" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_18vfzq50 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_18vfzq50/var/cache/dnf download --debugsource libzstd And stderr contains "zstd-debugsource-0:1.3.6-1.fc29.x86_64" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_18vfzq50 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_18vfzq50/var/cache/dnf download --debugsource libzstd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download a debugsource with --destdir option # dnf/download-debugsource.feature:24 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --debugsource libzstd --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fbg2ldyo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fbg2ldyo/var/cache/dnf download --debugsource libzstd --destdir=/tmp/dnf_ci_tempdir_xntshede/downloaddir And stderr contains "zstd-debugsource-0:1.3.6-1.fc29.x86_64" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fbg2ldyo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fbg2ldyo/var/cache/dnf download --debugsource libzstd --destdir=/tmp/dnf_ci_tempdir_xntshede/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download debugsource for all architectures # dnf/download-debugsource.feature:33 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --debugsource lz4" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l5x2xbn2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l5x2xbn2/var/cache/dnf download --debugsource lz4 And stderr contains "lz4-debugsource-0:1.8.2-2.fc29.i686" # None And stderr contains "lz4-debugsource-0:1.8.2-2.fc29.x86_64" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/lz4-debugsource-1.8.2-2.fc29.i686.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/i686/lz4-debugsource-1.8.2-2.fc29.i686.rpm | | {context.dnf.tempdir}/lz4-debugsource-1.8.2-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/lz4-debugsource-1.8.2-2.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l5x2xbn2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l5x2xbn2/var/cache/dnf download --debugsource lz4  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download debugsource for specific architecture using --arch option # dnf/download-debugsource.feature:44 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --debugsource --arch=x86_64 lz4" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r3degtwm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r3degtwm/var/cache/dnf download --debugsource --arch=x86_64 lz4 And stderr contains "lz4-debugsource-0:1.8.2-2.fc29.x86_64" # None And stderr does not contain "lz4-debugsource-0:1.8.2-2.fc29.i686" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/lz4-debugsource-1.8.2-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/lz4-debugsource-1.8.2-2.fc29.x86_64.rpm | | {context.dnf.tempdir}/lz4-debugsource-1.8.2-2.fc29.i686.rpm | - | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r3degtwm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r3degtwm/var/cache/dnf download --debugsource --arch=x86_64 lz4  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: No error when debugsource package is not available # dnf/download-debugsource.feature:56 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --debugsource basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ttcm4rn5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ttcm4rn5/var/cache/dnf download --debugsource basesystem And stdout contains "Downloading Packages:" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ttcm4rn5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ttcm4rn5/var/cache/dnf download --debugsource basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download debugsource with --url option to print URLs instead of downloading # dnf/download-debugsource.feature:65 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --debugsource --url libzstd" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sb_9t721 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sb_9t721/var/cache/dnf download --debugsource --url libzstd And stdout contains "zstd-debugsource-1.3.6-1.fc29.x86_64.rpm" # None And file "{context.dnf.tempdir}/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sb_9t721 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sb_9t721/var/cache/dnf download --debugsource --url libzstd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download debugsource from specific repository using --from-repo # dnf/download-debugsource.feature:72 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --debugsource --from-repo=dnf-ci-fedora-updates libzstd" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oqdybqyu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oqdybqyu/var/cache/dnf download --debugsource --from-repo=dnf-ci-fedora-updates libzstd And stderr contains "zstd-debugsource-0:1.3.6-1.fc29.x86_64" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oqdybqyu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oqdybqyu/var/cache/dnf download --debugsource --from-repo=dnf-ci-fedora-updates libzstd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download multiple debugsource packages in one command # dnf/download-debugsource.feature:81 Given I use repository "dnf-ci-fedora-updates" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --debugsource libzstd lz4" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_141x3igq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_141x3igq/var/cache/dnf download --debugsource libzstd lz4 And stderr contains "zstd-debugsource-0:1.3.6-1.fc29.x86_64" # None And stderr contains "lz4-debugsource-0:1.8.2-2.fc29.i686" # None And stderr contains "lz4-debugsource-0:1.8.2-2.fc29.x86_64" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/zstd-debugsource-1.3.6-1.fc29.x86_64.rpm | | {context.dnf.tempdir}/lz4-debugsource-1.8.2-2.fc29.i686.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/i686/lz4-debugsource-1.8.2-2.fc29.i686.rpm | | {context.dnf.tempdir}/lz4-debugsource-1.8.2-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/lz4-debugsource-1.8.2-2.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_141x3igq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_141x3igq/var/cache/dnf download --debugsource libzstd lz4  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/download-debugsource.feature:9 Download a debugsource for an RPM that doesn't exist dnf/download-debugsource.feature:15 Download a debugsource for an existing RPM dnf/download-debugsource.feature:24 Download a debugsource with --destdir option dnf/download-debugsource.feature:33 Download debugsource for all architectures dnf/download-debugsource.feature:44 Download debugsource for specific architecture using --arch option dnf/download-debugsource.feature:56 No error when debugsource package is not available dnf/download-debugsource.feature:65 Download debugsource with --url option to print URLs instead of downloading dnf/download-debugsource.feature:72 Download debugsource from specific repository using --from-repo dnf/download-debugsource.feature:81 Download multiple debugsource packages in one command 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 28 steps passed, 9 failed, 20 skipped Took 0min 1.559s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 60 leaked semaphore objects to clean up at shutdown: {'/mp-87b2h28l', '/mp-xjk78rqv', '/mp-9t8ugzlt', '/mp-xamwrhgb', '/mp-766ffie5', '/mp-uoez8to5', '/mp-ryuxb15z', '/mp-j15__q01', '/mp-kw4_t3o6', '/mp-a3ms40mg', '/mp-4fvr7i7w', '/mp-dr4g_l_r', '/mp-67s390pc', '/mp-_vddu9d4', '/mp-w07a28tq', '/mp-4gg5jw0c', '/mp-jvvsb_qm', '/mp-9pb57zsg', '/mp-k3ygiicz', '/mp-4wbfxb80', '/mp-l626ilp5', '/mp-s4xhwove', '/mp-53r45w34', '/mp-o_etenbm', '/mp-dxgvzo4l', '/mp-ez8thuc1', '/mp-00d23oqb', '/mp-od5z0iaq', '/mp-zyvot_6o', '/mp-4qyee8uh', '/mp-oprhg9d3', '/mp-c_zv2gt3', '/mp-o57r5x3l', '/mp-dctfhba4', '/mp-xaethw4f', '/mp-7i_xrdgu', '/mp-1mpn7pkt', '/mp-v4slmzda', '/mp-gua0y40z', '/mp-oxjgsjsy', '/mp-bk33oxyn', '/mp-vf9gfldk', '/mp-628gjcee', '/mp-r2_ox7it', '/mp-6lttea69', '/mp-3ha63y38', '/mp-vp75nw3d', '/mp-rldn19rt', '/mp-uqbctpig', '/mp-ri2oeth9', '/mp-je0w0d_t', '/mp-zvo2gp6h', '/mp-zt_qxcl1', '/mp-xsj0rksz', '/mp-hrwparn1', '/mp-d011ydrz', '/mp-aob9fgp_', '/mp-nhch7w65', '/mp-un1pi1jw', '/mp-fq46p_mz'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Tests for different package download sources # dnf/download-source.feature:1 @xfail @bz1775184 Scenario: baseurl is used if all mirrors from mirrorlist fail # dnf/download-source.feature:8 @xfail @bz1775184 Scenario: baseurl is used if mirrorlist file cannot be found # dnf/download-source.feature:31 @xfail @bz1775184 Scenario: baseurl is used if mirrorlist file is empty # dnf/download-source.feature:49 @xfail Scenario: no working donwload source result in an error # dnf/download-source.feature:69 Scenario: mirrorlist is prefered over baseurl # dnf/download-source.feature:90 Given I create directory "/baseurlrepo" # common/file.py:30 And I execute "createrepo_c {context.dnf.installroot}/baseurlrepo" # common/cmd.py:30 And I create directory "/mirrorlistrepo" # common/file.py:30 And I copy file "{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" to "/mirrorlistrepo/setup-2.12.1-1.fc29.noarch.rpm" # common/file.py:157 And I execute "createrepo_c {context.dnf.installroot}/mirrorlistrepo" # common/cmd.py:30 And I create and substitute file "/tmp/mirrorlist" with # common/file.py:43 """ file://{context.dnf.installroot}/mirrorlistrepo """ And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | baseurl | {context.dnf.installroot}/baseurlrepo | | mirrorlist | {context.dnf.installroot}/tmp/mirrorlist | When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8vmzghoo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8vmzghoo/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8vmzghoo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8vmzghoo/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install from local repodata with locations pointing to remote packages # dnf/download-source.feature:111 Given I make packages from repository "dnf-ci-fedora" accessible via http # dnf/steps/repo.py:283 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--location-prefix http://localhost:{context.dnf.ports[dnf-ci-fedora]}" # dnf/steps/repo.py:152 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I delete directory "/{context.dnf.repos[dnf-ci-fedora].path}/noarch" # common/file.py:70 When I execute dnf with args "--setopt=keepcache=true install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_trxw9y6n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_trxw9y6n/var/cache/dnf --setopt=keepcache=true install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | And file "/var/cache/dnf/dnf-ci-fedora*/packages/setup*" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_trxw9y6n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_trxw9y6n/var/cache/dnf --setopt=keepcache=true install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install from remote repodata with locations pointing to packages on different HTTP servers # dnf/download-source.feature:126 Given I make packages from repository "dnf-ci-fedora" accessible via http # dnf/steps/repo.py:283 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--location-prefix http://localhost:{context.dnf.ports[dnf-ci-fedora]}" # dnf/steps/repo.py:152 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I delete directory "/{context.dnf.repos[dnf-ci-fedora].path}/noarch" # common/file.py:70 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_06ty41ku --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_06ty41ku/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_06ty41ku --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_06ty41ku/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1817130 Scenario: Download a package that contains special URL characters that need to be encoded (e.g. a +) # dnf/download-source.feature:142 Given I use repository "download-sources" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "install special-c++-package" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g3946of1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g3946of1/var/cache/dnf install special-c++-package And HTTP log contains # None """ GET /noarch/special-c%2b%2b-package-1.0-1.noarch.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g3946of1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g3946of1/var/cache/dnf install special-c++-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1817130 @xfail Scenario: Download a package that contains special URL characters with full URL in location # dnf/download-source.feature:157 @bz2103015 Scenario: Download a package that contains special URL characters by passing an encoded URL # dnf/download-source.feature:174 Given I use repository "download-sources" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "install http://localhost:{context.dnf.ports[download-sources]}/noarch/special-c%2b%2b-package-1.0-1.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zfk6eanh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zfk6eanh/var/cache/dnf install http://localhost:43547/noarch/special-c%2b%2b-package-1.0-1.noarch.rpm And HTTP log contains # None """ GET /noarch/special-c%2b%2b-package-1.0-1.noarch.rpm """ And Transaction is following # None | Action | Package | | install | special-c++-package-1.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zfk6eanh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zfk6eanh/var/cache/dnf install http://localhost:43547/noarch/special-c%2b%2b-package-1.0-1.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2381859 Scenario: Verify we can run upgrade --refresh with fastest mirror enabled with multiple repositories and mirrors # dnf/download-source.feature:190 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I successfully execute dnf with args "install flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lg8rev7t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lg8rev7t/var/cache/dnf install flac And I use repository "dnf-ci-thirdparty" as http # None And I use repository "dnf-ci-fedora-updates" as http # None And I create directory "/mirror" # None And I copy directory "{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64" to "/mirror/x86_64" # None And I execute "createrepo_c {context.dnf.installroot}/mirror" # None And I start http server "mirror" at "{context.dnf.installroot}/mirror" # None And I create and substitute file "/mirrorlist" with # None """ http://localhost:{context.dnf.ports[dnf-ci-fedora-updates]}/ http://localhost:{context.dnf.ports[mirror]}/ """ And I configure a new repository "testrepo" with # None | key | value | | mirrorlist | {context.dnf.installroot}/mirrorlist | And I configure dnf with # None | key | value | | fastestmirror | True | When I execute dnf with args "update --refresh" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lg8rev7t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lg8rev7t/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/download-source.feature:90 mirrorlist is prefered over baseurl dnf/download-source.feature:111 Install from local repodata with locations pointing to remote packages dnf/download-source.feature:126 Install from remote repodata with locations pointing to packages on different HTTP servers dnf/download-source.feature:142 Download a package that contains special URL characters that need to be encoded (e.g. a +) dnf/download-source.feature:174 Download a package that contains special URL characters by passing an encoded URL dnf/download-source.feature:190 Verify we can run upgrade --refresh with fastest mirror enabled with multiple repositories and mirrors 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 5 skipped 27 steps passed, 6 failed, 59 skipped Took 0min 1.482s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 36 leaked semaphore objects to clean up at shutdown: {'/mp-fzcnl93a', '/mp-0t3dzq8w', '/mp-e6rfrqh1', '/mp-vscijzun', '/mp-iot_fpoq', '/mp-6bpu2ufr', '/mp-n8gda0si', '/mp-6xjz02cp', '/mp-0f3dytwe', '/mp-za1m9w32', '/mp-ntp1vch6', '/mp-01l6i2gm', '/mp-3h2ku7q6', '/mp-zp4_55m_', '/mp-r0klyxp8', '/mp-gkq8w99h', '/mp-ai5f00o4', '/mp-uvink7la', '/mp-glwokp2b', '/mp-gmf8o97m', '/mp-scvxzp0u', '/mp-iis4g849', '/mp-mcq87bhh', '/mp-bn80boqd', '/mp-ks5j15dn', '/mp-a0t7_sig', '/mp-l3q1bwh7', '/mp-cp7py73s', '/mp-3piiof2s', '/mp-ds77w73g', '/mp-pmeysjsm', '/mp-icbqqhll', '/mp-hzh20e45', '/mp-mgt4o05m', '/mp-l1fucrup', '/mp-qavggqir'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Download commands with options --resolve --alldeps --together # dnf/download.feature:1 Scenario: Download a single rpm # dnf/download.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f_mz7ugt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f_mz7ugt/var/cache/dnf download abcde And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.src.rpm" exists # None And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.noarch.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f_mz7ugt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f_mz7ugt/var/cache/dnf download abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve option when no package is installed # dnf/download.feature:13 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download abcde --resolve" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4hc2cjt2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4hc2cjt2/var/cache/dnf download abcde --resolve And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.src.rpm" exists # None And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.noarch.rpm" exists # None And file "/{context.dnf.tempdir}/flac-1.3.2-8.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/wget-1.19.5-5.fc29.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4hc2cjt2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4hc2cjt2/var/cache/dnf download abcde --resolve  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve option when a dependency is installed # dnf/download.feature:24 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nbiinvrl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nbiinvrl/var/cache/dnf install wget When I execute dnf with args "download abcde --resolve" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.src.rpm" exists # None And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.noarch.rpm" exists # None And file "/{context.dnf.tempdir}/flac-1.3.2-8.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/wget-1.19.5-5.fc29.x86_64.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nbiinvrl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nbiinvrl/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2066851 Scenario: Download with resolve respects install_weak_deps=false # dnf/download.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I configure dnf with # dnf/steps/config.py:12 | key | value | | install_weak_deps | false | When I execute dnf with args "download abcde --resolve" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_128a4l8a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_128a4l8a/var/cache/dnf download abcde --resolve And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.src.rpm" exists # None And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.noarch.rpm" exists # None And file "/{context.dnf.tempdir}/flac-1.3.2-8.fc29.x86_64.rpm" does not exist # None And file "/{context.dnf.tempdir}/lame-3.100-4.fc29.x86_64.rpm" does not exist # None And file "/{context.dnf.tempdir}/wget-1.19.5-5.fc29.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_128a4l8a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_128a4l8a/var/cache/dnf download abcde --resolve  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve and alldeps options # dnf/download.feature:52 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5zt_nvsl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5zt_nvsl/var/cache/dnf install wget When I execute dnf with args "download abcde --resolve --alldeps" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.src.rpm" exists # None And file "/{context.dnf.tempdir}/abcde-2.9.2-1.fc29.noarch.rpm" exists # None And file "/{context.dnf.tempdir}/flac-1.3.2-8.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/wget-1.19.5-5.fc29.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5zt_nvsl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5zt_nvsl/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with alldeps options # dnf/download.feature:63 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download abcde --alldeps" # dnf/steps/cmd.py:110 Then stderr contains "Option \"--alldeps\" should be used with \"--resolve\"" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: Option \"--alldeps\" should be used with \"--resolve\" And the exit code is 2 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j4dlwq1n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j4dlwq1n/var/cache/dnf download abcde --alldeps  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download when package is available from multiple repositories # dnf/download.feature:70 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download abcde --resolve" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yr7hltbr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yr7hltbr/var/cache/dnf download abcde --resolve And file "/{context.dnf.tempdir}/abcde-2.9.3-1.fc29.src.rpm" exists # None And file "/{context.dnf.tempdir}/abcde-2.9.3-1.fc29.noarch.rpm" exists # None And file "/{context.dnf.tempdir}/flac-1.3.3-3.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/wget-1.19.6-5.fc29.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yr7hltbr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yr7hltbr/var/cache/dnf download abcde --resolve  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve option resolves dependencies of each package separately # dnf/download.feature:82 Given I use repository "dependency-chain" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download top mid-1 --resolve" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_18tozk2p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_18tozk2p/var/cache/dnf download top mid-1 --resolve And file "/{context.dnf.tempdir}/top-1-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/mid-1-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/mid-2-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/bot-1-1.fc29.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_18tozk2p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_18tozk2p/var/cache/dnf download top mid-1 --resolve  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve and together options respects explicitly requested versions of dependencies # dnf/download.feature:93 Given I use repository "dependency-chain" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download top mid-1 --resolve --together" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3veboszz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3veboszz/var/cache/dnf download top mid-1 --resolve --together And file "/{context.dnf.tempdir}/top-1-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/mid-1-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/bot-1-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/mid-2-1.fc29.x86_64.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3veboszz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3veboszz/var/cache/dnf download top mid-1 --resolve --together  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve, alldeps and together options # dnf/download.feature:104 Given I use repository "dependency-chain" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I successfully execute dnf with args "install bot" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b8x6sl18 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b8x6sl18/var/cache/dnf install bot When I execute dnf with args "download top mid-1 --resolve --alldeps --together" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/top-1-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/mid-1-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/bot-1-1.fc29.x86_64.rpm" exists # None And file "/{context.dnf.tempdir}/mid-2-1.fc29.x86_64.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b8x6sl18 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b8x6sl18/var/cache/dnf install bot  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve and together options fails when multiple versions of the same package are requested # dnf/download.feature:116 Given I use repository "dependency-chain" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download mid-1 mid-2 --resolve --together" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b81lisdm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b81lisdm/var/cache/dnf download mid-1 mid-2 --resolve --together And stderr contains "Failed to resolve the transaction" # None And stderr contains "conflicting requests" # None And file "/{context.dnf.tempdir}/mid-1-1.fc29.x86_64.rpm" does not exist # None And file "/{context.dnf.tempdir}/mid-2-1.fc29.x86_64.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b81lisdm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b81lisdm/var/cache/dnf download mid-1 mid-2 --resolve --together  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve and together options ignores skip_broken # dnf/download.feature:127 Given I use repository "install-dependencies" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download foo-1.0 foo-2.0 --resolve --together --setopt=skip_broken=True" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6s6l743v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6s6l743v/var/cache/dnf download foo-1.0 foo-2.0 --resolve --together --setopt=skip_broken=True And stderr contains "Failed to resolve the transaction" # None And stderr contains "conflicting requests" # None And file "/{context.dnf.tempdir}/foo-1.0-1.fc29.x86_64.rpm" does not exist # None And file "/{context.dnf.tempdir}/foo-2.0-1.fc29.x86_64.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6s6l743v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6s6l743v/var/cache/dnf download foo-1.0 foo-2.0 --resolve --together --setopt=skip_broken=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with resolve and together options into a --destdir when the package is in multiple repositories # dnf/download.feature:138 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora | When I execute dnf with args "download basesystem --resolve --together --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3kllj79d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3kllj79d/var/cache/dnf download basesystem --resolve --together --destdir=/tmp/dnf_ci_tempdir_g6g_rui8/downloaddir And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/basesystem-11-6.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/basesystem-11-6.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/filesystem-3.9-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3kllj79d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3kllj79d/var/cache/dnf download basesystem --resolve --together --destdir=/tmp/dnf_ci_tempdir_g6g_rui8/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download with together option requires resolve option # dnf/download.feature:153 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download abcde --together" # dnf/steps/cmd.py:110 Then stderr contains "Option \"--together\" should be used with \"--resolve\"" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: Option \"--together\" should be used with \"--resolve\" And the exit code is 2 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yuhkdc8x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yuhkdc8x/var/cache/dnf download abcde --together  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1463723 Scenario: Download an existing RPM in file:// mode # dnf/download.feature:162 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "download setup --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lqjfb1mo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lqjfb1mo/var/cache/dnf download setup --destdir=/tmp/dnf_ci_tempdir_2zwfdvlh/downloaddir And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lqjfb1mo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lqjfb1mo/var/cache/dnf download setup --destdir=/tmp/dnf_ci_tempdir_2zwfdvlh/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download an existing RPM in file:// mode with all dependencies into a --destdir # dnf/download.feature:171 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "download basesystem --resolve --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pts6jbp9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pts6jbp9/var/cache/dnf download basesystem --resolve --destdir=/tmp/dnf_ci_tempdir_gm2jp4yl/downloaddir And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/basesystem-11-6.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/basesystem-11-6.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/filesystem-3.9-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pts6jbp9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pts6jbp9/var/cache/dnf download basesystem --resolve --destdir=/tmp/dnf_ci_tempdir_gm2jp4yl/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1787908 Scenario: Download an existing RPM in file:// mode with all dependencies into a --destdir when it is in multiple repositories # dnf/download.feature:183 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora | When I execute dnf with args "download basesystem --resolve --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aze0s65i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aze0s65i/var/cache/dnf download basesystem --resolve --destdir=/tmp/dnf_ci_tempdir_o7z2bgqu/downloaddir And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/basesystem-11-6.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/basesystem-11-6.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/filesystem-3.9-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aze0s65i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aze0s65i/var/cache/dnf download basesystem --resolve --destdir=/tmp/dnf_ci_tempdir_o7z2bgqu/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1787908 Scenario: Download an existing RPM in two versions in file:// mode with all dependencies into a --destdir # dnf/download.feature:199 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "download glibc-2.28-9.fc29 glibc-0:2.28-26.fc29.x86_64 --resolve --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dnj9ey7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dnj9ey7w/var/cache/dnf download glibc-2.28-9.fc29 glibc-0:2.28-26.fc29.x86_64 --resolve --destdir=/tmp/dnf_ci_tempdir_b9l4oigw/downloaddir And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/basesystem-11-6.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/basesystem-11-6.fc29.noarch.rpm | | {context.dnf.tempdir}/downloaddir/glibc-2.28-26.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc-2.28-26.fc29.x86_64.rpm | | {context.dnf.tempdir}/downloaddir/glibc-2.28-9.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/glibc-2.28-9.fc29.x86_64.rpm | | {context.dnf.tempdir}/downloaddir/glibc-all-langpacks-2.28-26.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc-all-langpacks-2.28-26.fc29.x86_64.rpm | | {context.dnf.tempdir}/downloaddir/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm | | {context.dnf.tempdir}/downloaddir/glibc-common-2.28-26.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc-common-2.28-26.fc29.x86_64.rpm | | {context.dnf.tempdir}/downloaddir/glibc-common-2.28-9.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/glibc-common-2.28-9.fc29.x86_64.rpm | | {context.dnf.tempdir}/downloaddir/filesystem-3.9-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dnj9ey7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dnj9ey7w/var/cache/dnf download glibc-2.28-9.fc29 glibc-0:2.28-26.fc29.x86_64 --resolve --destdir=/tmp/dnf_ci_tempdir_b9l4oigw/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1800342 Scenario: Download RPM form repository of higher priority # dnf/download.feature:218 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 100 | When I execute dnf with args "download wget --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__56ro02d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__56ro02d/var/cache/dnf download wget --destdir=/tmp/dnf_ci_tempdir_7xqq4nd_/downloaddir And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/wget-1.19.5-5.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/wget-1.19.5-5.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__56ro02d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__56ro02d/var/cache/dnf download wget --destdir=/tmp/dnf_ci_tempdir_7xqq4nd_/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2077864 Scenario: skip downloading of already downloaded rpm file # dnf/download.feature:231 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 And I execute dnf with args "download labirinto --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 When I execute dnf with args "download labirinto --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u7d803w5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u7d803w5/var/cache/dnf download labirinto --destdir=/tmp/dnf_ci_tempdir_erbbo_ru/downloaddir And stderr contains "labirinto-0:1.0-1.fc29.src 100% \| 0.0 B/s \| 0.0 B \| 00m00s\n>>> Already downloaded" # None And stderr contains "labirinto-0:1.0-1.fc29.x86_64 100% \| 0.0 B/s \| 0.0 B \| 00m00s\n>>> Already downloaded" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u7d803w5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u7d803w5/var/cache/dnf download labirinto --destdir=/tmp/dnf_ci_tempdir_erbbo_ru/downloaddir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2077864 Scenario: re-download changed rpm file # dnf/download.feature:241 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 And I execute dnf with args "download labirinto --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 And I execute "echo blah > {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # common/cmd.py:30 ASSERT FAILED: Running command "echo blah > /tmp/dnf_ci_tempdir_0c0odu6_/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" failed: 1 When I execute dnf with args "download labirinto --destdir={context.dnf.tempdir}/downloaddir" # None Then I execute dnf with args "install {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # None And the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: echo blah > /tmp/dnf_ci_tempdir_0c0odu6_/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm  Last Command stderr: /bin/sh: line 1: /tmp/dnf_ci_tempdir_0c0odu6_/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm: No such file or directory  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2077864 Scenario: checksum cache is not used (rpm is re-downloaded) even when modified rpm has mtime and cache timestamp (sec format) in the same second # dnf/download.feature:252 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 And I execute dnf with args "download labirinto --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 And I execute "echo blah > {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # common/cmd.py:30 ASSERT FAILED: Running command "echo blah > /tmp/dnf_ci_tempdir_a591__v4/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" failed: 1 And I execute "setfattr -n user.Librepo.checksum.mtime -v 1000000000 {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # None And I execute "touch --date @1000000000.000011111 {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # None When I execute dnf with args "download labirinto --destdir={context.dnf.tempdir}/downloaddir" # None Then I execute dnf with args "install {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # None And the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: echo blah > /tmp/dnf_ci_tempdir_a591__v4/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm  Last Command stderr: /bin/sh: line 1: /tmp/dnf_ci_tempdir_a591__v4/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm: No such file or directory  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2077864 Scenario: checksum cache is not used (rpm is re-downloaded) even when modified rpm has mtime and cache timestamp (nsec format) in the same second # dnf/download.feature:265 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 And I execute dnf with args "download labirinto --destdir={context.dnf.tempdir}/downloaddir" # dnf/steps/cmd.py:110 And I execute "echo blah > {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # common/cmd.py:30 ASSERT FAILED: Running command "echo blah > /tmp/dnf_ci_tempdir_pxf41rlb/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" failed: 1 And I execute "setfattr -n user.Librepo.checksum.mtime -v 1000000000000000000 {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # None And I execute "touch --date @1000000000.000011111 {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # None When I execute dnf with args "download labirinto --destdir={context.dnf.tempdir}/downloaddir" # None Then I execute dnf with args "install {context.dnf.tempdir}/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm" # None And the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: echo blah > /tmp/dnf_ci_tempdir_pxf41rlb/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm  Last Command stderr: /bin/sh: line 1: /tmp/dnf_ci_tempdir_pxf41rlb/downloaddir/labirinto-1.0-1.fc29.x86_64.rpm: No such file or directory  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/download.feature:4 Download a single rpm dnf/download.feature:13 Download with resolve option when no package is installed dnf/download.feature:24 Download with resolve option when a dependency is installed dnf/download.feature:37 Download with resolve respects install_weak_deps=false dnf/download.feature:52 Download with resolve and alldeps options dnf/download.feature:63 Download with alldeps options dnf/download.feature:70 Download when package is available from multiple repositories dnf/download.feature:82 Download with resolve option resolves dependencies of each package separately dnf/download.feature:93 Download with resolve and together options respects explicitly requested versions of dependencies dnf/download.feature:104 Download with resolve, alldeps and together options dnf/download.feature:116 Download with resolve and together options fails when multiple versions of the same package are requested dnf/download.feature:127 Download with resolve and together options ignores skip_broken dnf/download.feature:138 Download with resolve and together options into a --destdir when the package is in multiple repositories dnf/download.feature:153 Download with together option requires resolve option dnf/download.feature:162 Download an existing RPM in file:// mode dnf/download.feature:171 Download an existing RPM in file:// mode with all dependencies into a --destdir dnf/download.feature:183 Download an existing RPM in file:// mode with all dependencies into a --destdir when it is in multiple repositories dnf/download.feature:199 Download an existing RPM in two versions in file:// mode with all dependencies into a --destdir dnf/download.feature:218 Download RPM form repository of higher priority dnf/download.feature:231 skip downloading of already downloaded rpm file dnf/download.feature:241 re-download changed rpm file dnf/download.feature:252 checksum cache is not used (rpm is re-downloaded) even when modified rpm has mtime and cache timestamp (sec format) in the same second dnf/download.feature:265 checksum cache is not used (rpm is re-downloaded) even when modified rpm has mtime and cache timestamp (nsec format) in the same second 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 23 failed, 0 skipped 63 steps passed, 23 failed, 72 skipped Took 0min 1.732s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 24 leaked semaphore objects to clean up at shutdown: {'/mp-ayxyafrn', '/mp-f_bbejp8', '/mp-qvopmzgj', '/mp-yqg1jy7c', '/mp-0b0zdux8', '/mp-85d11c96', '/mp-4u7a4af4', '/mp-gkxra8l_', '/mp-dnib95xb', '/mp-vot2kgk4', '/mp-40ydqymf', '/mp-w3c2ekk_', '/mp-1u7offl5', '/mp-asgoys7f', '/mp-fxeho_3a', '/mp-320_3yyj', '/mp-jgzss4wo', '/mp-diyexyse', '/mp-fqijvv3g', '/mp-mnlwuei1', '/mp-th30no7q', '/mp-u0uv5yap', '/mp-euh8rsr6', '/mp-gudiohs5'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Only download rpms with --downloadonly and store them in cache # dnf/downloadonly.feature:1 Scenario: Install/reinstall/upgrade work correctly with --downloadonly option # dnf/downloadonly.feature:3 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install --downloadonly wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9__r1iwa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9__r1iwa/var/cache/dnf install --downloadonly wget And RPMDB Transaction is empty # None When I execute dnf with args "install wget" # None Then the exit code is 0 # None And stderr contains "Need to download 0 B." # None And RPMDB Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | When I execute dnf with args "reinstall --downloadonly wget" # None Then the exit code is 0 # None And RPMDB Transaction is empty # None When I execute dnf with args "reinstall wget" # None Then stderr contains "Need to download 0 B." # None Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --downloadonly wget" # None Then the exit code is 0 # None And RPMDB Transaction is empty # None When I execute rpm with args "-q wget" # None Then stdout contains "wget-1.19.5-5.fc29.x86_64" # None When I execute dnf with args "upgrade wget" # None Then the exit code is 0 # None And stderr contains "Need to download 0 B." # None And RPMDB Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9__r1iwa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9__r1iwa/var/cache/dnf install --downloadonly wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade works correctly with --downloadonly option # dnf/downloadonly.feature:37 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rkzskpj4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rkzskpj4/var/cache/dnf install wget Given I use repository "dnf-ci-fedora" # None When I execute dnf with args "downgrade --downloadonly wget" # None Then the exit code is 0 # None And RPMDB Transaction is empty # None When I execute dnf with args "downgrade wget" # None Then the exit code is 0 # None And stderr contains "Need to download 0 B." # None And RPMDB Transaction is following # None | Action | Package | | downgrade | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rkzskpj4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rkzskpj4/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Group install works correctly with --downloadonly # dnf/downloadonly.feature:53 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install --downloadonly dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y58yg3fc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y58yg3fc/var/cache/dnf group install --downloadonly dnf-ci-testgroup And RPMDB Transaction is empty # None When I execute dnf with args "group install dnf-ci-testgroup" # None Then the exit code is 0 # None And stderr contains "Need to download 0 B." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y58yg3fc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y58yg3fc/var/cache/dnf group install --downloadonly dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/downloadonly.feature:3 Install/reinstall/upgrade work correctly with --downloadonly option dnf/downloadonly.feature:37 Downgrade works correctly with --downloadonly option dnf/downloadonly.feature:53 Group install works correctly with --downloadonly 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 7 steps passed, 3 failed, 32 skipped Took 0min 0.451s USING RUNNER: behave.runner:Runner Feature: Test encoding # dnf/encoding.feature:1 Scenario: UTF-8 characters in .repo filename # dnf/encoding.feature:4 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | reposdir | /testrepos | And I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | {context.scenario.repos_location}/dnf-ci-fedora | And I copy file "{context.dnf.installroot}/testrepos/testrepo.repo" to "testrepos/Å™.repo" # common/file.py:157 And I delete file "/testrepos/testrepo.repo" # common/file.py:58 When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hh2r1fpe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hh2r1fpe/var/cache/dnf repo list And stdout contains "testrepo\s+testrepo test repository" # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hh2r1fpe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hh2r1fpe/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1803038 Scenario: non-UTF-8 characters in .repo filename # dnf/encoding.feature:20 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | reposdir | /testrepos | And I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | {context.scenario.repos_location}/dnf-ci-fedora | And I copy file "{context.dnf.installroot}/testrepos/testrepo.repo" to "testrepos/{context.invalid_utf8_char}.repo" # common/file.py:157 And I delete file "/testrepos/testrepo.repo" # common/file.py:58 When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uw17zckl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uw17zckl/var/cache/dnf repo list And stdout contains "testrepo\s+testrepo test repository" # None And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uw17zckl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uw17zckl/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: non-UTF-8 character in pkgspec # dnf/encoding.feature:35 Given I use repository "miscellaneous" # dnf/steps/repo.py:186 When I execute dnf with args "install {context.invalid_utf8_char}ummy" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d340z_95 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d340z_95/var/cache/dnf install \udcfdummy And stdout is empty # None And stderr is # None """ Failed to resolve the transaction: No match for argument: {context.invalid_utf8_char}ummy You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d340z_95 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d340z_95/var/cache/dnf install \udcfdummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: non-UTF-8 character in baseurl # dnf/encoding.feature:50 Given I use repository "miscellaneous" # dnf/steps/repo.py:186 When I execute dnf with args "install dummy --repofrompath=testrepo,{context.invalid_utf8_char}" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uqn8kv94 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uqn8kv94/var/cache/dnf install dummy --repofrompath=testrepo,\udcfd And stdout is empty # None And stderr matches line by line # None """ Failed to download metadata Librepo error: Empty mirrorlist and no basepath specified! """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uqn8kv94 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uqn8kv94/var/cache/dnf install dummy --repofrompath=testrepo,\udcfd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: non-UTF-8 character in an option # dnf/encoding.feature:63 Given I use repository "miscellaneous" # dnf/steps/repo.py:186 When I execute dnf with args "install dummy --config={context.invalid_utf8_char}" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_plbo2dy3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_plbo2dy3/var/cache/dnf install dummy --config=\udcfd And stdout is empty # None And stderr is # None """ Configuration file "{context.invalid_utf8_char}" not found cannot open file: (2) - No such file or directory [{context.invalid_utf8_char}] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_plbo2dy3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_plbo2dy3/var/cache/dnf install dummy --config=\udcfd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: non-UTF-8 character in an option when using corresponding locale # dnf/encoding.feature:75 Given I use repository "miscellaneous" # dnf/steps/repo.py:186 And I create file "/{context.invalid_utf8_char}" with # common/file.py:36 And I set LC_ALL to "en_US.ISO-8859-1" # common/cmd.py:41 When I execute dnf with args "install dummy --config={context.dnf.installroot}/{context.invalid_utf8_char}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: LC_ALL=en_US.ISO-8859-1 dnf5 -y --installroot=/tmp/dnf_ci_installroot_t11xa_vc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t11xa_vc/var/cache/dnf install dummy --config=/tmp/dnf_ci_installroot_t11xa_vc/\udcfd And Transaction is following # None | Action | Package | | install | dummy-1:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: LC_ALL=en_US.ISO-8859-1 dnf5 -y --installroot=/tmp/dnf_ci_installroot_t11xa_vc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t11xa_vc/var/cache/dnf install dummy --config=/tmp/dnf_ci_installroot_t11xa_vc/\udcfd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__eq__9 @bz1893176 Scenario: non-UTF-8 character in filename in an installed package # dnf/encoding.feature:90 Given I use repository "miscellaneous" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install non_utf_filenames" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vqcb7coe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vqcb7coe/var/cache/dnf install non_utf_filenames When I execute dnf with args "repoquery --list --installed non_utf_filenames" # None Then the exit code is 0 # None When I execute dnf with args "remove non_utf_filenames" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | non_utf_filenames-0:1.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vqcb7coe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vqcb7coe/var/cache/dnf install non_utf_filenames  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/encoding.feature:4 UTF-8 characters in .repo filename dnf/encoding.feature:20 non-UTF-8 characters in .repo filename dnf/encoding.feature:35 non-UTF-8 character in pkgspec dnf/encoding.feature:50 non-UTF-8 character in baseurl dnf/encoding.feature:63 non-UTF-8 character in an option dnf/encoding.feature:75 non-UTF-8 character in an option when using corresponding locale dnf/encoding.feature:90 non-UTF-8 character in filename in an installed package 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 21 steps passed, 7 failed, 16 skipped Took 0min 0.303s USING RUNNER: behave.runner:Runner Feature: Test upgrading and downgrading to package with different epoch # dnf/epoch.feature:1 Scenario: Upgrade to RPM with same NVR but different epoch # dnf/epoch.feature:4 Given I use repository "epoch0" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rvv0gyvc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rvv0gyvc/var/cache/dnf install dummy And I use repository "epoch1" # None When I execute dnf with args "upgrade dummy" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | dummy-1:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rvv0gyvc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rvv0gyvc/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade to RPM with same NVR but different epoch from RPM with no epoch # dnf/epoch.feature:15 Given I use repository "epoch" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4w1u8gmf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4w1u8gmf/var/cache/dnf install dummy And I use repository "epoch1" # None When I execute dnf with args "upgrade dummy" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | dummy-1:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4w1u8gmf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4w1u8gmf/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade to RPM with same NVR but different epoch # dnf/epoch.feature:26 Given I use repository "epoch1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8tsob7kd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8tsob7kd/var/cache/dnf install dummy And I use repository "epoch0" # None When I execute dnf with args "downgrade dummy" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | dummy-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8tsob7kd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8tsob7kd/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1845069 Scenario: Downgrade to RPM with same NVR but no epoch # dnf/epoch.feature:38 Given I use repository "epoch1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dummy" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kke6eul3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kke6eul3/var/cache/dnf install dummy And I use repository "epoch" # None When I execute dnf with args "downgrade dummy" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | dummy-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kke6eul3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kke6eul3/var/cache/dnf install dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/epoch.feature:4 Upgrade to RPM with same NVR but different epoch dnf/epoch.feature:15 Upgrade to RPM with same NVR but different epoch from RPM with no epoch dnf/epoch.feature:26 Downgrade to RPM with same NVR but different epoch dnf/epoch.feature:38 Downgrade to RPM with same NVR but no epoch 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 4 steps passed, 4 failed, 16 skipped Took 0min 0.327s USING RUNNER: behave.runner:Runner Feature: Test error messages # dnf/error_messages.feature:1 @xfail @bz1888946 Scenario: Global option 'proxy_username' is set but not 'proxy_password' # dnf/error_messages.feature:8 @xfail @bz1888946 Scenario: Repository option 'proxy_username' is set but not 'proxy_password' # dnf/error_messages.feature:23 Scenario: Nested exception is printed when max parallel downloads are exceeded # dnf/error_messages.feature:33 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | max_parallel_downloads | 500 | When I execute dnf with args "up" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7dz0s1yg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7dz0s1yg/var/cache/dnf up And stderr contains "Librepo error: Bad value of LRO_MAXPARALLELDOWNLOADS." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7dz0s1yg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7dz0s1yg/var/cache/dnf up  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/error_messages.feature:33 Nested exception is printed when max parallel downloads are exceeded 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 2 skipped 3 steps passed, 1 failed, 12 skipped Took 0min 0.145s USING RUNNER: behave.runner:Runner Feature: Skip exclude_from_weak for weak deps and autodetected exclude_from_weak for unmet weak dependencies of installed packages # dnf/exclude_from_weak.feature:1 Scenario: Install step also installs weak deps # dnf/exclude_from_weak.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jmvphdf1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jmvphdf1/var/cache/dnf install abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade abcde" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jmvphdf1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jmvphdf1/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2005305 @bz1699672 Scenario: Install without weak dependencies, upgrades ignores unmet weak dependencies of installed packages # dnf/exclude_from_weak.feature:22 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde --setopt=exclude_from_weak=flac --setopt=exclude_from_weak_autodetect=True" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ku3k1b6f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ku3k1b6f/var/cache/dnf install abcde --setopt=exclude_from_weak=flac --setopt=exclude_from_weak_autodetect=True And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade abcde --setopt=exclude_from_weak_autodetect=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | When I execute dnf with args "install flac --setopt=exclude_from_weak_autodetect=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ku3k1b6f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ku3k1b6f/var/cache/dnf install abcde --setopt=exclude_from_weak=flac --setopt=exclude_from_weak_autodetect=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2005305 @bz1699672 Scenario: Install exclude_from_weak package # dnf/exclude_from_weak.feature:45 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde --setopt=exclude_from_weak=flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_79fj9mx4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_79fj9mx4/var/cache/dnf install abcde --setopt=exclude_from_weak=flac And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade abcde" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | When I execute dnf with args "install flac --setopt=exclude_from_weak=flac" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_79fj9mx4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_79fj9mx4/var/cache/dnf install abcde --setopt=exclude_from_weak=flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2005305 @bz1699672 Scenario: Obsoletes are not disabled by exclude_from_weak # dnf/exclude_from_weak.feature:67 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageB-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_he0xub_9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_he0xub_9/var/cache/dnf install PackageB-1.0-1 And Transaction is following # None | Action | Package | | install | PackageB-0:1.0-1.x86_64 | When I execute dnf with args "upgrade --setopt=exclude_from_weak=PackageB-Obsoleter" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageB-Obsoleter-0:1.0-1.x86_64 | | obsoleted | PackageB-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_he0xub_9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_he0xub_9/var/cache/dnf install PackageB-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1699672 @bz2005305 Scenario: Upgrade ignores unmet weak dependencies of installed packages even when specified as a new dependency (different version + rich dep) # dnf/exclude_from_weak.feature:84 Given I use repository "exclude-from-weak" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageA-1.0 --setopt=exclude_from_weak=recommended-pkg --setopt=exclude_from_weak_autodetect=True" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7_e5tsjz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7_e5tsjz/var/cache/dnf install PackageA-1.0 --setopt=exclude_from_weak=recommended-pkg --setopt=exclude_from_weak_autodetect=True And Transaction is following # None | Action | Package | | install | PackageA-1.0-1.x86_64 | When I execute dnf with args "upgrade PackageA --setopt=exclude_from_weak_autodetect=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | PackageA-2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7_e5tsjz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7_e5tsjz/var/cache/dnf install PackageA-1.0 --setopt=exclude_from_weak=recommended-pkg --setopt=exclude_from_weak_autodetect=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1699672 @bz2005305 Scenario: Upgrades won't install supplementing package when excluded from weak before # dnf/exclude_from_weak.feature:100 Given I use repository "exclude-from-weak" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageB-1.0 --setopt=exclude_from_weak=supplementing-pkg --setopt=exclude_from_weak_autodetect=True" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r4aiyea9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r4aiyea9/var/cache/dnf install PackageB-1.0 --setopt=exclude_from_weak=supplementing-pkg --setopt=exclude_from_weak_autodetect=True And Transaction is following # None | Action | Package | | install | PackageB-1.0-1.x86_64 | When I execute dnf with args "upgrade PackageB --setopt=exclude_from_weak_autodetect=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | PackageB-2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r4aiyea9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r4aiyea9/var/cache/dnf install PackageB-1.0 --setopt=exclude_from_weak=supplementing-pkg --setopt=exclude_from_weak_autodetect=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1699672 @bz2005305 Scenario: Upgrades installs supplementing package when new version is supplemented # dnf/exclude_from_weak.feature:116 Given I use repository "exclude-from-weak" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageD-1.0 --setopt=exclude_from_weak=supplementing-pkg-versioned --setopt=exclude_from_weak_autodetect=True" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ws72oeh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ws72oeh6/var/cache/dnf install PackageD-1.0 --setopt=exclude_from_weak=supplementing-pkg-versioned --setopt=exclude_from_weak_autodetect=True And Transaction is following # None | Action | Package | | install | PackageD-1.0-1.x86_64 | When I execute dnf with args "upgrade PackageD --setopt=exclude_from_weak_autodetect=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | PackageD-2.0-1.x86_64 | | install-weak | supplementing-pkg-versioned-2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ws72oeh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ws72oeh6/var/cache/dnf install PackageD-1.0 --setopt=exclude_from_weak=supplementing-pkg-versioned --setopt=exclude_from_weak_autodetect=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1699672 @bz2005305 Scenario: Upgrade ignores unmet recommends of installed package even when another package recommends it # dnf/exclude_from_weak.feature:133 Given I use repository "exclude-from-weak" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageA-1.0 --setopt=exclude_from_weak=recommended-pkg --setopt=exclude_from_weak_autodetect=True" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lykk5sux --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lykk5sux/var/cache/dnf install PackageA-1.0 --setopt=exclude_from_weak=recommended-pkg --setopt=exclude_from_weak_autodetect=True And Transaction is following # None | Action | Package | | install | PackageA-1.0-1.x86_64 | When I execute dnf with args "install PackageA PackageC --setopt=exclude_from_weak_autodetect=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | PackageA-2.0-1.x86_64 | | install | PackageC-2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lykk5sux --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lykk5sux/var/cache/dnf install PackageA-1.0 --setopt=exclude_from_weak=recommended-pkg --setopt=exclude_from_weak_autodetect=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2048394 @bz2033130 Scenario: Upgrade will not ignores unmet recommends of installed package when the rich dependency was satisfied # dnf/exclude_from_weak.feature:150 Given I use repository "exclude-from-weak" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageE-1.0 --setopt=exclude_from_weak_autodetect=True" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e1my0i_w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e1my0i_w/var/cache/dnf install PackageE-1.0 --setopt=exclude_from_weak_autodetect=True And Transaction is following # None | Action | Package | | install | PackageE-1.0-1.x86_64 | When I execute dnf with args "install PackageB --setopt=exclude_from_weak_autodetect=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageB-2.0-1.x86_64 | | install-weak | supplementing-pkg-1.0-1.x86_64 | When I execute dnf with args "upgrade PackageE --setopt=exclude_from_weak_autodetect=True" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | PackageE-2.0-1.x86_64 | | install-weak | recommended-pkg-2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e1my0i_w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e1my0i_w/var/cache/dnf install PackageE-1.0 --setopt=exclude_from_weak_autodetect=True  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/exclude_from_weak.feature:4 Install step also installs weak deps dnf/exclude_from_weak.feature:22 Install without weak dependencies, upgrades ignores unmet weak dependencies of installed packages dnf/exclude_from_weak.feature:45 Install exclude_from_weak package dnf/exclude_from_weak.feature:67 Obsoletes are not disabled by exclude_from_weak dnf/exclude_from_weak.feature:84 Upgrade ignores unmet weak dependencies of installed packages even when specified as a new dependency (different version + rich dep) dnf/exclude_from_weak.feature:100 Upgrades won't install supplementing package when excluded from weak before dnf/exclude_from_weak.feature:116 Upgrades installs supplementing package when new version is supplemented dnf/exclude_from_weak.feature:133 Upgrade ignores unmet recommends of installed package even when another package recommends it dnf/exclude_from_weak.feature:150 Upgrade will not ignores unmet recommends of installed package when the rich dependency was satisfied 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 18 steps passed, 9 failed, 48 skipped Took 0min 0.563s USING RUNNER: behave.runner:Runner Feature: Test config options includepkgs and excludepkgs with option disable_excludes # dnf/excludes-includes-disabled.feature:1 Scenario Outline: Install an RPM that is NOT in includepkgs in main, with option disable_excludes equal to main -- @1.1 # dnf/excludes-includes-disabled.feature:14 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=includepkgs=setup --setopt=disable_excludes=main" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_coa5_4fe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_coa5_4fe/var/cache/dnf install flac --setopt=includepkgs=setup --setopt=disable_excludes=main And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_coa5_4fe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_coa5_4fe/var/cache/dnf install flac --setopt=includepkgs=setup --setopt=disable_excludes=main  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install an RPM that is NOT in includepkgs in main, with option disable_excludes equal to * -- @1.2 # dnf/excludes-includes-disabled.feature:15 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=includepkgs=setup --setopt=disable_excludes=*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l_7emmw9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l_7emmw9/var/cache/dnf install flac --setopt=includepkgs=setup --setopt=disable_excludes=* And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l_7emmw9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l_7emmw9/var/cache/dnf install flac --setopt=includepkgs=setup --setopt=disable_excludes=*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install an RPM that is NOT in includepkgs in repo, with option disable_excludes equal to dnf-ci-fedora -- @1.3 # dnf/excludes-includes-disabled.feature:16 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=dnf-ci-fedora" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ulbaz7wg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ulbaz7wg/var/cache/dnf install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=dnf-ci-fedora And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ulbaz7wg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ulbaz7wg/var/cache/dnf install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=dnf-ci-fedora  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install an RPM that is NOT in includepkgs in repo, with option disable_excludes equal to * -- @1.4 # dnf/excludes-includes-disabled.feature:17 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vp76zhgf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vp76zhgf/var/cache/dnf install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=* And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vp76zhgf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vp76zhgf/var/cache/dnf install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install an RPM that is in excludepkgs in main, with option disable_excludes equal to main -- @1.1 # dnf/excludes-includes-disabled.feature:30 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=excludepkgs=flac --setopt=disable_excludes=main" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zgyqs69w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zgyqs69w/var/cache/dnf install flac --setopt=excludepkgs=flac --setopt=disable_excludes=main And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zgyqs69w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zgyqs69w/var/cache/dnf install flac --setopt=excludepkgs=flac --setopt=disable_excludes=main  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install an RPM that is in excludepkgs in main, with option disable_excludes equal to * -- @1.2 # dnf/excludes-includes-disabled.feature:31 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=excludepkgs=flac --setopt=disable_excludes=*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c60k8r5p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c60k8r5p/var/cache/dnf install flac --setopt=excludepkgs=flac --setopt=disable_excludes=* And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c60k8r5p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c60k8r5p/var/cache/dnf install flac --setopt=excludepkgs=flac --setopt=disable_excludes=*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install an RPM that is in excludepkgs in repo, with option disable_excludes equal to dnf-ci-fedora -- @1.3 # dnf/excludes-includes-disabled.feature:32 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=dnf-ci-fedora" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5rcsn1pd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5rcsn1pd/var/cache/dnf install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=dnf-ci-fedora And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5rcsn1pd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5rcsn1pd/var/cache/dnf install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=dnf-ci-fedora  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install an RPM that is in excludepkgs in repo, with option disable_excludes equal to * -- @1.4 # dnf/excludes-includes-disabled.feature:33 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0j0b7qu5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0j0b7qu5/var/cache/dnf install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=* And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0j0b7qu5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0j0b7qu5/var/cache/dnf install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install an RPM that is NOT in includepkgs in main conf, with option disable_excludes equal to # dnf/excludes-includes-disabled.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=includepkgs=setup --setopt=disable_excludes=dnf-ci-fedora" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xpjfzivc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xpjfzivc/var/cache/dnf install flac --setopt=includepkgs=setup --setopt=disable_excludes=dnf-ci-fedora And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xpjfzivc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xpjfzivc/var/cache/dnf install flac --setopt=includepkgs=setup --setopt=disable_excludes=dnf-ci-fedora  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install an RPM that is in excludepkgs in main conf, with option disable_excludes equal to # dnf/excludes-includes-disabled.feature:43 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=excludepkgs=flac --setopt=disable_excludes=dnf-ci-fedora" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0tnhpueg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0tnhpueg/var/cache/dnf install flac --setopt=excludepkgs=flac --setopt=disable_excludes=dnf-ci-fedora And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0tnhpueg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0tnhpueg/var/cache/dnf install flac --setopt=excludepkgs=flac --setopt=disable_excludes=dnf-ci-fedora  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install an RPM that is NOT in includepkgs in repo conf, with option disable_excludes equal to main # dnf/excludes-includes-disabled.feature:50 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=main" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hpuokzt5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hpuokzt5/var/cache/dnf install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=main And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hpuokzt5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hpuokzt5/var/cache/dnf install flac --setopt=dnf-ci-fedora.includepkgs=setup --setopt=disable_excludes=main  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install an RPM that is in excludepkgs in repo conf, with option disable_excludes equal to main # dnf/excludes-includes-disabled.feature:57 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=main" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kz6tq4gm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kz6tq4gm/var/cache/dnf install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=main And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kz6tq4gm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kz6tq4gm/var/cache/dnf install flac --setopt=dnf-ci-fedora.excludepkgs=flac --setopt=disable_excludes=main  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/excludes-includes-disabled.feature:14 Install an RPM that is NOT in includepkgs in main, with option disable_excludes equal to main -- @1.1 dnf/excludes-includes-disabled.feature:15 Install an RPM that is NOT in includepkgs in main, with option disable_excludes equal to * -- @1.2 dnf/excludes-includes-disabled.feature:16 Install an RPM that is NOT in includepkgs in repo, with option disable_excludes equal to dnf-ci-fedora -- @1.3 dnf/excludes-includes-disabled.feature:17 Install an RPM that is NOT in includepkgs in repo, with option disable_excludes equal to * -- @1.4 dnf/excludes-includes-disabled.feature:30 Install an RPM that is in excludepkgs in main, with option disable_excludes equal to main -- @1.1 dnf/excludes-includes-disabled.feature:31 Install an RPM that is in excludepkgs in main, with option disable_excludes equal to * -- @1.2 dnf/excludes-includes-disabled.feature:32 Install an RPM that is in excludepkgs in repo, with option disable_excludes equal to dnf-ci-fedora -- @1.3 dnf/excludes-includes-disabled.feature:33 Install an RPM that is in excludepkgs in repo, with option disable_excludes equal to * -- @1.4 dnf/excludes-includes-disabled.feature:36 Fail to install an RPM that is NOT in includepkgs in main conf, with option disable_excludes equal to dnf/excludes-includes-disabled.feature:43 Fail to install an RPM that is in excludepkgs in main conf, with option disable_excludes equal to dnf/excludes-includes-disabled.feature:50 Fail to install an RPM that is NOT in includepkgs in repo conf, with option disable_excludes equal to main dnf/excludes-includes-disabled.feature:57 Fail to install an RPM that is in excludepkgs in repo conf, with option disable_excludes equal to main 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 12 failed, 0 skipped 24 steps passed, 12 failed, 12 skipped Took 0min 0.512s USING RUNNER: behave.runner:Runner Feature: Test config options includepkgs and excludepkgs # dnf/excludes-includes.feature:1 Scenario: Install RPMs that are in includepkgs in main conf # dnf/excludes-includes.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=includepkgs=flac-libs,setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_claq0ma1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_claq0ma1/var/cache/dnf install flac* --setopt=includepkgs=flac-libs,setup And Transaction is following # None | Action | Package | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_claq0ma1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_claq0ma1/var/cache/dnf install flac* --setopt=includepkgs=flac-libs,setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs that are in includepkgs in repo conf # dnf/excludes-includes.feature:13 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=dnf-ci-fedora.includepkgs=flac-libs,setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pheozuzc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pheozuzc/var/cache/dnf install flac* --setopt=dnf-ci-fedora.includepkgs=flac-libs,setup And Transaction is following # None | Action | Package | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pheozuzc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pheozuzc/var/cache/dnf install flac* --setopt=dnf-ci-fedora.includepkgs=flac-libs,setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install RPMs when some RPM is NOT in includepkgs in main conf # dnf/excludes-includes.feature:22 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac flac-libs --setopt=includepkgs=flac-libs,setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_73wxagex --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_73wxagex/var/cache/dnf install flac flac-libs --setopt=includepkgs=flac-libs,setup And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_73wxagex --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_73wxagex/var/cache/dnf install flac flac-libs --setopt=includepkgs=flac-libs,setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install RPMs when some RPM is NOT in includepkgs in repo conf # dnf/excludes-includes.feature:29 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac flac-libs --setopt=dnf-ci-fedora.includepkgs=flac-libs,setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pa5ysofy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pa5ysofy/var/cache/dnf install flac flac-libs --setopt=dnf-ci-fedora.includepkgs=flac-libs,setup And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pa5ysofy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pa5ysofy/var/cache/dnf install flac flac-libs --setopt=dnf-ci-fedora.includepkgs=flac-libs,setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs that are NOT in excludepkgs in main conf # dnf/excludes-includes.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=excludepkgs=flac,glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b8cyfwep --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b8cyfwep/var/cache/dnf install flac* --setopt=excludepkgs=flac,glibc And Transaction is following # None | Action | Package | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b8cyfwep --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b8cyfwep/var/cache/dnf install flac* --setopt=excludepkgs=flac,glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs that has the same binary as excluded package name # dnf/excludes-includes.feature:45 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac-libs --setopt=excludepkgs=flac-libs-binary" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0e46bfwd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0e46bfwd/var/cache/dnf install flac-libs --setopt=excludepkgs=flac-libs-binary And Transaction is following # None | Action | Package | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0e46bfwd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0e46bfwd/var/cache/dnf install flac-libs --setopt=excludepkgs=flac-libs-binary  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs that are NOT in excludepkgs in repo conf # dnf/excludes-includes.feature:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=dnf-ci-fedora.excludepkgs=flac,glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3p02lg4w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3p02lg4w/var/cache/dnf install flac* --setopt=dnf-ci-fedora.excludepkgs=flac,glibc And Transaction is following # None | Action | Package | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3p02lg4w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3p02lg4w/var/cache/dnf install flac* --setopt=dnf-ci-fedora.excludepkgs=flac,glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install RPMs when some RPM is in excludepkgs in main conf # dnf/excludes-includes.feature:62 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac flac-libs --setopt=excludepkgs=flac,flac-libs,glibc" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vsq7rq4q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vsq7rq4q/var/cache/dnf install flac flac-libs --setopt=excludepkgs=flac,flac-libs,glibc And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vsq7rq4q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vsq7rq4q/var/cache/dnf install flac flac-libs --setopt=excludepkgs=flac,flac-libs,glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install RPMs when some RPM is in excludepkgs in repo conf # dnf/excludes-includes.feature:69 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac flac-libs --setopt=dnf-ci-fedora.excludepkgs=flac,flac-libs,glibc" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t_0ktqo_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t_0ktqo_/var/cache/dnf install flac flac-libs --setopt=dnf-ci-fedora.excludepkgs=flac,flac-libs,glibc And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t_0ktqo_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t_0ktqo_/var/cache/dnf install flac flac-libs --setopt=dnf-ci-fedora.excludepkgs=flac,flac-libs,glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs that are in includepkgs and NOT in excludepkgs in main conf # dnf/excludes-includes.feature:76 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1hxgkp62 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1hxgkp62/var/cache/dnf install flac* --setopt=includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc And Transaction is following # None | Action | Package | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1hxgkp62 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1hxgkp62/var/cache/dnf install flac* --setopt=includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs that are in includepkgs and NOT in excludepkgs in repo conf # dnf/excludes-includes.feature:85 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=dnf-ci-fedora.includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q3w45u0j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q3w45u0j/var/cache/dnf install flac* --setopt=dnf-ci-fedora.includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc And Transaction is following # None | Action | Package | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q3w45u0j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q3w45u0j/var/cache/dnf install flac* --setopt=dnf-ci-fedora.includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install RPMs when there is a non-existent RPM in includedpkgs in main conf # dnf/excludes-includes.feature:94 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=includepkgs=non-existent-pkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z7kcjq8e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z7kcjq8e/var/cache/dnf install flac* --setopt=includepkgs=non-existent-pkg And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z7kcjq8e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z7kcjq8e/var/cache/dnf install flac* --setopt=includepkgs=non-existent-pkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to install RPMs when there is a non-existent RPM in includedpkgs in repo conf # dnf/excludes-includes.feature:101 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=dnf-ci-fedora.includepkgs=non-existent-pkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m79erj59 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m79erj59/var/cache/dnf install flac* --setopt=dnf-ci-fedora.includepkgs=non-existent-pkg And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m79erj59 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m79erj59/var/cache/dnf install flac* --setopt=dnf-ci-fedora.includepkgs=non-existent-pkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs when there is a non-existent RPM in excludepkgs in main conf # dnf/excludes-includes.feature:108 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=excludepkgs=non-existent-pkg" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fz68zp4s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fz68zp4s/var/cache/dnf install flac* --setopt=excludepkgs=non-existent-pkg And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fz68zp4s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fz68zp4s/var/cache/dnf install flac* --setopt=excludepkgs=non-existent-pkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs when there is a non-existent RPM in excludepkgs in repo conf # dnf/excludes-includes.feature:118 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=dnf-ci-fedora.excludepkgs=non-existent-pkg" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u5do_h0y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u5do_h0y/var/cache/dnf install flac* --setopt=dnf-ci-fedora.excludepkgs=non-existent-pkg And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u5do_h0y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u5do_h0y/var/cache/dnf install flac* --setopt=dnf-ci-fedora.excludepkgs=non-existent-pkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs that are in includepkgs in main conf and NOT in excludepkgs in repo conf # dnf/excludes-includes.feature:128 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac* --setopt=includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m649zr_h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m649zr_h/var/cache/dnf install flac* --setopt=includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc And Transaction is following # None | Action | Package | | install | flac-libs-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m649zr_h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m649zr_h/var/cache/dnf install flac* --setopt=includepkgs=flac,flac-libs,setup --setopt=excludepkgs=flac,glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2275530 Scenario: Install local RPM when repository includepkgs are restricted # dnf/excludes-includes.feature:138 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/http-parser-2.4.0-1.fc29.x86_64.rpm --setopt=dnf-ci-fedora.includepkgs=pkg*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sim0uhp0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sim0uhp0/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/x86_64/http-parser-2.4.0-1.fc29.x86_64.rpm --setopt=dnf-ci-fedora.includepkgs=pkg* And Transaction is following # None | Action | Package | | install | http-parser-0:2.4.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sim0uhp0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sim0uhp0/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/x86_64/http-parser-2.4.0-1.fc29.x86_64.rpm --setopt=dnf-ci-fedora.includepkgs=pkg*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/excludes-includes.feature:4 Install RPMs that are in includepkgs in main conf dnf/excludes-includes.feature:13 Install RPMs that are in includepkgs in repo conf dnf/excludes-includes.feature:22 Fail to install RPMs when some RPM is NOT in includepkgs in main conf dnf/excludes-includes.feature:29 Fail to install RPMs when some RPM is NOT in includepkgs in repo conf dnf/excludes-includes.feature:36 Install RPMs that are NOT in excludepkgs in main conf dnf/excludes-includes.feature:45 Install RPMs that has the same binary as excluded package name dnf/excludes-includes.feature:53 Install RPMs that are NOT in excludepkgs in repo conf dnf/excludes-includes.feature:62 Fail to install RPMs when some RPM is in excludepkgs in main conf dnf/excludes-includes.feature:69 Fail to install RPMs when some RPM is in excludepkgs in repo conf dnf/excludes-includes.feature:76 Install RPMs that are in includepkgs and NOT in excludepkgs in main conf dnf/excludes-includes.feature:85 Install RPMs that are in includepkgs and NOT in excludepkgs in repo conf dnf/excludes-includes.feature:94 Fail to install RPMs when there is a non-existent RPM in includedpkgs in main conf dnf/excludes-includes.feature:101 Fail to install RPMs when there is a non-existent RPM in includedpkgs in repo conf dnf/excludes-includes.feature:108 Install RPMs when there is a non-existent RPM in excludepkgs in main conf dnf/excludes-includes.feature:118 Install RPMs when there is a non-existent RPM in excludepkgs in repo conf dnf/excludes-includes.feature:128 Install RPMs that are in includepkgs in main conf and NOT in excludepkgs in repo conf dnf/excludes-includes.feature:138 Install local RPM when repository includepkgs are restricted 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 17 failed, 0 skipped 34 steps passed, 17 failed, 17 skipped Took 0min 0.677s USING RUNNER: behave.runner:Runner @xfail Feature: Tests for the correct creation and usage of the modulefailsafe file # dnf/fail-safe-cache.feature:3 @xfail Feature: Tests for the correct creation and usage of the modulefailsafe file # dnf/fail-safe-cache.feature:3 @bz1616167 @bz1623128 Scenario: Fail-safe modulemd copy is created for every enabled stream and nothing else # dnf/fail-safe-cache.feature:41 @bz1616167 @bz1623128 Scenario: Fail-safe modulemd copy is created ONLY for the stream of the highest available version and correctly updated # dnf/fail-safe-cache.feature:64 @bz1616167 @bz1623128 Scenario: Fail-safe modulemd copy is NOT updated when there is no change # dnf/fail-safe-cache.feature:120 @bz1616167 @bz1623128 Scenario Outline: Fail-safe modulemd copy is NOT deleted after 'dnf clean all' or modular repository disablement/removal -- @1.1 # dnf/fail-safe-cache.feature:178 @bz1616167 @bz1623128 Scenario Outline: Fail-safe modulemd copy is NOT deleted after 'dnf clean all' or modular repository disablement/removal -- @1.2 # dnf/fail-safe-cache.feature:179 @bz1616167 @bz1623128 Scenario Outline: Fail-safe modulemd copy is NOT deleted after 'dnf clean all' or modular repository disablement/removal -- @1.3 # dnf/fail-safe-cache.feature:180 @bz1616167 @bz1623128 Scenario Outline: Fail-safe modulemd copy is deleted after module disable/reset -- @1.1 # dnf/fail-safe-cache.feature:216 @bz1616167 @bz1623128 Scenario Outline: Fail-safe modulemd copy is deleted after module disable/reset -- @1.2 # dnf/fail-safe-cache.feature:217 @bz1847035 Scenario: Fail-safe modulemd copy is deleted after module disable all modules # dnf/fail-safe-cache.feature:221 @bz1616167 @bz1623128 Scenario: Fail-safe modulemd copy is created during transaction (module enable, install upgrade) # dnf/fail-safe-cache.feature:245 @bz1616167 @bz1623128 Scenario: When modular RPM is installed and the modular repo is disabled and fail-safe modulemd copy is deleted, the RPM can be upgraded to a non-modular RPM # dnf/fail-safe-cache.feature:285 @bz1616167 @bz1623128 Scenario: When modular RPM is installed and the modular repo is disabled and '/var/cache/dnf' and '/var/cache/yum' are deleted, the RPM can't be upgraded to a non-modular RPM # dnf/fail-safe-cache.feature:303 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 12 skipped 0 steps passed, 0 failed, 216 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Fail-safe # dnf/fail-safe.feature:3 @xfail Feature: Fail-safe # dnf/fail-safe.feature:3 @bz1616167 @bz1623128 Scenario: When modulemd is available, 'module list' does NOT show fail-safe modules # dnf/fail-safe.feature:59 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, 'module list' shows fail-safe modules -- @1.1 # dnf/fail-safe.feature:124 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, 'module list' shows fail-safe modules -- @1.2 # dnf/fail-safe.feature:125 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, 'module list' shows fail-safe modules -- @1.3 # dnf/fail-safe.feature:126 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, 'module info' can show details for fail-safe modules -- @1.1 # dnf/fail-safe.feature:141 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, 'module info' can show details for fail-safe modules -- @1.2 # dnf/fail-safe.feature:142 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, 'module info' can show details for fail-safe modules -- @1.3 # dnf/fail-safe.feature:143 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from enabled stream cannot be installed -- @1.1 # dnf/fail-safe.feature:157 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from enabled stream cannot be installed -- @1.2 # dnf/fail-safe.feature:158 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from enabled stream cannot be installed -- @1.3 # dnf/fail-safe.feature:159 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from non-enabled stream cannot be installed -- @1.1 # dnf/fail-safe.feature:173 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from non-enabled stream cannot be installed -- @1.2 # dnf/fail-safe.feature:174 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from non-enabled stream cannot be installed -- @1.3 # dnf/fail-safe.feature:175 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from enabled stream can be removed -- @1.1 # dnf/fail-safe.feature:202 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from enabled stream can be removed -- @1.2 # dnf/fail-safe.feature:203 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, module profile from enabled stream can be removed -- @1.3 # dnf/fail-safe.feature:204 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, repoquery doesn't show RPMs with the same name as in the enabled stream (non-modular or from different streams or modules), only from hotfix repos -- @1.1 # dnf/fail-safe.feature:226 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, repoquery doesn't show RPMs with the same name as in the enabled stream (non-modular or from different streams or modules), only from hotfix repos -- @1.2 # dnf/fail-safe.feature:227 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, repoquery doesn't show RPMs with the same name as in the enabled stream (non-modular or from different streams or modules), only from hotfix repos -- @1.3 # dnf/fail-safe.feature:228 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can't be upgraded to non-modular RPM nor an RPM from different stream or module -- @1.1 # dnf/fail-safe.feature:252 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can't be upgraded to non-modular RPM nor an RPM from different stream or module -- @1.2 # dnf/fail-safe.feature:253 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can't be upgraded to non-modular RPM nor an RPM from different stream or module -- @1.3 # dnf/fail-safe.feature:254 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to modular RPM from hotfix repository -- @1.1 # dnf/fail-safe.feature:279 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to modular RPM from hotfix repository -- @1.2 # dnf/fail-safe.feature:280 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to modular RPM from hotfix repository -- @1.3 # dnf/fail-safe.feature:281 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to non-modular RPM from hotfix repository -- @1.1 # dnf/fail-safe.feature:306 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to non-modular RPM from hotfix repository -- @1.2 # dnf/fail-safe.feature:307 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to non-modular RPM from hotfix repository -- @1.3 # dnf/fail-safe.feature:308 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to RPM from commandline -- @1.1 # dnf/fail-safe.feature:332 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to RPM from commandline -- @1.2 # dnf/fail-safe.feature:333 @bz1616167 @bz1623128 Scenario Outline: When modular RPM is installed and modulemd is not available, the RPM can be upgraded to RPM from commandline -- @1.3 # dnf/fail-safe.feature:334 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can't be upgraded to an RPM from different stream or module -- @1.1 # dnf/fail-safe.feature:358 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can't be upgraded to an RPM from different stream or module -- @1.2 # dnf/fail-safe.feature:359 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can't be upgraded to an RPM from different stream or module -- @1.3 # dnf/fail-safe.feature:360 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can be upgraded to an RPM from hotfix repository -- @1.1 # dnf/fail-safe.feature:385 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can be upgraded to an RPM from hotfix repository -- @1.2 # dnf/fail-safe.feature:386 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can be upgraded to an RPM from hotfix repository -- @1.3 # dnf/fail-safe.feature:387 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can be upgraded to an RPM from commandline -- @1.1 # dnf/fail-safe.feature:411 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can be upgraded to an RPM from commandline -- @1.2 # dnf/fail-safe.feature:412 @bz1616167 @bz1623128 Scenario Outline: When non-modular RPM is installed and modulemd is not available, the RPM can be upgraded to an RPM from commandline -- @1.3 # dnf/fail-safe.feature:413 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, non-modular RPMs can be installed and upgraded if their name differs from packages in enabled stream -- @1.1 # dnf/fail-safe.feature:438 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, non-modular RPMs can be installed and upgraded if their name differs from packages in enabled stream -- @1.2 # dnf/fail-safe.feature:439 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, non-modular RPMs can be installed and upgraded if their name differs from packages in enabled stream -- @1.3 # dnf/fail-safe.feature:440 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, the enabled module can be disabled -- @1.1 # dnf/fail-safe.feature:459 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, the enabled module can be disabled -- @1.2 # dnf/fail-safe.feature:460 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, the enabled module can be disabled -- @1.3 # dnf/fail-safe.feature:461 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, the enabled module can be reset -- @1.1 # dnf/fail-safe.feature:480 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, the enabled module can be reset -- @1.2 # dnf/fail-safe.feature:481 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, the enabled module can be reset -- @1.3 # dnf/fail-safe.feature:482 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, RPM from the enabled stream can be installed -- @1.1 # dnf/fail-safe.feature:514 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, RPM from the enabled stream can be installed -- @1.2 # dnf/fail-safe.feature:515 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, RPM from the enabled stream can be installed -- @1.3 # dnf/fail-safe.feature:516 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, RPM from the enabled stream can be removed -- @1.1 # dnf/fail-safe.feature:540 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, RPM from the enabled stream can be removed -- @1.2 # dnf/fail-safe.feature:541 @bz1616167 @bz1623128 Scenario Outline: When modulemd is not available, RPM from the enabled stream can be removed -- @1.3 # dnf/fail-safe.feature:542 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 55 skipped 0 steps passed, 0 failed, 992 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Test behavior of failovermethod repo config option # dnf/failovermethod.feature:1 @bz2039906 Scenario: No error in stderr when failovermethod=priority is present in repo config # dnf/failovermethod.feature:4 Given I configure a new repository "failovermethod" with # dnf/steps/repo.py:271 | key | value | | failovermethod | priority | When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uanu5c0v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uanu5c0v/var/cache/dnf repo list And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uanu5c0v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uanu5c0v/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/failovermethod.feature:4 No error in stderr when failovermethod=priority is present in repo config 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 1 skipped Took 0min 0.036s USING RUNNER: behave.runner:Runner Feature: Adding file provides tests # dnf/fileprovides.feature:1 Scenario: Run repoclosure with already created cache without filelists # dnf/fileprovides.feature:3 Given I use repository "fileprovides" # dnf/steps/repo.py:186 And I successfully execute dnf with args "repoquery --whatprovides htop" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5bp4z_za --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5bp4z_za/var/cache/dnf repoquery --whatprovides htop When I execute dnf with args "repoclosure" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5bp4z_za --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5bp4z_za/var/cache/dnf repoquery --whatprovides htop  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/fileprovides.feature:3 Run repoclosure with already created cache without filelists 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 1 step passed, 1 failed, 4 skipped Took 0min 0.099s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Testing gpg signed packages by keys without any EOL characters at EOF # dnf/gpg-noeol.feature:2 @dnf5daemon Feature: Testing gpg signed packages by keys without any EOL characters at EOF # dnf/gpg-noeol.feature:2 @bz1733971 Scenario: Import the GPG key without any EOL characters at EOF # dnf/gpg-noeol.feature:28 Given I use repository "dnf-ci-gpg-noeol" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-noeol/dnf-ci-gpg-noeol-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o5krt4u4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o5krt4u4/var/cache/dnf repolist And stdout contains "dnf-ci-gpg-noeol\s+dnf-ci-gpg-noeol" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute rpm with args "--import {context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-noeol/dnf-ci-gpg-noeol-public" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o5krt4u4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o5krt4u4/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install signed package from repository # dnf/gpg-noeol.feature:33 Given I use repository "dnf-ci-gpg-noeol" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-noeol/dnf-ci-gpg-noeol-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w5m3958a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w5m3958a/var/cache/dnf repolist And stdout contains "dnf-ci-gpg-noeol\s+dnf-ci-gpg-noeol" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install abcde" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w5m3958a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w5m3958a/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/gpg-noeol.feature:28 Import the GPG key without any EOL characters at EOF dnf/gpg-noeol.feature:33 Install signed package from repository 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 13 skipped Took 0min 0.133s USING RUNNER: behave.runner:Runner Feature: Testing gpgcheck # dnf/gpg.feature:1 Feature: Testing gpgcheck # dnf/gpg.feature:1 @dnf5daemon Scenario Outline: Install masterkey signed package and check GPG key was imported -- @1.1 # dnf/gpg.feature:51 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wqufngh9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wqufngh9/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install setup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | When I execute rpm with args "-q gpg-pubkey --qf 'gpg(%{{packager}})\n'" # None Then the exit code is 0 # None And stdout contains "gpg\(dnf-ci-gpg\)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wqufngh9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wqufngh9/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario Outline: Install --offline masterkey signed package and check GPG key was imported -- @1.2 # dnf/gpg.feature:52 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_09i8e_b7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_09i8e_b7/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install --offline setup" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | When I execute rpm with args "-q gpg-pubkey --qf 'gpg(%{{packager}})\n'" # None Then the exit code is 0 # None And stdout contains "gpg\(dnf-ci-gpg\)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_09i8e_b7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_09i8e_b7/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario Outline: Install subkey signed package with masterkey signed dependency -- @1.1 # dnf/gpg.feature:70 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sed_ql53 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sed_ql53/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute rpm with args "-q gpg-pubkey --qf 'gpg(%{{packager}})\n'" # None Then the exit code is 0 # None And stdout contains "gpg\(dnf-ci-gpg\)" # None And stdout contains "gpg\(dnf-ci-gpg-subkey\)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sed_ql53 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sed_ql53/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario Outline: Install --offline subkey signed package with masterkey signed dependency -- @1.2 # dnf/gpg.feature:71 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w1vlm5mj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w1vlm5mj/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install --offline filesystem" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute rpm with args "-q gpg-pubkey --qf 'gpg(%{{packager}})\n'" # None Then the exit code is 0 # None And stdout contains "gpg\(dnf-ci-gpg\)" # None And stdout contains "gpg\(dnf-ci-gpg-subkey\)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w1vlm5mj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w1vlm5mj/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Fail to install signed package with incorrectly signed dependency (with key from different repository) -- @1.1 # dnf/gpg.feature:95 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fn67gufe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fn67gufe/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install glibc" # None Then the exit code is 1 # None And DNF Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And RPMDB Transaction is empty # None And stderr contains lines matching # None """ Transaction failed: Signature verification failed\. OpenPGP check for package "basesystem-11-6\.fc29\.noarch" \(.*/basesystem-11-6\.fc29\.noarch\.rpm\) from repo "dnf-ci-gpg" has failed: Public key is not installed\. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fn67gufe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fn67gufe/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Fail to --offline install signed package with incorrectly signed dependency (with key from different repository) -- @1.2 # dnf/gpg.feature:96 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_utfqypsd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_utfqypsd/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install --offline glibc" # None Then the exit code is 1 # None And DNF Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And RPMDB Transaction is empty # None And stderr contains lines matching # None """ Transaction failed: Signature verification failed\. OpenPGP check for package "basesystem-11-6\.fc29\.noarch" \(.*/basesystem-11-6\.fc29\.noarch\.rpm\) from repo "dnf-ci-gpg" has failed: Public key is not installed\. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_utfqypsd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_utfqypsd/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Fail to install signed package with incorrect checksum -- @1.1 # dnf/gpg.feature:115 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_59a4ehp9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_59a4ehp9/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install broken-package" # None Then the exit code is 1 # None And DNF Transaction is following # None | Action | Package | | install | broken-package-0:0.2.4-1.fc29.noarch | And RPMDB Transaction is empty # None And stderr contains lines matching # None """ Transaction failed: Signature verification failed\. OpenPGP check for package "broken-package-0\.2\.4-1\.fc29\.noarch" \(.*/broken-package-0\.2\.4-1\.fc29\.noarch\.rpm\) from repo "dnf-ci-gpg" has failed: Problem occurred when opening the package\. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_59a4ehp9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_59a4ehp9/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Fail to --offline install signed package with incorrect checksum -- @1.2 # dnf/gpg.feature:116 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vy93hj2b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vy93hj2b/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install --offline broken-package" # None Then the exit code is 1 # None And DNF Transaction is following # None | Action | Package | | install | broken-package-0:0.2.4-1.fc29.noarch | And RPMDB Transaction is empty # None And stderr contains lines matching # None """ Transaction failed: Signature verification failed\. OpenPGP check for package "broken-package-0\.2\.4-1\.fc29\.noarch" \(.*/broken-package-0\.2\.4-1\.fc29\.noarch\.rpm\) from repo "dnf-ci-gpg" has failed: Problem occurred when opening the package\. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vy93hj2b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vy93hj2b/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario Outline: Install masterkey signed, unsigned and masterkey signed with unknown key packages from repo with gpgcheck=0 in repofile -- @1.1 # dnf/gpg.feature:137 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6n7hayvy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6n7hayvy/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ Given I configure repository "dnf-ci-gpg" with # None | key | value | | gpgcheck | 0 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public | When I execute dnf with args "install setup" # None Then the exit code is 0 # None When I execute dnf with args "install flac" # None Then the exit code is 0 # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6n7hayvy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6n7hayvy/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario Outline: Install --offline masterkey signed, unsigned and masterkey signed with unknown key packages from repo with gpgcheck=0 in repofile -- @1.2 # dnf/gpg.feature:138 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rhtyepch --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rhtyepch/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ Given I configure repository "dnf-ci-gpg" with # None | key | value | | gpgcheck | 0 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public | When I execute dnf with args "install --offline setup" # None Then the exit code is 0 # None When I execute dnf with args "install --offline flac" # None Then the exit code is 0 # None When I execute dnf with args "install --offline basesystem" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rhtyepch --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rhtyepch/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Attempt to install unsigned package from repo with gpgcheck=1 -- @1.1 # dnf/gpg.feature:153 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8p_5konl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8p_5konl/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install flac" # None Then the exit code is 1 # None And stderr contains lines matching # None """ Transaction failed: Signature verification failed\. OpenPGP check for package "flac-1\.3\.2-8\.fc29\.x86_64" \(.*/flac-1\.3\.2-8\.fc29\.x86_64\.rpm\) from repo "dnf-ci-gpg" has failed: The package is not signed\. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8p_5konl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8p_5konl/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Attempt to --offline install unsigned package from repo with gpgcheck=1 -- @1.2 # dnf/gpg.feature:154 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7zy0ixgc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7zy0ixgc/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install --offline flac" # None Then the exit code is 1 # None And stderr contains lines matching # None """ Transaction failed: Signature verification failed\. OpenPGP check for package "flac-1\.3\.2-8\.fc29\.x86_64" \(.*/flac-1\.3\.2-8\.fc29\.x86_64\.rpm\) from repo "dnf-ci-gpg" has failed: The package is not signed\. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7zy0ixgc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7zy0ixgc/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install unsigned package from repository without gpgcheck set using option --no-gpgchecks -- @1.1 # dnf/gpg.feature:166 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g_1pr02x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g_1pr02x/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install flac --no-gpgchecks" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g_1pr02x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g_1pr02x/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install --offline unsigned package from repository without gpgcheck set using option --no-gpgchecks -- @1.2 # dnf/gpg.feature:167 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__0ahr3i0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__0ahr3i0/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ When I execute dnf with args "install --offline flac --no-gpgchecks" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__0ahr3i0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__0ahr3i0/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1314405 Scenario Outline: Fail to install package with incorrect checksum with --no-gpgchecks -- @1.1 # dnf/gpg.feature:186 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pm2fc3d6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pm2fc3d6/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ Given I configure repository "dnf-ci-gpg" with # None | key | value | | gpgcheck | | | gpgkey | | When I execute dnf with args "install broken-package --no-gpgchecks" # None Then the exit code is 1 # None And DNF Transaction is following # None | Action | Package | | install | broken-package-0:0.2.4-1.fc29.noarch | And RPMDB Transaction is empty # None And stderr contains "Transaction failed: Rpm transaction failed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pm2fc3d6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pm2fc3d6/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1314405 Scenario Outline: Fail to --offline install package with incorrect checksum with --no-gpgchecks -- @1.2 # dnf/gpg.feature:187 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kutry5ec --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kutry5ec/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ Given I configure repository "dnf-ci-gpg" with # None | key | value | | gpgcheck | | | gpgkey | | When I execute dnf with args "install --offline broken-package --no-gpgchecks" # None Then the exit code is 1 # None And DNF Transaction is following # None | Action | Package | | install | broken-package-0:0.2.4-1.fc29.noarch | And RPMDB Transaction is empty # None And stderr contains "Transaction failed: Rpm transaction failed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kutry5ec --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kutry5ec/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1915990 @bz1932079 @bz1932089 @bz1932090 Scenario Outline: Refuse to install a package with broken gpg signature -- @1.1 # dnf/gpg.feature:208 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n7q0ztxm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n7q0ztxm/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ Given I drop repository "dnf-ci-gpg" # None And I use repository "dnf-ci-broken-rpm-signature" generated with exit code "2" # None And I configure repository "dnf-ci-broken-rpm-signature" with # None | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "install setup" # None Then the exit code is 1 # None Then file "/usr/share/doc/setup/README" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n7q0ztxm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n7q0ztxm/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1915990 @bz1932079 @bz1932089 @bz1932090 Scenario Outline: Refuse to --offline install a package with broken gpg signature -- @1.2 # dnf/gpg.feature:209 Given I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g5vvmrg5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g5vvmrg5/var/cache/dnf repolist And stdout contains "dnf-ci-gpg\s+dnf-ci-gpg" # None When I execute rpm with args "-q gpg-pubkey" # None Then the exit code is 0 # None And stdout matches line by line # None """ gpg-pubkey-* """ Given I drop repository "dnf-ci-gpg" # None And I use repository "dnf-ci-broken-rpm-signature" generated with exit code "2" # None And I configure repository "dnf-ci-broken-rpm-signature" with # None | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public,file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public | When I execute dnf with args "install --offline setup" # None Then the exit code is 1 # None Then file "/usr/share/doc/setup/README" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g5vvmrg5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g5vvmrg5/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @1941959 Scenario: Expire repo when failed to install package with incorrect checksum # dnf/gpg.feature:215 Failing scenarios: dnf/gpg.feature:51 Install masterkey signed package and check GPG key was imported -- @1.1 dnf/gpg.feature:52 Install --offline masterkey signed package and check GPG key was imported -- @1.2 dnf/gpg.feature:70 Install subkey signed package with masterkey signed dependency -- @1.1 dnf/gpg.feature:71 Install --offline subkey signed package with masterkey signed dependency -- @1.2 dnf/gpg.feature:95 Fail to install signed package with incorrectly signed dependency (with key from different repository) -- @1.1 dnf/gpg.feature:96 Fail to --offline install signed package with incorrectly signed dependency (with key from different repository) -- @1.2 dnf/gpg.feature:115 Fail to install signed package with incorrect checksum -- @1.1 dnf/gpg.feature:116 Fail to --offline install signed package with incorrect checksum -- @1.2 dnf/gpg.feature:137 Install masterkey signed, unsigned and masterkey signed with unknown key packages from repo with gpgcheck=0 in repofile -- @1.1 dnf/gpg.feature:138 Install --offline masterkey signed, unsigned and masterkey signed with unknown key packages from repo with gpgcheck=0 in repofile -- @1.2 dnf/gpg.feature:153 Attempt to install unsigned package from repo with gpgcheck=1 -- @1.1 dnf/gpg.feature:154 Attempt to --offline install unsigned package from repo with gpgcheck=1 -- @1.2 dnf/gpg.feature:166 Install unsigned package from repository without gpgcheck set using option --no-gpgchecks -- @1.1 dnf/gpg.feature:167 Install --offline unsigned package from repository without gpgcheck set using option --no-gpgchecks -- @1.2 dnf/gpg.feature:186 Fail to install package with incorrect checksum with --no-gpgchecks -- @1.1 dnf/gpg.feature:187 Fail to --offline install package with incorrect checksum with --no-gpgchecks -- @1.2 dnf/gpg.feature:208 Refuse to install a package with broken gpg signature -- @1.1 dnf/gpg.feature:209 Refuse to --offline install a package with broken gpg signature -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 18 failed, 1 skipped 36 steps passed, 18 failed, 184 skipped Took 0min 0.699s USING RUNNER: behave.runner:Runner Feature: Testing gpgcheck_policy option # dnf/gpgcheck-policy.feature:1 Scenario: Default (legacy) policy - gpgcheck=1 does not enforce repo_gpgcheck # dnf/gpgcheck-policy.feature:15 Given I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/default-key/default-key-public | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wj4hrh2l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wj4hrh2l/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wj4hrh2l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wj4hrh2l/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Full policy with gpgcheck=1 and signed metadata succeeds # dnf/gpgcheck-policy.feature:28 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | gpgcheck_policy | full | And I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/default-key/default-key-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_32mkv5if/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_32mkv5if/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_32mkv5if/gpg_home/trustdb.gpg: trustdb created gpg: key C5A6BAE8619751E9: public key "default-key" imported gpg: key C5A6BAE8619751E9: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_32mkv5if/gpg_home' And I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/default-key/default-key-public | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_32mkv5if --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_32mkv5if/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_32mkv5if --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_32mkv5if/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Full policy with gpgcheck=1 and unsigned metadata fails # dnf/gpgcheck-policy.feature:45 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | gpgcheck_policy | full | And I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/default-key/default-key-public | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2gi8_9z8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2gi8_9z8/var/cache/dnf install labirinto And stderr contains "GPG verification is enabled, but GPG signature is not available" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2gi8_9z8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2gi8_9z8/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Explicit repo_gpgcheck=0 overrides full policy # dnf/gpgcheck-policy.feature:59 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | gpgcheck_policy | full | And I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | repo_gpgcheck | 0 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/default-key/default-key-public | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_isdf7ovt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_isdf7ovt/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_isdf7ovt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_isdf7ovt/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Explicit pkg_gpgcheck=0 overrides gpgcheck=1 and allows unsigned packages # dnf/gpgcheck-policy.feature:76 Given I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | pkg_gpgcheck | 0 | When I execute dnf with args "install sarcina" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y220se75 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y220se75/var/cache/dnf install sarcina And Transaction is following # None | Action | Package | | install | sarcina-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y220se75 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y220se75/var/cache/dnf install sarcina  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: gpgcheck=0 disables checks regardless of policy # dnf/gpgcheck-policy.feature:89 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | gpgcheck_policy | full | And I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 0 | When I execute dnf with args "install sarcina" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dx82b66h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dx82b66h/var/cache/dnf install sarcina And Transaction is following # None | Action | Package | | install | sarcina-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dx82b66h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dx82b66h/var/cache/dnf install sarcina  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: gpgcheck=1 with legacy policy rejects unsigned packages # dnf/gpgcheck-policy.feature:104 Given I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | When I execute dnf with args "install sarcina" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_408_5hmo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_408_5hmo/var/cache/dnf install sarcina And stderr contains "The package is not signed" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_408_5hmo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_408_5hmo/var/cache/dnf install sarcina  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/gpgcheck-policy.feature:15 Default (legacy) policy - gpgcheck=1 does not enforce repo_gpgcheck dnf/gpgcheck-policy.feature:28 Full policy with gpgcheck=1 and signed metadata succeeds dnf/gpgcheck-policy.feature:45 Full policy with gpgcheck=1 and unsigned metadata fails dnf/gpgcheck-policy.feature:59 Explicit repo_gpgcheck=0 overrides full policy dnf/gpgcheck-policy.feature:76 Explicit pkg_gpgcheck=0 overrides gpgcheck=1 and allows unsigned packages dnf/gpgcheck-policy.feature:89 gpgcheck=0 disables checks regardless of policy dnf/gpgcheck-policy.feature:104 gpgcheck=1 with legacy policy rejects unsigned packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 20 steps passed, 7 failed, 7 skipped Took 0min 0.415s USING RUNNER: behave.runner:Runner Feature: Testing group marking via group install/remove --no-packages # dnf/group-mark.feature:1 Scenario: Mark group as installed (using group install --no-packages) # dnf/group-mark.feature:9 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group list dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s5nnf1g_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s5nnf1g_/var/cache/dnf group list dnf-ci-testgroup And stdout contains "dnf-ci-testgroup.*no" # None When I execute dnf with args "group install --no-packages dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | absent | setup-0:2.12.1-1.fc29.noarch | | absent | filesystem-0:3.9-2.fc29.x86_64 | | absent | lame-0:3.100-4.fc29.x86_64 | | absent | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group list dnf-ci-testgroup" # None Then the exit code is 0 # None And stdout contains "dnf-ci-testgroup.*yes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s5nnf1g_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s5nnf1g_/var/cache/dnf group list dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Unmark group as installed (using group remove --no-packages) # dnf/group-mark.feature:29 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "group install --no-packages dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6lp_1os3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6lp_1os3/var/cache/dnf group install --no-packages dnf-ci-testgroup And Transaction is following # None | Action | Package | | absent | setup-0:2.12.1-1.fc29.noarch | | absent | filesystem-0:3.9-2.fc29.x86_64 | | absent | lame-0:3.100-4.fc29.x86_64 | | absent | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | When I execute dnf with args "group list dnf-ci-testgroup" # None Then the exit code is 0 # None And stdout contains "dnf-ci-testgroup.*yes" # None When I execute dnf with args "group remove --no-packages dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | absent | setup-0:2.12.1-1.fc29.noarch | | absent | filesystem-0:3.9-2.fc29.x86_64 | | absent | lame-0:3.100-4.fc29.x86_64 | | absent | lame-libs-0:3.100-4.fc29.x86_64 | | group-remove | DNF-CI-Testgroup | When I execute dnf with args "group list dnf-ci-testgroup" # None Then the exit code is 0 # None And stdout contains "dnf-ci-testgroup.*no" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6lp_1os3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6lp_1os3/var/cache/dnf group install --no-packages dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/group-mark.feature:9 Mark group as installed (using group install --no-packages) dnf/group-mark.feature:29 Unmark group as installed (using group remove --no-packages) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 6 steps passed, 2 failed, 17 skipped Took 0min 0.286s USING RUNNER: behave.runner:Runner Feature: Help command # dnf/help.feature:1 Scenario: General help # dnf/help.feature:4 When I execute dnf with args "--help" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_azmk0coz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_azmk0coz/var/cache/dnf --help And stdout contains "Software Management Commands" # None When I execute dnf with args "--unknown-option" # None Then the exit code is 2 # None And stdout is empty # None And stderr is # None """ Unknown argument "--unknown-option" for command "dnf5". Add "--help" for more information about the arguments. """ When I execute dnf with args "help" # None Then the exit code is 2 # None And stdout is empty # None And stderr is # None """ Unknown argument "help" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(help)' """ When I execute dnf with args "unknown-command" # None Then the exit code is 2 # None And stdout is empty # None And stderr is # None """ Unknown argument "unknown-command" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(unknown-command)' """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_azmk0coz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_azmk0coz/var/cache/dnf --help  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Command help # dnf/help.feature:33 When I execute dnf with args "install --help" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tuy9ovh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tuy9ovh6/var/cache/dnf install --help And stdout contains "dnf5 \[GLOBAL OPTIONS\] install \[OPTIONS\] \[ARGUMENTS\]" # None When I execute dnf with args "install --unknown-option" # None Then the exit code is 2 # None And stderr is # None """ Unknown argument "--unknown-option" for command "install". Add "--help" for more information about the arguments. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tuy9ovh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tuy9ovh6/var/cache/dnf install --help  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/help.feature:4 General help dnf/help.feature:33 Command help 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 2 steps passed, 2 failed, 17 skipped Took 0min 0.072s USING RUNNER: behave.runner:Runner Feature: Handling of errors on the history database # dnf/history-error.feature:1 Feature: Handling of errors on the history database # dnf/history-error.feature:1 @bz1634385 @no_installroot Scenario: history database not present under a regular user, who has write permission # dnf/history-error.feature:33 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute "chmod o+rwx {context.dnf.tempdir}" # common/cmd.py:35 When I execute dnf with args "--setopt=system_state_dir={context.dnf.tempdir} history list" as an unprivileged user # dnf/steps/cmd.py:118 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --setopt=system_state_dir=/tmp/dnf_ci_tempdir_ytqoiov4 history list" And stderr is empty # None And stdout is empty # None And file "{context.dnf.tempdir}/transaction_history.sqlite" exists # None ---- CAPTURED STDOUT: scenario  Last Command: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --setopt=system_state_dir=/tmp/dnf_ci_tempdir_ytqoiov4 history list"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-error.feature:33 history database not present under a regular user, who has write permission 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 3 steps passed, 1 failed, 30 skipped Took 0min 0.341s USING RUNNER: behave.runner:Runner Feature: Handling of errors on the history database # dnf/history-error.feature:1 Feature: Handling of errors on the history database # dnf/history-error.feature:1 @bz1634385 @no_installroot Scenario: history database not present under a regular user # dnf/history-error.feature:44 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "--setopt=system_state_dir={context.dnf.tempdir} history list" as an unprivileged user # dnf/steps/cmd.py:118 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --setopt=system_state_dir=/tmp/dnf_ci_tempdir_gf61copx history list" And stderr is # None """ Failed to open database "{context.dnf.tempdir}/transaction_history.sqlite": (14) - unable to open database file """ ---- CAPTURED STDOUT: scenario  Last Command: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --setopt=system_state_dir=/tmp/dnf_ci_tempdir_gf61copx history list"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-error.feature:44 history database not present under a regular user 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 2 steps passed, 1 failed, 31 skipped Took 0min 0.335s USING RUNNER: behave.runner:Runner Feature: Handling of errors on the history database # dnf/history-error.feature:1 Feature: Handling of errors on the history database # dnf/history-error.feature:1 @bz1761976 @no_installroot Scenario: read permission error on the history database # dnf/history-error.feature:55 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "--setopt=system_state_dir={context.dnf.tempdir} install abcde" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --setopt=system_state_dir=/tmp/dnf_ci_tempdir_vehi2k_0 install abcde And I successfully execute "chmod o-r {context.dnf.tempdir}/transaction_history.sqlite" # None When I execute dnf with args "--setopt=system_state_dir={context.dnf.tempdir} history list" as an unprivileged user # None Then the exit code is 1 # None And stderr is # None """ Failed to open database "{context.dnf.tempdir}/transaction_history.sqlite": (14) - unable to open database file """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --setopt=system_state_dir=/tmp/dnf_ci_tempdir_vehi2k_0 install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-error.feature:55 read permission error on the history database 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 1 step passed, 1 failed, 32 skipped Took 0min 0.317s USING RUNNER: behave.runner:Runner Feature: Handling of errors on the history database # dnf/history-error.feature:1 Feature: Handling of errors on the history database # dnf/history-error.feature:1 @bz1761976 @no_installroot Scenario: read permission error on the history database directory # dnf/history-error.feature:68 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "--setopt=system_state_dir={context.dnf.tempdir} install abcde" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --setopt=system_state_dir=/tmp/dnf_ci_tempdir_lyocn5c5 install abcde And I successfully execute "chmod o-x {context.dnf.tempdir}" # None When I execute dnf with args "--setopt=system_state_dir={context.dnf.tempdir} history list" as an unprivileged user # None Then the exit code is 1 # None And stderr is # None """ Failed to open database "{context.dnf.tempdir}/transaction_history.sqlite": (14) - unable to open database file """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --setopt=system_state_dir=/tmp/dnf_ci_tempdir_lyocn5c5 install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-error.feature:68 read permission error on the history database directory 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 1 step passed, 1 failed, 32 skipped Took 0min 0.312s USING RUNNER: behave.runner:Runner Feature: Handling of errors on the history database # dnf/history-error.feature:1 Feature: Handling of errors on the history database # dnf/history-error.feature:1 Scenario: history list on a broken history database # dnf/history-error.feature:7 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I create file "/usr/lib/sysimage/libdnf5/transaction_history.sqlite" with # common/file.py:36 """ GARBAGE """ When I execute dnf with args "history list" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2jt_og0u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2jt_og0u/var/cache/dnf history list And stderr is # None """ SQL statement execution failed: "PRAGMA locking_mode = NORMAL; PRAGMA journal_mode = WAL; PRAGMA foreign_keys = ON;": (26) - file is not a database """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2jt_og0u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2jt_og0u/var/cache/dnf history list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: install with a broken history database # dnf/history-error.feature:20 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/transaction_history.sqlite" with # common/file.py:36 """ GARBAGE """ When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_au84158t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_au84158t/var/cache/dnf install filesystem And stderr contains "SQL statement execution failed: "PRAGMA locking_mode = NORMAL; PRAGMA journal_mode = WAL; PRAGMA foreign_keys = ON;": \(26\) - file is not a database" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_au84158t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_au84158t/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-error.feature:7 history list on a broken history database dnf/history-error.feature:20 install with a broken history database 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 4 skipped 7 steps passed, 2 failed, 25 skipped Took 0min 0.177s USING RUNNER: behave.runner:Runner Feature: History info command # dnf/history-info.feature:1 Feature: History info command # dnf/history-info.feature:1 @bz1773679 Scenario: history info shows comment to transaction # dnf/history-info.feature:10 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde --comment this_is_a_comment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fcmy6sa7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fcmy6sa7/var/cache/dnf install abcde --comment this_is_a_comment When I execute dnf with args "history info" # None Then the exit code is 0 # None Then stdout contains "Comment : this_is_a_comment" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fcmy6sa7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fcmy6sa7/var/cache/dnf install abcde --comment this_is_a_comment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1845800 Scenario: history info for installing a group # dnf/history-info.feature:17 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde --comment this_is_a_comment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_djctwxe2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_djctwxe2/var/cache/dnf install abcde --comment this_is_a_comment Given I use repository "dnf-ci-thirdparty" # None When I execute dnf with args "group install dnf-ci-testgroup" # None Then the exit code is 0 # None And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | filesystem-0:3.9-2.fc29.x86_64 | Group | dnf-ci-fedora | | Install | lame-0:3.100-4.fc29.x86_64 | Group | dnf-ci-fedora | | Install | setup-0:2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | | Install | lame-libs-0:3.100-4.fc29.x86_64 | Dependency | dnf-ci-fedora | | Install | dnf-ci-testgroup | User | dnf-ci-thirdparty | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_djctwxe2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_djctwxe2/var/cache/dnf install abcde --comment this_is_a_comment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1845800 Scenario: history info for installing a group when there are upgrades # dnf/history-info.feature:31 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde --comment this_is_a_comment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vz25c0l0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vz25c0l0/var/cache/dnf install abcde --comment this_is_a_comment Given I successfully execute dnf with args "install lame" # None And I use repository "dnf-ci-thirdparty" # None And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "group install dnf-ci-testgroup" # None Then the exit code is 0 # None And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | filesystem-0:3.9-2.fc29.x86_64 | Group | dnf-ci-fedora | | Install | setup-0:2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | | Upgrade | lame-0:3.100-5.fc29.x86_64 | User | dnf-ci-fedora-updates | | Upgrade | lame-libs-0:3.100-5.fc29.x86_64 | Dependency | dnf-ci-fedora-updates | | Replaced | lame-0:3.100-4.fc29.x86_64 | User | @System | | Replaced | lame-libs-0:3.100-4.fc29.x86_64 | Dependency | @System | | Install | dnf-ci-testgroup | User | dnf-ci-thirdparty | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vz25c0l0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vz25c0l0/var/cache/dnf install abcde --comment this_is_a_comment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history info for installing an environment # dnf/history-info.feature:48 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde --comment this_is_a_comment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c78eiyib --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c78eiyib/var/cache/dnf install abcde --comment this_is_a_comment Given I use repository "comps-group" # None And I successfully execute dnf with args "install @no-name-env" # None Then dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | test-package-0:1.0-1.fc29.noarch | Group | comps-group | | Install | test-group | Dependency | comps-group | | Install | no-name-env | User | comps-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c78eiyib --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c78eiyib/var/cache/dnf install abcde --comment this_is_a_comment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-info.feature:10 history info shows comment to transaction dnf/history-info.feature:17 history info for installing a group dnf/history-info.feature:31 history info for installing a group when there are upgrades dnf/history-info.feature:48 history info for installing an environment 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 4 steps passed, 4 failed, 16 skipped Took 0min 0.246s USING RUNNER: behave.runner:Runner Feature: history list # dnf/history-list.feature:1 Feature: history list # dnf/history-list.feature:1 Scenario: history list # dnf/history-list.feature:11 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xr97zbz9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xr97zbz9/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 3 | | I | 5 | | 2 | | E | 3 | | 1 | | I | 6 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xr97zbz9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xr97zbz9/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history without sub-command # dnf/history-list.feature:21 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fsgkmuw0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fsgkmuw0/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history" # None Then the exit code is 2 # None And stdout is empty # None And stderr is # None """ Missing command. Add "--help" for more information about the arguments. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fsgkmuw0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fsgkmuw0/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list 2 # dnf/history-list.feature:32 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8w9etzp3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8w9etzp3/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 2" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 2 | | E | 3 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8w9etzp3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8w9etzp3/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list with mulitple args # dnf/history-list.feature:40 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c3xo6qmp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c3xo6qmp/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 1 2 3" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 3 | | I | 5 | | 2 | | E | 3 | | 1 | | I | 6 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c3xo6qmp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c3xo6qmp/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list last # dnf/history-list.feature:50 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zy4mei6n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zy4mei6n/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list last" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 3 | | I | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zy4mei6n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zy4mei6n/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history last without subcommand # dnf/history-list.feature:58 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w3iojbk3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w3iojbk3/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history last" # None Then the exit code is 2 # None And stdout is empty # None And stderr is # None """ Unknown argument "last" for command "history". Add "--help" for more information about the arguments. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w3iojbk3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w3iojbk3/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list last-1 # dnf/history-list.feature:68 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sxdbq2ct --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sxdbq2ct/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list last-1" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 2 | | E | 3 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sxdbq2ct --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sxdbq2ct/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list 1..last-1 # dnf/history-list.feature:77 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4_v6qnsg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4_v6qnsg/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 1..last-1" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 2 | | E | 3 | | 1 | | I | 6 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4_v6qnsg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4_v6qnsg/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list 1..last-2 # dnf/history-list.feature:86 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_62qgz179 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_62qgz179/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 1..last-2" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 1 | | I | 6 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_62qgz179 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_62qgz179/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: history list 1..-1 # dnf/history-list.feature:96 @xfail Scenario: history list 1..-2 # dnf/history-list.feature:107 Scenario: history list 2..3 # dnf/history-list.feature:115 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kjujc97o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kjujc97o/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 2..3" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 3 | | I | 5 | | 2 | | E | 3 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kjujc97o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kjujc97o/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list 10..11 # dnf/history-list.feature:124 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_scllsvyo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_scllsvyo/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 10..11" # None Then the exit code is 0 # None And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_scllsvyo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_scllsvyo/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list last..11 # dnf/history-list.feature:130 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gs5sa1me --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gs5sa1me/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list last..11" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 3 | | I | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gs5sa1me --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gs5sa1me/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list 3..2 # dnf/history-list.feature:139 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8k5jf4ve --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8k5jf4ve/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 3..2" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 3 | | I | 5 | | 2 | | E | 3 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8k5jf4ve --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8k5jf4ve/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list last-1..1 # dnf/history-list.feature:148 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l_xx50au --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l_xx50au/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list last-1..1" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 2 | | E | 3 | | 1 | | I | 6 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l_xx50au --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l_xx50au/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list 11..last-1 # dnf/history-list.feature:157 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hdij7tr_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hdij7tr_/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 11..last-1" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 3 | | I | 5 | | 2 | | E | 3 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hdij7tr_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hdij7tr_/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list last-1..aaa # dnf/history-list.feature:166 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f3em793r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f3em793r/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list last-1..aaa" # None Then the exit code is 1 # None And stdout is empty # None And stderr is # None """ Invalid transaction ID range "last-1..aaa", "ID" or "ID..ID" expected, where ID is "NUMBER", "last" or "last-NUMBER". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f3em793r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f3em793r/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history list 12a..bc # dnf/history-list.feature:176 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c9smcxty --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c9smcxty/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 12a..bc" # None Then the exit code is 1 # None And stdout is empty # None And stderr is # None """ Invalid transaction ID range "12a..bc", "ID" or "ID..ID" expected, where ID is "NUMBER", "last" or "last-NUMBER". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c9smcxty --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c9smcxty/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history abcde # dnf/history-list.feature:187 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k6xkp6m0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k6xkp6m0/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list --contains-pkgs=abcde" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 2 | | E | 3 | | 1 | | I | 6 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k6xkp6m0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k6xkp6m0/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history filesystem # dnf/history-list.feature:196 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zjqal94l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zjqal94l/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list --contains-pkgs=filesystem" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 1 | | I | 6 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zjqal94l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zjqal94l/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history lame (no transaction with such package) # dnf/history-list.feature:204 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_28dypec8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_28dypec8/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list --contains-pkgs=lame" # None Then the exit code is 0 # None And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_28dypec8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_28dypec8/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1786335 @bz1786316 @bz1852577 @bz1906970 Scenario: history table width doesn't exceed 80 characters when there is no terminal # dnf/history-list.feature:215 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oosfd08b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oosfd08b/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list | head -1" # None Then the exit code is 0 # None And stdout matches line by line # None """ ID Command line {1,28}Date and time Action\(s\) Altered """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oosfd08b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oosfd08b/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1846692 Scenario: history list --reverse # dnf/history-list.feature:225 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mbupzfgf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mbupzfgf/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list --reverse" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 1 | | I | 6 | | 2 | | E | 3 | | 3 | | I | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mbupzfgf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mbupzfgf/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1846692 Scenario: history 2..3 --reverse # dnf/history-list.feature:236 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_os3y53r8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_os3y53r8/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None When I execute dnf with args "history list 2..3 --reverse" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 2 | | E | 3 | | 3 | | I | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_os3y53r8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_os3y53r8/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall in a transaction - the replaced (O) action is omitted # dnf/history-list.feature:245 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nj7ekjbf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nj7ekjbf/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None Given I successfully execute dnf with args "install abcde" # None Given I successfully execute dnf with args "reinstall abcde" # None When I execute dnf with args "history list last" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 5 | | R | 2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nj7ekjbf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nj7ekjbf/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade in a transaction - the replaced (O) action is omitted # dnf/history-list.feature:255 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4u1rdpa7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4u1rdpa7/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None Given I successfully execute dnf with args "install abcde" # None Given I use repository "dnf-ci-fedora-updates" # None Given I successfully execute dnf with args "upgrade abcde" # None When I execute dnf with args "history list last" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 5 | | U | 2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4u1rdpa7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4u1rdpa7/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade in a transaction - the replaced (O) action is omitted # dnf/history-list.feature:266 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dxad42hx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dxad42hx/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None Given I use repository "dnf-ci-fedora-updates" # None Given I successfully execute dnf with args "install abcde" # None Given I successfully execute dnf with args "downgrade abcde" # None When I execute dnf with args "history list last" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 5 | | D | 2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dxad42hx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dxad42hx/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Obsolete in a transaction - the replaced (O) action is present # dnf/history-list.feature:277 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ugkmi7xy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ugkmi7xy/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None Given I use repository "dnf-ci-obsoletes" # None Given I successfully execute dnf with args "install PackageB-1.0" # None Given I successfully execute dnf with args "upgrade" # None Then Transaction is following # None | Action | Package | | install | PackageB-Obsoleter-0:1.0-1.x86_64 | | obsoleted | PackageB-0:1.0-1.x86_64 | When I execute dnf with args "history list last" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 5 | | I, O | 2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ugkmi7xy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ugkmi7xy/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reason change in a transaction # dnf/history-list.feature:292 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g43p5oyg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g43p5oyg/var/cache/dnf install abcde basesystem And I successfully execute dnf with args "remove abcde" # None And I successfully execute dnf with args "install nodejs" # None Given I successfully execute dnf with args "mark dependency nodejs" # None When I execute dnf with args "history list last" # None Then the exit code is 0 # None And stdout is history list # None | Id | Command | Action | Altered | | 4 | | C | 1 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g43p5oyg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g43p5oyg/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-list.feature:11 history list dnf/history-list.feature:21 history without sub-command dnf/history-list.feature:32 history list 2 dnf/history-list.feature:40 history list with mulitple args dnf/history-list.feature:50 history list last dnf/history-list.feature:58 history last without subcommand dnf/history-list.feature:68 history list last-1 dnf/history-list.feature:77 history list 1..last-1 dnf/history-list.feature:86 history list 1..last-2 dnf/history-list.feature:115 history list 2..3 dnf/history-list.feature:124 history list 10..11 dnf/history-list.feature:130 history list last..11 dnf/history-list.feature:139 history list 3..2 dnf/history-list.feature:148 history list last-1..1 dnf/history-list.feature:157 history list 11..last-1 dnf/history-list.feature:166 history list last-1..aaa dnf/history-list.feature:176 history list 12a..bc dnf/history-list.feature:187 history abcde dnf/history-list.feature:196 history filesystem dnf/history-list.feature:204 history lame (no transaction with such package) dnf/history-list.feature:215 history table width doesn't exceed 80 characters when there is no terminal dnf/history-list.feature:225 history list --reverse dnf/history-list.feature:236 history 2..3 --reverse dnf/history-list.feature:245 Reinstall in a transaction - the replaced (O) action is omitted dnf/history-list.feature:255 Upgrade in a transaction - the replaced (O) action is omitted dnf/history-list.feature:266 Downgrade in a transaction - the replaced (O) action is omitted dnf/history-list.feature:277 Obsolete in a transaction - the replaced (O) action is present dnf/history-list.feature:292 Reason change in a transaction 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 28 failed, 2 skipped 28 steps passed, 28 failed, 171 skipped Took 0min 1.053s USING RUNNER: behave.runner:Runner Feature: Transaction history redo - comps # dnf/history-redo-comps.feature:1 Feature: Transaction history redo - comps # dnf/history-redo-comps.feature:1 Scenario: Redo a transaction that installed a group # dnf/history-redo-comps.feature:20 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3h8sxict --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3h8sxict/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | Given I successfully execute dnf with args "remove lame" # None When I execute dnf with args "history redo 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And stderr contains "Group \"dnf-ci-testgroup\" is already installed." # None And History is following # None | Id | Command | Action | Altered | | 3 | history redo 1 | | 2 | | 2 | remove lame | | 2 | | 1 | group install dnf-ci-testgroup | | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3h8sxict --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3h8sxict/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction that removed a group # dnf/history-redo-comps.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xyur4zlq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xyur4zlq/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | Given I successfully execute dnf with args "group remove dnf-ci-testgroup" # None And I successfully execute dnf with args "install lame" # None When I execute dnf with args "history redo 2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 4 | history redo 2 | | 2 | | 3 | install lame | | 2 | | 2 | group remove dnf-ci-testgroup | | 5 | | 1 | group install dnf-ci-testgroup | | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xyur4zlq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xyur4zlq/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction with a missing group # dnf/history-redo-comps.feature:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_052qrpqc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_052qrpqc/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | Given I successfully execute dnf with args "group remove dnf-ci-testgroup" # None And I drop repository "dnf-ci-thirdparty" # None When I execute dnf with args "history redo 1" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: dnf-ci-testgroup You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_052qrpqc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_052qrpqc/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction that removed a group and the group is was removed from the system already # dnf/history-redo-comps.feature:68 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kv13r44g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kv13r44g/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | Given I successfully execute dnf with args "group remove dnf-ci-testgroup" # None When I execute dnf with args "history redo last" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kv13r44g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kv13r44g/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction that installed a group and the group is still on the system # dnf/history-redo-comps.feature:75 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_el5ydpf5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_el5ydpf5/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | When I execute dnf with args "history redo last" # None Then the exit code is 0 # None And Transaction is empty # None And stderr contains "Group \"dnf-ci-testgroup\" is already installed." # None And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_el5ydpf5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_el5ydpf5/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction that upgraded a group and the group is still on the system # dnf/history-redo-comps.feature:85 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6odexs6s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6odexs6s/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | Given I successfully execute dnf with args "group upgrade dnf-ci-testgroup" # None When I execute dnf with args "history redo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-Testgroup | And History is following # None | Id | Command | Action | Altered | | 3 | history redo last | | 1 | | 2 | group upgrade dnf-ci-testgroup | | 1 | | 1 | group install dnf-ci-testgroup | | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6odexs6s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6odexs6s/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-redo-comps.feature:20 Redo a transaction that installed a group dnf/history-redo-comps.feature:36 Redo a transaction that removed a group dnf/history-redo-comps.feature:53 Redo a transaction with a missing group dnf/history-redo-comps.feature:68 Redo a transaction that removed a group and the group is was removed from the system already dnf/history-redo-comps.feature:75 Redo a transaction that installed a group and the group is still on the system dnf/history-redo-comps.feature:85 Redo a transaction that upgraded a group and the group is still on the system 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 12 steps passed, 6 failed, 43 skipped Took 0min 0.423s USING RUNNER: behave.runner:Runner Feature: Transaction history redo # dnf/history-redo.feature:1 Feature: Transaction history redo # dnf/history-redo.feature:1 Scenario: Redo last transaction # dnf/history-redo.feature:20 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4u0o6ghm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4u0o6ghm/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "history redo last-1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | And History is following # None | Id | Command | Action | Altered | | 3 | | | 2 | | 2 | | | 2 | | 1 | install filesystem | | 2 | When I execute dnf with args "history redo last-1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | And History is following # None | Id | Command | Action | Altered | | 4 | | | 2 | | 3 | | | 2 | | 2 | | | 2 | | 1 | | | 2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4u0o6ghm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4u0o6ghm/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction with a package that is no longer available # dnf/history-redo.feature:46 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x2x6a9yp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x2x6a9yp/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "history redo 1 -x filesystem" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Install action because 'filesystem-3.9-2.fc29.x86_64' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x2x6a9yp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x2x6a9yp/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction with a package that is no longer available and --skip-unavailable is used # dnf/history-redo.feature:57 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6g1k9i5e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6g1k9i5e/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "history redo 1 -x filesystem --skip-unavailable" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-dep | setup-0:2.12.1-1.fc29.noarch | And stderr contains lines # None """ Cannot perform Install action because 'filesystem-3.9-2.fc29.x86_64' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6g1k9i5e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6g1k9i5e/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction that upgraded a package but the package is downgraded on the system # dnf/history-redo.feature:69 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5ppe3prd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5ppe3prd/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dnf-ci-fedora-updates" # None Given I use repository "dnf-ci-thirdparty" # None And I successfully execute dnf with args "install glibc-2.3.1-10" # None And I successfully execute dnf with args "upgrade glibc-2.28-26.fc29" # None And I successfully execute dnf with args "downgrade glibc-2.28-9.fc29" # None And I successfully execute dnf with args "history redo last-1" # None Then Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5ppe3prd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5ppe3prd/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction that removed a package and the package is was removed from the system already # dnf/history-redo.feature:83 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_03lcmkzv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_03lcmkzv/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "history redo last" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_03lcmkzv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_03lcmkzv/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction that installed a package and the package is still on the system # dnf/history-redo.feature:89 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e5yhrufh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e5yhrufh/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | Given I successfully execute dnf with args "install glibc" # None When I execute dnf with args "history redo last" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e5yhrufh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e5yhrufh/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redo a transaction that installed a package and the package is still on the system, but in a different version # dnf/history-redo.feature:96 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hqtiiwjx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hqtiiwjx/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dnf-ci-fedora-updates" # None And I successfully execute dnf with args "install glibc-2.28-9.fc29" # None And I successfully execute dnf with args "upgrade glibc-2.28-26.fc29" # None When I execute dnf with args "history redo last-1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | glibc-0:2.28-9.fc29.x86_64 | | downgrade | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | downgrade | glibc-common-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hqtiiwjx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hqtiiwjx/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-redo.feature:20 Redo last transaction dnf/history-redo.feature:46 Redo a transaction with a package that is no longer available dnf/history-redo.feature:57 Redo a transaction with a package that is no longer available and --skip-unavailable is used dnf/history-redo.feature:69 Redo a transaction that upgraded a package but the package is downgraded on the system dnf/history-redo.feature:83 Redo a transaction that removed a package and the package is was removed from the system already dnf/history-redo.feature:89 Redo a transaction that installed a package and the package is still on the system dnf/history-redo.feature:96 Redo a transaction that installed a package and the package is still on the system, but in a different version 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 14 steps passed, 7 failed, 63 skipped Took 0min 0.343s USING RUNNER: behave.runner:Runner Feature: Transaction history rollback of broken history # dnf/history-rollback-broken.feature:1 Feature: Transaction history rollback of broken history # dnf/history-rollback-broken.feature:1 Scenario: Rollback two installs of the same package # dnf/history-rollback-broken.feature:11 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05k2h0a_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05k2h0a_/var/cache/dnf install basesystem And I use repository "simple-base" # None Given I successfully execute dnf with args "install labirinto" # None And I successfully execute rpm with args "-e labirinto" # None And I successfully execute dnf with args "install labirinto" # None When I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | labirinto-1.0-1.fc29.x86_64 | And stderr contains "Transaction merge error: 'Action 'Remove' 'labirinto-1.0-1.fc29.x86_64' cannot be merged after it was 'Remove' in preceding transaction -> setting 'Remove'.'" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05k2h0a_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05k2h0a_/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Rollback two installs and reinstall of the same package # dnf/history-rollback-broken.feature:25 Scenario: Rollback two removes of the same package # dnf/history-rollback-broken.feature:38 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b9eq9730 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b9eq9730/var/cache/dnf install basesystem And I use repository "simple-base" # None Given I successfully execute dnf with args "install labirinto" # None And I successfully execute dnf with args "remove labirinto" # None And I successfully execute rpm with args "-i {context.dnf.fixturesdir}/repos/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" # None And I successfully execute dnf with args "remove labirinto" # None When I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is empty # None And stderr contains "Transaction merge error: 'Action 'Install' 'labirinto-1.0-1.fc29.x86_64' cannot be merged after it was 'Install' in preceding transaction -> setting 'Install'.'" # None When I execute dnf with args "history rollback 2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | labirinto-1.0-1.fc29.x86_64 | And stderr contains "Transaction merge error: 'Action 'Install' 'labirinto-1.0-1.fc29.x86_64' cannot be merged after it was 'Install' in preceding transaction -> setting 'Install'.'" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b9eq9730 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b9eq9730/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback install of a non-installonly package installed in multiple versions # dnf/history-rollback-broken.feature:55 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pthoxz0x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pthoxz0x/var/cache/dnf install basesystem And I use repository "simple-base" # None Given I successfully execute dnf with args "install labirinto" # None And I use repository "simple-updates" # None And I successfully execute dnf with args "update labirinto" # None And I successfully execute rpm with args "-i --force {context.dnf.fixturesdir}/repos/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" # None When I execute dnf with args "history rollback 2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | labirinto-2.0-1.fc29.x86_64 | And stderr contains "Transaction merge error: 'Action 'Install' 'labirinto-1.0-1.fc29.x86_64' cannot be merged because it is already present at that point -> skipping it.'" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pthoxz0x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pthoxz0x/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback installs of a non-installonly package installed in multiple versions # dnf/history-rollback-broken.feature:69 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6ks2605x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6ks2605x/var/cache/dnf install basesystem And I use repository "simple-base" # None Given I successfully execute dnf with args "install labirinto" # None And I use repository "simple-updates" # None And I successfully execute dnf with args "update labirinto" # None And I successfully execute rpm with args "-i --force {context.dnf.fixturesdir}/repos/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" # None When I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | labirinto-1.0-1.fc29.x86_64 | | remove | labirinto-2.0-1.fc29.x86_64 | And stderr contains "Transaction merge error: 'Action 'Install' 'labirinto-1.0-1.fc29.x86_64' cannot be merged because it is already present at that point -> skipping it.'" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6ks2605x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6ks2605x/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-rollback-broken.feature:11 Rollback two installs of the same package dnf/history-rollback-broken.feature:38 Rollback two removes of the same package dnf/history-rollback-broken.feature:55 Rollback install of a non-installonly package installed in multiple versions dnf/history-rollback-broken.feature:69 Rollback installs of a non-installonly package installed in multiple versions 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 1 skipped 4 steps passed, 4 failed, 50 skipped Took 0min 0.244s USING RUNNER: behave.runner:Runner Feature: Transaction history rollback - comps # dnf/history-rollback-comps.feature:1 Feature: Transaction history rollback - comps # dnf/history-rollback-comps.feature:1 Scenario: Rollback a transaction that installed a group # dnf/history-rollback-comps.feature:21 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install setup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_960zzvhi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_960zzvhi/var/cache/dnf install setup And I successfully execute dnf with args "group install dnf-ci-testgroup" # None Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group install dnf-ci-testgroup | | 4 | | 1 | install setup | | 1 | When I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | DNF-CI-Testgroup | | remove | filesystem-3.9-2.fc29.x86_64 | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | history rollback 1 | | 4 | | 2 | group install dnf-ci-testgroup | | 4 | | 1 | install setup | | 1 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_960zzvhi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_960zzvhi/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback a transaction that removed a group # dnf/history-rollback-comps.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install setup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vo4w_qas --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vo4w_qas/var/cache/dnf install setup And I successfully execute dnf with args "group install dnf-ci-testgroup" # None Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group install dnf-ci-testgroup | | 4 | | 1 | install setup | | 1 | Given I successfully execute dnf with args "group remove dnf-ci-testgroup" # None When I execute dnf with args "history rollback last-1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 4 | history rollback last-1 | | 4 | | 3 | group remove dnf-ci-testgroup | | 4 | | 2 | group install dnf-ci-testgroup | | 4 | | 1 | install setup | | 1 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vo4w_qas --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vo4w_qas/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback a transaction with a group missing in repositories, definition from system state is used # dnf/history-rollback-comps.feature:55 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install setup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_129zq7e8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_129zq7e8/var/cache/dnf install setup And I successfully execute dnf with args "group install dnf-ci-testgroup" # None Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group install dnf-ci-testgroup | | 4 | | 1 | install setup | | 1 | Given I drop repository "dnf-ci-thirdparty" # None When I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | DNF-CI-Testgroup | | remove | filesystem-3.9-2.fc29.x86_64 | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | history rollback 1 | | 4 | | 2 | group install dnf-ci-testgroup | | 4 | | 1 | install setup | | 1 | And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_129zq7e8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_129zq7e8/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-rollback-comps.feature:21 Rollback a transaction that installed a group dnf/history-rollback-comps.feature:37 Rollback a transaction that removed a group dnf/history-rollback-comps.feature:55 Rollback a transaction with a group missing in repositories, definition from system state is used 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 6 steps passed, 3 failed, 24 skipped Took 0min 0.318s USING RUNNER: behave.runner:Runner Feature: Transaction history rollback of environment upgrades # dnf/history-rollback-env-upgrade.feature:1 Feature: Transaction history rollback of environment upgrades # dnf/history-rollback-env-upgrade.feature:1 @bz2016070 Scenario: Rollback an environment upgrade transaction # dnf/history-rollback-env-upgrade.feature:48 Given I use repository "dnf-ci-group-rollback-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-group-rollback-testenv" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4kbe99sz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4kbe99sz/var/cache/dnf group install dnf-ci-group-rollback-testenv Then Transaction is following # None | Action | Package | | env-install | DNF-CI-RollbackTestEnv | | group-install | DNF-CI-RollbackTestGroup1 | | group-install | DNF-CI-RollbackTestGroup2 | | install-group | TestGroup1PackageA-0:1.0-1.x86_64 | | install-group | TestGroup1PackageB-0:1.0-1.x86_64 | | install-group | TestGroup2PackageA-0:1.0-1.x86_64 | | install-group | TestGroup2PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | When I execute dnf with args "environment list --installed dnf-ci-group-rollback-testenv" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testenv DNF-CI-RollbackTestEnv yes """ Given I use repository "dnf-ci-group-rollback-2" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testenv" # None Then Transaction is following # None | Action | Package | | env-upgrade | DNF-CI-RollbackTestEnv | | group-upgrade | DNF-CI-RollbackTestGroup1 | | group-upgrade | DNF-CI-RollbackTestGroup2 | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | | upgrade | TestGroup2PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup2PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group upgrade dnf-ci-group-rollback-testenv | | 11 | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | Given I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | TestGroup1PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup1PackageB-0:1.0-1.x86_64 | | downgrade | TestGroup2PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup2PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | history rollback 1 | | 8 | | 2 | group upgrade dnf-ci-group-rollback-testenv | | 11 | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | When I execute dnf with args "environment list --installed dnf-ci-group-rollback-testenv" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testenv DNF-CI-RollbackTestEnv yes """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4kbe99sz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4kbe99sz/var/cache/dnf group install dnf-ci-group-rollback-testenv  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2016070 Scenario: Rollback a rollbacked environment upgrade transaction # dnf/history-rollback-env-upgrade.feature:76 Given I use repository "dnf-ci-group-rollback-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-group-rollback-testenv" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4wv9v0ww --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4wv9v0ww/var/cache/dnf group install dnf-ci-group-rollback-testenv Then Transaction is following # None | Action | Package | | env-install | DNF-CI-RollbackTestEnv | | group-install | DNF-CI-RollbackTestGroup1 | | group-install | DNF-CI-RollbackTestGroup2 | | install-group | TestGroup1PackageA-0:1.0-1.x86_64 | | install-group | TestGroup1PackageB-0:1.0-1.x86_64 | | install-group | TestGroup2PackageA-0:1.0-1.x86_64 | | install-group | TestGroup2PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | When I execute dnf with args "environment list --installed dnf-ci-group-rollback-testenv" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testenv DNF-CI-RollbackTestEnv yes """ Given I use repository "dnf-ci-group-rollback-2" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testenv" # None Then Transaction is following # None | Action | Package | | env-upgrade | DNF-CI-RollbackTestEnv | | group-upgrade | DNF-CI-RollbackTestGroup1 | | group-upgrade | DNF-CI-RollbackTestGroup2 | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | | upgrade | TestGroup2PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup2PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group upgrade dnf-ci-group-rollback-testenv | | 11 | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | Given I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | TestGroup1PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup1PackageB-0:1.0-1.x86_64 | | downgrade | TestGroup2PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup2PackageB-0:1.0-1.x86_64 | And stderr contains lines # None """ Group upgrade cannot be reverted, however associated package actions will be. (Group id: 'dnf-ci-group-rollback-testgroup1') . Group upgrade cannot be reverted, however associated package actions will be. (Group id: 'dnf-ci-group-rollback-testgroup2') . Environment upgrade cannot be reverted, however associated package actions will be. (Environment id: 'dnf-ci-group-rollback-testenv') . """ And History is following # None | Id | Command | Action | Altered | | 3 | history rollback 1 | | 8 | | 2 | group upgrade dnf-ci-group-rollback-testenv | | 11 | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | When I execute dnf with args "history rollback 2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | | upgrade | TestGroup2PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup2PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 4 | history rollback 2 | | 8 | | 3 | history rollback 1 | | 8 | | 2 | group upgrade dnf-ci-group-rollback-testenv | | 11 | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | When I execute dnf with args "environment list --installed DNF-CI-RollbackTestEnv" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testenv DNF-CI-RollbackTestEnv yes """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4wv9v0ww --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4wv9v0ww/var/cache/dnf group install dnf-ci-group-rollback-testenv  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2016070 Scenario: Redo an undo-ed environment upgrade transaction # dnf/history-rollback-env-upgrade.feature:124 Given I use repository "dnf-ci-group-rollback-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-group-rollback-testenv" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nft0ytyl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nft0ytyl/var/cache/dnf group install dnf-ci-group-rollback-testenv Then Transaction is following # None | Action | Package | | env-install | DNF-CI-RollbackTestEnv | | group-install | DNF-CI-RollbackTestGroup1 | | group-install | DNF-CI-RollbackTestGroup2 | | install-group | TestGroup1PackageA-0:1.0-1.x86_64 | | install-group | TestGroup1PackageB-0:1.0-1.x86_64 | | install-group | TestGroup2PackageA-0:1.0-1.x86_64 | | install-group | TestGroup2PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | When I execute dnf with args "environment list --installed dnf-ci-group-rollback-testenv" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testenv DNF-CI-RollbackTestEnv yes """ Given I use repository "dnf-ci-group-rollback-2" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testenv" # None Then Transaction is following # None | Action | Package | | env-upgrade | DNF-CI-RollbackTestEnv | | group-upgrade | DNF-CI-RollbackTestGroup1 | | group-upgrade | DNF-CI-RollbackTestGroup2 | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | | upgrade | TestGroup2PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup2PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group upgrade dnf-ci-group-rollback-testenv | | 11 | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | Given I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | TestGroup1PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup1PackageB-0:1.0-1.x86_64 | | downgrade | TestGroup2PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup2PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | history undo last | | 8 | | 2 | group upgrade dnf-ci-group-rollback-testenv | | 11 | | 1 | group install dnf-ci-group-rollback-testenv | | 7 | When I execute dnf with args "history redo last" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nft0ytyl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nft0ytyl/var/cache/dnf group install dnf-ci-group-rollback-testenv  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-rollback-env-upgrade.feature:48 Rollback an environment upgrade transaction dnf/history-rollback-env-upgrade.feature:76 Rollback a rollbacked environment upgrade transaction dnf/history-rollback-env-upgrade.feature:124 Redo an undo-ed environment upgrade transaction 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 3 steps passed, 3 failed, 57 skipped Took 0min 0.178s USING RUNNER: behave.runner:Runner Feature: Transaction history rollback of group upgrades # dnf/history-rollback-group-upgrade.feature:1 Feature: Transaction history rollback of group upgrades # dnf/history-rollback-group-upgrade.feature:1 @bz2016070 Scenario: Rollback a group upgrade transaction # dnf/history-rollback-group-upgrade.feature:41 Given I use repository "dnf-ci-group-rollback-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-group-rollback-testgroup1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bbrhtiv0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bbrhtiv0/var/cache/dnf group install dnf-ci-group-rollback-testgroup1 Then Transaction is following # None | Action | Package | | group-install | DNF-CI-RollbackTestGroup1 | | install-group | TestGroup1PackageA-0:1.0-1.x86_64 | | install-group | TestGroup1PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ Given I use repository "dnf-ci-group-rollback-2" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testgroup1" # None Then Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-RollbackTestGroup1 | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | TestGroup1PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup1PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | history rollback 1 | | 4 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bbrhtiv0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bbrhtiv0/var/cache/dnf group install dnf-ci-group-rollback-testgroup1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2016070 Scenario: Rollback a rollbacked group upgrade transaction # dnf/history-rollback-group-upgrade.feature:68 Given I use repository "dnf-ci-group-rollback-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-group-rollback-testgroup1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2rvwgx0v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2rvwgx0v/var/cache/dnf group install dnf-ci-group-rollback-testgroup1 Then Transaction is following # None | Action | Package | | group-install | DNF-CI-RollbackTestGroup1 | | install-group | TestGroup1PackageA-0:1.0-1.x86_64 | | install-group | TestGroup1PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ Given I use repository "dnf-ci-group-rollback-2" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testgroup1" # None Then Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-RollbackTestGroup1 | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | TestGroup1PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup1PackageB-0:1.0-1.x86_64 | And stderr contains lines # None """ Group upgrade cannot be reverted, however associated package actions will be. (Group id: 'dnf-ci-group-rollback-testgroup1') . """ And History is following # None | Id | Command | Action | Altered | | 3 | history rollback 1 | | 4 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "history rollback 2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 4 | history rollback 2 | | 4 | | 3 | history rollback 1 | | 4 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2rvwgx0v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2rvwgx0v/var/cache/dnf group install dnf-ci-group-rollback-testgroup1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2016070 Scenario: Redo an undo-ed group upgrade transaction # dnf/history-rollback-group-upgrade.feature:111 Given I use repository "dnf-ci-group-rollback-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-group-rollback-testgroup1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xqr9b5c6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xqr9b5c6/var/cache/dnf group install dnf-ci-group-rollback-testgroup1 Then Transaction is following # None | Action | Package | | group-install | DNF-CI-RollbackTestGroup1 | | install-group | TestGroup1PackageA-0:1.0-1.x86_64 | | install-group | TestGroup1PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ Given I use repository "dnf-ci-group-rollback-2" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testgroup1" # None Then Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-RollbackTestGroup1 | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | TestGroup1PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup1PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | history undo last | | 4 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "history redo last" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xqr9b5c6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xqr9b5c6/var/cache/dnf group install dnf-ci-group-rollback-testgroup1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2016070 Scenario: Rollback multiple group upgrade transactions # dnf/history-rollback-group-upgrade.feature:128 Given I use repository "dnf-ci-group-rollback-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-group-rollback-testgroup1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v27mnkmy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v27mnkmy/var/cache/dnf group install dnf-ci-group-rollback-testgroup1 Then Transaction is following # None | Action | Package | | group-install | DNF-CI-RollbackTestGroup1 | | install-group | TestGroup1PackageA-0:1.0-1.x86_64 | | install-group | TestGroup1PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ Given I use repository "dnf-ci-group-rollback-2" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testgroup1" # None Then Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-RollbackTestGroup1 | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I use repository "dnf-ci-group-rollback-3" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testgroup1" # None Then Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-RollbackTestGroup1 | | upgrade | TestGroup1PackageA-0:1.2-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.2-1.x86_64 | | install-group | TestGroup1PackageC-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | group upgrade dnf-ci-group-rollback-testgroup1 | | 6 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | TestGroup1PackageA-0:1.0-1.x86_64 | | downgrade | TestGroup1PackageB-0:1.0-1.x86_64 | | remove | TestGroup1PackageC-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 4 | history rollback 1 | | 5 | | 3 | group upgrade dnf-ci-group-rollback-testgroup1 | | 6 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v27mnkmy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v27mnkmy/var/cache/dnf group install dnf-ci-group-rollback-testgroup1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2016070 Scenario: Excluded package is remembered until next group install when rolling back a group upgrade transaction # dnf/history-rollback-group-upgrade.feature:170 Given I use repository "dnf-ci-group-rollback-1" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-group-rollback-testgroup1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nrbajoqp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nrbajoqp/var/cache/dnf group install dnf-ci-group-rollback-testgroup1 Then Transaction is following # None | Action | Package | | group-install | DNF-CI-RollbackTestGroup1 | | install-group | TestGroup1PackageA-0:1.0-1.x86_64 | | install-group | TestGroup1PackageB-0:1.0-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ Given I use repository "dnf-ci-group-rollback-2" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testgroup1" # None Then Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-RollbackTestGroup1 | | upgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I use repository "dnf-ci-group-rollback-3" # None And I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testgroup1 -x TestGroup1PackageC" # None Then Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-RollbackTestGroup1 | | upgrade | TestGroup1PackageA-0:1.2-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.2-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I execute dnf with args "history rollback 2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | TestGroup1PackageA-0:1.1-1.x86_64 | | downgrade | TestGroup1PackageB-0:1.1-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 4 | history rollback 2 | | 4 | | 3 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I successfully execute dnf with args "group upgrade dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | DNF-CI-RollbackTestGroup1 | | upgrade | TestGroup1PackageA-0:1.2-1.x86_64 | | upgrade | TestGroup1PackageB-0:1.2-1.x86_64 | And History is following # None | Id | Command | Action | Altered | | 5 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 4 | history rollback 2 | | 4 | | 3 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | Given I successfully execute dnf with args "group install dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | TestGroup1PackageC-0:1.0-1.x86_64 | And stderr contains "Group \"dnf-ci-group-rollback-testgroup1\" is already installed." # None And History is following # None | Id | Command | Action | Altered | | 6 | group install dnf-ci-group-rollback-testgroup1 | | 1 | | 5 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 4 | history rollback 2 | | 4 | | 3 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 2 | group upgrade dnf-ci-group-rollback-testgroup1 | | 5 | | 1 | group install dnf-ci-group-rollback-testgroup1 | | 3 | When I execute dnf with args "group list --installed dnf-ci-group-rollback-testgroup1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ ID Name Installed dnf-ci-group-rollback-testgroup1 DNF-CI-RollbackTestGroup1 yes Groups: 1 (1 installed, 0 available) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nrbajoqp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nrbajoqp/var/cache/dnf group install dnf-ci-group-rollback-testgroup1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-rollback-group-upgrade.feature:41 Rollback a group upgrade transaction dnf/history-rollback-group-upgrade.feature:68 Rollback a rollbacked group upgrade transaction dnf/history-rollback-group-upgrade.feature:111 Redo an undo-ed group upgrade transaction dnf/history-rollback-group-upgrade.feature:128 Rollback multiple group upgrade transactions dnf/history-rollback-group-upgrade.feature:170 Excluded package is remembered until next group install when rolling back a group upgrade transaction 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 5 steps passed, 5 failed, 110 skipped Took 0min 0.247s USING RUNNER: behave.runner:Runner Feature: Transaction history rollback between states with the same version of a package installed # dnf/history-rollback-same-package.feature:1 Feature: Transaction history rollback between states with the same version of a package installed # dnf/history-rollback-same-package.feature:1 @GH-2031 Scenario: Rollback removal and installation of the same package # dnf/history-rollback-same-package.feature:11 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zseweyl1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zseweyl1/var/cache/dnf install flac Given I successfully execute dnf with args "remove flac" # None And I successfully execute dnf with args "install flac" # None And I successfully execute dnf with args "history list" # None Then stdout is history list # None | Id | Command | Action | Altered | | 3 | | | 1 | | 2 | | | 1 | | 1 | | | 1 | Given I successfully execute dnf with args "history rollback 1" # None Then Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zseweyl1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zseweyl1/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @RHEL-17494 Scenario: Two rollbacks of the package upgrade # dnf/history-rollback-same-package.feature:26 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sb8t_kdi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sb8t_kdi/var/cache/dnf install flac Given I use repository "dnf-ci-fedora-updates" # None And I successfully execute dnf with args "upgrade flac" # None And I successfully execute dnf with args "history list" # None Then stdout is history list # None | Id | Command | Action | Altered | | 2 | | | 2 | | 1 | | | 1 | Given I successfully execute dnf with args "history rollback 1" # None Then Transaction is following # None | Action | Package | | downgrade | flac-1.3.2-8.fc29.x86_64 | Given I successfully execute dnf with args "history rollback 1" # None Then Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sb8t_kdi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sb8t_kdi/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-rollback-same-package.feature:11 Rollback removal and installation of the same package dnf/history-rollback-same-package.feature:26 Two rollbacks of the package upgrade 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 2 steps passed, 2 failed, 14 skipped Took 0min 0.180s USING RUNNER: behave.runner:Runner Feature: Transaction history rollback # dnf/history-rollback.feature:1 Feature: Transaction history rollback # dnf/history-rollback.feature:1 Scenario: Rollback # dnf/history-rollback.feature:13 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_85i1eatg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_85i1eatg/var/cache/dnf install basesystem And I successfully execute dnf with args "install glibc-2.28-26.fc29.x86_64" # None And I successfully execute dnf with args "downgrade glibc" # None And I successfully execute dnf with args "upgrade glibc" # None When I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-2.28-26.fc29.x86_64 | | remove-unused | glibc-all-langpacks-2.28-26.fc29.x86_64 | | remove-unused | glibc-common-2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_85i1eatg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_85i1eatg/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Multiple rollbacks # dnf/history-rollback.feature:23 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_etq9k5a_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_etq9k5a_/var/cache/dnf install basesystem And I successfully execute dnf with args "install glibc-2.28-26.fc29.x86_64" # None And I successfully execute dnf with args "downgrade glibc" # None And I successfully execute dnf with args "upgrade glibc" # None When I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-2.28-26.fc29.x86_64 | | remove-unused | glibc-all-langpacks-2.28-26.fc29.x86_64 | | remove-unused | glibc-common-2.28-26.fc29.x86_64 | When I execute dnf with args "history rollback 2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | glibc-2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-2.28-26.fc29.x86_64 | | install-dep | glibc-common-2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_etq9k5a_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_etq9k5a_/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback a transaction with a package that is no longer available # dnf/history-rollback.feature:40 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pym8t8gi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pym8t8gi/var/cache/dnf install basesystem And I successfully execute dnf with args "install glibc-2.28-26.fc29.x86_64" # None And I successfully execute dnf with args "downgrade glibc" # None And I successfully execute dnf with args "upgrade glibc" # None When I execute dnf with args "history rollback 1 -x glibc-2.28-26.fc29.x86_64" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Remove action because 'glibc-2.28-26.fc29.x86_64' matches only excluded packages. Problem: installed package glibc-2.28-26.fc29.x86_64 requires glibc-common = 2.28-26.fc29, but none of the providers can be installed - conflicting requests - problem with installed package """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pym8t8gi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pym8t8gi/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback install of multiple installonly pkgs # dnf/history-rollback.feature:54 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8fzk3ur --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8fzk3ur/var/cache/dnf install basesystem And I successfully execute dnf with args "install glibc-2.28-26.fc29.x86_64" # None And I successfully execute dnf with args "downgrade glibc" # None And I successfully execute dnf with args "upgrade glibc" # None Given I use repository "installonly" # None And I configure dnf with # None | key | value | | installonlypkgs | installonlyB | | installonly_limit | 2 | And I successfully execute dnf with args "install installonlyB-1.0 installonlyB-2.0" # None When I execute dnf with args "history rollback last-1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | installonlyB-1.0-1.x86_64 | | remove | installonlyB-2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8fzk3ur --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8fzk3ur/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback rollback of install of multiple installonly pkgs # dnf/history-rollback.feature:69 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e442d5gg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e442d5gg/var/cache/dnf install basesystem And I successfully execute dnf with args "install glibc-2.28-26.fc29.x86_64" # None And I successfully execute dnf with args "downgrade glibc" # None And I successfully execute dnf with args "upgrade glibc" # None Given I use repository "installonly" # None And I configure dnf with # None | key | value | | installonlypkgs | installonlyB | | installonly_limit | 2 | And I successfully execute dnf with args "install installonlyB-1.0 installonlyB-2.0" # None And I successfully execute dnf with args "history rollback last-1" # None When I execute dnf with args "history rollback last-1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyB-1.0-1.x86_64 | | install | installonlyB-2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e442d5gg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e442d5gg/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback upgrade with obsolete # dnf/history-rollback.feature:85 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yhx8me3r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yhx8me3r/var/cache/dnf install basesystem And I successfully execute dnf with args "install glibc-2.28-26.fc29.x86_64" # None And I successfully execute dnf with args "downgrade glibc" # None And I successfully execute dnf with args "upgrade glibc" # None Given I use repository "dnf-ci-obsoletes" # None And I successfully execute dnf with args "install PackageB-2.0" # None And I successfully execute dnf with args "upgrade" # None When I execute dnf with args "history rollback last-1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageB-2.0-1.x86_64 | | remove | PackageB-Obsoleter-1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yhx8me3r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yhx8me3r/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rollback upgrade with two obsoleters # dnf/history-rollback.feature:97 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o90qtic6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o90qtic6/var/cache/dnf install basesystem And I successfully execute dnf with args "install glibc-2.28-26.fc29.x86_64" # None And I successfully execute dnf with args "downgrade glibc" # None And I successfully execute dnf with args "upgrade glibc" # None Given I use repository "dnf-ci-obsoletes" # None And I successfully execute dnf with args "install PackageF-1.0" # None And I successfully execute dnf with args "upgrade" # None When I execute dnf with args "history rollback last-1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageF-1.0-1.x86_64 | | remove | PackageF-Obsoleter-3.0-1.x86_64 | | remove | PackageF-Obsoleter-Second-3.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o90qtic6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o90qtic6/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Rollback reinstall action # dnf/history-rollback.feature:112 @xfail Scenario: Rollback install + reinstall action # dnf/history-rollback.feature:124 Failing scenarios: dnf/history-rollback.feature:13 Rollback dnf/history-rollback.feature:23 Multiple rollbacks dnf/history-rollback.feature:40 Rollback a transaction with a package that is no longer available dnf/history-rollback.feature:54 Rollback install of multiple installonly pkgs dnf/history-rollback.feature:69 Rollback rollback of install of multiple installonly pkgs dnf/history-rollback.feature:85 Rollback upgrade with obsolete dnf/history-rollback.feature:97 Rollback upgrade with two obsoleters 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 2 skipped 14 steps passed, 7 failed, 81 skipped Took 0min 0.482s USING RUNNER: behave.runner:Runner Feature: DNF/Behave test rpmdb version # dnf/history-rpmdb.feature:1 @bz1658120 Scenario: Compute rpmdb version in repeatable manner # dnf/history-rpmdb.feature:5 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute rpm with args "-U {context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Then I execute dnf with args "install dwm" # dnf/steps/cmd.py:110 And the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zm0whtvv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zm0whtvv/var/cache/dnf install dwm Then I execute dnf with args "reinstall setup" # None And the exit code is 0 # None Then History info rpmdb version changed # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zm0whtvv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zm0whtvv/var/cache/dnf install dwm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-rpmdb.feature:5 Compute rpmdb version in repeatable manner 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 4 steps passed, 1 failed, 3 skipped Took 0min 0.161s USING RUNNER: behave.runner:Runner Feature: Transaction history undo - comps # dnf/history-undo-comps.feature:1 Feature: Transaction history undo - comps # dnf/history-undo-comps.feature:1 @bz1809639 Scenario: Undo a transaction that installed a group # dnf/history-undo-comps.feature:21 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wgbudl2q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wgbudl2q/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | When I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | DNF-CI-Testgroup | | remove | filesystem-3.9-2.fc29.x86_64 | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | | remove-unused | setup-2.12.1-1.fc29.noarch | And History is following # None | Id | Command | Action | Altered | | 2 | history undo last | | 5 | | 1 | group install dnf-ci-testgroup | | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wgbudl2q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wgbudl2q/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Undo a transaction that removed a group # dnf/history-undo-comps.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8s1fm_oq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8s1fm_oq/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | Given I successfully execute dnf with args "group remove dnf-ci-testgroup" # None When I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | install-dep | setup-2.12.1-1.fc29.noarch | And History is following # None | Id | Command | Action | Altered | | 3 | history undo last | | 5 | | 2 | group remove dnf-ci-testgroup | | 5 | | 1 | group install dnf-ci-testgroup | | 5 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8s1fm_oq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8s1fm_oq/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Undo a transaction with a missing group # dnf/history-undo-comps.feature:55 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vc1zts49 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vc1zts49/var/cache/dnf group install dnf-ci-testgroup Then Transaction is following # None | Action | Package | | group-install | DNF-CI-Testgroup | | install-group | filesystem-0:3.9-2.fc29.x86_64 | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 1 | group install dnf-ci-testgroup | | 5 | Given I drop repository "dnf-ci-thirdparty" # None When I execute dnf with args "history undo 1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | DNF-CI-Testgroup | | remove | filesystem-3.9-2.fc29.x86_64 | | remove | lame-0:3.100-4.fc29.x86_64 | | remove-unused | lame-libs-0:3.100-4.fc29.x86_64 | | remove-unused | setup-2.12.1-1.fc29.noarch | When I execute dnf with args "history undo last" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: dnf-ci-testgroup You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vc1zts49 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vc1zts49/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-undo-comps.feature:21 Undo a transaction that installed a group dnf/history-undo-comps.feature:37 Undo a transaction that removed a group dnf/history-undo-comps.feature:55 Undo a transaction with a missing group 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 6 steps passed, 3 failed, 22 skipped Took 0min 0.320s USING RUNNER: behave.runner:Runner Feature: Transaction history undo # dnf/history-undo-dependant.feature:1 @not.with_os=rhel__ge__11 @bz1700529 Scenario: Undo module install with dependent userinstalled package # dnf/history-undo-dependant.feature:6 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I successfully execute dnf with args "module enable postgresql/server" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__85cwudg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__85cwudg/var/cache/dnf module enable postgresql/server And I successfully execute dnf with args "install postgresql-server-0:9.6.8-1.module_1710+b535a823.x86_64" # None And I successfully execute dnf with args "install postgresql-test" # None When I execute dnf with args "history undo last-1" # None Then the exit code is 1 # None And stdout is empty # None And stderr is # None """ Failed to resolve the transaction: Extra package 'postgresql-test-9.6.8-1.module_1710+b535a823.x86_64' (with action 'Remove') which is not present in the stored transaction was pulled into the transaction. You can try to add to command line: --ignore-extras to allow extra packages in the transaction """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__85cwudg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__85cwudg/var/cache/dnf module enable postgresql/server  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-undo-dependant.feature:6 Undo module install with dependent userinstalled package 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 6 skipped Took 0min 0.238s USING RUNNER: behave.runner:Runner Feature: Transaction history undo with obsoletes # dnf/history-undo-obsoletes.feature:1 Scenario: Undo with obsoletes # dnf/history-undo-obsoletes.feature:6 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc-profile" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pt3gljvc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pt3gljvc/var/cache/dnf install glibc-profile And Transaction is following # None | Action | Package | | install | glibc-profile-0:2.3.1-10.x86_64 | When I use repository "dnf-ci-fedora" # None And I execute dnf with args "install glibc-all-langpacks" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | obsoleted | glibc-profile-0:2.3.1-10.x86_64 | When I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | glibc-common-0:2.28-9.fc29.x86_64 | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | install | glibc-profile-0:2.3.1-10.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pt3gljvc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pt3gljvc/var/cache/dnf install glibc-profile  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-undo-obsoletes.feature:6 Undo with obsoletes 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 8 skipped Took 0min 0.142s USING RUNNER: behave.runner:Runner Feature: Transaction history undo # dnf/history-undo.feature:1 Feature: Transaction history undo # dnf/history-undo.feature:1 Scenario: Undoing transactions # dnf/history-undo.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install filesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lbt8nyi1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lbt8nyi1/var/cache/dnf install filesystem Then History is following # None | Id | Command | Action | Altered | | 1 | install filesystem | | 2 | When I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove | filesystem-0:3.9-2.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | undo last | | 2 | | 1 | install filesystem | | 2 | When I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install | filesystem-0:3.9-2.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 3 | undo last | | 2 | | 2 | undo last | | 2 | | 1 | install filesystem | | 2 | When I execute dnf with args "history undo last-2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove | filesystem-0:3.9-2.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 4 | undo last-2 | | 2 | | 3 | undo last | | 2 | | 2 | undo last | | 2 | | 1 | install filesystem | | 2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lbt8nyi1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lbt8nyi1/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @1627111 Scenario: Handle missing packages required for undoing the transaction # dnf/history-undo.feature:49 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_72_9qoxv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_72_9qoxv/var/cache/dnf install wget flac And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | When I drop repository "dnf-ci-fedora" # None And I use repository "dnf-ci-fedora-updates" # None Then I execute dnf with args "update" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | And History is following # None | Id | Command | Action | Altered | | 2 | update | | 4 | | 1 | install wget flac | | 2 | Then I execute dnf with args "history undo 2" # None Then the exit code is 1 # None And Transaction is empty # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Install action, no match for: wget-1.19.5-5.fc29.x86_64. Cannot perform Install action, no match for: flac-1.3.2-8.fc29.x86_64. You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_72_9qoxv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_72_9qoxv/var/cache/dnf install wget flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Missing packages are skipped if --skip-unavailable is specified # dnf/history-undo.feature:82 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_366vqo60 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_366vqo60/var/cache/dnf install wget flac And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | When I drop repository "dnf-ci-fedora" # None And I use repository "dnf-ci-fedora-updates" # None Then I execute dnf with args "update" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | Then I execute dnf with args "history undo last --skip-unavailable" # None Then the exit code is 0 # None And Transaction is empty # None And stderr is # None """ Cannot perform Install action, no match for: wget-1.19.5-5.fc29.x86_64. Cannot perform Install action, no match for: flac-1.3.2-8.fc29.x86_64. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_366vqo60 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_366vqo60/var/cache/dnf install wget flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Undo a transaction with a package that is no longer available # dnf/history-undo.feature:108 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install filesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qhj8zypw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qhj8zypw/var/cache/dnf install filesystem When I execute dnf with args "history undo 1 -x filesystem" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Remove action because 'filesystem-3.9-2.fc29.x86_64' matches only excluded packages. Problem: installed package filesystem-3.9-2.fc29.x86_64 requires setup, but none of the providers can be installed - conflicting requests - problem with installed package """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qhj8zypw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qhj8zypw/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2010259 @bz2053014 Scenario: Undoing a transaction with Reason Change # dnf/history-undo.feature:125 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install filesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4lpjg18k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4lpjg18k/var/cache/dnf install filesystem Then History is following # None | Id | Command | Action | Altered | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark weak filesystem" # None Then the exit code is 0 # None Then History is following # None | Id | Command | Action | Altered | | 2 | mark weak filesystem | | 1 | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Weak Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "history undo last" # None Then the exit code is 0 # None And History is following # None | Id | Command | Action | Altered | | 3 | history undo last | | 1 | | 2 | mark weak filesystem | | 1 | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4lpjg18k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4lpjg18k/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2010259 @bz2053014 Scenario: Undoing an older transaction with Reason Change # dnf/history-undo.feature:159 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install filesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qfhhtrr6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qfhhtrr6/var/cache/dnf install filesystem Then History is following # None | Id | Command | Action | Altered | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark weak filesystem" # None Then History is following # None | Id | Command | Action | Altered | | 2 | mark weak filesystem | | 1 | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Weak Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "install wget" # None Then the exit code is 0 # None When I execute dnf with args "history undo last-1" # None Then the exit code is 0 # None And History is following # None | Id | Command | Action | Altered | | 4 | history undo last-1 | | 1 | | 3 | install wget | | 1 | | 2 | mark weak filesystem | | 1 | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Dependency | | wget-1.19.5-5.fc29.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qfhhtrr6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qfhhtrr6/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2010259 @bz2053014 Scenario: Undoing a transaction range with Reason Change # dnf/history-undo.feature:196 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install filesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yaizvb80 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yaizvb80/var/cache/dnf install filesystem Then History is following # None | Id | Command | Action | Altered | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark weak filesystem" # None Then History is following # None | Id | Command | Action | Altered | | 2 | mark weak filesystem | | 1 | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Weak Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "install wget" # None Then the exit code is 0 # None When I execute dnf with args "history rollback 1" # None Then the exit code is 0 # None And History is following # None | Id | Command | Action | Altered | | 4 | history rollback 1 | | 2 | | 3 | install wget | | 1 | | 2 | mark weak filesystem | | 1 | | 1 | install filesystem | | 2 | And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yaizvb80 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yaizvb80/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Undo a downgrade transaction # dnf/history-undo.feature:230 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tqiybojy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tqiybojy/var/cache/dnf install wget And I successfully execute dnf with args "downgrade wget" # None When I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tqiybojy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tqiybojy/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Undo an upgrade transaction with --skip-unavailable where the orignal package is not available # dnf/history-undo.feature:241 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_typ0c1eo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_typ0c1eo/var/cache/dnf install wget And I use repository "dnf-ci-fedora-updates" # None And I successfully execute dnf with args "upgrade wget" # None And I drop repository "dnf-ci-fedora" # None When I execute dnf with args "history undo last --skip-unavailable" # None Then the exit code is 0 # None And Transaction is empty # None And stdout is # None """ Nothing to do. """ And stderr is # None """ Cannot perform Install action, no match for: wget-1.19.5-5.fc29.x86_64. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_typ0c1eo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_typ0c1eo/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-undo.feature:8 Undoing transactions dnf/history-undo.feature:49 Handle missing packages required for undoing the transaction dnf/history-undo.feature:82 Missing packages are skipped if --skip-unavailable is specified dnf/history-undo.feature:108 Undo a transaction with a package that is no longer available dnf/history-undo.feature:125 Undoing a transaction with Reason Change dnf/history-undo.feature:159 Undoing an older transaction with Reason Change dnf/history-undo.feature:196 Undoing a transaction range with Reason Change dnf/history-undo.feature:230 Undo a downgrade transaction dnf/history-undo.feature:241 Undo an upgrade transaction with --skip-unavailable where the orignal package is not available 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 12 steps passed, 9 failed, 81 skipped Took 0min 0.543s USING RUNNER: behave.runner:Runner Feature: History of update # dnf/history-update.feature:1 Feature: History of update # dnf/history-update.feature:1 Scenario: History of update packages # dnf/history-update.feature:6 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_feup6kph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_feup6kph/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | Then the exit code is 0 # None When I execute dnf with args "install abcde" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | When I use repository "dnf-ci-fedora-updates" # None And I execute dnf with args "update" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | | upgrade | abcde-0:2.9.3-1.fc29.noarch | And History is following # None | Id | Command | Action | Altered | | 3 | update | | 6 | | 2 | | | 3 | | 1 | | | 1 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_feup6kph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_feup6kph/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1612885 Scenario: Rollback update # dnf/history-update.feature:39 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install setup" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_1wqxej --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_1wqxej/var/cache/dnf install setup And I execute dnf with args "install abcde" # None And I use repository "dnf-ci-fedora-updates" # None And I successfully execute dnf with args "update" # None When I execute dnf with args "history rollback last-1" # None Then the exit code is 0 # None Then stderr does not contain "Traceback" # None And Transaction is following # None | Action | Package | | downgrade | abcde-0:2.9.2-1.fc29.noarch | | downgrade | flac-0:1.3.2-8.fc29.x86_64 | | downgrade | wget-0:1.19.5-5.fc29.x86_64 | When I execute dnf with args "history rollback last-3" # None Then the exit code is 0 # None Then stderr does not contain "Traceback" # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.2-1.fc29.noarch | | remove-unused | flac-0:1.3.2-8.fc29.x86_64 | | remove-unused | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_1wqxej --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_1wqxej/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-update.feature:6 History of update packages dnf/history-update.feature:39 Rollback update 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 3 steps passed, 2 failed, 21 skipped Took 0min 0.182s USING RUNNER: behave.runner:Runner Feature: Transaction history userinstalled, list and info # dnf/history-view.feature:1 Feature: Transaction history userinstalled, list and info # dnf/history-view.feature:1 Scenario: List userinstalled packages # dnf/history-view.feature:7 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mn0lizg5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mn0lizg5/var/cache/dnf install abcde basesystem And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | And package reasons are # None | Package | Reason | | abcde-2.9.2-1.fc29.noarch | User | | basesystem-11-6.fc29.noarch | User | | filesystem-3.9-2.fc29.x86_64 | Dependency | | flac-1.3.2-8.fc29.x86_64 | Weak Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | | wget-1.19.5-5.fc29.x86_64 | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mn0lizg5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mn0lizg5/var/cache/dnf install abcde basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: History info # dnf/history-view.feature:28 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install abcde" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2omysf5m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2omysf5m/var/cache/dnf install abcde When I execute dnf with args "install setup" # None Then dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | setup-0:2.12.1-1.fc29.noarch | User | dnf-ci-fedora | When I execute dnf with args "remove abcde" # None Then the exit code is 0 # None And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | abcde-0:2.9.2-1.fc29.noarch | User | @System | | Remove | flac-0:1.3.2-8.fc29.x86_64 | Clean | @System | | Remove | wget-0:1.19.5-5.fc29.x86_64 | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2omysf5m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2omysf5m/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: History info in range - transaction merging # dnf/history-view.feature:43 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install abcde" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ekh0eu2h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ekh0eu2h/var/cache/dnf install abcde Given I successfully execute dnf with args "remove abcde" # None Given I successfully execute dnf with args "install abcde" # None When I use repository "dnf-ci-fedora-updates" # None And I execute dnf with args "update" # None Then the exit code is 0 # None And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | abcde-0:2.9.3-1.fc29.noarch | User | dnf-ci-fedora-updates | | Upgrade | flac-0:1.3.3-3.fc29.x86_64 | Weak Dependency | dnf-ci-fedora-updates | | Upgrade | wget-0:1.19.6-5.fc29.x86_64 | Dependency | dnf-ci-fedora-updates | | Replaced | abcde-0:2.9.2-1.fc29.noarch | User | @System | | Replaced | flac-0:1.3.2-8.fc29.x86_64 | Weak Dependency | @System | | Replaced | wget-0:1.19.5-5.fc29.x86_64 | Dependency | @System | And dnf5 transaction items for transaction "last-1..last" are # None | action | package | reason | repository | | Upgrade | abcde-0:2.9.3-1.fc29.noarch | User | dnf-ci-fedora-updates | | Upgrade | flac-0:1.3.3-3.fc29.x86_64 | Weak Dependency | dnf-ci-fedora-updates | | Upgrade | wget-0:1.19.6-5.fc29.x86_64 | Dependency | dnf-ci-fedora-updates | | Replaced | abcde-0:2.9.2-1.fc29.noarch | User | @System | | Replaced | flac-0:1.3.2-8.fc29.x86_64 | Weak Dependency | @System | | Replaced | wget-0:1.19.5-5.fc29.x86_64 | Dependency | @System | | Install | abcde-0:2.9.2-1.fc29.noarch | User | dnf-ci-fedora | | Install | wget-0:1.19.5-5.fc29.x86_64 | Dependency | dnf-ci-fedora | | Install | flac-0:1.3.2-8.fc29.x86_64 | Weak Dependency | dnf-ci-fedora | And dnf5 transaction items for transaction "last-2..last" are # None | action | package | reason | repository | | Upgrade | abcde-0:2.9.3-1.fc29.noarch | User | dnf-ci-fedora-updates | | Upgrade | flac-0:1.3.3-3.fc29.x86_64 | Weak Dependency | dnf-ci-fedora-updates | | Upgrade | wget-0:1.19.6-5.fc29.x86_64 | Dependency | dnf-ci-fedora-updates | | Replaced | abcde-0:2.9.2-1.fc29.noarch | User | @System | | Replaced | flac-0:1.3.2-8.fc29.x86_64 | Weak Dependency | @System | | Replaced | wget-0:1.19.5-5.fc29.x86_64 | Dependency | @System | | Install | abcde-0:2.9.2-1.fc29.noarch | User | dnf-ci-fedora | | Install | wget-0:1.19.5-5.fc29.x86_64 | Dependency | dnf-ci-fedora | | Install | flac-0:1.3.2-8.fc29.x86_64 | Weak Dependency | dnf-ci-fedora | | Remove | abcde-0:2.9.2-1.fc29.noarch | User | @System | | Remove | flac-0:1.3.2-8.fc29.x86_64 | Clean | @System | | Remove | wget-0:1.19.5-5.fc29.x86_64 | Clean | @System | And dnf5 transaction items for transaction "last-2..last-1" are # None | action | package | reason | repository | | Install | abcde-0:2.9.2-1.fc29.noarch | User | dnf-ci-fedora | | Install | wget-0:1.19.5-5.fc29.x86_64 | Dependency | dnf-ci-fedora | | Install | flac-0:1.3.2-8.fc29.x86_64 | Weak Dependency | dnf-ci-fedora | | Remove | abcde-0:2.9.2-1.fc29.noarch | User | @System | | Remove | flac-0:1.3.2-8.fc29.x86_64 | Clean | @System | | Remove | wget-0:1.19.5-5.fc29.x86_64 | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ekh0eu2h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ekh0eu2h/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: History info of package # dnf/history-view.feature:93 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install abcde" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5t3s9hp4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5t3s9hp4/var/cache/dnf install abcde Given I successfully execute dnf with args "remove abcde" # None Then dnf5 transaction items for transaction "last-1" are # None | action | package | reason | repository | | Install | abcde-0:2.9.2-1.fc29.noarch | User | dnf-ci-fedora | | Install | wget-0:1.19.5-5.fc29.x86_64 | Dependency | dnf-ci-fedora | | Install | flac-0:1.3.2-8.fc29.x86_64 | Weak Dependency | dnf-ci-fedora | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | abcde-0:2.9.2-1.fc29.noarch | User | @System | | Remove | flac-0:1.3.2-8.fc29.x86_64 | Clean | @System | | Remove | wget-0:1.19.5-5.fc29.x86_64 | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5t3s9hp4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5t3s9hp4/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history info aaa (nonexistent package) # dnf/history-view.feature:108 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "history info --contains-pkgs=aaa" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_teodlmiy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_teodlmiy/var/cache/dnf history info --contains-pkgs=aaa And stderr is empty # None And stdout is # None """ No match found, history info defaults to considering only the last transaction, specify "1..last" range to search all transactions. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_teodlmiy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_teodlmiy/var/cache/dnf history info --contains-pkgs=aaa  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history info aaa (nonexistent package) when other package is present # dnf/history-view.feature:118 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install abcde" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iae90y2w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iae90y2w/var/cache/dnf install abcde When I execute dnf with args "history info --contains-pkgs=aaa" # None Then the exit code is 0 # None And stderr is empty # None And stdout is # None """ No match found, history info defaults to considering only the last transaction, specify "1..last" range to search all transactions. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iae90y2w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iae90y2w/var/cache/dnf install abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: history info aaa (nonexistent package) when full range specified # dnf/history-view.feature:129 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "history info 0..last --contains-pkgs=aaa" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nuhsyh13 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nuhsyh13/var/cache/dnf history info 0..last --contains-pkgs=aaa And stderr is empty # None And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nuhsyh13 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nuhsyh13/var/cache/dnf history info 0..last --contains-pkgs=aaa  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/history-view.feature:7 List userinstalled packages dnf/history-view.feature:28 History info dnf/history-view.feature:43 History info in range - transaction merging dnf/history-view.feature:93 History info of package dnf/history-view.feature:108 history info aaa (nonexistent package) dnf/history-view.feature:118 history info aaa (nonexistent package) when other package is present dnf/history-view.feature:129 history info aaa (nonexistent package) when full range specified 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 10 steps passed, 7 failed, 27 skipped Took 0min 0.346s USING RUNNER: behave.runner:Runner Feature: Test for dnf info # dnf/info.feature:1 Feature: Test for dnf info # dnf/info.feature:1 Scenario: dnf info nonexistentpkg # dnf/info.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "info non-existent-pkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_42d_5nqy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_42d_5nqy/var/cache/dnf info non-existent-pkg And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_42d_5nqy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_42d_5nqy/var/cache/dnf info non-existent-pkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: info all packages available # dnf/info.feature:18 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "info --available" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_42tj8qf6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_42tj8qf6/var/cache/dnf info --available Then stdout contains "Name\s+: setup" # None Then stdout contains "Name\s+: basesystem" # None Then stdout contains "Name\s+: glibc" # None Then stdout contains "Name\s+: glibc-common" # None Then stdout contains "Name\s+: glibc-all-langpacks" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_42tj8qf6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_42tj8qf6/var/cache/dnf info --available  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info --extras (installed pkgs, not from known repos) # dnf/info.feature:28 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iybdw0ed --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iybdw0ed/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None And I execute dnf with args "info --extras" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Extra packages Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm From repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iybdw0ed --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iybdw0ed/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info setup (when setup is installed) # dnf/info.feature:58 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lwdzehg2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lwdzehg2/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "info setup" # None Then stderr is # None """ """ And stdout matches line by line # None """ Installed packages Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm From repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lwdzehg2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lwdzehg2/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info is case insensitive # dnf/info.feature:87 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wrrngu1n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wrrngu1n/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "info SETUP" # None Then stderr is # None """ """ And stdout matches line by line # None """ Installed packages Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm From repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wrrngu1n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wrrngu1n/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info setup (when setup is not installed but it is available) # dnf/info.feature:116 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "info setup" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout matches line by line # None """ Available packages Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Download size : [0-9.]+ KiB Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm Repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : src Download size : [0-9.]+ KiB Installed size : 616.0 B Repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f7_d44nj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f7_d44nj/var/cache/dnf info setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info --installed setup (when setup is installed) # dnf/info.feature:158 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_er00wahp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_er00wahp/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "info --installed setup" # None Then stderr is # None """ """ And stdout is # None """ Installed packages Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm From repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_er00wahp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_er00wahp/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: info --installed alias packages from all enabled repositories # dnf/info.feature:187 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zuu_nz1k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zuu_nz1k/var/cache/dnf install glibc When I execute dnf with args "info --installed" # None Then the exit code is 0 # None Then stdout contains "Installed packages" # None Then stdout contains "Name\s+: basesystem" # None Then stdout contains "Name\s+: filesystem" # None Then stdout contains "Name\s+: glibc" # None Then stdout contains "Name\s+: glibc-all-langpacks" # None Then stdout contains "Name\s+: glibc-common" # None Then stdout contains "Name\s+: setup" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zuu_nz1k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zuu_nz1k/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info --available setup (when setup is available) # dnf/info.feature:201 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "info --available setup" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout matches line by line # None """ Available packages Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Download size : [0-9.]+ KiB Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm Repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : src Download size : [0-9.]+ KiB Installed size : 616.0 B Repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cbg5zlxg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cbg5zlxg/var/cache/dnf info --available setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info setup basesystem (when basesystem is not installed) # dnf/info.feature:243 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_avr4x5b6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_avr4x5b6/var/cache/dnf install setup When I execute dnf with args "info setup basesystem" # None Then stderr is # None """ """ And stdout matches line by line # None """ Installed packages Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm From repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : Available packages Name : basesystem Epoch : 0 Version : 11 Release : 6.fc29 Architecture : noarch Download size : [0-9.]+ KiB Installed size : 0.0 B Source : basesystem-11-6.fc29.src.rpm Repository : dnf-ci-fedora Summary : The skeleton package which defines a simple Fedora system URL : None License : Public Domain Description : Basesystem defines the components of a basic Fedora system : \(for example, the package installation order to use during bootstrapping\). : Basesystem should be in every installation of a system, and it : should never be removed. Vendor : Name : basesystem Epoch : 0 Version : 11 Release : 6.fc29 Architecture : src Download size : [0-9.]+ KiB Installed size : 583.0 B Repository : dnf-ci-fedora Summary : The skeleton package which defines a simple Fedora system URL : None License : Public Domain Description : Basesystem defines the components of a basic Fedora system : \(for example, the package installation order to use during bootstrapping\). : Basesystem should be in every installation of a system, and it : should never be removed. Vendor : Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : src Download size : [0-9.]+ KiB Installed size : 616.0 B Repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_avr4x5b6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_avr4x5b6/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info installed setup basesystem (when basesystem is not installed) # dnf/info.feature:322 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gr6jgmnu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gr6jgmnu/var/cache/dnf install setup When I execute dnf with args "info --installed setup basesystem" # None Then stderr is # None """ No matches found for "basesystem". """ And stdout matches line by line # None """ Installed packages Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm From repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gr6jgmnu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gr6jgmnu/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info available setup basesystem (when basesystem is available) # dnf/info.feature:353 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pkcdd3hk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pkcdd3hk/var/cache/dnf install setup When I execute dnf with args "info --available setup basesystem" # None Then stdout contains "Available packages" # None Then stdout contains "Name\s+: basesystem" # None Then stdout contains "Name\s+: setup" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pkcdd3hk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pkcdd3hk/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info setup basesystem (when both are installed) # dnf/info.feature:362 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j_1ez_tu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j_1ez_tu/var/cache/dnf install setup basesystem When I execute dnf with args "info setup basesystem" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages Name : basesystem Epoch : 0 Version : 11 Release : 6.fc29 Architecture : noarch Installed size : 0.0 B Source : basesystem-11-6.fc29.src.rpm From repository : dnf-ci-fedora Summary : The skeleton package which defines a simple Fedora system URL : None License : Public Domain Description : Basesystem defines the components of a basic Fedora system : \(for example, the package installation order to use during bootstrapping\). : Basesystem should be in every installation of a system, and it : should never be removed. Vendor : Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : noarch Installed size : 0.0 B Source : setup-2.12.1-1.fc29.src.rpm From repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : Available packages Name : basesystem Epoch : 0 Version : 11 Release : 6.fc29 Architecture : src Download size : [0-9.]+ KiB Installed size : 583.0 B Repository : dnf-ci-fedora Summary : The skeleton package which defines a simple Fedora system URL : None License : Public Domain Description : Basesystem defines the components of a basic Fedora system : \(for example, the package installation order to use during bootstrapping\). : Basesystem should be in every installation of a system, and it : should never be removed. Vendor : Name : setup Epoch : 0 Version : 2.12.1 Release : 1.fc29 Architecture : src Download size : [0-9.]+ KiB Installed size : 616.0 B Repository : dnf-ci-fedora Summary : A set of system configuration and setup files URL : https://pagure.io/setup/ License : Public Domain Description : The setup package contains a set of important system configuration and : setup files, such as passwd, group, and profile. Vendor : """ When I execute dnf with args "info --installed setup basesystem" # None Then the exit code is 0 # None Then stdout contains "Installed packages" # None And stdout contains "Name\s+: basesystem" # None And stdout contains "Name\s+: setup" # None When I execute dnf with args "info --available setup.noarch basesystem.noarch" # None Then the exit code is 0 # None Then stdout contains "Available packages" # None And stdout contains "Name\s+: basesystem" # None And stdout contains "Name\s+: setup" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j_1ez_tu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j_1ez_tu/var/cache/dnf install setup basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: dnf info --upgrades -- @1.1 # dnf/info.feature:464 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xjxuxnhc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xjxuxnhc/var/cache/dnf install glibc Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "info --upgrades" # None Then the exit code is 0 # None Then stdout contains "Available upgrades" # None And stdout contains "Name\s+: glibc" # None And stdout contains "Name\s+: glibc-all-langpacks" # None And stdout contains "Name\s+: glibc-common" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xjxuxnhc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xjxuxnhc/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: dnf info --updates -- @1.2 # dnf/info.feature:465 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_612rwc57 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_612rwc57/var/cache/dnf install glibc Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "info --updates" # None Then the exit code is 0 # None Then stdout contains "Available upgrades" # None And stdout contains "Name\s+: glibc" # None And stdout contains "Name\s+: glibc-all-langpacks" # None And stdout contains "Name\s+: glibc-common" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_612rwc57 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_612rwc57/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info upgrades glibc (when glibc is not installed) # dnf/info.feature:468 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "info --upgrades glibc" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9uistopi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9uistopi/var/cache/dnf info --upgrades glibc And stderr is # None """ No matches found. """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9uistopi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9uistopi/var/cache/dnf info --upgrades glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info --obsoletes # dnf/info.feature:480 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xidw9s3q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xidw9s3q/var/cache/dnf install glibc Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "info --obsoletes" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Obsoleting packages Name : glibc Epoch : 0 Version : 2.28 Release : 26.fc29 Architecture : x86_64 Obsoletes : glibc-0:2.28-9.fc29.x86_64 Download size : [0-9.]+ KiB Installed size : 0.0 B Source : glibc-2.28-26.fc29.src.rpm Repository : dnf-ci-fedora-updates Summary : The GNU libc libraries URL : http://www.gnu.org/software/glibc/ License : LGPLv2\+ and LGPLv2\+ with exceptions and GPLv2\+ and GPLv2\+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL Description : The glibc package contains standard libraries which are used by : multiple programs on the system. In order to save disk space and : memory, as well as to make upgrading easier, common system code is : kept in one place and shared between programs. This particular package : contains the most important sets of shared libraries: the standard C : library and the standard math library. Without these two libraries, a : Linux system will not function. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xidw9s3q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xidw9s3q/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info obsoletes setup (when setup is not obsoleted) # dnf/info.feature:517 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uux1l028 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uux1l028/var/cache/dnf install setup When I execute dnf with args "info --obsoletes setup" # None Then the exit code is 1 # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uux1l028 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uux1l028/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1800342 Scenario: dnf info respects repo priorities # dnf/info.feature:530 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 100 | When I execute dnf with args "info flac.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1tgidnl4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1tgidnl4/var/cache/dnf info flac.x86_64 And stderr is # None """ """ And stdout matches line by line # None """ Available packages Name : flac Epoch : 0 Version : 1.3.2 Release : 8.fc29 Architecture : x86_64 Download size : [0-9.]+ KiB Installed size : 0.0 B Source : flac-1.3.2-8.fc29.src.rpm Repository : dnf-ci-fedora Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1tgidnl4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1tgidnl4/var/cache/dnf info flac.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info --showduplicates info all (even from lower-priority repo) # dnf/info.feature:568 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 100 | When I execute dnf with args "info flac.x86_64 --showduplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_08vwb1xr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_08vwb1xr/var/cache/dnf info flac.x86_64 --showduplicates And stderr is # None """ """ And stdout matches line by line # None """ Available packages Name : flac Epoch : 0 Version : 1.3.2 Release : 8.fc29 Architecture : x86_64 Download size : [0-9.]+ KiB Installed size : 0.0 B Source : flac-1.3.2-8.fc29.src.rpm Repository : dnf-ci-fedora Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : Name : flac Epoch : 0 Version : 1.3.3 Release : 1.fc29 Architecture : x86_64 Download size : [0-9.]+ KiB Installed size : 0.0 B Source : flac-1.3.3-1.fc29.src.rpm Repository : dnf-ci-fedora-updates Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : Name : flac Epoch : 0 Version : 1.3.3 Release : 2.fc29 Architecture : x86_64 Download size : [0-9.]+ KiB Installed size : 0.0 B Source : flac-1.3.3-2.fc29.src.rpm Repository : dnf-ci-fedora-updates Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : Name : flac Epoch : 0 Version : 1.3.3 Release : 3.fc29 Architecture : x86_64 Download size : [0-9.]+ KiB Installed size : 0.0 B Source : flac-1.3.3-3.fc29.src.rpm Repository : dnf-ci-fedora-updates Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_08vwb1xr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_08vwb1xr/var/cache/dnf info flac.x86_64 --showduplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1800342 Scenario: dnf info doesn't show any available packages when there are no upgrades in the highest-priority repo # dnf/info.feature:673 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 100 | And I successfully execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wgrpdj34 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wgrpdj34/var/cache/dnf install flac-1.3.3-1.fc29 When I execute dnf with args "info flac.x86_64" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages Name : flac Epoch : 0 Version : 1.3.3 Release : 1.fc29 Architecture : x86_64 Installed size : 0.0 B Source : flac-1.3.3-1.fc29.src.rpm From repository : dnf-ci-fedora-updates Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wgrpdj34 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wgrpdj34/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info shows available packages when there are upgrades in the highest-priority repo # dnf/info.feature:711 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I successfully execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cz48vktf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cz48vktf/var/cache/dnf install flac-1.3.3-1.fc29 When I execute dnf with args "info flac.x86_64" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages Name : flac Epoch : 0 Version : 1.3.3 Release : 1.fc29 Architecture : x86_64 Installed size : 0.0 B Source : flac-1.3.3-1.fc29.src.rpm From repository : dnf-ci-fedora-updates Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : Available packages Name : flac Epoch : 0 Version : 1.3.3 Release : 3.fc29 Architecture : x86_64 Download size : [0-9.]+ KiB Installed size : 0.0 B Source : flac-1.3.3-3.fc29.src.rpm Repository : dnf-ci-fedora-updates Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cz48vktf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cz48vktf/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf info doesn't show package with same nevra from lower-priority repo # dnf/info.feature:772 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I configure a new repository "dnf-ci-fedora2" with # dnf/steps/repo.py:271 | key | value | | baseurl | file://{context.dnf.repos[dnf-ci-fedora].path} | | priority | 100 | When I execute dnf with args "info flac.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zwsv40ql --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zwsv40ql/var/cache/dnf info flac.x86_64 And stderr is # None """ """ And stdout matches line by line # None """ Available packages Name : flac Epoch : 0 Version : 1.3.2 Release : 8.fc29 Architecture : x86_64 Download size : [0-9.]+ KiB Installed size : 0.0 B Source : flac-1.3.2-8.fc29.src.rpm Repository : dnf-ci-fedora Summary : An encoder/decoder for the Free Lossless Audio Codec URL : http://www.xiph.org/flac/ License : BSD and GPLv2\+ and GFDL Description : FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC : is similar to Ogg Vorbis, but lossless. The FLAC project consists of : the stream format, reference encoders and decoders in library form, : flac, a command-line program to encode and decode FLAC files, metaflac, : a command-line metadata editor for FLAC files and input plugins for : various music players. : : This package contains the command-line tools and documentation. Vendor : """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zwsv40ql --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zwsv40ql/var/cache/dnf info flac.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/info.feature:8 dnf info nonexistentpkg dnf/info.feature:18 info all packages available dnf/info.feature:28 dnf info --extras (installed pkgs, not from known repos) dnf/info.feature:58 dnf info setup (when setup is installed) dnf/info.feature:87 dnf info is case insensitive dnf/info.feature:116 dnf info setup (when setup is not installed but it is available) dnf/info.feature:158 dnf info --installed setup (when setup is installed) dnf/info.feature:187 info --installed alias packages from all enabled repositories dnf/info.feature:201 dnf info --available setup (when setup is available) dnf/info.feature:243 dnf info setup basesystem (when basesystem is not installed) dnf/info.feature:322 dnf info installed setup basesystem (when basesystem is not installed) dnf/info.feature:353 dnf info available setup basesystem (when basesystem is available) dnf/info.feature:362 dnf info setup basesystem (when both are installed) dnf/info.feature:464 dnf info --upgrades -- @1.1 dnf/info.feature:465 dnf info --updates -- @1.2 dnf/info.feature:468 dnf info upgrades glibc (when glibc is not installed) dnf/info.feature:480 dnf info --obsoletes dnf/info.feature:517 dnf info obsoletes setup (when setup is not obsoleted) dnf/info.feature:530 dnf info respects repo priorities dnf/info.feature:568 dnf info --showduplicates info all (even from lower-priority repo) dnf/info.feature:673 dnf info doesn't show any available packages when there are no upgrades in the highest-priority repo dnf/info.feature:711 dnf info shows available packages when there are upgrades in the highest-priority repo dnf/info.feature:772 dnf info doesn't show package with same nevra from lower-priority repo 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 23 failed, 0 skipped 50 steps passed, 23 failed, 96 skipped Took 0min 1.019s USING RUNNER: behave.runner:Runner Feature: Tests for install with dependencies # dnf/install-dependencies.feature:1 @bz1774617 Scenario: Best candidates have conflicting dependencies # dnf/install-dependencies.feature:5 Given I use repository "install-dependencies" # dnf/steps/repo.py:186 When I execute dnf with args "install foo bar --no-best" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_irzaqk9e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_irzaqk9e/var/cache/dnf install foo bar --no-best And Transaction is following # None | Action | Package | | install | foo-0:1.0-1.fc29.x86_64 | | install | bar-0:1.0-1.fc29.x86_64 | | install-dep | lib-0:1.0-1.fc29.x86_64 | | conflict | lib-0:2.0-1.fc29.x86_64 | | broken | foo-0:2.0-1.fc29.x86_64 | And stderr contains lines # None """ Problem: cannot install both lib-2.0-1.fc29.x86_64 from install-dependencies and lib-1.0-1.fc29.x86_64 from install-dependencies - package foo-2.0-1.fc29.x86_64 from install-dependencies requires lib-2.0, but none of the providers can be installed - package bar-1.0-1.fc29.x86_64 from install-dependencies requires lib-1.0, but none of the providers can be installed - cannot install the best candidate for the job - conflicting requests """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_irzaqk9e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_irzaqk9e/var/cache/dnf install foo bar --no-best  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-dependencies.feature:5 Best candidates have conflicting dependencies 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 2 skipped Took 0min 0.100s USING RUNNER: behave.runner:Runner Feature: Install RPMs with --exclude # dnf/install-exclude.feature:1 Scenario: Install an RPM that is excluded # dnf/install-exclude.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem --exclude filesystem" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_04cqyb33 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_04cqyb33/var/cache/dnf install filesystem --exclude filesystem And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_04cqyb33 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_04cqyb33/var/cache/dnf install filesystem --exclude filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1756473 Scenario: Install an RPM that requires excluded RPM # dnf/install-exclude.feature:12 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem --exclude setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fh8j58d8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fh8j58d8/var/cache/dnf install filesystem --exclude setup And Transaction is empty # None And stderr is # None """ Failed to resolve the transaction: Problem: package filesystem-3.9-2.fc29.x86_64 from dnf-ci-fedora requires setup, but none of the providers can be installed - conflicting requests - package setup-2.12.1-1.fc29.noarch from dnf-ci-fedora is filtered out by exclude filtering You can try to add to command line: --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fh8j58d8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fh8j58d8/var/cache/dnf install filesystem --exclude setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs while excluding part of them # dnf/install-exclude.feature:29 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup filesystem --exclude filesystem" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ua28ehdh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ua28ehdh/var/cache/dnf install setup filesystem --exclude filesystem And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ua28ehdh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ua28ehdh/var/cache/dnf install setup filesystem --exclude filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs while excluding part of them (strict=false) # dnf/install-exclude.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup filesystem --exclude filesystem --setopt=strict=false" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cuhmkqa7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cuhmkqa7/var/cache/dnf install setup filesystem --exclude filesystem --setopt=strict=false And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cuhmkqa7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cuhmkqa7/var/cache/dnf install setup filesystem --exclude filesystem --setopt=strict=false  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs while excluding another RPM # dnf/install-exclude.feature:45 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem --exclude glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5405bsyp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5405bsyp/var/cache/dnf install filesystem --exclude glibc And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5405bsyp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5405bsyp/var/cache/dnf install filesystem --exclude glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-exclude.feature:4 Install an RPM that is excluded dnf/install-exclude.feature:12 Install an RPM that requires excluded RPM dnf/install-exclude.feature:29 Install RPMs while excluding part of them dnf/install-exclude.feature:36 Install RPMs while excluding part of them (strict=false) dnf/install-exclude.feature:45 Install RPMs while excluding another RPM 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 10 steps passed, 5 failed, 6 skipped Took 0min 0.275s USING RUNNER: behave.runner:Runner Feature: Installing attemps fail # dnf/install-fails.feature:1 @bz1568965 Scenario: Report all missing dependencies # dnf/install-fails.feature:4 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install SuperRipper anitras-dance" # dnf/steps/cmd.py:110 Then stderr contains "nothing provides abcde needed by SuperRipper-1.0-1.x86_64 from dnf-ci-thirdparty" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: nothing provides abcde needed by SuperRipper-1.0-1.x86_64 from dnf-ci-thirdparty Then stderr contains "nothing provides nodejs needed by anitras-dance-1.0-1.x86_64 from dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y4hr9jji --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y4hr9jji/var/cache/dnf install SuperRipper anitras-dance  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1599774 Scenario: Report error when installing empty file # dnf/install-fails.feature:11 Given I set working directory to "{context.dnf.installroot}" # common/cmd.py:14 And I execute "touch empty.rpm" # common/cmd.py:30 When I execute dnf with args "install empty.rpm" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fajcl24i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fajcl24i/var/cache/dnf install empty.rpm And stderr is # None """ Failed to load RPM "empty.rpm": empty.rpm: not a rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fajcl24i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fajcl24i/var/cache/dnf install empty.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1616321 Scenario: Report error when installing text file # dnf/install-fails.feature:23 Given I set working directory to "{context.dnf.installroot}" # common/cmd.py:14 And I create file "invalid.rpm" with # common/file.py:36 """ this is not rpm """ When I execute dnf with args "install invalid.rpm" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ezykx82o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ezykx82o/var/cache/dnf install invalid.rpm And stderr is # None """ Failed to load RPM "invalid.rpm": invalid.rpm: not a rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ezykx82o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ezykx82o/var/cache/dnf install invalid.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1599774 Scenario: Report error when installing non-existing RPM file # dnf/install-fails.feature:38 When I execute dnf with args "install no_such_file.rpm" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_te9tdilu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_te9tdilu/var/cache/dnf install no_such_file.rpm And stderr is # None """ Failed to access RPM "no_such_file.rpm": No such file or directory """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_te9tdilu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_te9tdilu/var/cache/dnf install no_such_file.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Cannot install source rpm # dnf/install-fails.feature:47 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "install vagare.src" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot___9vvr6q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot___9vvr6q/var/cache/dnf install vagare.src And stderr is # None """ Failed to resolve the transaction: Argument 'vagare.src' matches only source packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot___9vvr6q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot___9vvr6q/var/cache/dnf install vagare.src  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-fails.feature:4 Report all missing dependencies dnf/install-fails.feature:11 Report error when installing empty file dnf/install-fails.feature:23 Report error when installing text file dnf/install-fails.feature:38 Report error when installing non-existing RPM file dnf/install-fails.feature:47 Cannot install source rpm 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 11 steps passed, 5 failed, 5 skipped Took 0min 0.354s USING RUNNER: behave.runner:Runner Feature: Tests for file conflicts reporting # dnf/install-file-conflicts.feature:1 Feature: Tests for file conflicts reporting # dnf/install-file-conflicts.feature:1 Scenario: An error is reported when a package with a file conflict is tried to be installed # dnf/install-file-conflicts.feature:7 Given I use repository "dnf-ci-install-conflicts" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install package-one-1.0-1.x86_64" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bjiy93bn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bjiy93bn/var/cache/dnf install package-one-1.0-1.x86_64 Then Transaction is following # None | Action | Package | | install | package-one-0:1.0-1.x86_64 | When I execute dnf with args "install package-two-1.0-1.x86_64" # None Then the exit code is 1 # None And stderr contains lines # None """ Transaction failed: Rpm transaction failed. - file /usr/lib/package/conflicting-file from install of package-two-0:1.0-1.x86_64 conflicts with file from package package-one-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bjiy93bn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bjiy93bn/var/cache/dnf install package-one-1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-file-conflicts.feature:7 An error is reported when a package with a file conflict is tried to be installed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 1 step passed, 1 failed, 4 skipped Took 0min 0.103s USING RUNNER: behave.runner:Runner Feature: Install RPMs with forcearch # dnf/install-forcearch.feature:1 Feature: Install RPMs with forcearch # dnf/install-forcearch.feature:1 Scenario: Install an RPM with both --releasever and --forcearch given # dnf/install-forcearch.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install --forcearch=x86_64 --releasever=29 filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_08smfze7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_08smfze7/var/cache/dnf install --forcearch=x86_64 --releasever=29 filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_08smfze7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_08smfze7/var/cache/dnf install --forcearch=x86_64 --releasever=29 filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Report error when unsupported architecture is requested # dnf/install-forcearch.feature:17 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install --forcearch=UNKNOWN filesystem" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr matches line by line # common/output.py:174 """ Unsupported architecture "UNKNOWN". Please choose one from.* """ ASSERT FAILED: 'Unsupported architecture "UNKNOWN". Please choose one from.*' regexp does not match line: 'setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.' ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y1ljhui8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y1ljhui8/var/cache/dnf install --forcearch=UNKNOWN filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-forcearch.feature:8 Install an RPM with both --releasever and --forcearch given dnf/install-forcearch.feature:17 Report error when unsupported architecture is requested 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 5 steps passed, 2 failed, 1 skipped Took 0min 0.177s USING RUNNER: behave.runner:Runner Feature: install with --from-repo # dnf/install-from-repo.feature:1 Scenario: Install "abcde" from repository "from-repo", dependecies from enabled repositories # dnf/install-from-repo.feature:4 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install --from-repo=from-repo abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bv89em9q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bv89em9q/var/cache/dnf install --from-repo=from-repo abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | And package state is # None | package | reason | from_repo | | abcde-2.9.2-1.fc29.noarch | User | from-repo | | wget-1.19.8-2.fc29.x86_64 | Dependency | from-repo-updates2 | | flac-1.3.3-3.fc29.x86_64 | Weak Dependency | from-repo-updates2 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | abcde-0:2.9.2-1.fc29.noarch | User | from-repo | | Install | wget-0:1.19.8-2.fc29.x86_64 | Dependency | from-repo-updates2 | | Install | flac-0:1.3.3-3.fc29.x86_64 | Weak Dependency | from-repo-updates2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bv89em9q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bv89em9q/var/cache/dnf install --from-repo=from-repo abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install "abcde" and "wget" from repository "from-repo", dependecies from enabled repositories # dnf/install-from-repo.feature:27 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install --from-repo=from-repo abcde wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r2_bx0pp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r2_bx0pp/var/cache/dnf install --from-repo=from-repo abcde wget And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | And package state is # None | package | reason | from_repo | | abcde-2.9.2-1.fc29.noarch | User | from-repo | | wget-1.19.5-5.fc29.x86_64 | User | from-repo | | flac-1.3.3-3.fc29.x86_64 | Weak Dependency | from-repo-updates2 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | abcde-0:2.9.2-1.fc29.noarch | User | from-repo | | Install | wget-0:1.19.5-5.fc29.x86_64 | User | from-repo | | Install | flac-0:1.3.3-3.fc29.x86_64 | Weak Dependency | from-repo-updates2 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r2_bx0pp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r2_bx0pp/var/cache/dnf install --from-repo=from-repo abcde wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-from-repo.feature:4 Install "abcde" from repository "from-repo", dependecies from enabled repositories dnf/install-from-repo.feature:27 Install "abcde" and "wget" from repository "from-repo", dependecies from enabled repositories 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 8 steps passed, 2 failed, 6 skipped Took 0min 0.297s USING RUNNER: behave.runner:Runner Feature: install with --from-vendor # dnf/install-from-vendor.feature:1 Scenario: Install "vendorpkg" from vendor "First Vendor", dependencies from any vendor # dnf/install-from-vendor.feature:4 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-1-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install --from-vendor='First\ Vendor' vendorpkg" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ye8f7b00 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ye8f7b00/var/cache/dnf install --from-vendor='First\ Vendor' vendorpkg And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.6-1.x86_64 | | install-dep | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendorpkg-0:1.6-1.x86_64 | User | dnf-ci-vendor-1-updates | | Install | vendordep-0:1.8-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | | Install | vendordep2-0:1.2-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ye8f7b00 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ye8f7b00/var/cache/dnf install --from-vendor='First\ Vendor' vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install "vendorpkg" and vendordep from vendor "First Vendor", not listed dependencies from any vendor # dnf/install-from-vendor.feature:25 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-1-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-3-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install --from-vendor='First*' vendorpkg vendordep" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2bzvwj4j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2bzvwj4j/var/cache/dnf install --from-vendor='First*' vendorpkg vendordep And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.6-1.x86_64 | | install | vendordep-0:1.6-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendorpkg-0:1.6-1.x86_64 | User | dnf-ci-vendor-1-updates | | Install | vendordep-0:1.6-1.x86_64 | User | dnf-ci-vendor-1-updates | | Install | vendordep2-0:1.2-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2bzvwj4j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2bzvwj4j/var/cache/dnf install --from-vendor='First*' vendorpkg vendordep  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install fails when package from requested vendor is not available # dnf/install-from-vendor.feature:46 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I use repository "dnf-ci-vendor-2" # dnf/steps/repo.py:186 When I execute dnf with args "install --from-vendor='Third*' vendorpkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v_l9j_4w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v_l9j_4w/var/cache/dnf install --from-vendor='Third*' vendorpkg ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v_l9j_4w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v_l9j_4w/var/cache/dnf install --from-vendor='Third*' vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-from-vendor.feature:4 Install "vendorpkg" from vendor "First Vendor", dependencies from any vendor dnf/install-from-vendor.feature:25 Install "vendorpkg" and vendordep from vendor "First Vendor", not listed dependencies from any vendor dnf/install-from-vendor.feature:46 Install fails when package from requested vendor is not available 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 17 steps passed, 3 failed, 4 skipped Took 0min 0.479s USING RUNNER: behave.runner:Runner Feature: Install different version of installed RPMs # dnf/install-installed-different-version.feature:1 @dnf5daemon Scenario: Install higher versions of installed RPMs # dnf/install-installed-different-version.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8al48edl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8al48edl/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "install glibc-2.28-26.fc29" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8al48edl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8al48edl/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install lower versions of installed RPMs # dnf/install-installed-different-version.feature:25 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_in4jg9gi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_in4jg9gi/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | When I execute dnf with args "install glibc-2.28-9.fc29" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | glibc-0:2.28-9.fc29.x86_64 | | downgrade | glibc-common-0:2.28-9.fc29.x86_64 | | downgrade | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_in4jg9gi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_in4jg9gi/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install lower versions of installed RPMs with --allow-downgrade # dnf/install-installed-different-version.feature:46 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bqvjd_gv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bqvjd_gv/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | When I execute dnf with args "install glibc-2.28-9.fc29 --allow-downgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | glibc-0:2.28-9.fc29.x86_64 | | downgrade | glibc-common-0:2.28-9.fc29.x86_64 | | downgrade | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bqvjd_gv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bqvjd_gv/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install lower versions of installed RPMs and no-allow-downgrade # dnf/install-installed-different-version.feature:67 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wsutczqn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wsutczqn/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | When I execute dnf with args "install glibc-2.28-9.fc29 --no-allow-downgrade" # None Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wsutczqn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wsutczqn/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-installed-different-version.feature:4 Install higher versions of installed RPMs dnf/install-installed-different-version.feature:25 Install lower versions of installed RPMs dnf/install-installed-different-version.feature:46 Install lower versions of installed RPMs with --allow-downgrade dnf/install-installed-different-version.feature:67 Install lower versions of installed RPMs and no-allow-downgrade 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 11 steps passed, 4 failed, 16 skipped Took 0min 0.380s USING RUNNER: behave.runner:Runner Feature: Install installed RPMs # dnf/install-installed.feature:1 Scenario: Install installed RPM when upgrade is available with --best # dnf/install-installed.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p5gfbokh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p5gfbokh/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "install glibc --best" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p5gfbokh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p5gfbokh/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @bz1670776 @bz1671683 Scenario: Install installed RPM when upgrade is available with best=True (in dnf.conf) # dnf/install-installed.feature:28 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7myhaj2i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7myhaj2i/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "install glibc" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7myhaj2i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7myhaj2i/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @bz1670776 @bz1671683 Scenario: Install installed RPM when upgrade is available with best=False (in dnf.conf) # dnf/install-installed.feature:52 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vhclsalj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vhclsalj/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "install glibc" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vhclsalj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vhclsalj/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1670776 @bz1671683 Scenario: Install installed RPM when upgrade is available with option --nobest # dnf/install-installed.feature:74 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udhyizf_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udhyizf_/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "install glibc --nobest" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udhyizf_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udhyizf_/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install installed RPM when downgrade is available # dnf/install-installed.feature:93 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tneiy1q8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tneiy1q8/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | When I execute dnf with args "install glibc" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tneiy1q8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tneiy1q8/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install installed RPM by NEVR when upgrade is available # dnf/install-installed.feature:112 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oxcklrio --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oxcklrio/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "install glibc-0:2.28-9.fc29" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oxcklrio --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oxcklrio/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install installed RPM by NEVR when downgrade is available # dnf/install-installed.feature:131 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sz2hagxa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sz2hagxa/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | When I execute dnf with args "install glibc-0:2.28-26.fc29" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sz2hagxa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sz2hagxa/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-installed.feature:4 Install installed RPM when upgrade is available with --best dnf/install-installed.feature:28 Install installed RPM when upgrade is available with best=True (in dnf.conf) dnf/install-installed.feature:52 Install installed RPM when upgrade is available with best=False (in dnf.conf) dnf/install-installed.feature:74 Install installed RPM when upgrade is available with option --nobest dnf/install-installed.feature:93 Install installed RPM when downgrade is available dnf/install-installed.feature:112 Install installed RPM by NEVR when upgrade is available dnf/install-installed.feature:131 Install installed RPM by NEVR when downgrade is available 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 17 steps passed, 7 failed, 33 skipped Took 0min 0.475s USING RUNNER: behave.runner:Runner Feature: Always use the latest packages when installing dependecies # dnf/install-latest-deps.feature:1 Scenario: prefer installing latests dependencies rather than smaller transaction # dnf/install-latest-deps.feature:4 Given I use repository "install-latest-deps" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install krb5-libs-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1me1p1ks --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1me1p1ks/var/cache/dnf install krb5-libs-1.0 When I execute dnf with args "install ipa-client" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | ipa-client-0:1.0-1.fc29.x86_64 | | install-dep | krb5-pkinit-0:2.0-1.fc29.x86_64 | | upgrade | krb5-libs-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1me1p1ks --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1me1p1ks/var/cache/dnf install krb5-libs-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: if latests dependencies are not possible to install fall back to lower versions without errors # dnf/install-latest-deps.feature:16 Given I use repository "install-latest-deps" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install krb5-libs-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0dvkrjtm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0dvkrjtm/var/cache/dnf install krb5-libs-1.0 When I execute dnf with args "install ipa-client -x krb5-libs-2.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | ipa-client-0:1.0-1.fc29.x86_64 | | install-dep | krb5-pkinit-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0dvkrjtm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0dvkrjtm/var/cache/dnf install krb5-libs-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-latest-deps.feature:4 prefer installing latests dependencies rather than smaller transaction dnf/install-latest-deps.feature:16 if latests dependencies are not possible to install fall back to lower versions without errors 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 2 steps passed, 2 failed, 6 skipped Took 0min 0.131s USING RUNNER: behave.runner:Runner Feature: install command on packages and their docs # dnf/install-nodocs.feature:1 Scenario: Install a documentation package from local repodata # dnf/install-nodocs.feature:4 Given I use repository "microdnf-install-nodocs" # dnf/steps/repo.py:186 When I execute dnf with args "install man-pages" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fyv0b4k6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fyv0b4k6/var/cache/dnf install man-pages And Transaction is following # None | Action | Package | | install | man-pages-0:4.16-3.fc29.x86_64 | And file "/usr/share/doc/man-pages/README" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fyv0b4k6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fyv0b4k6/var/cache/dnf install man-pages  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1769831 Scenario: Install package with option from local repodata with local packages # dnf/install-nodocs.feature:15 Given I use repository "microdnf-install-nodocs" # dnf/steps/repo.py:186 When I execute dnf with args "--setopt=tsflags=nodocs install man-pages" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cwh9h828 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cwh9h828/var/cache/dnf --setopt=tsflags=nodocs install man-pages And Transaction is following # None | Action | Package | | install | man-pages-0:4.16-3.fc29.x86_64 | And file "/usr/share/doc/man-pages/README" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cwh9h828 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cwh9h828/var/cache/dnf --setopt=tsflags=nodocs install man-pages  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1771012 Scenario: Install package with --nodocs option from local repodata with local packages # dnf/install-nodocs.feature:26 Given I use repository "microdnf-install-nodocs" # dnf/steps/repo.py:186 And I execute dnf with args "--nodocs install man-pages" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ytk4hd4p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ytk4hd4p/var/cache/dnf --nodocs install man-pages And Transaction is following # None | Action | Package | | install | man-pages-0:4.16-3.fc29.x86_64 | And file "/usr/share/doc/man-pages/README" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ytk4hd4p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ytk4hd4p/var/cache/dnf --nodocs install man-pages  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-nodocs.feature:4 Install a documentation package from local repodata dnf/install-nodocs.feature:15 Install package with option from local repodata with local packages dnf/install-nodocs.feature:26 Install package with --nodocs option from local repodata with local packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 6 steps passed, 3 failed, 6 skipped Took 0min 0.164s USING RUNNER: behave.runner:Runner Feature: Test for installation of non-existent rpm or package # dnf/install-non-existent.feature:1 @bz1578369 Scenario: Try to install a non-existent rpm # dnf/install-non-existent.feature:5 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install non-existent.rpm" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fzqamc9l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fzqamc9l/var/cache/dnf install non-existent.rpm And stderr is # None """ Failed to access RPM "non-existent.rpm": No such file or directory """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fzqamc9l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fzqamc9l/var/cache/dnf install non-existent.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Try to install a non-existent package # dnf/install-non-existent.feature:16 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install non-existent-package" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vpdbaqt1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vpdbaqt1/var/cache/dnf install non-existent-package And stderr is # None """ Failed to resolve the transaction: No match for argument: non-existent-package You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vpdbaqt1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vpdbaqt1/var/cache/dnf install non-existent-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1717429 Scenario: Install an existent and an non-existent package # dnf/install-non-existent.feature:31 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup non-existent-package" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6vqnpto_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6vqnpto_/var/cache/dnf install setup non-existent-package And stderr is # None """ Failed to resolve the transaction: No match for argument: non-existent-package You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6vqnpto_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6vqnpto_/var/cache/dnf install setup non-existent-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1717429 Scenario: Install an existent and an non-existent package with --skip-unavailable # dnf/install-non-existent.feature:46 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup non-existent-package --skip-unavailable" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2t2r3env --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2t2r3env/var/cache/dnf install setup non-existent-package --skip-unavailable And stderr contains lines # None """ No match for argument: non-existent-package """ And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2t2r3env --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2t2r3env/var/cache/dnf install setup non-existent-package --skip-unavailable  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-non-existent.feature:5 Try to install a non-existent rpm dnf/install-non-existent.feature:16 Try to install a non-existent package dnf/install-non-existent.feature:31 Install an existent and an non-existent package dnf/install-non-existent.feature:46 Install an existent and an non-existent package with --skip-unavailable 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 5 skipped Took 0min 0.244s USING RUNNER: behave.runner:Runner Feature: Install an obsoleted RPM # dnf/install-obsoletes.feature:1 Scenario: Install an obsoleted RPM # dnf/install-obsoletes.feature:4 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc-profile" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1ay4uy2l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1ay4uy2l/var/cache/dnf install glibc-profile And Transaction is following # None | Action | Package | | install | glibc-profile-0:2.3.1-10.x86_64 | And package state is # None | package | reason | from_repo | | glibc-profile-2.3.1-10.x86_64 | User | dnf-ci-thirdparty | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | glibc-profile-0:2.3.1-10.x86_64 | User | dnf-ci-thirdparty | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1ay4uy2l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1ay4uy2l/var/cache/dnf install glibc-profile  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an obsoleted RPM when the obsoleting RPM is available # dnf/install-obsoletes.feature:19 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc-profile" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vt7_2i1j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vt7_2i1j/var/cache/dnf install glibc-profile And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | | glibc-2.28-9.fc29.x86_64 | User | dnf-ci-fedora | | setup-2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | | filesystem-3.9-2.fc29.x86_64 | Dependency | dnf-ci-fedora | | basesystem-11-6.fc29.noarch | Dependency | dnf-ci-fedora | | glibc-common-2.28-9.fc29.x86_64 | Dependency | dnf-ci-fedora | | glibc-all-langpacks-2.28-9.fc29.x86_64 | Dependency | dnf-ci-fedora | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | glibc-0:2.28-9.fc29.x86_64 | User | dnf-ci-fedora | | Install | basesystem-0:11-6.fc29.noarch | Dependency | dnf-ci-fedora | | Install | glibc-common-0:2.28-9.fc29.x86_64 | Dependency | dnf-ci-fedora | | Install | filesystem-0:3.9-2.fc29.x86_64 | Dependency | dnf-ci-fedora | | Install | setup-0:2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | | Install | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Dependency | dnf-ci-fedora | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vt7_2i1j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vt7_2i1j/var/cache/dnf install glibc-profile  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1672618 @xfail Scenario: Upgrading obsoleted package by its obsoleter keeps userinstalled=false (with --best) # dnf/install-obsoletes.feature:53 @bz1672618 Scenario: Upgrading obsoleted package by its obsoleter keeps userinstalled=false (with --nobest) # dnf/install-obsoletes.feature:83 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc-profile" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cfa9_duo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cfa9_duo/var/cache/dnf install glibc-profile And Transaction is following # None | Action | Package | | install | glibc-profile-0:2.3.1-10.x86_64 | When I execute dnf with args "mark dependency glibc-profile" # None Then the exit code is 0 # None When I execute dnf with args "repoquery --userinstalled" # None Then the exit code is 0 # None And stdout is empty # None Given I use repository "dnf-ci-fedora" # None When I execute dnf with args "upgrade --nobest" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-dep | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | obsoleted | glibc-profile-0:2.3.1-10.x86_64 | When I execute dnf with args "repoquery --userinstalled" # None Then the exit code is 0 # None And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cfa9_duo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cfa9_duo/var/cache/dnf install glibc-profile  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install obsoleting package and inherit the best reason - user # dnf/install-obsoletes.feature:111 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc-profile" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pq49mvft --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pq49mvft/var/cache/dnf install glibc-profile And Transaction is following # None | Action | Package | | install | glibc-profile-0:2.3.1-10.x86_64 | When I execute dnf with args "mark dependency glibc-profile" # None Then the exit code is 0 # None When I execute dnf with args "repoquery --userinstalled" # None Then the exit code is 0 # None And stdout is empty # None Given I use repository "dnf-ci-fedora" # None When I execute dnf with args "install glibc-0:2.28-9.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | obsoleted | glibc-profile-0:2.3.1-10.x86_64 | When I execute dnf with args "repoquery --userinstalled" # None Then the exit code is 0 # None And stdout is # None """ glibc-0:2.28-9.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pq49mvft --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pq49mvft/var/cache/dnf install glibc-profile  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: install all obsoleters (as user installed), obsoles behavior specified by `SOLVER_FLAG_YUM_OBSOLETES` libsolv flag # dnf/install-obsoletes.feature:145 Given I use repository "obsoletes-yum" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wood-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9v6i3p98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9v6i3p98/var/cache/dnf install wood-1.0 When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | copper-0:1.0-1.fc29.x86_64 | | install | iron-0:1.0-1.fc29.x86_64 | | upgrade | wood-0:2.0-1.fc29.x86_64 | When I execute dnf with args "rq --installed --qf '%{{name}} - %{{reason}}\n'" # None Then stdout is # None """ copper - User iron - User wood - User """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9v6i3p98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9v6i3p98/var/cache/dnf install wood-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-obsoletes.feature:4 Install an obsoleted RPM dnf/install-obsoletes.feature:19 Install an obsoleted RPM when the obsoleting RPM is available dnf/install-obsoletes.feature:83 Upgrading obsoleted package by its obsoleter keeps userinstalled=false (with --nobest) dnf/install-obsoletes.feature:111 Install obsoleting package and inherit the best reason - user dnf/install-obsoletes.feature:145 install all obsoleters (as user installed), obsoles behavior specified by `SOLVER_FLAG_YUM_OBSOLETES` libsolv flag 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 1 skipped 10 steps passed, 5 failed, 53 skipped Took 0min 0.452s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Tests for installing RPM from paths # dnf/install-path.feature:2 Scenario Outline: I can install an RPM from path, where path is absolute -- @1.1 # dnf/install-path.feature:14 Given I set working directory to "{context.dnf.fixturesdir}/repos/dnf-ci-fedora" # common/cmd.py:14 When I execute dnf with args "install {context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s94gs5a1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s94gs5a1/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s94gs5a1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s94gs5a1/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can install an RPM from path, where path is relative -- @1.2 # dnf/install-path.feature:15 Given I set working directory to "{context.dnf.fixturesdir}/repos/dnf-ci-fedora" # common/cmd.py:14 When I execute dnf with args "install noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vvang2rv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vvang2rv/var/cache/dnf install noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vvang2rv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vvang2rv/var/cache/dnf install noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can install an RPM from path, where path is relative with wildcards -- @1.3 # dnf/install-path.feature:16 Given I set working directory to "{context.dnf.fixturesdir}/repos/dnf-ci-fedora" # common/cmd.py:14 When I execute dnf with args "install noarch/setup-*.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_36akvsnj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_36akvsnj/var/cache/dnf install noarch/setup-*.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_36akvsnj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_36akvsnj/var/cache/dnf install noarch/setup-*.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can install an RPM from path, where path is file:// -- @1.4 # dnf/install-path.feature:17 Given I set working directory to "{context.dnf.fixturesdir}/repos/dnf-ci-fedora" # common/cmd.py:14 When I execute dnf with args "install file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fd6qt4ew --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fd6qt4ew/var/cache/dnf install file:///opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fd6qt4ew --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fd6qt4ew/var/cache/dnf install file:///opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can install an RPM from path, where path is case insensitive URL scheme -- @1.5 # dnf/install-path.feature:18 Given I set working directory to "{context.dnf.fixturesdir}/repos/dnf-ci-fedora" # common/cmd.py:14 When I execute dnf with args "install FiLe://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uiyapm7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uiyapm7w/var/cache/dnf install FiLe:///opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uiyapm7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uiyapm7w/var/cache/dnf install FiLe:///opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM from path, when specifying the RPM multiple times # dnf/install-path.feature:21 When I execute dnf with args "install {context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm {context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nal_twn_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nal_twn_/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nal_twn_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nal_twn_/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM from url, where url is http address # dnf/install-path.feature:29 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I execute dnf with args "install http://localhost:{context.dnf.ports[dnf-ci-fedora]}/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_me9w75ue --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_me9w75ue/var/cache/dnf install http://localhost:42651/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_me9w75ue --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_me9w75ue/var/cache/dnf install http://localhost:42651/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM from url, where url is http address - test case insensitivity of the URL scheme # dnf/install-path.feature:38 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I execute dnf with args "install hTtP://localhost:{context.dnf.ports[dnf-ci-fedora]}/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5udn0x_v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5udn0x_v/var/cache/dnf install hTtP://localhost:44669/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5udn0x_v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5udn0x_v/var/cache/dnf install hTtP://localhost:44669/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM from url, where url is ftp address # dnf/install-path.feature:47 Given I use repository "dnf-ci-fedora" as ftp # dnf/steps/repo.py:294 [I 2026-12-03 04:21:46] concurrency model: async [I 2026-12-03 04:21:46] masquerade (NAT) address: None [I 2026-12-03 04:21:46] passive ports: None [I 2026-12-03 04:21:46] >>> starting FTP server on 127.0.0.1:35229, pid=78 <<< [I 2026-12-03 04:21:46] 127.0.0.1:33438-[] FTP session opened (connect) [I 2026-12-03 04:21:46] 127.0.0.1:33438-[] FTP session closed (disconnect). And I execute dnf with args "install ftp://localhost:{context.dnf.ports[dnf-ci-fedora]}/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gnoxdykp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gnoxdykp/var/cache/dnf install ftp://localhost:35229/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gnoxdykp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gnoxdykp/var/cache/dnf install ftp://localhost:35229/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM from url, where url is ftp address - test case insensitivity of the URL scheme # dnf/install-path.feature:56 Given I use repository "dnf-ci-fedora" as ftp # dnf/steps/repo.py:294 [I 2026-12-03 04:21:46] concurrency model: async [I 2026-12-03 04:21:46] masquerade (NAT) address: None [I 2026-12-03 04:21:46] passive ports: None [I 2026-12-03 04:21:46] >>> starting FTP server on 127.0.0.1:44143, pid=88 <<< [I 2026-12-03 04:21:46] 127.0.0.1:47736-[] FTP session opened (connect) [I 2026-12-03 04:21:46] 127.0.0.1:47736-[] FTP session closed (disconnect). And I execute dnf with args "install fTP://localhost:{context.dnf.ports[dnf-ci-fedora]}/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h17p1ugx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h17p1ugx/var/cache/dnf install fTP://localhost:44143/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h17p1ugx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h17p1ugx/var/cache/dnf install fTP://localhost:44143/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-path.feature:14 I can install an RPM from path, where path is absolute -- @1.1 dnf/install-path.feature:15 I can install an RPM from path, where path is relative -- @1.2 dnf/install-path.feature:16 I can install an RPM from path, where path is relative with wildcards -- @1.3 dnf/install-path.feature:17 I can install an RPM from path, where path is file:// -- @1.4 dnf/install-path.feature:18 I can install an RPM from path, where path is case insensitive URL scheme -- @1.5 dnf/install-path.feature:21 I can install an RPM from path, when specifying the RPM multiple times dnf/install-path.feature:29 I can install an RPM from url, where url is http address dnf/install-path.feature:38 I can install an RPM from url, where url is http address - test case insensitivity of the URL scheme dnf/install-path.feature:47 I can install an RPM from url, where url is ftp address dnf/install-path.feature:56 I can install an RPM from url, where url is ftp address - test case insensitivity of the URL scheme 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 10 failed, 0 skipped 19 steps passed, 10 failed, 10 skipped Took 0min 0.879s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 24 leaked semaphore objects to clean up at shutdown: {'/mp-9g2l7dbs', '/mp-xhlnloic', '/mp-9yfpdsq1', '/mp-pfyyskmm', '/mp-fk7ifg7g', '/mp-ewxzwijp', '/mp-r1z5ino8', '/mp-g5h7bd3x', '/mp-5s4pfwgg', '/mp-xg6clbiu', '/mp-dwnv4du1', '/mp-lcrrz82k', '/mp-jrggotfw', '/mp-ktcxiigm', '/mp-4rh0qvam', '/mp-_4ub84v6', '/mp-ojwhzzr6', '/mp-f3nf4heg', '/mp-_vpn80z6', '/mp-9eakjwoi', '/mp-w5gclgyi', '/mp-t79qxd2f', '/mp-nupey4c6', '/mp-hj7zbohc'} warnings.warn( USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Install RPMs by pkgspec # dnf/install-pkgspec.feature:2 @dnf5daemon Feature: Install RPMs by pkgspec # dnf/install-pkgspec.feature:2 @tier1 Scenario: Install an RPM by name # dnf/install-pkgspec.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_syowg4s0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_syowg4s0/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_syowg4s0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_syowg4s0/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1734350 Scenario: Install packages by name from remote repodata with remote packages # dnf/install-pkgspec.feature:18 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "install lame" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zrtl2d6e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zrtl2d6e/var/cache/dnf install lame And Transaction is following # None | Action | Package | | install | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zrtl2d6e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zrtl2d6e/var/cache/dnf install lame  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an RPM by name-version # dnf/install-pkgspec.feature:28 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem-3.9" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_48eyq3ly --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_48eyq3ly/var/cache/dnf install filesystem-3.9 And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_48eyq3ly --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_48eyq3ly/var/cache/dnf install filesystem-3.9  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an RPM by name-version-release # dnf/install-pkgspec.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem-3.9-2.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8arjxaao --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8arjxaao/var/cache/dnf install filesystem-3.9-2.fc29 And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8arjxaao --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8arjxaao/var/cache/dnf install filesystem-3.9-2.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an RPM by name-version-release.arch # dnf/install-pkgspec.feature:46 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem-3.9-2.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e_wn68nt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e_wn68nt/var/cache/dnf install filesystem-3.9-2.fc29.x86_64 And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e_wn68nt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e_wn68nt/var/cache/dnf install filesystem-3.9-2.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an RPM by name-epoch:version-release.arch # dnf/install-pkgspec.feature:55 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem-0:3.9-2.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_03d3o6m1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_03d3o6m1/var/cache/dnf install filesystem-0:3.9-2.fc29.x86_64 And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_03d3o6m1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_03d3o6m1/var/cache/dnf install filesystem-0:3.9-2.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM by $pkgspec where $pkgspec is name.arch # dnf/install-pkgspec.feature:64 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I execute dnf with args "install flac.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ftdim4c2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ftdim4c2/var/cache/dnf install flac.x86_64 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ftdim4c2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ftdim4c2/var/cache/dnf install flac.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM by $pkgspec where $pkgspec contains name with dashes # dnf/install-pkgspec.feature:73 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates-testing" # dnf/steps/repo.py:186 And I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s4grgcoa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s4grgcoa/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s4grgcoa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s4grgcoa/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM by $pkgspec where $pkgspec contains wildcards # dnf/install-pkgspec.feature:83 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I execute dnf with args "install flac-*.3-2.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m7iyzhf8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m7iyzhf8/var/cache/dnf install flac-*.3-2.fc29.x86_64 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m7iyzhf8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m7iyzhf8/var/cache/dnf install flac-*.3-2.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-pkgspec.feature:8 Install an RPM by name dnf/install-pkgspec.feature:18 Install packages by name from remote repodata with remote packages dnf/install-pkgspec.feature:28 Install an RPM by name-version dnf/install-pkgspec.feature:37 Install an RPM by name-version-release dnf/install-pkgspec.feature:46 Install an RPM by name-version-release.arch dnf/install-pkgspec.feature:55 Install an RPM by name-epoch:version-release.arch dnf/install-pkgspec.feature:64 I can install an RPM by $pkgspec where $pkgspec is name.arch dnf/install-pkgspec.feature:73 I can install an RPM by $pkgspec where $pkgspec contains name with dashes dnf/install-pkgspec.feature:83 I can install an RPM by $pkgspec where $pkgspec contains wildcards 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 22 steps passed, 9 failed, 9 skipped Took 0min 0.842s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-q0703ghk', '/mp-j6yi94pf', '/mp-6vkhe82o', '/mp-7chyo5ru', '/mp-z8w85o5o', '/mp-99zrelij'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Install RPMs by provides # dnf/install-provides.feature:1 @dnf5daemon Scenario: Install an RPM by provide that equals to e:v-r # dnf/install-provides.feature:5 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install 'filesystem = 0:3.9-2.fc29'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i3pyzuxd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i3pyzuxd/var/cache/dnf install 'filesystem = 0:3.9-2.fc29' And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i3pyzuxd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i3pyzuxd/var/cache/dnf install 'filesystem = 0:3.9-2.fc29'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install an RPM by provide that is greater than e:vr # dnf/install-provides.feature:16 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install 'filesystem > 0:3.9-2'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pllt9kd8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pllt9kd8/var/cache/dnf install 'filesystem > 0:3.9-2' And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pllt9kd8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pllt9kd8/var/cache/dnf install 'filesystem > 0:3.9-2'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install an RPM by provide that is greater than e:vr without space # dnf/install-provides.feature:27 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install 'filesystem >0:3.9-2'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nv_ugzpd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nv_ugzpd/var/cache/dnf install 'filesystem >0:3.9-2' And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nv_ugzpd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nv_ugzpd/var/cache/dnf install 'filesystem >0:3.9-2'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install an RPM by provide that is greater or equal to e:vr # dnf/install-provides.feature:38 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install 'filesystem >= 0:3.9-2'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wrlv8uyn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wrlv8uyn/var/cache/dnf install 'filesystem >= 0:3.9-2' And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wrlv8uyn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wrlv8uyn/var/cache/dnf install 'filesystem >= 0:3.9-2'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install an RPM by provide that is lower than e:vr # dnf/install-provides.feature:49 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install 'glibc < 0:2.28-26.fc29'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_czcr1y93 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_czcr1y93/var/cache/dnf install 'glibc < 0:2.28-26.fc29' And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_czcr1y93 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_czcr1y93/var/cache/dnf install 'glibc < 0:2.28-26.fc29'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install an RPM by provide that is lower or equal to e:vr # dnf/install-provides.feature:65 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install 'glibc <= 0:2.28-26.fc29'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s7kn6odl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s7kn6odl/var/cache/dnf install 'glibc <= 0:2.28-26.fc29' And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s7kn6odl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s7kn6odl/var/cache/dnf install 'glibc <= 0:2.28-26.fc29'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: I can install an RPM by $provide where $provide is key # dnf/install-provides.feature:81 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install webclient" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wffh9xqu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wffh9xqu/var/cache/dnf install webclient And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wffh9xqu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wffh9xqu/var/cache/dnf install webclient  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario Outline: I can install an RPM by file provide -- @1.1 # dnf/install-provides.feature:106 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install /etc/ld.so.conf " # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7pkjbfeu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7pkjbfeu/var/cache/dnf install /etc/ld.so.conf And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7pkjbfeu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7pkjbfeu/var/cache/dnf install /etc/ld.so.conf  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario Outline: I can install an RPM by file provide with wildcards -- @1.2 # dnf/install-provides.feature:107 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install /etc/ld*conf " # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t_0ny_9h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t_0ny_9h/var/cache/dnf install /etc/ld*conf And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t_0ny_9h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t_0ny_9h/var/cache/dnf install /etc/ld*conf  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install package using binary name # dnf/install-provides.feature:113 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget-binary" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j3l7mxep --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j3l7mxep/var/cache/dnf install wget-binary And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j3l7mxep --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j3l7mxep/var/cache/dnf install wget-binary  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-provides.feature:5 Install an RPM by provide that equals to e:v-r dnf/install-provides.feature:16 Install an RPM by provide that is greater than e:vr dnf/install-provides.feature:27 Install an RPM by provide that is greater than e:vr without space dnf/install-provides.feature:38 Install an RPM by provide that is greater or equal to e:vr dnf/install-provides.feature:49 Install an RPM by provide that is lower than e:vr dnf/install-provides.feature:65 Install an RPM by provide that is lower or equal to e:vr dnf/install-provides.feature:81 I can install an RPM by $provide where $provide is key dnf/install-provides.feature:106 I can install an RPM by file provide -- @1.1 dnf/install-provides.feature:107 I can install an RPM by file provide with wildcards -- @1.2 dnf/install-provides.feature:113 Install package using binary name 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 10 failed, 0 skipped 22 steps passed, 10 failed, 10 skipped Took 0min 0.578s USING RUNNER: behave.runner:Runner Feature: Installing and removing multilib packages # dnf/install-remove-multilib.feature:1 Feature: Installing and removing multilib packages # dnf/install-remove-multilib.feature:1 @xfail Scenario: Installing inferior arch with dependencies # dnf/install-remove-multilib.feature:10 @dnf5daemon Scenario: Installing inferior arch with dependencies, in two steps # dnf/install-remove-multilib.feature:20 Given I use repository "install-remove-multilib" # dnf/steps/repo.py:186 When I execute dnf with args "install library.i686" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kzlvx7h3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kzlvx7h3/var/cache/dnf install library.i686 And Transaction is following # None | Action | Package | | install | library-0:1.0-1.i686 | When I execute dnf with args "install packageB.i686" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | packageB-0:1.0-1.i686 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kzlvx7h3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kzlvx7h3/var/cache/dnf install library.i686  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1745878 Scenario: Removing package of inferior arch also removes dependencies # dnf/install-remove-multilib.feature:36 @bz1782899 Scenario: Installing a package upgrade with best will not pull in secondary arch packages (non-trivial dependency tree) # dnf/install-remove-multilib.feature:58 Given I use repository "install-remove-multilib" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install foo-1.0-1.x86_64" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y2ripqhh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y2ripqhh/var/cache/dnf install foo-1.0-1.x86_64 When I execute dnf with args "install foo --best" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | foo-2.0-1.x86_64 | | upgrade | python3-foo-2.0-1.x86_64 | | upgrade | python3-foo-clibs-2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y2ripqhh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y2ripqhh/var/cache/dnf install foo-1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Installing an older version of x86_64 pulls in a newer version of i686 through dependencies # dnf/install-remove-multilib.feature:71 @bz2172292 Scenario: undo install transaction when another arch is installed # dnf/install-remove-multilib.feature:81 Given I use repository "install-remove-multilib" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install perduto.i686" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4w9ru1e9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4w9ru1e9/var/cache/dnf install perduto.i686 And I successfully execute dnf with args "install perduto.x86_64" # None When I execute dnf with args "history undo last" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | perduto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4w9ru1e9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4w9ru1e9/var/cache/dnf install perduto.i686  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-remove-multilib.feature:20 Installing inferior arch with dependencies, in two steps dnf/install-remove-multilib.feature:58 Installing a package upgrade with best will not pull in secondary arch packages (non-trivial dependency tree) dnf/install-remove-multilib.feature:81 undo install transaction when another arch is installed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 3 skipped 4 steps passed, 3 failed, 28 skipped Took 0min 0.173s USING RUNNER: behave.runner:Runner Feature: Install remove test # dnf/install-remove.feature:1 Feature: Install remove test # dnf/install-remove.feature:1 Scenario Outline: Install remove package that requires only name -- @1.1 # dnf/install-remove.feature:34 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install tea" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_99ktonlx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_99ktonlx/var/cache/dnf install tea And Transaction is following # None | Action | Package | | install | tea-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | And package state is # None | package | reason | from_repo | | tea-1.0-1.x86_64 | User | dnf-ci-install-remove | | water-1.0-1.x86_64 | Dependency | dnf-ci-install-remove | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | tea-0:1.0-1.x86_64 | User | dnf-ci-install-remove | | Install | water-0:1.0-1.x86_64 | Dependency | dnf-ci-install-remove | When I execute dnf with args "install tea" # None Then the exit code is 0 # None And Transaction is empty # None When I execute dnf with args "remove tea" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | tea-0:1.0-1.x86_64 | | remove-unused | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_99ktonlx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_99ktonlx/var/cache/dnf install tea  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install remove provide that requires only name -- @1.2 # dnf/install-remove.feature:35 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install hot-beverage" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0lxxd15u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0lxxd15u/var/cache/dnf install hot-beverage And Transaction is following # None | Action | Package | | install | tea-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | And package state is # None | package | reason | from_repo | | tea-1.0-1.x86_64 | User | dnf-ci-install-remove | | water-1.0-1.x86_64 | Dependency | dnf-ci-install-remove | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | tea-0:1.0-1.x86_64 | User | dnf-ci-install-remove | | Install | water-0:1.0-1.x86_64 | Dependency | dnf-ci-install-remove | When I execute dnf with args "install tea" # None Then the exit code is 0 # None And Transaction is empty # None When I execute dnf with args "remove tea" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | tea-0:1.0-1.x86_64 | | remove-unused | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0lxxd15u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0lxxd15u/var/cache/dnf install hot-beverage  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install remove package via rpm # dnf/install-remove.feature:38 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install basesystem filesystem" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wa4q16vu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wa4q16vu/var/cache/dnf install basesystem filesystem Then Transaction is following # None | Action | Package | | install | basesystem-0:11-6.fc29.noarch | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | And package state is # None | package | reason | from_repo | | basesystem-11-6.fc29.noarch | User | dnf-ci-fedora | | filesystem-3.9-2.fc29.x86_64 | User | dnf-ci-fedora | | setup-2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | basesystem-0:11-6.fc29.noarch | User | dnf-ci-fedora | | Install | filesystem-0:3.9-2.fc29.x86_64 | User | dnf-ci-fedora | | Install | setup-0:2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | Given I successfully execute rpm with args "-e basesystem filesystem setup" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | And package state is # None | package | reason | from_repo | | basesystem-11-6.fc29.noarch | User | dnf-ci-fedora | | filesystem-3.9-2.fc29.x86_64 | Dependency | dnf-ci-fedora | | setup-2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | basesystem-0:11-6.fc29.noarch | User | dnf-ci-fedora | | Install | filesystem-0:3.9-2.fc29.x86_64 | Dependency | dnf-ci-fedora | | Install | setup-0:2.12.1-1.fc29.noarch | Dependency | dnf-ci-fedora | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wa4q16vu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wa4q16vu/var/cache/dnf install basesystem filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install remove package that requires exact version # dnf/install-remove.feature:78 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install coffee" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b12cb1f_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b12cb1f_/var/cache/dnf install coffee And Transaction is following # None | Action | Package | | install | coffee-0:1.0-1.x86_64 | | install-dep | sugar-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | When I execute dnf with args "remove coffee" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | coffee-0:1.0-1.x86_64 | | remove-unused | sugar-0:1.0-1.x86_64 | | remove-unused | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b12cb1f_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b12cb1f_/var/cache/dnf install coffee  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install remove package that requires version >= # dnf/install-remove.feature:97 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install chockolate" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5copae8t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5copae8t/var/cache/dnf install chockolate And Transaction is following # None | Action | Package | | install | chockolate-0:1.0-1.x86_64 | | install-dep | sugar-0:2.0-1.x86_64 | | install-dep | milk-0:1.0-1.x86_64 | When I execute dnf with args "remove chockolate" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | chockolate-0:1.0-1.x86_64 | | remove-unused | sugar-0:2.0-1.x86_64 | | remove-unused | milk-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5copae8t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5copae8t/var/cache/dnf install chockolate  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install remove package that requires version >=, not satisfiable # dnf/install-remove.feature:115 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install mate" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9bvzgc1y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9bvzgc1y/var/cache/dnf install mate And stderr contains "nothing provides water >= 2 needed by mate-1.0-1.x86_64 from dnf-ci-install-remove" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9bvzgc1y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9bvzgc1y/var/cache/dnf install mate  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install remove two package with shared dependency # dnf/install-remove.feature:123 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install tea coffee" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fyh4t80j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fyh4t80j/var/cache/dnf install tea coffee And Transaction is following # None | Action | Package | | install | coffee-0:1.0-1.x86_64 | | install | tea-0:1.0-1.x86_64 | | install-dep | sugar-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | When I execute dnf with args "remove tea" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | tea-0:1.0-1.x86_64 | | present | water-0:1.0-1.x86_64 | When I execute dnf with args "remove coffee" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | coffee-0:1.0-1.x86_64 | | remove-unused | sugar-0:1.0-1.x86_64 | | remove-unused | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fyh4t80j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fyh4t80j/var/cache/dnf install tea coffee  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install remove rpm file from local path # dnf/install-remove.feature:148 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install {context.scenario.repos_location}/dnf-ci-install-remove/x86_64/water-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_scl22xev --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_scl22xev/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-install-remove/x86_64/water-1.0-1.x86_64.rpm And Transaction is following # None | Action | Package | | install | water-0:1.0-1.x86_64 | When I execute dnf with args "remove water" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_scl22xev --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_scl22xev/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-install-remove/x86_64/water-1.0-1.x86_64.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install remove *.rpm from local path # dnf/install-remove.feature:162 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install {context.scenario.repos_location}/dnf-ci-install-remove/x86_64/water_{{still,carbonated}}-1*.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3mt12hzf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3mt12hzf/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-install-remove/x86_64/water_{still,carbonated}-1*.rpm And Transaction is following # None | Action | Package | | install | water_still-0:1.0-1.x86_64 | | install | water_carbonated-0:1.0-1.x86_64 | When I execute dnf with args "remove water*" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | water_still-0:1.0-1.x86_64 | | remove | water_carbonated-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3mt12hzf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3mt12hzf/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-install-remove/x86_64/water_{still,carbonated}-1*.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install a package that was already installed via rpm # dnf/install-remove.feature:178 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute rpm with args "-i {context.scenario.repos_location}/dnf-ci-install-remove/x86_64/water-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "install water" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1kl6om9y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1kl6om9y/var/cache/dnf install water When I execute dnf with args "repoquery --installed --queryformat=%{{reason}} water" # None Then stdout is # None """ User """ And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reason Change | water-0:1.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1kl6om9y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1kl6om9y/var/cache/dnf install water  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install remove group # dnf/install-remove.feature:193 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install @beverages" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pwz8mmlj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pwz8mmlj/var/cache/dnf install @beverages And Transaction is following # None | Action | Package | | group-install | Beverages | | install-group | tea-0:1.0-1.x86_64 | | install-group | water_still-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | When I execute dnf with args "group list beverages" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ ID +Name +Installed beverages +Beverages +yes Groups: 1 \(1 installed, 0 available\) """ When I execute dnf with args "install water_carbonated" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | water_carbonated-0:1.0-1.x86_64 | When I execute dnf with args "group remove beverages" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | Beverages | | remove | tea-0:1.0-1.x86_64 | | remove | water_still-0:1.0-1.x86_64 | | remove-unused | water-0:1.0-1.x86_64 | | present | water_carbonated-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pwz8mmlj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pwz8mmlj/var/cache/dnf install @beverages  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install remove group with optional packages # dnf/install-remove.feature:230 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "group install --with-optional beverages" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9e1ad_hu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9e1ad_hu/var/cache/dnf group install --with-optional beverages And Transaction is following # None | Action | Package | | group-install | Beverages | | install-group | tea-0:1.0-1.x86_64 | | install-group | water_still-0:1.0-1.x86_64 | | install-group | water_carbonated-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | When I execute dnf with args "remove @beverages" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | Beverages | | remove | tea-0:1.0-1.x86_64 | | remove | water_still-0:1.0-1.x86_64 | | remove | water_carbonated-0:1.0-1.x86_64 | | remove-unused | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9e1ad_hu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9e1ad_hu/var/cache/dnf group install --with-optional beverages  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install remove group with already installed package with dependency # dnf/install-remove.feature:251 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install tea" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i9a_xa1u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i9a_xa1u/var/cache/dnf install tea And Transaction is following # None | Action | Package | | install | tea-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | When I execute dnf with args "install @beverages" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-install | Beverages | | install-group | water_still-0:1.0-1.x86_64 | | present | tea-0:1.0-1.x86_64 | | present | water-0:1.0-1.x86_64 | When I execute dnf with args "group remove beverages" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | Beverages | | remove | water_still-0:1.0-1.x86_64 | | present | tea-0:1.0-1.x86_64 | | present | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i9a_xa1u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i9a_xa1u/var/cache/dnf install tea  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install remove group with already installed package # dnf/install-remove.feature:276 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install water_still" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ao0l6do9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ao0l6do9/var/cache/dnf install water_still And Transaction is following # None | Action | Package | | install | water_still-0:1.0-1.x86_64 | When I execute dnf with args "install @beverages" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-install | Beverages | | install-group | tea-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | | present | water_still-0:1.0-1.x86_64 | When I execute dnf with args "group remove beverages" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-remove | Beverages | | remove | tea-0:1.0-1.x86_64 | | remove-unused | water-0:1.0-1.x86_64 | | present | water_still-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ao0l6do9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ao0l6do9/var/cache/dnf install water_still  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: User-installed packages are not removed as unused dependencies # dnf/install-remove.feature:302 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install coffee water" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_du08eo0m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_du08eo0m/var/cache/dnf install coffee water Then Transaction is following # None | Action | Package | | install | coffee-0:1.0-1.x86_64 | | install | water-0:1.0-1.x86_64 | | install-dep | sugar-0:1.0-1.x86_64 | When I execute dnf with args "remove coffee" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | coffee-0:1.0-1.x86_64 | | remove-unused | sugar-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_du08eo0m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_du08eo0m/var/cache/dnf install coffee water  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install with glob # dnf/install-remove.feature:319 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install 'water_*'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u0pznw3s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u0pznw3s/var/cache/dnf install 'water_*' And Transaction is following # None | Action | Package | | install | water_still-0:1.0-1.x86_64 | | install | water_carbonated-0:1.0-1.x86_64 | When I execute dnf with args "remove 'water_*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | water_still-0:1.0-1.x86_64 | | remove | water_carbonated-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u0pznw3s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u0pznw3s/var/cache/dnf install 'water_*'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install with glob and empty advisory # dnf/install-remove.feature:337 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install 'water_*' --advisories=nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_19mw_62l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_19mw_62l/var/cache/dnf install 'water_*' --advisories=nonexistent And stderr is # None """ No advisory found matching the requested name: "nonexistent" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_19mw_62l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_19mw_62l/var/cache/dnf install 'water_*' --advisories=nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-remove.feature:34 Install remove package that requires only name -- @1.1 dnf/install-remove.feature:35 Install remove provide that requires only name -- @1.2 dnf/install-remove.feature:38 Install remove package via rpm dnf/install-remove.feature:78 Install remove package that requires exact version dnf/install-remove.feature:97 Install remove package that requires version >= dnf/install-remove.feature:115 Install remove package that requires version >=, not satisfiable dnf/install-remove.feature:123 Install remove two package with shared dependency dnf/install-remove.feature:148 Install remove rpm file from local path dnf/install-remove.feature:162 Install remove *.rpm from local path dnf/install-remove.feature:178 Install a package that was already installed via rpm dnf/install-remove.feature:193 Install remove group dnf/install-remove.feature:230 Install remove group with optional packages dnf/install-remove.feature:251 Install remove group with already installed package with dependency dnf/install-remove.feature:276 Install remove group with already installed package dnf/install-remove.feature:302 User-installed packages are not removed as unused dependencies dnf/install-remove.feature:319 Install with glob dnf/install-remove.feature:337 Install with glob and empty advisory 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 17 failed, 0 skipped 36 steps passed, 17 failed, 92 skipped Took 0min 0.796s USING RUNNER: behave.runner:Runner Feature: Tests --setopt=install_weak_deps= # dnf/install-weak-deps.feature:1 Feature: Tests --setopt=install_weak_deps= # dnf/install-weak-deps.feature:1 Scenario: Install "abcde" without weak dependencies # dnf/install-weak-deps.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install --setopt=install_weak_deps=0 abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_shd74yuq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_shd74yuq/var/cache/dnf install --setopt=install_weak_deps=0 abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_shd74yuq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_shd74yuq/var/cache/dnf install --setopt=install_weak_deps=0 abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install "abcde" with weak dependencies # dnf/install-weak-deps.feature:17 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install --setopt=install_weak_deps=1 abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sbqpaef6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sbqpaef6/var/cache/dnf install --setopt=install_weak_deps=1 abcde And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sbqpaef6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sbqpaef6/var/cache/dnf install --setopt=install_weak_deps=1 abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install-weak-deps.feature:8 Install "abcde" without weak dependencies dnf/install-weak-deps.feature:17 Install "abcde" with weak dependencies 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 2 skipped Took 0min 0.181s USING RUNNER: behave.runner:Runner Feature: Install packages with base:xml set # dnf/install-xml-base.feature:1 @xfail Scenario: Installed packages from local repository with local xml:base are not cached # dnf/install-xml-base.feature:6 @dnf5daemon Scenario: Install from local repodata with xml:base pointing to remote packages # dnf/install-xml-base.feature:21 Given I make packages from repository "dnf-ci-fedora" accessible via http # dnf/steps/repo.py:283 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--baseurl http://localhost:{context.dnf.ports[dnf-ci-fedora]}" # dnf/steps/repo.py:152 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "--setopt=keepcache=true install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8w6otm4x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8w6otm4x/var/cache/dnf --setopt=keepcache=true install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | And file "/var/cache/dnf/dnf-ci-fedora*/packages/setup*" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8w6otm4x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8w6otm4x/var/cache/dnf --setopt=keepcache=true install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install from remote repodata with xml:base pointing to packages on different HTTP servers # dnf/install-xml-base.feature:35 Given I make packages from repository "dnf-ci-fedora" accessible via http # dnf/steps/repo.py:283 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--baseurl http://localhost:{context.dnf.ports[dnf-ci-fedora]}" # dnf/steps/repo.py:152 And I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_2npk_4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_2npk_4/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_2npk_4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_2npk_4/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Install from local repodata with xml:base pointing to remote packages doesn't delete unused local packages # dnf/install-xml-base.feature:48 Given I make packages from repository "dnf-ci-fedora" accessible via http # dnf/steps/repo.py:283 And I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "dnf-ci-fedora" with extra arguments "--baseurl http://localhost:{context.dnf.ports[dnf-ci-fedora]}" # dnf/steps/repo.py:152 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And file "/{context.dnf.repos[dnf-ci-fedora].path}/noarch/setup-2.12.1-1.fc29.noarch.rpm" exists # common/file.py:84 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then file "/{context.dnf.repos[dnf-ci-fedora].path}/noarch/setup-2.12.1-1.fc29.noarch.rpm" exists # common/file.py:84 And the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0mtbv07w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0mtbv07w/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0mtbv07w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0mtbv07w/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Install from local repodata that have packages with xml:base pointing to a remote as well as local packages # dnf/install-xml-base.feature:64 Failing scenarios: dnf/install-xml-base.feature:21 Install from local repodata with xml:base pointing to remote packages dnf/install-xml-base.feature:35 Install from remote repodata with xml:base pointing to packages on different HTTP servers dnf/install-xml-base.feature:48 Install from local repodata with xml:base pointing to remote packages doesn't delete unused local packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 2 skipped 17 steps passed, 3 failed, 23 skipped Took 0min 1.203s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 24 leaked semaphore objects to clean up at shutdown: {'/mp-w_uqeg_v', '/mp-1ks48ga3', '/mp-k733a747', '/mp-w54qn5x0', '/mp-kxfzgm27', '/mp-40gep8g6', '/mp-zpwc7kzx', '/mp-frcg6trk', '/mp-5pt0q0fb', '/mp-uzap8xuh', '/mp-l6iavx04', '/mp-r8a2p0ei', '/mp-ixo0otx5', '/mp-q8jjhd0w', '/mp-lcu1jnjy', '/mp-tj_9ep38', '/mp-ykilcx9f', '/mp-35v26zds', '/mp-e8hhknoo', '/mp-4fsk5r0o', '/mp-1tcwv8cq', '/mp-cirk6e31', '/mp-xjah2ixf', '/mp-fq1eww9q'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: RPM installation tests # dnf/install.feature:1 Feature: RPM installation tests # dnf/install.feature:1 Scenario: Install an RPM with `destdir` option set # dnf/install.feature:7 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "install labirinto --setopt=destdir={context.dnf.tempdir}/SomeDestination" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y3n6y52o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y3n6y52o/var/cache/dnf install labirinto --setopt=destdir=/tmp/dnf_ci_tempdir_kl3db7pm/SomeDestination And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find -type f -name '*.rpm'" in "{context.dnf.tempdir}/SomeDestination" # None Then stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y3n6y52o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y3n6y52o/var/cache/dnf install labirinto --setopt=destdir=/tmp/dnf_ci_tempdir_kl3db7pm/SomeDestination  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: RPMs downloaded with `keepcache` and `destdir` options set are not removed # dnf/install.feature:17 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "install labirinto --setopt=destdir={context.dnf.tempdir}/SomeDestination --setopt=keepcache=true" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0p980w36 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0p980w36/var/cache/dnf install labirinto --setopt=destdir=/tmp/dnf_ci_tempdir_p_edl1d6/SomeDestination --setopt=keepcache=true And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find -type f -name '*.rpm'" in "{context.dnf.tempdir}/SomeDestination" # None Then stdout matches line by line # None """ \./labirinto-1\.0-1\.fc29\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0p980w36 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0p980w36/var/cache/dnf install labirinto --setopt=destdir=/tmp/dnf_ci_tempdir_p_edl1d6/SomeDestination --setopt=keepcache=true  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an RPM with `destdir` option set and `--downloadonly` switch works # dnf/install.feature:30 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "install labirinto --setopt=destdir={context.dnf.tempdir}/SomeDestination --downloadonly" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vofat0p4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vofat0p4/var/cache/dnf install labirinto --setopt=destdir=/tmp/dnf_ci_tempdir_1yzysr65/SomeDestination --downloadonly And DNF Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | And RPMDB Transaction is empty # None When I execute "find -type f -name '*.rpm'" in "{context.dnf.tempdir}/SomeDestination" # None Then stdout matches line by line # None """ \./labirinto-1\.0-1\.fc29\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vofat0p4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vofat0p4/var/cache/dnf install labirinto --setopt=destdir=/tmp/dnf_ci_tempdir_1yzysr65/SomeDestination --downloadonly  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/install.feature:7 Install an RPM with `destdir` option set dnf/install.feature:17 RPMs downloaded with `keepcache` and `destdir` options set are not removed dnf/install.feature:30 Install an RPM with `destdir` option set and `--downloadonly` switch works 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 6 steps passed, 3 failed, 10 skipped Took 0min 0.163s USING RUNNER: behave.runner:Runner Feature: Test installonly packages in combination with excludes # dnf/installonly-excludes.feature:1 Feature: Test installonly packages in combination with excludes # dnf/installonly-excludes.feature:1 Scenario: Newest installonly package is skipped if it is excluded # dnf/installonly-excludes.feature:13 Given I use repository "installonly" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | installonlypkgs | installonlyA | | installonly_limit | 2 | And I successfully execute dnf with args "install installonlyA-1.0 installonlyA-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bw1yunow --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bw1yunow/var/cache/dnf install installonlyA-1.0 installonlyA-2.0 When I execute dnf with args "upgrade installonlyA -x installonlyA-2.2" # None Then the exit code is 0 # None And stdout is # None """ Nothing to do. """ And stderr is # None """ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bw1yunow --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bw1yunow/var/cache/dnf install installonlyA-1.0 installonlyA-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Automatic removal skips oldest installonly package if it is excluded # dnf/installonly-excludes.feature:26 Given I use repository "installonly" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | installonlypkgs | installonlyA | | installonly_limit | 2 | And I successfully execute dnf with args "install installonlyA-1.0 installonlyA-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a6oji290 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a6oji290/var/cache/dnf install installonlyA-1.0 installonlyA-2.0 When I execute dnf with args "upgrade installonlyA -x installonlyA-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyA-0:2.2-1.x86_64 | | remove | installonlyA-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a6oji290 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a6oji290/var/cache/dnf install installonlyA-1.0 installonlyA-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Installonly update does nothing when all installed packages (full limit) are excluded # dnf/installonly-excludes.feature:35 Given I use repository "installonly" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | installonlypkgs | installonlyA | | installonly_limit | 2 | And I successfully execute dnf with args "install installonlyA-1.0 installonlyA-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e465035h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e465035h/var/cache/dnf install installonlyA-1.0 installonlyA-2.0 When I execute dnf with args "upgrade installonlyA -x installonlyA-1.0 -x installonlyA-2.0" # None Then the exit code is 0 # None And stdout is # None """ Nothing to do. """ And stderr is # None """ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e465035h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e465035h/var/cache/dnf install installonlyA-1.0 installonlyA-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/installonly-excludes.feature:13 Newest installonly package is skipped if it is excluded dnf/installonly-excludes.feature:26 Automatic removal skips oldest installonly package if it is excluded dnf/installonly-excludes.feature:35 Installonly update does nothing when all installed packages (full limit) are excluded 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 6 steps passed, 3 failed, 11 skipped Took 0min 0.167s USING RUNNER: behave.runner:Runner Feature: Test upgrading installonly packages # dnf/installonly.feature:1 Feature: Test upgrading installonly packages # dnf/installonly.feature:1 @xfail @bz1774670 @no_installroot @destructive Scenario: Remove all installonly packages but keep the latest and running kernel-core-0:4.18.16-300.fc29.x86_64 # dnf/installonly.feature:150 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 16 skipped 0 steps passed, 0 failed, 196 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Test upgrading installonly packages # dnf/installonly.feature:1 Feature: Test upgrading installonly packages # dnf/installonly.feature:1 @bz1668256 @bz1616191 @bz1639429 Scenario: Install multiple versions of an installonly package with a limit of 2 # dnf/installonly.feature:9 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I set config option "installonly_limit" to "2" # dnf/steps/cmd.py:212 When I execute dnf with args "install kernel-core" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_azrtr2hb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=installonly_limit=2 --setopt=cachedir=/tmp/dnf_ci_installroot_azrtr2hb/var/cache/dnf install kernel-core And Transaction is following # None | Action | Package | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | When I execute dnf with args "upgrade kernel-core" # None Then the exit code is 0 # None Then stderr does not contain "cannot install both" # None And Transaction is empty # None Given I use repository "dnf-ci-fedora-updates-testing" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.20.6-300.fc29.x86_64 | | unchanged | kernel-core-0:4.19.15-300.fc29.x86_64 | | remove | kernel-core-0:4.18.16-300.fc29.x86_64 | And package state is # None | package | reason | from_repo | | kernel-core-4.19.15-300.fc29.x86_64 | User | dnf-ci-fedora-updates | | kernel-core-4.20.6-300.fc29.x86_64 | User | dnf-ci-fedora-updates-testing | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | kernel-core-0:4.20.6-300.fc29.x86_64 | User | dnf-ci-fedora-updates-testing | | Remove | kernel-core-0:4.18.16-300.fc29.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_azrtr2hb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=installonly_limit=2 --setopt=cachedir=/tmp/dnf_ci_installroot_azrtr2hb/var/cache/dnf install kernel-core  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install and remove multiple versions of an installonly package # dnf/installonly.feature:45 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I set config option "installonly_limit" to "2" # dnf/steps/cmd.py:212 When I execute dnf with args "install kernel-core" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__wehhrty --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=installonly_limit=2 --setopt=cachedir=/tmp/dnf_ci_installroot__wehhrty/var/cache/dnf install kernel-core And Transaction is following # None | Action | Package | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | And package state is # None | package | reason | from_repo | | kernel-core-4.18.16-300.fc29.x86_64 | User | dnf-ci-fedora | | kernel-core-4.19.15-300.fc29.x86_64 | User | dnf-ci-fedora-updates | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | kernel-core-0:4.19.15-300.fc29.x86_64 | User | dnf-ci-fedora-updates | When I execute dnf with args "remove kernel-core" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | kernel-core-0:4.19.15-300.fc29.x86_64 | | remove | kernel-core-0:4.18.16-300.fc29.x86_64 | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | kernel-core-0:4.18.16-300.fc29.x86_64 | User | @System | | Remove | kernel-core-0:4.19.15-300.fc29.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__wehhrty --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=installonly_limit=2 --setopt=cachedir=/tmp/dnf_ci_installroot__wehhrty/var/cache/dnf install kernel-core  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1769788 Scenario: Install multiple versions of an installonly package and keep reason # dnf/installonly.feature:81 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install kernel-core" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e3caohlk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e3caohlk/var/cache/dnf install kernel-core And Transaction is following # None | Action | Package | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | And package state is # None | package | reason | from_repo | | kernel-core-4.18.16-300.fc29.x86_64 | User | dnf-ci-fedora | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | kernel-core-0:4.18.16-300.fc29.x86_64 | User | dnf-ci-fedora | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --no-best" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | And package state is # None | package | reason | from_repo | | kernel-core-4.18.16-300.fc29.x86_64 | User | dnf-ci-fedora | | kernel-core-4.19.15-300.fc29.x86_64 | User | dnf-ci-fedora-updates | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | kernel-core-0:4.19.15-300.fc29.x86_64 | User | dnf-ci-fedora-updates | When I execute dnf with args "autoremove" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e3caohlk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e3caohlk/var/cache/dnf install kernel-core  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1774670 Scenario: Remove all installonly packages but keep the latest # dnf/installonly.feature:115 @bz1934499 @bz1921063 Scenario: Do not autoremove kernel after upgrade with --best # dnf/installonly.feature:184 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/kernel-core-4.18.16-300.fc29.x86_64.rpm" # dnf/steps/cmd.py:198 Then package reasons are # dnf/steps/history.py:92 | Package | Reason | | kernel-core-4.18.16-300.fc29.x86_64 | External User | ASSERT FAILED: Running command "dnf5 -y --installroot=/tmp/dnf_ci_installroot_845q77e9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_845q77e9/var/cache/dnf repoquery --qf '%{name}-%{evr}.%{arch},%{reason} ' --installed" failed: 2 Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --best" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | And package reasons are # None | Package | Reason | | kernel-core-4.18.16-300.fc29.x86_64 | External User | | kernel-core-4.19.15-300.fc29.x86_64 | External User | And package state is # None | package | reason | from_repo | | kernel-core-4.19.15-300.fc29.x86_64 | External User | dnf-ci-fedora-updates | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | kernel-core-0:4.19.15-300.fc29.x86_64 | External User | dnf-ci-fedora-updates | When I execute dnf with args "autoremove" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_845q77e9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_845q77e9/var/cache/dnf repoquery --qf '%{name}-%{evr}.%{arch},%{reason} ' --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1934499 @bz1921063 Scenario: Do not autoremove kernel after upgrade with --no-best # dnf/installonly.feature:213 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/kernel-core-4.18.16-300.fc29.x86_64.rpm" # dnf/steps/cmd.py:198 Then package reasons are # dnf/steps/history.py:92 | Package | Reason | | kernel-core-4.18.16-300.fc29.x86_64 | External User | ASSERT FAILED: Running command "dnf5 -y --installroot=/tmp/dnf_ci_installroot_ijnasllb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ijnasllb/var/cache/dnf repoquery --qf '%{name}-%{evr}.%{arch},%{reason} ' --installed" failed: 2 Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --no-best" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | And package reasons are # None | Package | Reason | | kernel-core-4.18.16-300.fc29.x86_64 | External User | | kernel-core-4.19.15-300.fc29.x86_64 | External User | And package state is # None | package | reason | from_repo | | kernel-core-4.19.15-300.fc29.x86_64 | External User | dnf-ci-fedora-updates | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | kernel-core-0:4.19.15-300.fc29.x86_64 | External User | dnf-ci-fedora-updates | When I execute dnf with args "autoremove" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ijnasllb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ijnasllb/var/cache/dnf repoquery --qf '%{name}-%{evr}.%{arch},%{reason} ' --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1934499 @bz1921063 Scenario: Do not remove or change reason after remove of one of installonly packages # dnf/installonly.feature:243 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install kernel-core" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_98jrx0fx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_98jrx0fx/var/cache/dnf install kernel-core And Transaction is following # None | Action | Package | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | When I execute dnf with args "upgrade kernel-core" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | kernel-core-4.18.16-300.fc29.x86_64 | User | | kernel-core-4.19.15-300.fc29.x86_64 | User | And package state is # None | package | reason | from_repo | | kernel-core-4.18.16-300.fc29.x86_64 | User | dnf-ci-fedora | | kernel-core-4.19.15-300.fc29.x86_64 | User | dnf-ci-fedora-updates | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | kernel-core-0:4.19.15-300.fc29.x86_64 | User | dnf-ci-fedora-updates | When I execute dnf with args "remove kernel-core-0:4.19.15-300.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | And package reasons are # None | Package | Reason | | kernel-core-4.18.16-300.fc29.x86_64 | User | And package state is # None | package | reason | from_repo | | kernel-core-4.18.16-300.fc29.x86_64 | User | dnf-ci-fedora | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | kernel-core-0:4.19.15-300.fc29.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_98jrx0fx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_98jrx0fx/var/cache/dnf install kernel-core  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1934499 @bz1921063 Scenario: Keep reason for installonly packages # dnf/installonly.feature:288 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/kernel-core-4.18.16-300.fc29.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/kernel-core-4.19.15-300.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 And package reasons are # dnf/steps/history.py:92 | Package | Reason | | kernel-core-4.18.16-300.fc29.x86_64 | External User | | kernel-core-4.19.15-300.fc29.x86_64 | External User | ASSERT FAILED: Running command "dnf5 -y --installroot=/tmp/dnf_ci_installroot_em70ch0b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_em70ch0b/var/cache/dnf repoquery --qf '%{name}-%{evr}.%{arch},%{reason} ' --installed" failed: 2 When I execute dnf with args "remove kernel-core-0:4.19.15-300.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | And package reasons are # None | Package | Reason | | kernel-core-4.18.16-300.fc29.x86_64 | External User | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | kernel-core-0:4.19.15-300.fc29.x86_64 | User | @System | When I execute dnf with args "autoremove" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_em70ch0b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_em70ch0b/var/cache/dnf repoquery --qf '%{name}-%{evr}.%{arch},%{reason} ' --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1926261 Scenario: Value 1 of installonly_limit config option is not allowed # dnf/installonly.feature:318 @xfail @bz1926261 Scenario: Kernel upgrade does not fail when installonly_limit=1 (default value is used instead of invalid 1) # dnf/installonly.feature:336 @bz2221308 @gh_dnf5_720 Scenario Outline: Dnf can downgrade kernel using "downgrade" command. -- @1.1 # dnf/installonly.feature:366 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install kernel-core-4.19.15-300.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ycko2uur --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ycko2uur/var/cache/dnf install kernel-core-4.19.15-300.fc29.x86_64 And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | When I execute dnf with args "downgrade kernel-core" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ycko2uur --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ycko2uur/var/cache/dnf install kernel-core-4.19.15-300.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2221308 @gh_dnf5_720 Scenario Outline: Dnf can downgrade kernel using "install" command. -- @1.2 # dnf/installonly.feature:367 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install kernel-core-4.19.15-300.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_556h0wpl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_556h0wpl/var/cache/dnf install kernel-core-4.19.15-300.fc29.x86_64 And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | When I execute dnf with args "install kernel-core-4.18.16-300.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_556h0wpl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_556h0wpl/var/cache/dnf install kernel-core-4.19.15-300.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2163474 Scenario: Do not bypass installonly limit (2) when installing kernel-core through provide # dnf/installonly.feature:371 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I set config option "installonly_limit" to "2" # dnf/steps/cmd.py:212 And I successfully execute dnf with args "install kernel" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m8_q1kff --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=installonly_limit=2 --setopt=cachedir=/tmp/dnf_ci_installroot_m8_q1kff/var/cache/dnf install kernel And I use repository "dnf-ci-fedora-updates" # None And I successfully execute dnf with args "upgrade" # None And I use repository "dnf-ci-fedora-updates-testing" # None When I execute dnf with args "install kernel-core-uname-r" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.20.6-300.fc29.x86_64 | | unchanged | kernel-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-modules-0:4.19.15-300.fc29.x86_64 | | remove-dep | kernel-0:4.18.16-300.fc29.x86_64 | | remove | kernel-core-0:4.18.16-300.fc29.x86_64 | | remove-dep | kernel-modules-0:4.18.16-300.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m8_q1kff --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=installonly_limit=2 --setopt=cachedir=/tmp/dnf_ci_installroot_m8_q1kff/var/cache/dnf install kernel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2163474 Scenario: Do not bypass installonly limit (default 3) when installing kernel-core through provide # dnf/installonly.feature:391 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I drop repository "dnf-ci-fedora" # dnf/steps/repo.py:227 And I use repository "kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install kernel-1.0.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2lvpb1hd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2lvpb1hd/var/cache/dnf install kernel-1.0.0 And I successfully execute dnf with args "install kernel-2.0.0" # None And I successfully execute dnf with args "install kernel-3.0.0" # None When I execute dnf with args "install kernel-core-uname-r" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.0.0-1.fc29.x86_64 | | unchanged | kernel-0:2.0.0-1.fc29.x86_64 | | unchanged | kernel-core-0:2.0.0-1.fc29.x86_64 | | unchanged | kernel-modules-0:2.0.0-1.fc29.x86_64 | | remove-dep | kernel-0:1.0.0-1.fc29.x86_64 | | remove | kernel-core-0:1.0.0-1.fc29.x86_64 | | remove-dep | kernel-modules-0:1.0.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2lvpb1hd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2lvpb1hd/var/cache/dnf install kernel-1.0.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2263675 Scenario: Handle over-limit custom kernel without installonlypkg(kernel) provide # dnf/installonly.feature:411 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I drop repository "dnf-ci-fedora" # dnf/steps/repo.py:227 And I use repository "kernel-custom" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install kernel-6.5.10" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tqt74psr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tqt74psr/var/cache/dnf install kernel-6.5.10 And I successfully execute dnf with args "install kernel-6.5.12" # None And I successfully execute dnf with args "install kernel-6.6.3" # None And I successfully execute rpm with args "-i {context.dnf.fixturesdir}/repos/kernel-custom/x86_64/kernel-6.7.0+-7.x86_64.rpm" # None When I execute dnf with args "upgrade 'kernel*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-0:6.7.4-200.fc29.x86_64 | | remove | kernel-0:6.5.10-300.fc29.x86_64 | | remove | kernel-0:6.5.12-300.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tqt74psr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tqt74psr/var/cache/dnf install kernel-6.5.10  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/installonly.feature:9 Install multiple versions of an installonly package with a limit of 2 dnf/installonly.feature:45 Install and remove multiple versions of an installonly package dnf/installonly.feature:81 Install multiple versions of an installonly package and keep reason dnf/installonly.feature:184 Do not autoremove kernel after upgrade with --best dnf/installonly.feature:213 Do not autoremove kernel after upgrade with --no-best dnf/installonly.feature:243 Do not remove or change reason after remove of one of installonly packages dnf/installonly.feature:288 Keep reason for installonly packages dnf/installonly.feature:366 Dnf can downgrade kernel using "downgrade" command. -- @1.1 dnf/installonly.feature:367 Dnf can downgrade kernel using "install" command. -- @1.2 dnf/installonly.feature:371 Do not bypass installonly limit (2) when installing kernel-core through provide dnf/installonly.feature:391 Do not bypass installonly limit (default 3) when installing kernel-core through provide dnf/installonly.feature:411 Handle over-limit custom kernel without installonlypkg(kernel) provide 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 12 failed, 4 skipped 31 steps passed, 12 failed, 153 skipped Took 0min 0.834s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Test upgrading installonly packages - "installonlypkgs" configuration option # dnf/installonlypkgs.feature:2 @dnf5daemon Feature: Test upgrading installonly packages - "installonlypkgs" configuration option # dnf/installonlypkgs.feature:2 Scenario: kernel-core is installonly package by default, and installonlyA is not # dnf/installonlypkgs.feature:16 Given I use repository "installonly" # dnf/steps/repo.py:186 When I execute dnf with args "install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7z3xcfud --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7z3xcfud/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16 And Transaction is following # None | Action | Package | | install | installonlyA-0:1.0-1.x86_64 | | install | installonlyB-0:1.0-1.x86_64 | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | When I execute dnf with args "install installonlyA-2.0 kernel-core" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | installonlyA-0:2.0-1.x86_64 | | install | kernel-core-0:4.20.6-300.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7z3xcfud --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7z3xcfud/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Add package installonlyA to the installonly packages, kernel-core is installonly by default # dnf/installonlypkgs.feature:25 Given I use repository "installonly" # dnf/steps/repo.py:186 When I execute dnf with args "install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_atyz32_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_atyz32_0/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16 And Transaction is following # None | Action | Package | | install | installonlyA-0:1.0-1.x86_64 | | install | installonlyB-0:1.0-1.x86_64 | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I configure dnf with # None | key | value | | installonlypkgs | installonlyA | When I execute dnf with args "install installonlyA-2.0 kernel-core" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyA-0:2.0-1.x86_64 | | install | kernel-core-0:4.20.6-300.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_atyz32_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_atyz32_0/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Add package installonlyA to the installonly packages, install multiple versions of installonlyA with a single command # dnf/installonlypkgs.feature:37 Given I use repository "installonly" # dnf/steps/repo.py:186 When I execute dnf with args "install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jbohwiod --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jbohwiod/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16 And Transaction is following # None | Action | Package | | install | installonlyA-0:1.0-1.x86_64 | | install | installonlyB-0:1.0-1.x86_64 | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I configure dnf with # None | key | value | | installonlypkgs | installonlyA | When I execute dnf with args "install installonlyA-2.0 installonlyA-2.2 installonlyB kernel-core" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyA-0:2.0-1.x86_64 | | install | installonlyA-0:2.2-1.x86_64 | | upgrade | installonlyB-0:2.2-1.x86_64 | | install | kernel-core-0:4.20.6-300.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jbohwiod --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jbohwiod/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Clear the list of installonly packages and set the package installonlyA to it # dnf/installonlypkgs.feature:51 Given I use repository "installonly" # dnf/steps/repo.py:186 When I execute dnf with args "install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6r_iioxo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6r_iioxo/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16 And Transaction is following # None | Action | Package | | install | installonlyA-0:1.0-1.x86_64 | | install | installonlyB-0:1.0-1.x86_64 | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I configure dnf with # None | key | value | | installonlypkgs | ,installonlyA | When I execute dnf with args "install installonlyA-2.0 installonlyB-2.0 kernel-core" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyA-0:2.0-1.x86_64 | | upgrade | installonlyB-0:2.0-1.x86_64 | | upgrade | kernel-core-0:4.20.6-300.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6r_iioxo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6r_iioxo/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade doesn't install older installonly pkg when never version is already installed # dnf/installonlypkgs.feature:64 Given I use repository "installonly" # dnf/steps/repo.py:186 When I execute dnf with args "install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wolliwzf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wolliwzf/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16 And Transaction is following # None | Action | Package | | install | installonlyA-0:1.0-1.x86_64 | | install | installonlyB-0:1.0-1.x86_64 | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I configure dnf with # None | key | value | | installonlypkgs | installonlyA | When I execute dnf with args "install installonlyA-2.2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyA-0:2.2-1.x86_64 | When I execute dnf with args "upgrade installonlyA-2.0" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wolliwzf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wolliwzf/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Over limit installonly packages during an unrelated transaction # dnf/installonlypkgs.feature:78 Given I use repository "installonly" # dnf/steps/repo.py:186 When I execute dnf with args "install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gki4p2ix --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gki4p2ix/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16 And Transaction is following # None | Action | Package | | install | installonlyA-0:1.0-1.x86_64 | | install | installonlyB-0:1.0-1.x86_64 | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I configure dnf with # None | key | value | | installonlypkgs | installonlyA | And I successfully execute dnf with args "install installonlyA-2.0 installonlyA-2.2" # None And I use repository "simple-base" # None When I execute dnf with args "--setopt=installonly_limit=2 install labirinto" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | And stderr contains "Exceeded installonly_limit \(2\): found 3 installed: 'installonlyA-0:1.0-1.x86_64', 'installonlyA-0:2.0-1.x86_64', 'installonlyA-0:2.2-1.x86_64'. You can use 'remove --oldinstallonly'." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gki4p2ix --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gki4p2ix/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Automatic removal of a installonly package is stopped if it is protected # dnf/installonlypkgs.feature:92 Given I use repository "installonly" # dnf/steps/repo.py:186 When I execute dnf with args "install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6iefz09q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6iefz09q/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16 And Transaction is following # None | Action | Package | | install | installonlyA-0:1.0-1.x86_64 | | install | installonlyB-0:1.0-1.x86_64 | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I configure dnf with # None | key | value | | installonlypkgs | installonlyA | | protected_packages | installonlyA | | installonly_limit | 2 | And I execute dnf with args "install installonlyA-2.0" # None When I execute dnf with args "upgrade" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: The operation would result in removing the following protected packages: installonlyA """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6iefz09q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6iefz09q/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Installing two new installonly package versions removes over limit oldest # dnf/installonlypkgs.feature:109 Given I use repository "installonly" # dnf/steps/repo.py:186 When I execute dnf with args "install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jezaowtk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jezaowtk/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16 And Transaction is following # None | Action | Package | | install | installonlyA-0:1.0-1.x86_64 | | install | installonlyB-0:1.0-1.x86_64 | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I configure dnf with # None | key | value | | installonlypkgs | installonlyA | | installonly_limit | 2 | When I execute dnf with args "install installonlyA-2.0 installonlyA-2.2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyA-0:2.0-1.x86_64 | | install | installonlyA-0:2.2-1.x86_64 | | remove | installonlyA-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jezaowtk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jezaowtk/var/cache/dnf install installonlyA-1.0 installonlyB-1.0 kernel-core-4.18.16  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/installonlypkgs.feature:16 kernel-core is installonly package by default, and installonlyA is not dnf/installonlypkgs.feature:25 Add package installonlyA to the installonly packages, kernel-core is installonly by default dnf/installonlypkgs.feature:37 Add package installonlyA to the installonly packages, install multiple versions of installonlyA with a single command dnf/installonlypkgs.feature:51 Clear the list of installonly packages and set the package installonlyA to it dnf/installonlypkgs.feature:64 Upgrade doesn't install older installonly pkg when never version is already installed dnf/installonlypkgs.feature:78 Over limit installonly packages during an unrelated transaction dnf/installonlypkgs.feature:92 Automatic removal of a installonly package is stopped if it is protected dnf/installonlypkgs.feature:109 Installing two new installonly package versions removes over limit oldest 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 16 steps passed, 8 failed, 46 skipped Took 0min 0.328s USING RUNNER: behave.runner:Runner Feature: Installroot test # dnf/installroot.feature:1 @dnf5daemon @force_installroot Scenario: Install package from host repository into empty installroot # dnf/installroot.feature:6 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 Given I drop repository "dnf-ci-install-remove" # dnf/steps/repo.py:227 And I configure a new repository "outside-installroot" in "{context.dnf.tempdir}/repos.d" with # dnf/steps/repo.py:258 | key | value | | baseurl | {context.scenario.repos_location}/dnf-ci-install-remove | When I execute dnf with args "--setopt=reposdir={context.dnf.tempdir}/repos.d install water_carbonated" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fbfjjwbz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fbfjjwbz/var/cache/dnf --setopt=reposdir=/tmp/dnf_ci_tempdir_gofurmst/repos.d install water_carbonated And Transaction is following # None | Action | Package | | install | water_carbonated-0:1.0-1.x86_64 | When I execute rpm on host with args "-q water_carbonated" # None Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fbfjjwbz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fbfjjwbz/var/cache/dnf --setopt=reposdir=/tmp/dnf_ci_tempdir_gofurmst/repos.d install water_carbonated  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @force_installroot Scenario: Install package from installroot repository into installroot # dnf/installroot.feature:24 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install water_carbonated" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_klt69zhr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_klt69zhr/var/cache/dnf install water_carbonated And Transaction is following # None | Action | Package | | install | water_carbonated-0:1.0-1.x86_64 | When I execute rpm on host with args "-q water_carbonated" # None Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_klt69zhr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_klt69zhr/var/cache/dnf install water_carbonated  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @force_installroot Scenario: Test metadata handling in installroot # dnf/installroot.feature:36 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install water_carbonated" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bt3bn0tn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bt3bn0tn/var/cache/dnf install water_carbonated When I execute "rm -rf {context.dnf.installroot}/var/cache/dnf" in "{context.dnf.installroot}" # None Then the exit code is 0 # None When I execute dnf with args "repoquery -C water_still" # None Then the exit code is 1 # None When I execute dnf with args "makecache" # None Then the exit code is 0 # None When I execute dnf with args "repoquery -C water_still" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bt3bn0tn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bt3bn0tn/var/cache/dnf install water_carbonated  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @force_installroot Scenario: Remove package from installroot # dnf/installroot.feature:52 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install water_carbonated tea" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6dk5gum0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6dk5gum0/var/cache/dnf install water_carbonated tea And Transaction is following # None | Action | Package | | install | water_carbonated-0:1.0-1.x86_64 | | install | tea-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | When I execute dnf with args "remove water_carbonated" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | water_carbonated-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6dk5gum0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6dk5gum0/var/cache/dnf install water_carbonated tea  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @force_installroot Scenario: Repolist command in installroot and with a reposdir specified # dnf/installroot.feature:69 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u776htr5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u776htr5/var/cache/dnf repo list And stdout is # None """ repo id repo name dnf-ci-install-remove dnf-ci-install-remove test repository """ Given I configure a new repository "testrepo" in "{context.dnf.tempdir}/repos.d" with # None | key | value | | baseurl | {context.scenario.repos_location}/dnf-ci-install-remove | When I execute dnf with args "--setopt=reposdir={context.dnf.tempdir}/repos.d repo list" # None Then the exit code is 0 # None And stdout is # None """ repo id repo name testrepo testrepo test repository """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u776htr5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u776htr5/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @force_installroot Scenario: Upgrade package in installroot # dnf/installroot.feature:92 Given I use repository "dnf-ci-install-remove" # dnf/steps/repo.py:186 When I execute dnf with args "install sugar-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b0cgxkwh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b0cgxkwh/var/cache/dnf install sugar-1.0 And Transaction is following # None | Action | Package | | install | sugar-0:1.0-1.x86_64 | When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | sugar-0:2.0-1.x86_64 | When I execute rpm on host with args "-q sugar" # None Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b0cgxkwh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b0cgxkwh/var/cache/dnf install sugar-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1658579 Scenario: Installroot directory is listed when there are no repos # dnf/installroot.feature:116 Failing scenarios: dnf/installroot.feature:6 Install package from host repository into empty installroot dnf/installroot.feature:24 Install package from installroot repository into installroot dnf/installroot.feature:36 Test metadata handling in installroot dnf/installroot.feature:52 Remove package from installroot dnf/installroot.feature:69 Repolist command in installroot and with a reposdir specified dnf/installroot.feature:92 Upgrade package in installroot 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 1 skipped 14 steps passed, 6 failed, 32 skipped Took 0min 0.278s USING RUNNER: behave.runner:Runner Feature: Tests related to keepcache functionality # dnf/keepcache.feature:1 Feature: Tests related to keepcache functionality # dnf/keepcache.feature:1 Scenario: Keepcache set to false removes installed packages from cache # dnf/keepcache.feature:8 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l7lk_9la --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l7lk_9la/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find -type f -name '*.rpm'" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l7lk_9la --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l7lk_9la/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Keepcache set to true keeps installed packages in cache # dnf/keepcache.feature:18 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "--setopt=keepcache=true install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05dznmpy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05dznmpy/var/cache/dnf --setopt=keepcache=true install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find -type f -name '*.rpm'" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05dznmpy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05dznmpy/var/cache/dnf --setopt=keepcache=true install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Keepcache set to false does not remove command-line packages # dnf/keepcache.feature:31 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "install file://{context.dnf.fixturesdir}/repos/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ywwdja92 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ywwdja92/var/cache/dnf install file:///opt/ci/dnf-behave-tests/fixtures/repos/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find -type f -name '*.rpm'" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \./@commandline-[0-9a-f]{16}/packages/[0-9a-f]{16}-labirinto-1\.0-1\.fc29\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ywwdja92 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ywwdja92/var/cache/dnf install file:///opt/ci/dnf-behave-tests/fixtures/repos/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Keepcache set to false does not remove packages from download command after the following successful transaction # dnf/keepcache.feature:44 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wzwhsq7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wzwhsq7w/var/cache/dnf download labirinto And file "/{context.dnf.tempdir}/labirinto-1.0-1.fc29.x86_64.rpm" exists # None When I execute dnf with args "install labirinto" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | And file "/{context.dnf.tempdir}/labirinto-1.0-1.fc29.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wzwhsq7w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wzwhsq7w/var/cache/dnf download labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reseting keepcache does not remove previously kept packages from cache # dnf/keepcache.feature:57 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "--setopt=keepcache=true install labirinto vagare" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_on5giiiv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_on5giiiv/var/cache/dnf --setopt=keepcache=true install labirinto vagare And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | | install | vagare-0:1.0-1.fc29.x86_64 | When I set LC_ALL to "C.UTF-8" # None And I execute "find -type f -name '*.rpm' | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm \./simple-base-[0-9a-f]{16}/packages/vagare-1\.0-1\.fc29\.x86_64\.rpm """ When I execute dnf with args "--setopt=keepcache=false install dedalo" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | dedalo-0:1.0-1.fc29.x86_64 | When I set LC_ALL to "C.UTF-8" # None And I execute "find -type f -name '*.rpm' | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \./simple-base-[0-9a-f]{16}/packages/labirinto-1\.0-1\.fc29\.x86_64\.rpm \./simple-base-[0-9a-f]{16}/packages/vagare-1\.0-1\.fc29\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_on5giiiv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_on5giiiv/var/cache/dnf --setopt=keepcache=true install labirinto vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2237883 Scenario: Cached packages are not removed after remove command with keepcache set to false # dnf/keepcache.feature:88 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_ylj_nf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_ylj_nf/var/cache/dnf install labirinto Then Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find -type f -name '*.rpm'" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout is empty # None Given I successfully execute dnf with args "install vagare --downloadonly" # None When I execute "find -type f -name '*.rpm'" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \./simple-base-[0-9a-f]{16}/packages/vagare-1\.0-1\.fc29\.x86_64\.rpm """ Given I successfully execute dnf with args "remove labirinto" # None Then Transaction is following # None | Action | Package | | remove | labirinto-0:1.0-1.fc29.x86_64 | When I execute "find -type f -name '*.rpm'" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \./simple-base-[0-9a-f]{16}/packages/vagare-1\.0-1\.fc29\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_ylj_nf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_ylj_nf/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/keepcache.feature:8 Keepcache set to false removes installed packages from cache dnf/keepcache.feature:18 Keepcache set to true keeps installed packages in cache dnf/keepcache.feature:31 Keepcache set to false does not remove command-line packages dnf/keepcache.feature:44 Keepcache set to false does not remove packages from download command after the following successful transaction dnf/keepcache.feature:57 Reseting keepcache does not remove previously kept packages from cache dnf/keepcache.feature:88 Cached packages are not removed after remove command with keepcache set to false 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 12 steps passed, 6 failed, 34 skipped Took 0min 0.265s USING RUNNER: behave.runner:Runner Feature: list with --installed-from-repo # dnf/list-installed-from-repo.feature:1 Feature: list with --installed-from-repo # dnf/list-installed-from-repo.feature:1 Scenario: List all packages installed from repo "from-repo" # dnf/list-installed-from-repo.feature:26 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oowln_lr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oowln_lr/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "list --installed-from-repo=from-repo" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages dependency3.x86_64 +1.0-1.fc29 +from-repo lz4.x86_64 +1.7.5-2.fc26 +from-repo """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oowln_lr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oowln_lr/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: List all packages installed from repo "from-repo-updates1" # dnf/list-installed-from-repo.feature:41 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d9dfjrhx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d9dfjrhx/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "list --installed-from-repo=from-repo-updates1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages abcde.noarch +2.9.3-1.fc29 +from-repo-updates1 filesystem.x86_64 +3.10-1.fc29 +from-repo-updates1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d9dfjrhx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d9dfjrhx/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: List all packages installed from repo "from-repo-updates2" using '*' package specification # dnf/list-installed-from-repo.feature:56 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ujvba5f4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ujvba5f4/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "list --installed-from-repo=from-repo-updates2 '*'" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages basesystem.noarch +12-2.fc29 +from-repo-updates2 dependency1.x86_64 +1.2-1.fc29 +from-repo-updates2 flac.x86_64 +1.3.3-3.fc29 +from-repo-updates2 lame.x86_64 +3.100-5.fc29 +from-repo-updates2 lame-libs.x86_64 +3.100-5.fc29 +from-repo-updates2 pkgB.x86_64 +1.2-1.fc29 +from-repo-updates2 setup.noarch +2.14.2-1.fc29 +from-repo-updates2 wget.x86_64 +1.19.8-2.fc29 +from-repo-updates2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ujvba5f4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ujvba5f4/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: List packages installed from repo "from-repo-updates2" using 'l*' package specification # dnf/list-installed-from-repo.feature:77 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7dv_dvvp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7dv_dvvp/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "list --installed-from-repo=from-repo-updates2 'l*'" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages lame.x86_64 +3.100-5.fc29 +from-repo-updates2 lame-libs.x86_64 +3.100-5.fc29 +from-repo-updates2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7dv_dvvp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7dv_dvvp/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test case with 2 repositories defined in installed from repo # dnf/list-installed-from-repo.feature:92 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6q6s32g7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6q6s32g7/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "list --installed-from-repo=from-repo,from-repo-updates1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages abcde.noarch +2.9.3-1.fc29 +from-repo-updates1 dependency3.x86_64 +1.0-1.fc29 +from-repo filesystem.x86_64 +3.10-1.fc29 +from-repo-updates1 lz4.x86_64 +1.7.5-2.fc26 +from-repo """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6q6s32g7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6q6s32g7/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test case with wildcards in installed from repo definition # dnf/list-installed-from-repo.feature:109 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cjtnq7tw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cjtnq7tw/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "list --installed-from-repo=from-*-updates?" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages abcde.noarch +2.9.3-1.fc29 +from-repo-updates1 basesystem.noarch +12-2.fc29 +from-repo-updates2 dependency1.x86_64 +1.2-1.fc29 +from-repo-updates2 filesystem.x86_64 +3.10-1.fc29 +from-repo-updates1 flac.x86_64 +1.3.3-3.fc29 +from-repo-updates2 lame.x86_64 +3.100-5.fc29 +from-repo-updates2 lame-libs.x86_64 +3.100-5.fc29 +from-repo-updates2 pkgB.x86_64 +1.2-1.fc29 +from-repo-updates2 setup.noarch +2.14.2-1.fc29 +from-repo-updates2 wget.x86_64 +1.19.8-2.fc29 +from-repo-updates2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cjtnq7tw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cjtnq7tw/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --installed-from-repo without --installed implies --installed # dnf/list-installed-from-repo.feature:133 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_est33h9o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_est33h9o/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "--repo=from-repo-updates? list --installed-from-repo=from-repo-updates2 'l*'" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages lame.x86_64 +3.100-5.fc29 +from-repo-updates2 lame-libs.x86_64 +3.100-5.fc29 +from-repo-updates2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_est33h9o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_est33h9o/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/list-installed-from-repo.feature:26 List all packages installed from repo "from-repo" dnf/list-installed-from-repo.feature:41 List all packages installed from repo "from-repo-updates1" dnf/list-installed-from-repo.feature:56 List all packages installed from repo "from-repo-updates2" using '*' package specification dnf/list-installed-from-repo.feature:77 List packages installed from repo "from-repo-updates2" using 'l*' package specification dnf/list-installed-from-repo.feature:92 Test case with 2 repositories defined in installed from repo dnf/list-installed-from-repo.feature:109 Test case with wildcards in installed from repo definition dnf/list-installed-from-repo.feature:133 --installed-from-repo without --installed implies --installed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 28 steps passed, 7 failed, 35 skipped Took 0min 0.466s USING RUNNER: behave.runner:Runner Feature: Test dnf list --recent # dnf/list-recent.feature:1 Feature: Test dnf list --recent # dnf/list-recent.feature:1 Scenario: dnf list --recent # dnf/list-recent.feature:16 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "SOURCE_DATE_EPOCH=$(date --date='-10 day' +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "SOURCE_DATE_EPOCH=$(date +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/labirinto*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "rm -rf src" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I generate repodata for repository "simple-base" # dnf/steps/repo.py:166 And I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "list --recent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lbun00nl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lbun00nl/var/cache/dnf list --recent And stderr is # None """ """ And stdout matches line by line # None """ Recently added packages labirinto\.x86_64\s+1\.0-1\.fc29\s+simple-base """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lbun00nl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lbun00nl/var/cache/dnf list --recent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list --recent --json # dnf/list-recent.feature:30 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "SOURCE_DATE_EPOCH=$(date --date='-10 day' +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "SOURCE_DATE_EPOCH=$(date +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/labirinto*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "rm -rf src" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I generate repodata for repository "simple-base" # dnf/steps/repo.py:166 And I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "list --recent --json" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9pticn1e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9pticn1e/var/cache/dnf list --recent --json And stdout json matches # None """ { "recently_added_packages": [ { "name": "labirinto", "arch": "x86_64", "evr": "1.0-1.fc29", "repository": "simple-base" } ] } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9pticn1e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9pticn1e/var/cache/dnf list --recent --json  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list package that is not recently added # dnf/list-recent.feature:43 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "SOURCE_DATE_EPOCH=$(date --date='-10 day' +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "SOURCE_DATE_EPOCH=$(date +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/labirinto*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "rm -rf src" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I generate repodata for repository "simple-base" # dnf/steps/repo.py:166 And I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "list vagare" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8j8my16h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8j8my16h/var/cache/dnf list vagare When I execute dnf with args "list --recent vagare" # None Then the exit code is 1 # None And stdout is empty # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8j8my16h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8j8my16h/var/cache/dnf list vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/list-recent.feature:16 dnf list --recent dnf/list-recent.feature:30 dnf list --recent --json dnf/list-recent.feature:43 dnf list package that is not recently added 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 21 steps passed, 3 failed, 7 skipped Took 0min 1.460s USING RUNNER: behave.runner:Runner Feature: for list --showduplicates option # dnf/list-showduplicates.feature:1 Feature: for list --showduplicates option # dnf/list-showduplicates.feature:1 @bz1671731 Scenario: Test for list with --showduplicates when the package is installed # dnf/list-showduplicates.feature:11 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates-testing" # dnf/steps/repo.py:186 When I execute dnf with args "install flac-1.3.2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x2fd_u1h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x2fd_u1h/var/cache/dnf install flac-1.3.2 And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | When I execute dnf with args "list --showduplicates flac" # None Then the exit code is 0 # None And stderr is # None """ """ Then stdout matches line by line # None """ Installed packages flac.x86_64\s+1.3.2-8.fc29\s+dnf-ci-fedora Available packages flac.src\s+1.3.2-8.fc29\s+dnf-ci-fedora flac.x86_64\s+1.3.2-8.fc29\s+dnf-ci-fedora flac.src\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates flac.src\s+1.3.3-2.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-2.fc29\s+dnf-ci-fedora-updates flac.src\s+1.3.3-3.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-3.fc29\s+dnf-ci-fedora-updates flac.src\s+1.4.0-1.fc29\s+dnf-ci-fedora-updates-testing flac.x86_64\s+1.4.0-1.fc29\s+dnf-ci-fedora-updates-testing """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x2fd_u1h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x2fd_u1h/var/cache/dnf install flac-1.3.2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test for list without --showduplicates when the package is installed # dnf/list-showduplicates.feature:42 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates-testing" # dnf/steps/repo.py:186 When I execute dnf with args "install flac-1.3.2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i80lj_si --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i80lj_si/var/cache/dnf install flac-1.3.2 And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | When I execute dnf with args "list flac" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages flac.x86_64\s+1.3.2-8.fc29\s+dnf-ci-fedora Available packages flac.src\s+1.4.0-1.fc29\s+dnf-ci-fedora-updates-testing flac.x86_64\s+1.4.0-1.fc29\s+dnf-ci-fedora-updates-testing """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i80lj_si --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i80lj_si/var/cache/dnf install flac-1.3.2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test for list with --showduplicates when the package is not installed # dnf/list-showduplicates.feature:65 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates-testing" # dnf/steps/repo.py:186 When I execute dnf with args "update" # dnf/steps/cmd.py:110 And I execute dnf with args "list --showduplicates flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2jy6b4ja --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2jy6b4ja/var/cache/dnf list --showduplicates flac And stderr is # None """ """ And stdout matches line by line # None """ Available packages flac.src\s+1.3.2-8.fc29\s+dnf-ci-fedora flac.x86_64\s+1.3.2-8.fc29\s+dnf-ci-fedora flac.src\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates flac.src\s+1.3.3-2.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-2.fc29\s+dnf-ci-fedora-updates flac.src\s+1.3.3-3.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-3.fc29\s+dnf-ci-fedora-updates flac.src\s+1.4.0-1.fc29\s+dnf-ci-fedora-updates-testing flac.x86_64\s+1.4.0-1.fc29\s+dnf-ci-fedora-updates-testing """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2jy6b4ja --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2jy6b4ja/var/cache/dnf list --showduplicates flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test for list without --showduplicates when the package is not installed # dnf/list-showduplicates.feature:89 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates-testing" # dnf/steps/repo.py:186 When I execute dnf with args "update" # dnf/steps/cmd.py:110 And I execute dnf with args "list flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ejk5g47c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ejk5g47c/var/cache/dnf list flac And stderr is # None """ """ And stdout matches line by line # None """ Available packages flac.src\s+1.4.0-1.fc29\s+dnf-ci-fedora-updates-testing flac.x86_64\s+1.4.0-1.fc29\s+dnf-ci-fedora-updates-testing """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ejk5g47c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ejk5g47c/var/cache/dnf list flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1655605 Scenario: Test for list --available --showduplicates when package is installed and repository is disabled # dnf/list-showduplicates.feature:106 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates-testing" # dnf/steps/repo.py:186 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I drop repository "dnf-ci-fedora" # dnf/steps/repo.py:227 And I drop repository "dnf-ci-fedora-updates-testing" # dnf/steps/repo.py:227 And I execute dnf with args "install flac-1.3.3-1.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fzf7bei9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fzf7bei9/var/cache/dnf install flac-1.3.3-1.fc29.x86_64 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-1.fc29.x86_64 | When I execute dnf with args "list --available --showduplicates flac" # None Then stderr is # None """ """ And stdout matches line by line # None """ Available packages flac.src\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates flac.src\s+1.3.3-2.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-2.fc29\s+dnf-ci-fedora-updates flac.src\s+1.3.3-3.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-3.fc29\s+dnf-ci-fedora-updates """ Given I use repository "simple-base" # None When I drop repository "dnf-ci-fedora-updates" # None And I execute dnf with args "list --available --showduplicates flac" # None Then the exit code is 1 # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fzf7bei9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fzf7bei9/var/cache/dnf install flac-1.3.3-1.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/list-showduplicates.feature:11 Test for list with --showduplicates when the package is installed dnf/list-showduplicates.feature:42 Test for list without --showduplicates when the package is installed dnf/list-showduplicates.feature:65 Test for list with --showduplicates when the package is not installed dnf/list-showduplicates.feature:89 Test for list without --showduplicates when the package is not installed dnf/list-showduplicates.feature:106 Test for list --available --showduplicates when package is installed and repository is disabled 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 25 steps passed, 5 failed, 23 skipped Took 0min 0.645s USING RUNNER: behave.runner:Runner Feature: Test for dnf list (including all documented suboptions and yum compatibility) # dnf/list.feature:1 Feature: Test for dnf list (including all documented suboptions and yum compatibility) # dnf/list.feature:1 Scenario: dnf list nonexistentpkg # dnf/list.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "list non-existent-pkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qjun99gh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qjun99gh/var/cache/dnf list non-existent-pkg And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qjun99gh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qjun99gh/var/cache/dnf list non-existent-pkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list nonexistentpkg (JSON output) # dnf/list.feature:18 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "list --json non-existent-pkg" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_czalu0lk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_czalu0lk/var/cache/dnf list --json non-existent-pkg And stdout json matches # None """ {} """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_czalu0lk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_czalu0lk/var/cache/dnf list --json non-existent-pkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: List all packages available # dnf/list.feature:27 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cnr9mfvq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cnr9mfvq/var/cache/dnf list Then stdout section "Available packages" contains "setup.noarch\s+2.12.1-1.fc29\s+dnf-ci-fedora" # None Then stdout section "Available packages" contains "basesystem.noarch\s+11-6.fc29\s+dnf-ci-fedora" # None Then stdout section "Available packages" contains "glibc.x86_64\s+2.28-9.fc29\s+dnf-ci-fedora" # None Then stdout section "Available packages" contains "glibc-common.x86_64\s+2.28-9.fc29\s+dnf-ci-fedora" # None Then stdout section "Available packages" contains "glibc-all-langpacks.x86_64\s+2.28-9.fc29\s+dnf-ci-fedora" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cnr9mfvq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cnr9mfvq/var/cache/dnf list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list --extras (installed pkgs, not from known repos) # dnf/list.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ja90_2pm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ja90_2pm/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None And I execute dnf with args "list --extras" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Extra packages setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ja90_2pm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ja90_2pm/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list --extras (installed pkgs, not from known repos; JSON output) # dnf/list.feature:54 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9kpjmgme --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9kpjmgme/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None And I execute dnf with args "list --extras --json" # None Then the exit code is 0 # None And stdout json matches # None """ { "extra_packages": [ { "name": "setup", "arch": "noarch", "evr": "2.12.1-1.fc29", "repository": "dnf-ci-fedora" } ] } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9kpjmgme --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9kpjmgme/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list setup (when setup is installed) # dnf/list.feature:70 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_08kth0my --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_08kth0my/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "list setup" # None Then stderr is # None """ """ And stdout matches line by line # None """ Installed packages setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_08kth0my --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_08kth0my/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list setup (when setup is installed; JSON output) # dnf/list.feature:86 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xl1skob7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xl1skob7/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "list --json setup" # None Then stdout json matches # None """ { "installed_packages": [ { "name": "setup", "arch": "noarch", "evr": "2.12.1-1.fc29", "repository": "dnf-ci-fedora" } ] } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xl1skob7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xl1skob7/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list is case insensitive # dnf/list.feature:101 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p8twz1at --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p8twz1at/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "list SETUP" # None Then stderr is # None """ """ And stdout matches line by line # None """ Installed packages setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p8twz1at --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p8twz1at/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list setup (when setup is not installed but it is available) # dnf/list.feature:117 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "list setup" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout matches line by line # None """ Available packages setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora setup.src +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xc067v_y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xc067v_y/var/cache/dnf list setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list --installed setup (when setup is installed) # dnf/list.feature:131 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2kd4t1qx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2kd4t1qx/var/cache/dnf install setup Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "list --installed setup" # None Then stderr is # None """ """ And stdout matches line by line # None """ Installed packages setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2kd4t1qx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2kd4t1qx/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: List --installed alias packages from all enabled repositories # dnf/list.feature:147 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yg5fh4h6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yg5fh4h6/var/cache/dnf install glibc When I execute dnf with args "list --installed" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages basesystem.noarch +11-6.fc29 +dnf-ci-fedora filesystem.x86_64 +3.9-2.fc29 +dnf-ci-fedora glibc.x86_64 +2.28-9.fc29 +dnf-ci-fedora glibc-all-langpacks.x86_64 +2.28-9.fc29 +dnf-ci-fedora glibc-common.x86_64 +2.28-9.fc29 +dnf-ci-fedora setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yg5fh4h6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yg5fh4h6/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list --available setup (when setup is available) # dnf/list.feature:168 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "list --available setup" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout matches line by line # None """ Available packages setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora setup.src +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qelq8nyz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qelq8nyz/var/cache/dnf list --available setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list setup basesystem (when basesystem is not installed) # dnf/list.feature:182 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fei8osed --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fei8osed/var/cache/dnf install setup When I execute dnf with args "list setup basesystem" # None Then stderr is # None """ """ And stdout matches line by line # None """ Installed packages setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora Available packages basesystem.noarch +11-6.fc29 +dnf-ci-fedora basesystem.src +11-6.fc29 +dnf-ci-fedora setup.src +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fei8osed --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fei8osed/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list setup basesystem (when basesystem is not installed; JSON output) # dnf/list.feature:202 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_di172045 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_di172045/var/cache/dnf install setup When I execute dnf with args "list --json setup basesystem" # None Then stdout json matches # None """ { "installed_packages": [ { "name": "setup", "arch": "noarch", "evr": "2.12.1-1.fc29", "repository": "dnf-ci-fedora" } ], "available_packages": [ { "name": "basesystem", "arch": "noarch", "evr": "11-6.fc29", "repository": "dnf-ci-fedora" }, { "name": "basesystem", "arch": "src", "evr": "11-6.fc29", "repository": "dnf-ci-fedora" }, { "name": "setup", "arch": "src", "evr": "2.12.1-1.fc29", "repository": "dnf-ci-fedora" } ] } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_di172045 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_di172045/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list installed setup basesystem (when basesystem is not installed) # dnf/list.feature:221 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vgbm0fu1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vgbm0fu1/var/cache/dnf install setup When I execute dnf with args "list --installed setup basesystem" # None Then stderr is # None """ No matches found for "basesystem". """ And stdout matches line by line # None """ Installed packages setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vgbm0fu1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vgbm0fu1/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list available setup basesystem (when basesystem is available) # dnf/list.feature:239 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_35vfbptk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_35vfbptk/var/cache/dnf install setup When I execute dnf with args "list --available setup basesystem" # None Then stderr is # None """ """ And stdout matches line by line # None """ Available packages basesystem.noarch +11-6.fc29 +dnf-ci-fedora basesystem.src +11-6.fc29 +dnf-ci-fedora setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora setup.src +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_35vfbptk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_35vfbptk/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list setup basesystem (when both are installed) # dnf/list.feature:257 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jw0ir2xq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jw0ir2xq/var/cache/dnf install setup basesystem When I execute dnf with args "list setup basesystem" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages basesystem.noarch +11-6.fc29 +dnf-ci-fedora setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora Available packages basesystem.src +11-6.fc29 +dnf-ci-fedora setup.src +2.12.1-1.fc29 +dnf-ci-fedora """ When I execute dnf with args "list --installed setup basesystem" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages basesystem.noarch +11-6.fc29 +dnf-ci-fedora setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora """ When I execute dnf with args "list --available setup.noarch basesystem.noarch" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Available packages basesystem.noarch +11-6.fc29 +dnf-ci-fedora setup.noarch +2.12.1-1.fc29 +dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jw0ir2xq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jw0ir2xq/var/cache/dnf install setup basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list glibc\* # dnf/list.feature:302 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gzkzzjcd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gzkzzjcd/var/cache/dnf install glibc Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "list glibc\*" # None Then stdout section "Installed packages" contains "glibc.x86_64\s+2.28-9.fc29\s+dnf-ci-fedora" # None Then stdout section "Installed packages" contains "glibc-common.x86_64\s+2.28-9.fc29\s+dnf-ci-fedora" # None Then stdout section "Installed packages" contains "glibc-all-langpacks.x86_64\s+2.28-9.fc29\s+dnf-ci-fedora" # None Then stdout section "Available packages" contains "glibc.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora" # None Then stdout does not contain "setup" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gzkzzjcd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gzkzzjcd/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: dnf list --upgrades -- @1.1 # dnf/list.feature:334 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kk2noeiy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kk2noeiy/var/cache/dnf install glibc Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "list --upgrades" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Available upgrades glibc.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates glibc-all-langpacks.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates glibc-common.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kk2noeiy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kk2noeiy/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: dnf list --updates -- @1.2 # dnf/list.feature:335 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ud5g2k8a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ud5g2k8a/var/cache/dnf install glibc Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "list --updates" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Available upgrades glibc.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates glibc-all-langpacks.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates glibc-common.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ud5g2k8a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ud5g2k8a/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list upgrades glibc (when glibc is not installed) # dnf/list.feature:338 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "list --upgrades glibc" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ou6t8pxh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ou6t8pxh/var/cache/dnf list --upgrades glibc And stderr is # None """ No matches found. """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ou6t8pxh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ou6t8pxh/var/cache/dnf list --upgrades glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list --obsoletes # dnf/list.feature:350 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__1qhvtzt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__1qhvtzt/var/cache/dnf install glibc Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "list --obsoletes" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Obsoleting packages glibc.x86_64\s+2.28-26.fc29\s+dnf-ci-fedora-updates \s+glibc.x86_64\s+2.28-9.fc29\s+dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__1qhvtzt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__1qhvtzt/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list obsoletes setup (when setup is not obsoleted) # dnf/list.feature:368 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_koe1f4qy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_koe1f4qy/var/cache/dnf install setup When I execute dnf with args "list --obsoletes setup" # None Then the exit code is 1 # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_koe1f4qy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_koe1f4qy/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @use.with_os=rhel__ge__11 @1550560 Scenario: dnf list available pkgs with long names piped to grep # dnf/list.feature:383 @not.with_os=rhel__ge__11 @1550560 Scenario: dnf list available pkgs with long names piped to grep # dnf/list.feature:394 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "clean all" # dnf/steps/cmd.py:110 When I execute "eval {context.dnf.dnf_command} -y --releasever={context.dnf.releasever} --installroot={context.dnf.installroot} --setopt=module_platform_id={context.dnf.module_platform_id} --disableplugin='*' list --available | grep 1" in "{context.dnf.installroot}" # common/cmd.py:19 ASSERT FAILED: Running command "eval dnf5 -y --releasever=29 --installroot=/tmp/dnf_ci_installroot_9n38vs8n --setopt=module_platform_id=platform:f29 --disableplugin='*' list --available | grep 1" failed: 1 Then the exit code is 0 # None Then stdout contains "forTestingPurposesWeEvenHaveReallyLongVersions.x86_64\s+1435347658326856238756823658aaaa-1\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: eval dnf5 -y --releasever=29 --installroot=/tmp/dnf_ci_installroot_9n38vs8n --setopt=module_platform_id=platform:f29 --disableplugin='*' list --available | grep 1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1800342 Scenario: dnf list respects repo priorities # dnf/list.feature:403 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 100 | When I execute dnf with args "list flac.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gaguj7ga --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gaguj7ga/var/cache/dnf list flac.x86_64 And stderr is # None """ """ And stdout matches line by line # None """ Available packages flac.x86_64\s+1.3.2-8.fc29\s+dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gaguj7ga --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gaguj7ga/var/cache/dnf list flac.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list --showduplicates lists all (even from lower-priority repo) # dnf/list.feature:421 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 100 | When I execute dnf with args "list flac.x86_64 --showduplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ptknzp60 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ptknzp60/var/cache/dnf list flac.x86_64 --showduplicates And stderr is # None """ """ And stdout matches line by line # None """ Available packages flac.x86_64\s+1.3.2-8.fc29\s+dnf-ci-fedora flac.x86_64\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-2.fc29\s+dnf-ci-fedora-updates flac.x86_64\s+1.3.3-3.fc29\s+dnf-ci-fedora-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ptknzp60 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ptknzp60/var/cache/dnf list flac.x86_64 --showduplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1800342 Scenario: dnf list doesn't show any available packages when there are no upgrades in the highest-priority repo # dnf/list.feature:443 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 100 | And I successfully execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e8g_y6h1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e8g_y6h1/var/cache/dnf install flac-1.3.3-1.fc29 When I execute dnf with args "list flac.x86_64" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages flac.x86_64\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e8g_y6h1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e8g_y6h1/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list shows available packages when there are upgrades in the highest-priority repo # dnf/list.feature:462 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I successfully execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6u_js3s_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6u_js3s_/var/cache/dnf install flac-1.3.3-1.fc29 When I execute dnf with args "list flac.x86_64" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Installed packages flac.x86_64\s+1.3.3-1.fc29\s+dnf-ci-fedora-updates Available packages flac.x86_64\s+1.3.3-3.fc29\s+dnf-ci-fedora-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6u_js3s_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6u_js3s_/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf list doesn't show package with same nevra from lower-priority repo # dnf/list.feature:484 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I configure a new repository "dnf-ci-fedora2" with # dnf/steps/repo.py:271 | key | value | | baseurl | file://{context.dnf.repos[dnf-ci-fedora].path} | | priority | 100 | When I execute dnf with args "list flac.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jrk2tsih --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jrk2tsih/var/cache/dnf list flac.x86_64 And stderr is # None """ """ And stdout matches line by line # None """ Available packages flac.x86_64\s+1.3.2-8.fc29\s+dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jrk2tsih --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jrk2tsih/var/cache/dnf list flac.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz2124483 Scenario: dnf list updates --security shows upgrades as available when it changes arch from noarch # dnf/list.feature:506 @xfail @bz2124483 Scenario: dnf list updates --security doesn't shnow an upgrade when it would require an arch change (when its not noarch) # dnf/list.feature:525 Failing scenarios: dnf/list.feature:8 dnf list nonexistentpkg dnf/list.feature:18 dnf list nonexistentpkg (JSON output) dnf/list.feature:27 List all packages available dnf/list.feature:37 dnf list --extras (installed pkgs, not from known repos) dnf/list.feature:54 dnf list --extras (installed pkgs, not from known repos; JSON output) dnf/list.feature:70 dnf list setup (when setup is installed) dnf/list.feature:86 dnf list setup (when setup is installed; JSON output) dnf/list.feature:101 dnf list is case insensitive dnf/list.feature:117 dnf list setup (when setup is not installed but it is available) dnf/list.feature:131 dnf list --installed setup (when setup is installed) dnf/list.feature:147 List --installed alias packages from all enabled repositories dnf/list.feature:168 dnf list --available setup (when setup is available) dnf/list.feature:182 dnf list setup basesystem (when basesystem is not installed) dnf/list.feature:202 dnf list setup basesystem (when basesystem is not installed; JSON output) dnf/list.feature:221 dnf list installed setup basesystem (when basesystem is not installed) dnf/list.feature:239 dnf list available setup basesystem (when basesystem is available) dnf/list.feature:257 dnf list setup basesystem (when both are installed) dnf/list.feature:302 dnf list glibc\* dnf/list.feature:334 dnf list --upgrades -- @1.1 dnf/list.feature:335 dnf list --updates -- @1.2 dnf/list.feature:338 dnf list upgrades glibc (when glibc is not installed) dnf/list.feature:350 dnf list --obsoletes dnf/list.feature:368 dnf list obsoletes setup (when setup is not obsoleted) dnf/list.feature:394 dnf list available pkgs with long names piped to grep dnf/list.feature:403 dnf list respects repo priorities dnf/list.feature:421 dnf list --showduplicates lists all (even from lower-priority repo) dnf/list.feature:443 dnf list doesn't show any available packages when there are no upgrades in the highest-priority repo dnf/list.feature:462 dnf list shows available packages when there are upgrades in the highest-priority repo dnf/list.feature:484 dnf list doesn't show package with same nevra from lower-priority repo 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 29 failed, 3 skipped 63 steps passed, 29 failed, 126 skipped Took 0min 1.342s USING RUNNER: behave.runner:Runner Feature: Testing localpkg_gpgcheck # dnf/localpkg_gpgcheck.feature:1 Scenario: locally installing unsigned pkg is allowed (localpkg_gpgcheck is off by defaul) # dnf/localpkg_gpgcheck.feature:4 When I execute dnf with args "install {context.dnf.fixturesdir}/repos/unsigned/x86_64/sarcina-1.0-1.fc29.x86_64.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lt07u95s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lt07u95s/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/unsigned/x86_64/sarcina-1.0-1.fc29.x86_64.rpm And DNF Transaction is following # None | Action | Package | | install | sarcina-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lt07u95s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lt07u95s/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/unsigned/x86_64/sarcina-1.0-1.fc29.x86_64.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: locally installing unsigned pkg is not allowed when localpkg_gpgcheck is on # dnf/localpkg_gpgcheck.feature:12 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | localpkg_gpgcheck | 1 | When I execute dnf with args "install {context.dnf.fixturesdir}/repos/unsigned/x86_64/sarcina-1.0-1.fc29.x86_64.rpm" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eujsnlgt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eujsnlgt/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/unsigned/x86_64/sarcina-1.0-1.fc29.x86_64.rpm And stderr contains "Signature verification failed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eujsnlgt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eujsnlgt/var/cache/dnf install /opt/ci/dnf-behave-tests/fixtures/repos/unsigned/x86_64/sarcina-1.0-1.fc29.x86_64.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/localpkg_gpgcheck.feature:4 locally installing unsigned pkg is allowed (localpkg_gpgcheck is off by defaul) dnf/localpkg_gpgcheck.feature:12 locally installing unsigned pkg is not allowed when localpkg_gpgcheck is on 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 3 steps passed, 2 failed, 2 skipped Took 0min 0.068s USING RUNNER: behave.runner:Runner Feature: Log rotation # dnf/log-rotate.feature:1 @no_installroot @bz1910084 Scenario: Log rotation keeps file permissions # dnf/log-rotate.feature:35 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install flac And I successfully execute "chmod 600 /var/log/dnf5.log" # None When I execute dnf with args "--setopt=log_size=1 --setopt=log_rotate=2 remove flac" # None Then the exit code is 0 # None And file "/var/log/dnf5.log" has mode "600" # None And file "/var/log/dnf5.log.1" has mode "600" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/log-rotate.feature:35 Log rotation keeps file permissions 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 2 skipped 1 step passed, 1 failed, 26 skipped Took 0min 0.336s USING RUNNER: behave.runner:Runner Feature: Log rotation # dnf/log-rotate.feature:1 @no_installroot Scenario: Log rotation keeps ACL # dnf/log-rotate.feature:50 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install flac And I successfully execute "setfacl -m user:root:r /var/log/dnf5.log" # None When I execute dnf with args "--setopt=log_size=1 --setopt=log_rotate=2 remove flac" # None Then the exit code is 0 # None And file "/var/log/dnf5.log" has ACL entry "user:root:r--" # None And file "/var/log/dnf5.log.1" has ACL entry "user:root:r--" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/log-rotate.feature:50 Log rotation keeps ACL 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 2 skipped 1 step passed, 1 failed, 26 skipped Took 0min 0.340s USING RUNNER: behave.runner:Runner Feature: Log rotation # dnf/log-rotate.feature:1 @xfail @bz1702690 @bz1816573 Scenario: Size and number of log files respects log_size and log_rotate options # dnf/log-rotate.feature:8 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 28 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Logs # dnf/logs.feature:1 @xfail @bz1802074 Scenario Outline: logfilelevel 0 controls verbosity of dnf.log -- @1.1 # dnf/logs.feature:27 @xfail @bz1802074 Scenario Outline: logfilelevel 1 controls verbosity of dnf.log -- @1.2 # dnf/logs.feature:28 @xfail @bz1802074 Scenario Outline: logfilelevel 3 controls verbosity of dnf.log -- @1.3 # dnf/logs.feature:29 @xfail @bz1802074 Scenario Outline: logfilelevel 7 controls verbosity of dnf.log -- @1.4 # dnf/logs.feature:30 @bz1910084 Scenario: Logfiles are created with 644 permissions by default # dnf/logs.feature:34 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a7pzq9pu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a7pzq9pu/var/cache/dnf install flac And file "/var/log/dnf5.log" has mode "644" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a7pzq9pu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a7pzq9pu/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1910084 Scenario: Created logfiles respect umask setting # dnf/logs.feature:42 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I set umask to "0066" # common/cmd.py:46 And I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0ididdt3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0ididdt3/var/cache/dnf install flac And file "/var/log/dnf5.log" has mode "600" # None Given I set umask to "0022" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0ididdt3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0ididdt3/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/logs.feature:34 Logfiles are created with 644 permissions by default dnf/logs.feature:42 Created logfiles respect umask setting 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 4 skipped 5 steps passed, 2 failed, 27 skipped Took 0min 0.203s USING RUNNER: behave.runner:Runner Feature: makecache command # dnf/makecache.feature:1 Scenario: Create a metadata cache using "makecache" and then test that "repoquery" does not download metadata # dnf/makecache.feature:4 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y8e389ts --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y8e389ts/var/cache/dnf makecache And stderr matches line by line # None """ Updating and loading repositories: dnf-ci-fedora test repository .* Repositories loaded. """ When I execute dnf with args "repoquery nodejs" # None Then the exit code is 0 # None And stdout is # None """ nodejs-1:5.12.1-1.fc29.src nodejs-1:5.12.1-1.fc29.x86_64 """ And stderr matches line by line # None """ Updating and loading repositories: Last metadata expiration check: .* ago on .*\. Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y8e389ts --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y8e389ts/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Tests that "repoquery" downloads metadata (creates a cache) and then "makecache" does not download metadada # dnf/makecache.feature:29 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "repoquery nodejs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zoxh04zt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zoxh04zt/var/cache/dnf repoquery nodejs And stderr matches line by line # None """ Updating and loading repositories: dnf-ci-fedora test repository .* Repositories loaded. """ And stdout is # None """ nodejs-1:5.12.1-1.fc29.src nodejs-1:5.12.1-1.fc29.x86_64 """ When I execute dnf with args "makecache" # None Then the exit code is 0 # None And stdout is # None """ Metadata cache created. """ And stderr matches line by line # None """ Updating and loading repositories: Last metadata expiration check: .* ago on .*\. Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zoxh04zt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zoxh04zt/var/cache/dnf repoquery nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: makecache with skip_if_unavailable=0 and non existent repo doesn't succeed # dnf/makecache.feature:58 Given I configure a new repository "non-existent" with # dnf/steps/repo.py:271 | key | value | | baseurl | https://www.not-available-repo.com/ | | enabled | 1 | | skip_if_unavailable | 0 | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__u3_nnfg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__u3_nnfg/var/cache/dnf makecache And stdout is empty # None And stderr contains "Updating and loading repositories:" # None And stderr contains "non-existent test repository" # None And stderr contains "Failed to download metadata \(baseurl: \"https://www.not-available-repo.com/\"\) for repository \"non-existent\"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__u3_nnfg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__u3_nnfg/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1745170 Scenario: disabled makecache --timer does not invalidate cached metadata # dnf/makecache.feature:75 Failing scenarios: dnf/makecache.feature:4 Create a metadata cache using "makecache" and then test that "repoquery" does not download metadata dnf/makecache.feature:29 Tests that "repoquery" downloads metadata (creates a cache) and then "makecache" does not download metadada dnf/makecache.feature:58 makecache with skip_if_unavailable=0 and non existent repo doesn't succeed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 1 skipped 6 steps passed, 3 failed, 21 skipped Took 0min 0.503s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 12 leaked semaphore objects to clean up at shutdown: {'/mp-sejjcpqa', '/mp-deb6u7fa', '/mp-ag9ba92s', '/mp-c109sgg4', '/mp-_n70asu1', '/mp-d3vwfs2h', '/mp-ek2j41xx', '/mp-ain0vyz6', '/mp-s3dvviwa', '/mp-_3fqagel', '/mp-qqk7hoad', '/mp-m92nhyv9'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Mark command # dnf/mark.feature:1 Scenario Outline: Marking non-existent package as user fails -- @1.1 # dnf/mark.feature:16 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "mark user nosuchpkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z5_t_gkz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z5_t_gkz/var/cache/dnf mark user nosuchpkg And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nosuchpkg """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z5_t_gkz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z5_t_gkz/var/cache/dnf mark user nosuchpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Marking non-existent package as dependency fails -- @1.2 # dnf/mark.feature:17 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "mark dependency nosuchpkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__dhezazq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__dhezazq/var/cache/dnf mark dependency nosuchpkg And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nosuchpkg """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__dhezazq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__dhezazq/var/cache/dnf mark dependency nosuchpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Marking non-existent package as weak fails -- @1.3 # dnf/mark.feature:18 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "mark weak nosuchpkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yt_qlcph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yt_qlcph/var/cache/dnf mark weak nosuchpkg And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nosuchpkg """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yt_qlcph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yt_qlcph/var/cache/dnf mark weak nosuchpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Marking as group for non-existent package or non-existent group fails # dnf/mark.feature:21 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "mark group dnf-ci-testgroup nosuchpkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4zmxle0o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4zmxle0o/var/cache/dnf mark group dnf-ci-testgroup nosuchpkg And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nosuchpkg """ When I execute dnf with args "install lame" # None And I execute dnf with args "mark group nosuchgrp lame" # None Then the exit code is 1 # None And stderr contains lines # None """ Group state for "nosuchgrp" not found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4zmxle0o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4zmxle0o/var/cache/dnf mark group dnf-ci-testgroup nosuchpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Marking available but not installed package fails # dnf/mark.feature:40 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "mark user lame" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_io1lr2t0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_io1lr2t0/var/cache/dnf mark user lame And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: lame """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_io1lr2t0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_io1lr2t0/var/cache/dnf mark user lame  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Marking as dependency a list of pkgs when one of them is not available fails # dnf/mark.feature:51 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install lame" # dnf/steps/cmd.py:110 And I execute dnf with args "mark dependency lame nosuchpkg" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bfhqry8q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bfhqry8q/var/cache/dnf mark dependency lame nosuchpkg And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nosuchpkg """ And package reasons are # None | Package | Reason | | lame-3.100-4.fc29.x86_64 | User | | lame-libs-3.100-4.fc29.x86_64 | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bfhqry8q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bfhqry8q/var/cache/dnf mark dependency lame nosuchpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Marking as dependency a list of pkgs when one of them is not available passes with --skip-unavailable # dnf/mark.feature:67 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install lame" # dnf/steps/cmd.py:110 And I execute dnf with args "mark --skip-unavailable dependency lame nosuchpkg" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0a7gbq_n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0a7gbq_n/var/cache/dnf mark --skip-unavailable dependency lame nosuchpkg And stderr contains lines # None """ No match for argument: nosuchpkg """ And package reasons are # None | Package | Reason | | lame-3.100-4.fc29.x86_64 | Dependency | | lame-libs-3.100-4.fc29.x86_64 | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0a7gbq_n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0a7gbq_n/var/cache/dnf mark --skip-unavailable dependency lame nosuchpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Mark user installed package as Dependency -- @1.1 # dnf/mark.feature:95 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install lame" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hg9m12rs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hg9m12rs/var/cache/dnf install lame When I execute dnf with args "mark dependency lame" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | lame-3.100-4.fc29.x86_64 | Dependency | | lame-libs-3.100-4.fc29.x86_64 | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hg9m12rs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hg9m12rs/var/cache/dnf install lame  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Mark user installed package as Weak Dependency -- @1.2 # dnf/mark.feature:96 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install lame" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x7hitttk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x7hitttk/var/cache/dnf install lame When I execute dnf with args "mark weak lame" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | lame-3.100-4.fc29.x86_64 | Weak Dependency | | lame-libs-3.100-4.fc29.x86_64 | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x7hitttk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x7hitttk/var/cache/dnf install lame  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Mark package installed as dependency as User -- @1.1 # dnf/mark.feature:116 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5dja4359 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5dja4359/var/cache/dnf install filesystem And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark user setup" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5dja4359 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5dja4359/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Mark package installed as dependency as Weak Dependency -- @1.2 # dnf/mark.feature:117 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t4cpqcxo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t4cpqcxo/var/cache/dnf install filesystem And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark weak setup" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | User | | setup-2.12.1-1.fc29.noarch | Weak Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t4cpqcxo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t4cpqcxo/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Mark package as the same reason it currently has # dnf/mark.feature:120 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install lame" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e4u3r0hf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e4u3r0hf/var/cache/dnf install lame And package reasons are # None | Package | Reason | | lame-3.100-4.fc29.x86_64 | User | | lame-libs-3.100-4.fc29.x86_64 | Dependency | When I execute dnf with args "mark user lame" # None Then the exit code is 0 # None And stdout is # None """ Nothing to do. """ And stderr is # None """ Package "lame-3.100-4.fc29.x86_64" is already installed with reason "User". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e4u3r0hf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e4u3r0hf/var/cache/dnf install lame  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Mark user installed package as group # dnf/mark.feature:141 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install lame" # dnf/steps/cmd.py:110 And I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nb9o5spt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nb9o5spt/var/cache/dnf group install dnf-ci-testgroup And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | User | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark group dnf-ci-testgroup lame" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | Group | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nb9o5spt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nb9o5spt/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Mark group installed package as user and back again # dnf/mark.feature:163 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sy8ec9wg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sy8ec9wg/var/cache/dnf group install dnf-ci-testgroup And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | Group | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark user lame" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | User | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark group dnf-ci-testgroup lame" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | Group | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark group dnf-ci-testgroup lame" # None Then the exit code is 0 # None And stdout does not contain "User -> Group" # None And stderr is # None """ Package "lame-3.100-4.fc29.x86_64" is already installed with reason "Group". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sy8ec9wg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sy8ec9wg/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Mark group installed package as dependency and back again # dnf/mark.feature:200 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7vcx_p46 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7vcx_p46/var/cache/dnf group install dnf-ci-testgroup And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | Group | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark dependency lame" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | Dependency | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark group dnf-ci-testgroup lame" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | Group | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "mark group dnf-ci-testgroup lame" # None Then the exit code is 0 # None And stdout does not contain "Dependency -> Group" # None And stderr is # None """ Package "lame-3.100-4.fc29.x86_64" is already installed with reason "Group". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7vcx_p46 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7vcx_p46/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Marking dependency as user-installed should not remove it automatically # dnf/mark.feature:236 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g5fku5y1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g5fku5y1/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "mark user setup" # None Then the exit code is 0 # None When I execute dnf with args "remove filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | unchanged | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove setup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g5fku5y1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g5fku5y1/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2046581 Scenario: Marking installed package when history DB is not on the system (deleted or not created yet) # dnf/mark.feature:260 When I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/wget-1.19.6-5.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 And package reasons are # dnf/steps/history.py:92 | Package | Reason | | wget-1.19.6-5.fc29.x86_64 | External User | ASSERT FAILED: Running command "dnf5 -y --installroot=/tmp/dnf_ci_installroot_0g0y1zq8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0g0y1zq8/var/cache/dnf repoquery --qf '%{name}-%{evr}.%{arch},%{reason} ' --installed" failed: 2 When I execute dnf with args "mark user wget" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | wget-1.19.6-5.fc29.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0g0y1zq8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0g0y1zq8/var/cache/dnf repoquery --qf '%{name}-%{evr}.%{arch},%{reason} ' --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Marking toplevel package as dependency should not remove shared dependencies on autoremove # dnf/mark.feature:273 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install nss_hesiod libnsl" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o8smdy3f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o8smdy3f/var/cache/dnf install nss_hesiod libnsl And Transaction is following # None | Action | Package | | install | libnsl-0:2.28-9.fc29.x86_64 | | install | nss_hesiod-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "mark dependency libnsl" # None Then the exit code is 0 # None When I execute dnf with args "autoremove" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | libnsl-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o8smdy3f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o8smdy3f/var/cache/dnf install nss_hesiod libnsl  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Mark package as group installed for multiple groups # dnf/mark.feature:296 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "group install dnf-ci-testgroup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a1qwl2vn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a1qwl2vn/var/cache/dnf group install dnf-ci-testgroup And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | Group | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | Given I execute dnf with args "group install --no-packages cqrlib-non-devel" # None Then the exit code is 0 # None When I execute dnf with args "mark group cqrlib-non-devel lame" # None Then the exit code is 0 # None And package reasons are # None | Package | Reason | | filesystem-3.9-2.fc29.x86_64 | Group | | lame-3.100-4.fc29.x86_64 | Group | | lame-libs-3.100-4.fc29.x86_64 | Dependency | | setup-2.12.1-1.fc29.noarch | Dependency | When I execute dnf with args "group remove dnf-ci-testgroup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | group-remove | DNF-CI-Testgroup | And package reasons are # None | Package | Reason | | lame-3.100-4.fc29.x86_64 | Group | | lame-libs-3.100-4.fc29.x86_64 | Dependency | When I execute dnf with args "group remove cqrlib-non-devel" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | lame-3.100-4.fc29.x86_64 | | remove-unused | lame-libs-3.100-4.fc29.x86_64 | | group-remove | CQRlib-non-devel | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a1qwl2vn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a1qwl2vn/var/cache/dnf group install dnf-ci-testgroup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/mark.feature:16 Marking non-existent package as user fails -- @1.1 dnf/mark.feature:17 Marking non-existent package as dependency fails -- @1.2 dnf/mark.feature:18 Marking non-existent package as weak fails -- @1.3 dnf/mark.feature:21 Marking as group for non-existent package or non-existent group fails dnf/mark.feature:40 Marking available but not installed package fails dnf/mark.feature:51 Marking as dependency a list of pkgs when one of them is not available fails dnf/mark.feature:67 Marking as dependency a list of pkgs when one of them is not available passes with --skip-unavailable dnf/mark.feature:95 Mark user installed package as Dependency -- @1.1 dnf/mark.feature:96 Mark user installed package as Weak Dependency -- @1.2 dnf/mark.feature:116 Mark package installed as dependency as User -- @1.1 dnf/mark.feature:117 Mark package installed as dependency as Weak Dependency -- @1.2 dnf/mark.feature:120 Mark package as the same reason it currently has dnf/mark.feature:141 Mark user installed package as group dnf/mark.feature:163 Mark group installed package as user and back again dnf/mark.feature:200 Mark group installed package as dependency and back again dnf/mark.feature:236 Marking dependency as user-installed should not remove it automatically dnf/mark.feature:260 Marking installed package when history DB is not on the system (deleted or not created yet) dnf/mark.feature:273 Marking toplevel package as dependency should not remove shared dependencies on autoremove dnf/mark.feature:296 Mark package as group installed for multiple groups 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 19 failed, 0 skipped 46 steps passed, 19 failed, 89 skipped Took 0min 0.957s USING RUNNER: behave.runner:Runner Feature: Testing DNF metadata handling # dnf/metadata.feature:1 @bz1644283 Scenario: update expired metadata on first dnf update # dnf/metadata.feature:5 Given I create directory "/temp-repos/temp-repo" # common/file.py:30 And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | baseurl | {context.dnf.installroot}/temp-repos/temp-repo | | metadata_expire | 1s | And I execute "createrepo_c --update ." in "{context.dnf.installroot}/temp-repos/temp-repo" # common/cmd.py:19 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_047mayzi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_047mayzi/var/cache/dnf list And stderr contains "testrepo" # None Given I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/temp-repo/dnf-ci-fedora" # None Then the exit code is 0 # None And I execute "createrepo_c --update ." in "{context.dnf.installroot}/temp-repos/temp-repo" # None Then the exit code is 0 # None And I execute "sleep 2s" # None Then I execute dnf with args "upgrade" # None Then the exit code is 0 # None Then I execute dnf with args "--cacheonly list" # None Then the exit code is 0 # None And stdout contains "\s+wget.src\s+1.19.5-5.fc29\s+testrepo" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_047mayzi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_047mayzi/var/cache/dnf list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1771147 Scenario: dnf respects metadata_expire (with default of 48 hours) # dnf/metadata.feature:30 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "repoquery labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7czw0t3j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7czw0t3j/var/cache/dnf repoquery labirinto And stdout is # None """ labirinto-0:1.0-1.fc29.src labirinto-0:1.0-1.fc29.x86_64 """ When I sleep for "1" seconds # None And I execute dnf with args "repoquery labirinto" # None Then the exit code is 0 # None And stderr matches line by line # None """ Updating and loading repositories: Last metadata expiration check: .* ago on .*\. Repositories loaded. """ And stdout is # None """ labirinto-0:1.0-1.fc29.src labirinto-0:1.0-1.fc29.x86_64 """ When I execute dnf with args "--refresh repoquery labirinto" # None Then the exit code is 0 # None And stdout is # None """ labirinto-0:1.0-1.fc29.src labirinto-0:1.0-1.fc29.x86_64 """ And stderr matches line by line # None """ Updating and loading repositories: simple-base test repository .* Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7czw0t3j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7czw0t3j/var/cache/dnf repoquery labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1866505 Scenario: I cannot create/overwrite a file in /etc from local repository # dnf/metadata.feature:70 Given I create file "/a/etc/malicious.file" with # common/file.py:36 """ my evil config """ And I create file "/a/b/c/d/e/repodata/repomd.xml" with # common/file.py:36 """ """ When I execute dnf with args "--repofrompath=test,{context.dnf.installroot}/a/b/c/d/e/ --repo test --refresh --nogpgcheck install htop" # dnf/steps/cmd.py:110 Then file "/etc/malicious.file" does not exist # common/file.py:90 @bz1866505 Scenario: I cannot create/overwrite a file in /etc from remote repository # dnf/metadata.feature:92 Given I create file "/a/etc/malicious.file" with # common/file.py:36 """ my evil config """ And I create file "/a/b/c/d/e/f/g/repodata/repomd.xml" with # common/file.py:36 """ """ And I start http server "malicious_server" at "{context.dnf.installroot}/a" # dnf/steps/server.py:26 And I configure a new repository "test" with # dnf/steps/repo.py:271 | key | value | | gpgcheck | 0 | | baseurl | http://0.0.0.0:{context.dnf.ports[malicious_server]}/b/c/d/e/f/g/ | When I execute dnf with args "--refresh install htop" # dnf/steps/cmd.py:110 Then file "/etc/malicious.file" does not exist # common/file.py:90 Scenario: present user understandable message when there is a mismatch between available repodata and packages # dnf/metadata.feature:115 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I execute "echo \"checksum mismatch\" >> /{context.dnf.repos[simple-base].path}/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" # common/cmd.py:30 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xfiwvvn0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xfiwvvn0/var/cache/dnf install labirinto And stderr contains "Interrupted by header callback: Inconsistent server data" # None And file "/var/log/dnf5.log" contains lines # None """ .* INFO \[librepo\] Error during transfer: Interrupted by header callback: Inconsistent server data, reported file Content-Length: .*, repository metadata states file length: .* \(please report to repository maintainer\) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xfiwvvn0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xfiwvvn0/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Identical metalink checksums match, no repo redownload needed # dnf/metadata.feature:128 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I set up metalink for repository "simple-base" # dnf/steps/repo.py:342 And I execute dnf with args "makecache" # dnf/steps/cmd.py:110 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r2i8dnq0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r2i8dnq0/var/cache/dnf makecache --refresh And stderr is # None """ """ And HTTP log is # None """ GET simple-base /metalink.xml?releasever=29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r2i8dnq0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r2i8dnq0/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Updated metalink with updated metadata causes the whole repo to redownload # dnf/metadata.feature:146 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I set up metalink for repository "simple-base" # dnf/steps/repo.py:342 And I execute dnf with args "makecache" # dnf/steps/cmd.py:110 And I generate repodata for repository "simple-base" with extra arguments "--baseurl update-metadata" # dnf/steps/repo.py:152 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I set up metalink for repository "simple-base" # dnf/steps/repo.py:342 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bi7ud56x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bi7ud56x/var/cache/dnf makecache --refresh And stderr is # None """ """ And HTTP log is # None """ GET simple-base /metalink.xml?releasever=29 GET simple-base /repodata/repomd.xml GET simple-base /repodata/primary.xml.zst """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bi7ud56x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bi7ud56x/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Identical repomd checksums match, no repo redownload needed # dnf/metadata.feature:170 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I execute dnf with args "makecache" # dnf/steps/cmd.py:110 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d1ytv020 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d1ytv020/var/cache/dnf makecache --refresh And stderr is # None """ """ And HTTP log is # None """ GET simple-base /repodata/repomd.xml """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d1ytv020 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d1ytv020/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Updated repomd with updated metadata causes the whole repo to redownload # dnf/metadata.feature:187 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I execute dnf with args "makecache" # dnf/steps/cmd.py:110 And I generate repodata for repository "simple-base" with extra arguments "--baseurl update-metadata" # dnf/steps/repo.py:152 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pgedf4vb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pgedf4vb/var/cache/dnf makecache --refresh And stderr is # None """ """ And HTTP log is # None """ GET simple-base /repodata/repomd.xml GET simple-base /repodata/primary.xml.zst """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pgedf4vb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pgedf4vb/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Checksum from metalink is verified agains downloaded repomd.xml checksum, fail if they don't match # dnf/metadata.feature:206 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I set up metalink for repository "simple-base" # dnf/steps/repo.py:342 And I generate repodata for repository "simple-base" with extra arguments "--baseurl update-metadata" # dnf/steps/repo.py:152 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "makecache --refresh" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_639bpa16 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_639bpa16/var/cache/dnf makecache --refresh And stderr matches line by line # None """ Updating and loading repositories: simple-base test repository .* >>> Downloading successful, but checksum doesn't match. Calculated: .* >>> Downloading successful, but checksum doesn't match. Calculated: .* >>> Downloading successful, but checksum doesn't match. Calculated: .* >>> Downloading successful, but checksum doesn't match. Calculated: .* >>> Usable URL not found Failed to download metadata \(metalink: "http://.*/metalink.xml\?releasever=29"\) for repository "simple-base": Usable URL not found """ And HTTP log is # None """ GET simple-base /metalink.xml?releasever=29 GET simple-base /repodata/repomd.xml GET simple-base /repodata/repomd.xml GET simple-base /repodata/repomd.xml GET simple-base /repodata/repomd.xml """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_639bpa16 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_639bpa16/var/cache/dnf makecache --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Refresh updates metadata in configured cache directory # dnf/metadata.feature:237 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | cachedir | /configured-cache | | system_cachedir | /configured-cache | And I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 And file "/configured-cache/simple-base-*/repodata/repomd.xml" exists # common/file.py:84 ASSERT FAILED: File path /tmp/dnf_ci_installroot_f7ejl4ns/configured-cache/simple-base-*/repodata/repomd.xml doesn't match any file. Given I execute "cp {context.dnf.fixturesdir}/repos/simple-updates/x86_64/labirinto-2.0-1.fc29.x86_64.rpm {context.dnf.repos[simple-base].path}/x86_64/" # None And I generate repodata for repository "simple-base" # None When I execute dnf with args "--cacheonly repoquery labirinto.x86_64" # None Then the exit code is 0 # None And stdout is # None """ labirinto-0:1.0-1.fc29.x86_64 """ When I execute dnf with args "--refresh makecache" # None Then the exit code is 0 # None When I execute dnf with args "--cacheonly repoquery labirinto.x86_64" # None Then the exit code is 0 # None And stdout is # None """ labirinto-0:1.0-1.fc29.x86_64 labirinto-0:2.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f7ejl4ns --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/metadata.feature:5 update expired metadata on first dnf update dnf/metadata.feature:30 dnf respects metadata_expire (with default of 48 hours) dnf/metadata.feature:115 present user understandable message when there is a mismatch between available repodata and packages dnf/metadata.feature:128 Identical metalink checksums match, no repo redownload needed dnf/metadata.feature:146 Updated metalink with updated metadata causes the whole repo to redownload dnf/metadata.feature:170 Identical repomd checksums match, no repo redownload needed dnf/metadata.feature:187 Updated repomd with updated metadata causes the whole repo to redownload dnf/metadata.feature:206 Checksum from metalink is verified agains downloaded repomd.xml checksum, fail if they don't match dnf/metadata.feature:237 Refresh updates metadata in configured cache directory 0 features passed, 1 failed, 0 skipped 2 scenarios passed, 9 failed, 0 skipped 57 steps passed, 9 failed, 43 skipped Took 0min 1.693s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 48 leaked semaphore objects to clean up at shutdown: {'/mp-32xpulj_', '/mp-aqplmr3t', '/mp-g0nnu1q_', '/mp-yj79h9eo', '/mp-1446fum2', '/mp-fku__fii', '/mp-a1ki6k4y', '/mp-sxtnu6yf', '/mp-7ybsr9gz', '/mp-h6bj9idx', '/mp-fb3w2m01', '/mp-x6262t44', '/mp-djzp9275', '/mp-f6d4kgnn', '/mp-v468wgdj', '/mp-aa7_d8c_', '/mp-8vvrobc_', '/mp-24sdf0o7', '/mp-2o5n85uz', '/mp-8vs3xrd4', '/mp-03ezi2en', '/mp-g6kxo_9q', '/mp-ns36voec', '/mp-7z4kaqvw', '/mp-43fjvvt5', '/mp-tf4qeoj5', '/mp-tpolvt51', '/mp-81jqcv2j', '/mp-igbkv0ko', '/mp-ewwopdk7', '/mp-valjvs1o', '/mp-uiv7wpgs', '/mp-9b50m1wk', '/mp-vbizcw8g', '/mp-i1hmlsaw', '/mp-gqh0cgg_', '/mp-089xebi4', '/mp-slqz95kw', '/mp-2ai0vqho', '/mp-s0fbdf3d', '/mp-deqytsrb', '/mp-g1uujlgw', '/mp-pogrjz37', '/mp-72lkyi4q', '/mp-66qhleeu', '/mp-2bhm1gsf', '/mp-_7w_r7cd', '/mp-2aqklhof'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Obsoleted packages # dnf/obsoletes.feature:1 Feature: Obsoleted packages # dnf/obsoletes.feature:1 @bz1902279 Scenario: Install obsoleted package, even though obsoleter of older version is present # dnf/obsoletes.feature:15 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageE" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lg80qyfu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lg80qyfu/var/cache/dnf install PackageE And Transaction is following # None | Action | Package | | install | PackageE-0:3.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageE-3.0-1.x86_64 | User | dnf-ci-obsoletes | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | PackageE-0:3.0-1.x86_64 | User | dnf-ci-obsoletes | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lg80qyfu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lg80qyfu/var/cache/dnf install PackageE  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install alphabetically first of obsoleters when installing obsoleted package # dnf/obsoletes.feature:29 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageF" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o1yba6ix --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o1yba6ix/var/cache/dnf install PackageF And Transaction is following # None | Action | Package | | install | PackageF-Obsoleter-0:3.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o1yba6ix --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o1yba6ix/var/cache/dnf install PackageF  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade a package with multiple obsoleters will install all of them # dnf/obsoletes.feature:37 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 Given I execute dnf with args "install PackageF-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xgd_xxm4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xgd_xxm4/var/cache/dnf install PackageF-1.0 And Transaction is following # None | Action | Package | | install | PackageF-0:1.0-1.x86_64 | When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageF-Obsoleter-0:3.0-1.x86_64 | | install | PackageF-Obsoleter-Second-0:3.0-1.x86_64 | | obsoleted | PackageF-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xgd_xxm4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xgd_xxm4/var/cache/dnf install PackageF-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Do not install of obsoleting package using upgrade command, when obsoleted package not on the system # dnf/obsoletes.feature:52 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "upgrade PackageA-Obsoleter" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_knefvtxp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_knefvtxp/var/cache/dnf upgrade PackageA-Obsoleter And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_knefvtxp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_knefvtxp/var/cache/dnf upgrade PackageA-Obsoleter  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1818118 Scenario: Install of obsoleting package using upgrade command, when obsoleted package on the system # dnf/obsoletes.feature:59 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 Given I execute dnf with args "install PackageE-0:1.0-1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g73gfd17 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g73gfd17/var/cache/dnf install PackageE-0:1.0-1.x86_64 And Transaction is following # None | Action | Package | | install | PackageE-0:1.0-1.x86_64 | When I execute dnf with args "upgrade PackageA-Obsoleter" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageA-Obsoleter-0:1.0-1.x86_64 | | obsoleted | PackageE-0:1.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageA-Obsoleter-1.0-1.x86_64 | User | dnf-ci-obsoletes | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | PackageA-Obsoleter-0:1.0-1.x86_64 | User | dnf-ci-obsoletes | | Replaced | PackageE-0:1.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g73gfd17 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g73gfd17/var/cache/dnf install PackageE-0:1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Obsoleting a package that was installed via rpm, with --best # dnf/obsoletes.feature:82 Scenario: Obsoleting a package that was installed via rpm, with --nobest # dnf/obsoletes.feature:100 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute rpm with args "-i --nodeps {context.scenario.repos_location}/dnf-ci-obsoletes/x86_64/PackageB-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "upgrade --nobest" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udmlahzn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udmlahzn/var/cache/dnf upgrade --nobest And Transaction is following # None | Action | Package | | install | PackageB-Obsoleter-0:1.0-1.x86_64 | | obsoleted | PackageB-0:1.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageB-Obsoleter-1.0-1.x86_64 | External User | dnf-ci-obsoletes | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | PackageB-Obsoleter-0:1.0-1.x86_64 | External User | dnf-ci-obsoletes | | Replaced | PackageB-0:1.0-1.x86_64 | External User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udmlahzn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udmlahzn/var/cache/dnf upgrade --nobest  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1818118 Scenario: Install of obsoleting package from commandline using upgrade command, when obsoleted package on the system # dnf/obsoletes.feature:119 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 Given I execute dnf with args "install PackageE-0:1.0-1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8a_kdfd3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8a_kdfd3/var/cache/dnf install PackageE-0:1.0-1.x86_64 And Transaction is following # None | Action | Package | | install | PackageE-0:1.0-1.x86_64 | When I execute dnf with args "upgrade {context.dnf.fixturesdir}/repos/dnf-ci-obsoletes/x86_64/PackageA-Obsoleter-1.0-1.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageA-Obsoleter-0:1.0-1.x86_64 | | obsoleted | PackageE-0:1.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageA-Obsoleter-1.0-1.x86_64 | User | @commandline | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | PackageA-Obsoleter-0:1.0-1.x86_64 | User | @commandline | | Replaced | PackageE-0:1.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8a_kdfd3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8a_kdfd3/var/cache/dnf install PackageE-0:1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade of obsoleted package by package of higher version than obsoleted # dnf/obsoletes.feature:140 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageA-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sikuw6y9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sikuw6y9/var/cache/dnf install PackageA-1.0 And Transaction is following # None | Action | Package | | install | PackageA-0:1.0-1.x86_64 | When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | PackageA-0:3.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageA-3.0-1.x86_64 | User | dnf-ci-obsoletes | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | PackageA-0:3.0-1.x86_64 | User | dnf-ci-obsoletes | | Replaced | PackageA-0:1.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sikuw6y9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sikuw6y9/var/cache/dnf install PackageA-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install of obsoleted package # dnf/obsoletes.feature:160 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__55gj6kd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__55gj6kd/var/cache/dnf install PackageB And Transaction is following # None | Action | Package | | install | PackageB-Obsoleter-0:1.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageB-Obsoleter-1.0-1.x86_64 | User | dnf-ci-obsoletes | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | PackageB-Obsoleter-0:1.0-1.x86_64 | User | dnf-ci-obsoletes | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__55gj6kd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__55gj6kd/var/cache/dnf install PackageB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade of obsoleted package # dnf/obsoletes.feature:174 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageB-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0v5ht3ov --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0v5ht3ov/var/cache/dnf install PackageB-1.0 And Transaction is following # None | Action | Package | | install | PackageB-0:1.0-1.x86_64 | When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageB-Obsoleter-0:1.0-1.x86_64 | | obsoleted | PackageB-0:1.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageB-Obsoleter-1.0-1.x86_64 | User | dnf-ci-obsoletes | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | PackageB-Obsoleter-0:1.0-1.x86_64 | User | dnf-ci-obsoletes | | Replaced | PackageB-0:1.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0v5ht3ov --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0v5ht3ov/var/cache/dnf install PackageB-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade of obsoleted package if package specified by version with glob (no obsoletes applied) # dnf/obsoletes.feature:195 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageB-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rwm_mbfb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rwm_mbfb/var/cache/dnf install PackageB-1.0 And Transaction is following # None | Action | Package | | install | PackageB-0:1.0-1.x86_64 | When I execute dnf with args "upgrade PackageB-2*" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | PackageB-0:2.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageB-2.0-1.x86_64 | User | dnf-ci-obsoletes | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | PackageB-0:2.0-1.x86_64 | User | dnf-ci-obsoletes | | Replaced | PackageB-0:1.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rwm_mbfb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rwm_mbfb/var/cache/dnf install PackageB-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1672618 Scenario: Keep reason of obsoleted package # dnf/obsoletes.feature:218 Scenario: Autoremoval of obsoleted package # dnf/obsoletes.feature:237 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "install PackageB-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mu9l7tzd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mu9l7tzd/var/cache/dnf install PackageB-1.0 When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageB-Obsoleter-0:1.0-1.x86_64 | | obsoleted | PackageB-0:1.0-1.x86_64 | And package state is # None | package | reason | from_repo | | PackageB-Obsoleter-1.0-1.x86_64 | User | dnf-ci-obsoletes | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | PackageB-Obsoleter-0:1.0-1.x86_64 | User | dnf-ci-obsoletes | | Replaced | PackageB-0:1.0-1.x86_64 | User | @System | When I execute dnf with args "autoremove" # None Then the exit code is 0 # None But Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mu9l7tzd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mu9l7tzd/var/cache/dnf install PackageB-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1672947 Scenario: Multilib obsoletes during distro-sync # dnf/obsoletes.feature:259 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install lz4-0:1.7.5-2.fc26.i686 lz4-0:1.7.5-2.fc26.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b5utejvn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b5utejvn/var/cache/dnf install lz4-0:1.7.5-2.fc26.i686 lz4-0:1.7.5-2.fc26.x86_64 And Transaction is following # None | Action | Package | | install | lz4-0:1.7.5-2.fc26.i686 | | install | lz4-0:1.7.5-2.fc26.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "distro-sync" # None Then the exit code is 0 # None Then stderr does not contain "TransactionItem not found for key: lz4" # None And Transaction is following # None | Action | Package | | upgrade | lz4-0:1.8.2-2.fc29.x86_64 | | upgrade | lz4-0:1.8.2-2.fc29.i686 | | install | lz4-libs-0:1.8.2-2.fc29.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | lz4-libs-0:1.8.2-2.fc29.x86_64 | User | dnf-ci-fedora-updates | | Upgrade | lz4-0:1.8.2-2.fc29.x86_64 | User | dnf-ci-fedora-updates | | Upgrade | lz4-0:1.8.2-2.fc29.i686 | User | dnf-ci-fedora-updates | | Replaced | lz4-0:1.7.5-2.fc26.x86_64 | User | @System | | Replaced | lz4-0:1.7.5-2.fc26.i686 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b5utejvn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b5utejvn/var/cache/dnf install lz4-0:1.7.5-2.fc26.i686 lz4-0:1.7.5-2.fc26.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1761137 Scenario: Obsoleted package is not installed when group contains both obsoleter and obsoleted packages # dnf/obsoletes.feature:288 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "group install obsoleter-obsoleted" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dghda1nf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dghda1nf/var/cache/dnf group install obsoleter-obsoleted And Transaction is following # None | Action | Package | | install-group | PackageD-0:2.0-1.x86_64 | | group-install | Obsoleter and obsoleted | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dghda1nf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dghda1nf/var/cache/dnf group install obsoleter-obsoleted  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1761137 Scenario: Both packages are installed when group contains both obsoleter and obsoleted packages and obsoletes are switched off # dnf/obsoletes.feature:298 Given I use repository "dnf-ci-obsoletes" # dnf/steps/repo.py:186 When I execute dnf with args "group install obsoleter-obsoleted --setopt=obsoletes=False" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ysdrgipa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ysdrgipa/var/cache/dnf group install obsoleter-obsoleted --setopt=obsoletes=False And stderr is # None """ Failed to resolve the transaction: Problem: package PackageD-2.0-1.x86_64 from dnf-ci-obsoletes obsoletes PackageC < 2.0 provided by PackageC-1.0-1.x86_64 from dnf-ci-obsoletes - cannot install the best candidate for the job - conflicting requests You can try to add to command line: --no-best to not limit the transaction to the best candidates --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ysdrgipa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ysdrgipa/var/cache/dnf group install obsoleter-obsoleted --setopt=obsoletes=False  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/obsoletes.feature:15 Install obsoleted package, even though obsoleter of older version is present dnf/obsoletes.feature:29 Install alphabetically first of obsoleters when installing obsoleted package dnf/obsoletes.feature:37 Upgrade a package with multiple obsoleters will install all of them dnf/obsoletes.feature:52 Do not install of obsoleting package using upgrade command, when obsoleted package not on the system dnf/obsoletes.feature:59 Install of obsoleting package using upgrade command, when obsoleted package on the system dnf/obsoletes.feature:100 Obsoleting a package that was installed via rpm, with --nobest dnf/obsoletes.feature:119 Install of obsoleting package from commandline using upgrade command, when obsoleted package on the system dnf/obsoletes.feature:140 Upgrade of obsoleted package by package of higher version than obsoleted dnf/obsoletes.feature:160 Install of obsoleted package dnf/obsoletes.feature:174 Upgrade of obsoleted package dnf/obsoletes.feature:195 Upgrade of obsoleted package if package specified by version with glob (no obsoletes applied) dnf/obsoletes.feature:237 Autoremoval of obsoleted package dnf/obsoletes.feature:259 Multilib obsoletes during distro-sync dnf/obsoletes.feature:288 Obsoleted package is not installed when group contains both obsoleter and obsoleted packages dnf/obsoletes.feature:298 Both packages are installed when group contains both obsoleter and obsoleted packages and obsoletes are switched off 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 15 failed, 2 skipped 33 steps passed, 15 failed, 80 skipped Took 0min 0.704s USING RUNNER: behave.runner:Runner Feature: Test the offline command # dnf/offline.feature:1 Feature: Test the offline command # dnf/offline.feature:1 Scenario: Test offline when reboot wasn't performed # dnf/offline.feature:9 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_equ562yx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_equ562yx/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "install --offline flac" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And stderr contains lines # None """ Trigger file does not exist. Exiting. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_equ562yx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_equ562yx/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline when an offline transaction is already queued # dnf/offline.feature:27 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iozh273q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iozh273q/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "install --offline flac" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ When I execute dnf with args "install --offline flac" # None Then the exit code is 0 # None And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. There is already an offline transaction queued, initiated by the following command: Continuing will cancel the old offline transaction and replace it with this one. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iozh273q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iozh273q/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline when offline-transaction-state.toml has wrong state version # dnf/offline.feature:48 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qzdlw7r2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qzdlw7r2/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I create file "/usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml" with # None """ [offline-transaction-state] module_platform_id = "" disabled_repos = [] enabled_repos = [] poweroff_after = false verb = "install" system_releasever = "39" target_releasever = "39" cachedir = "" status = "download-complete" cmd_line = "" rpmdb_cookie = "cookie" state_version = -1 """ When I execute dnf with args "offline reboot" # None Then the exit code is 1 # None And stderr contains lines # None """ Error reading state: incompatible version of state data. Rerun the command you used to initiate the offline transaction, e.g. `dnf5 system-upgrade download [OPTIONS]`. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qzdlw7r2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qzdlw7r2/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline clean # dnf/offline.feature:73 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bhs2tte9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bhs2tte9/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "install --offline flac" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "offline reboot" # None And file "/usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml" exists # None And file "/usr/lib/sysimage/libdnf5/offline/transaction.json" exists # None When I execute dnf with args "offline clean" # None Then the exit code is 0 # None And directory "/usr/lib/sysimage/libdnf5/offline" is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bhs2tte9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bhs2tte9/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline install and offline status # dnf/offline.feature:91 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__36n6157 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__36n6157/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "offline status" # None Then the exit code is 0 # None And stdout contains lines # None """ No offline transaction is stored. """ When I execute dnf with args "install --offline flac" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ When I execute dnf with args "offline status" # None Then the exit code is 0 # None And stdout contains lines # None """ An offline transaction was initiated by the following command: Run `dnf5 offline reboot` to reboot and perform the offline transaction. """ Given I successfully execute dnf with args "offline reboot" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | When I execute dnf with args "offline status" # None Then the exit code is 0 # None And stdout contains lines # None """ No offline transaction is stored. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__36n6157 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__36n6157/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline upgrade # dnf/offline.feature:128 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_gg5j2b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_gg5j2b/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --offline" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "offline reboot" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_gg5j2b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_gg5j2b/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline group install # dnf/offline.feature:151 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g1ao4d0m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g1ao4d0m/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "dnf-ci-thirdparty" # None When I execute dnf with args "group install --offline dnf-ci-testgroup" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "offline reboot" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | lame-0:3.100-4.fc29.x86_64 | | install-dep | lame-libs-0:3.100-4.fc29.x86_64 | | group-install | DNF-CI-Testgroup | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g1ao4d0m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g1ao4d0m/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline-distrosync # dnf/offline.feature:174 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2u01pwb_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2u01pwb_/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "simple-base" # None And I execute dnf with args "install labirinto" # None And I use repository "simple-updates" # None When I execute dnf with args "offline-distrosync download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | labirinto-2.0-1.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ When I execute dnf with args "offline-distrosync status" # None Then the exit code is 0 # None And stdout contains lines # None """ An offline transaction was initiated by the following command: Run `dnf5 offline reboot` to reboot and perform the offline transaction. """ Given I successfully execute dnf with args "offline-distrosync reboot" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2u01pwb_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2u01pwb_/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline-upgrade # dnf/offline.feature:202 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9idk32p0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9idk32p0/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "simple-base" # None And I execute dnf with args "install labirinto" # None And I use repository "simple-updates" # None When I execute dnf with args "offline-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | labirinto-2.0-1.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ When I execute dnf with args "offline-upgrade status" # None Then the exit code is 0 # None And stdout contains lines # None """ An offline transaction was initiated by the following command: Run `dnf5 offline reboot` to reboot and perform the offline transaction. """ Given I successfully execute dnf with args "offline-upgrade reboot" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9idk32p0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9idk32p0/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline install with local rpm (absolute path) # dnf/offline.feature:230 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7v4ksdxh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7v4ksdxh/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "simple-base" # None And I copy file "{context.dnf.fixturesdir}/repos/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" to "/tmp/labirinto-1.0-1.fc29.x86_64.rpm" # None When I execute dnf with args "install --offline {context.dnf.installroot}/tmp/labirinto-1.0-1.fc29.x86_64.rpm" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute dnf with args "offline reboot" # None And I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7v4ksdxh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7v4ksdxh/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test offline install with local rpm (relative path) # dnf/offline.feature:246 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vqrp5qkj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vqrp5qkj/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "simple-base" # None And I copy file "{context.dnf.fixturesdir}/repos/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" to "/tmp/labirinto-1.0-1.fc29.x86_64.rpm" # None And I set working directory to "{context.dnf.installroot}/tmp/" # None When I execute dnf with args "install --offline ./labirinto-1.0-1.fc29.x86_64.rpm" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | When I execute dnf with args "offline reboot" # None And I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vqrp5qkj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vqrp5qkj/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: After an offline transaction, installed packages have correct from_repo # dnf/offline.feature:264 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p14u_p6c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p14u_p6c/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I successfully execute dnf with args "install --offline flac" # None And I successfully execute dnf with args "offline reboot" # None And I successfully execute dnf with args "offline _execute" # None When I execute dnf with args "repoquery --installed --queryformat="%{{full_nevra}} %{{from_repo}}\n" flac" # None Then the exit code is 0 # None And stdout is # None """ flac-0:1.3.2-8.fc29.x86_64 dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p14u_p6c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p14u_p6c/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Offline upgrade reuses cached packages whith --cacheonly # dnf/offline.feature:276 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l1cdn2wt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l1cdn2wt/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "dnf-ci-fedora-updates" as http # None And I successfully execute dnf with args "upgrade --downloadonly" # None When I execute dnf with args "upgrade --offline --cacheonly" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "offline reboot" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l1cdn2wt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l1cdn2wt/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Offline upgrade reuses cached packages automatically # dnf/offline.feature:300 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_94zvb8_1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_94zvb8_1/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "dnf-ci-fedora-updates" as http # None And I successfully execute dnf with args "upgrade --downloadonly" # None And I start capturing outbound HTTP requests # None When I execute dnf with args "upgrade --offline" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "offline reboot" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | And HTTP log is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_94zvb8_1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_94zvb8_1/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: cached packages are used and preserved with keepcache=true # dnf/offline.feature:327 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p3qqnjn3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p3qqnjn3/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "dnf-ci-fedora-updates" as http # None And I configure dnf with # None | key | value | | keepcache | True | And I successfully execute dnf with args "upgrade --downloadonly" # None And I start capturing outbound HTTP requests # None When I execute dnf with args "upgrade --offline" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "offline reboot" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | And file "/var/cache/dnf/dnf-ci-fedora-updates-*/packages/glibc-2.28-26.fc29.x86_64.rpm" exists # None And HTTP log is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p3qqnjn3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p3qqnjn3/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2467655 Scenario: Online transaction invalidates pending offline transaction # dnf/offline.feature:359 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4708o2s_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4708o2s_/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "dnf-ci-fedora-updates" # None And I successfully execute dnf with args "upgrade --offline" # None And file "/usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml" exists # None And file "/usr/lib/sysimage/libdnf5/offline/transaction.json" exists # None When I execute dnf with args "install flac" # None Then the exit code is 0 # None And stderr contains lines matching # None """ Warning: Pending offline transaction has been invalidated. To reschedule, run:.* upgrade --offline """ When I execute dnf with args "offline status" # None Then the exit code is 0 # None And stdout matches line by line # None """ The system has been modified since the offline transaction was prepared. The offline transaction initiated by the following command is no longer valid: .*/dnf upgrade --offline To reschedule, run the command above. To clean up, run `dnf5 offline clean`. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4708o2s_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4708o2s_/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2467655 Scenario: Out of dnf transaction invalidates pending offline transaction # dnf/offline.feature:382 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xq_lzr1g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xq_lzr1g/var/cache/dnf install glibc And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I use repository "dnf-ci-fedora-updates" # None And I successfully execute dnf with args "upgrade --offline" # None And file "/usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml" exists # None And file "/usr/lib/sysimage/libdnf5/offline/transaction.json" exists # None And I successfully execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-1.fc29.x86_64.rpm" # None When I execute dnf with args "offline status" # None Then the exit code is 0 # None And stdout matches line by line # None """ The system has been modified since the offline transaction was prepared. The offline transaction initiated by the following command is no longer valid: .*/dnf upgrade --offline To reschedule, run the command above. To clean up, run `dnf5 offline clean`. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xq_lzr1g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xq_lzr1g/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/offline.feature:9 Test offline when reboot wasn't performed dnf/offline.feature:27 Test offline when an offline transaction is already queued dnf/offline.feature:48 Test offline when offline-transaction-state.toml has wrong state version dnf/offline.feature:73 Test offline clean dnf/offline.feature:91 Test offline install and offline status dnf/offline.feature:128 Test offline upgrade dnf/offline.feature:151 Test offline group install dnf/offline.feature:174 Test offline-distrosync dnf/offline.feature:202 Test offline-upgrade dnf/offline.feature:230 Test offline install with local rpm (absolute path) dnf/offline.feature:246 Test offline install with local rpm (relative path) dnf/offline.feature:264 After an offline transaction, installed packages have correct from_repo dnf/offline.feature:276 Offline upgrade reuses cached packages whith --cacheonly dnf/offline.feature:300 Offline upgrade reuses cached packages automatically dnf/offline.feature:327 cached packages are used and preserved with keepcache=true dnf/offline.feature:359 Online transaction invalidates pending offline transaction dnf/offline.feature:382 Out of dnf transaction invalidates pending offline transaction 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 17 failed, 0 skipped 17 steps passed, 17 failed, 187 skipped Took 0min 0.685s USING RUNNER: behave.runner:Runner Feature: Hints for misplaced options # dnf/option-hint.feature:1 @use.with_os=rhel__ge__11 Scenario: command specific long option used with root dnf command # dnf/option-hint.feature:6 @not.with_os=rhel__ge__11 Scenario: command specific long option used with root dnf command # dnf/option-hint.feature:19 When I execute dnf with args "--skip-broken update" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr is # common/output.py:137 """ Unknown argument "--skip-broken" for command "dnf5". Add "--help" for more information about the arguments. The argument is available for commands: module enable, environment install, group install, replay, reinstall, downgrade, debuginfo-install, distro-sync, install, do. (It has to be placed after the command.) """ ASSERT FAILED: Stderr is not: Unknown argument "--skip-broken" for command "dnf5". Add "--help" for more information about the arguments. The argument is available for commands: module enable, environment install, group install, replay, reinstall, downgrade, debuginfo-install, distro-sync, install, do. (It has to be placed after the command.) ---- CAPTURED STDOUT: scenario expected | found Unknown argument "--skip-broken" for command "dnf5". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments. The argument is available for commands: module enable, environment install, group install, replay, reinstall, downgrade, debuginfo-install, distro-sync, install, do. (It has to be placed after the command.) |   Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d00i0dqf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d00i0dqf/var/cache/dnf --skip-broken update  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: command specific short alias option used with root dnf command # dnf/option-hint.feature:30 When I execute dnf with args "-l update" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr is # common/output.py:137 """ Unknown argument "-l" for command "dnf5". Add "--help" for more information about the arguments. The argument is available for commands: repoquery. (It has to be placed after the command.) """ ASSERT FAILED: Stderr is not: Unknown argument "-l" for command "dnf5". Add "--help" for more information about the arguments. The argument is available for commands: repoquery. (It has to be placed after the command.) ---- CAPTURED STDOUT: scenario expected | found Unknown argument "-l" for command "dnf5". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments. The argument is available for commands: repoquery. (It has to be placed after the command.) |   Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z2_yy2r9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z2_yy2r9/var/cache/dnf -l update  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: command specific long alias option with value used with root dnf command # dnf/option-hint.feature:41 When I execute dnf with args "--qf='%{{name}}' update" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr is # common/output.py:137 """ Unknown argument "--qf=%{{name}}" for command "dnf5". Add "--help" for more information about the arguments. The argument is available for commands: repoquery. (It has to be placed after the command.) """ ASSERT FAILED: Stderr is not: Unknown argument "--qf=%{{name}}" for command "dnf5". Add "--help" for more information about the arguments. The argument is available for commands: repoquery. (It has to be placed after the command.) ---- CAPTURED STDOUT: scenario expected | found Unknown argument "--qf=%{name}" for command "dnf5". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments. The argument is available for commands: repoquery. (It has to be placed after the command.) |   Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n762o2ps --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n762o2ps/var/cache/dnf --qf='%{name}' update  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: multiple command specific long options used with root dnf command # dnf/option-hint.feature:52 When I execute dnf with args "--downloadonly --skip-broken update" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr is # common/output.py:137 """ Unknown argument "--downloadonly" for command "dnf5". Add "--help" for more information about the arguments. The argument is available for commands: environment install, group upgrade, environment upgrade, group install, reinstall, downgrade, distro-sync, upgrade, install, do. (It has to be placed after the command.) """ ASSERT FAILED: Stderr is not: Unknown argument "--downloadonly" for command "dnf5". Add "--help" for more information about the arguments. The argument is available for commands: environment install, group upgrade, environment upgrade, group install, reinstall, downgrade, distro-sync, upgrade, install, do. (It has to be placed after the command.) ---- CAPTURED STDOUT: scenario expected | found Unknown argument "--downloadonly" for command "dnf5". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments. The argument is available for commands: environment install, group upgrade, environment upgrade, group install, reinstall, downgrade, distro-sync, upgrade, install, do. (It has to be placed after the command.) |   Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0jtejhja --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0jtejhja/var/cache/dnf --downloadonly --skip-broken update  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: no hint is present for non-existing option # dnf/option-hint.feature:64 When I execute dnf with args "--non-existing update" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr is # common/output.py:137 """ Unknown argument "--non-existing" for command "dnf5". Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: Unknown argument "--non-existing" for command "dnf5". Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found Unknown argument "--non-existing" for command "dnf5". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_960vd58v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_960vd58v/var/cache/dnf --non-existing update  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/option-hint.feature:19 command specific long option used with root dnf command dnf/option-hint.feature:30 command specific short alias option used with root dnf command dnf/option-hint.feature:41 command specific long alias option with value used with root dnf command dnf/option-hint.feature:52 multiple command specific long options used with root dnf command dnf/option-hint.feature:64 no hint is present for non-existing option 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 1 skipped 15 steps passed, 5 failed, 4 skipped Took 0min 0.168s USING RUNNER: behave.runner:Runner Feature: Tests for optional metadata loading functionality # dnf/optional-metadata.feature:1 Feature: Tests for optional metadata loading functionality # dnf/optional-metadata.feature:1 Scenario: Optional metadata are loaded when explicitly requested by the option # dnf/optional-metadata.feature:20 Given I use repository "advisories-and-groups" # dnf/steps/repo.py:186 And I successfully execute dnf with args "makecache --setopt=optional_metadata_types=," # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4aw6nexb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4aw6nexb/var/cache/dnf makecache --setopt=optional_metadata_types=, And I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ Given I execute dnf with args "makecache --setopt=optional_metadata_types=,comps" # None Then the exit code is 0 # None And stderr matches line by line # None """ Updating and loading repositories: advisories-and-groups test repository .* Repositories loaded. """ And stdout is # None """ Metadata cache created. """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/comps\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups-group\.solvx \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4aw6nexb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4aw6nexb/var/cache/dnf makecache --setopt=optional_metadata_types=,  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Invalid metadata type is ignored when processing the option # dnf/optional-metadata.feature:48 Given I use repository "advisories-and-groups" # dnf/steps/repo.py:186 And I successfully execute dnf with args "makecache --setopt=optional_metadata_types=," # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e6aqw6lx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e6aqw6lx/var/cache/dnf makecache --setopt=optional_metadata_types=, And I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ Given I execute dnf with args "makecache --setopt=optional_metadata_types=,abcdef" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Metadata cache created. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e6aqw6lx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e6aqw6lx/var/cache/dnf makecache --setopt=optional_metadata_types=,  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Optional metadata are loaded when requested by command # dnf/optional-metadata.feature:61 Given I use repository "advisories-and-groups" # dnf/steps/repo.py:186 And I successfully execute dnf with args "makecache --setopt=optional_metadata_types=," # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yje96d0g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yje96d0g/var/cache/dnf makecache --setopt=optional_metadata_types=, And I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ Given I execute dnf with args "advisory list --setopt=optional_metadata_types=," # None Then the exit code is 0 # None And stderr matches line by line # None """ Updating and loading repositories: advisories-and-groups test repository .* Repositories loaded. """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/[0-9a-f]+-updateinfo\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups-updateinfo\.solvx \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yje96d0g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yje96d0g/var/cache/dnf makecache --setopt=optional_metadata_types=,  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Operation returns an error when metadata are not present in cacheonly mode # dnf/optional-metadata.feature:85 Given I use repository "advisories-and-groups" # dnf/steps/repo.py:186 And I successfully execute dnf with args "makecache --setopt=optional_metadata_types=," # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mymsfiux --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mymsfiux/var/cache/dnf makecache --setopt=optional_metadata_types=, And I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ Given I execute dnf with args "advisory list --cacheonly --setopt=optional_metadata_types=," # None Then the exit code is 1 # None And stderr is # None """ Cache-only enabled but no cache for repository "advisories-and-groups" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mymsfiux --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mymsfiux/var/cache/dnf makecache --setopt=optional_metadata_types=,  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Filelists metadata are loaded when filepath spec is provided # dnf/optional-metadata.feature:95 Given I use repository "advisories-and-groups" # dnf/steps/repo.py:186 And I successfully execute dnf with args "makecache --setopt=optional_metadata_types=," # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4onewto8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4onewto8/var/cache/dnf makecache --setopt=optional_metadata_types=, And I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ Given I execute dnf with args "repoquery /some/file --setopt=optional_metadata_types=," # None Then the exit code is 0 # None And stderr matches line by line # None """ Updating and loading repositories: advisories-and-groups test repository .* Repositories loaded. """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/filelists\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups-filelists\.solvx \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4onewto8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4onewto8/var/cache/dnf makecache --setopt=optional_metadata_types=,  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Comps metadata are loaded when group spec is provided # dnf/optional-metadata.feature:119 Given I use repository "advisories-and-groups" # dnf/steps/repo.py:186 And I successfully execute dnf with args "makecache --setopt=optional_metadata_types=," # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x2n1jjmv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x2n1jjmv/var/cache/dnf makecache --setopt=optional_metadata_types=, And I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ Given I execute dnf with args "repoquery @group --setopt=optional_metadata_types=," # None Then the exit code is 0 # None And stderr matches line by line # None """ Updating and loading repositories: advisories-and-groups test repository .* Repositories loaded. """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf" # None Then stdout matches line by line # None """ \. \./advisories-and-groups-[0-9a-f]{16} \./advisories-and-groups-[0-9a-f]{16}/repodata \./advisories-and-groups-[0-9a-f]{16}/repodata/comps\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/primary\.xml\.* \./advisories-and-groups-[0-9a-f]{16}/repodata/repomd\.xml \./advisories-and-groups-[0-9a-f]{16}/solv \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups-group\.solvx \./advisories-and-groups-[0-9a-f]{16}/solv/advisories-and-groups\.solv """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x2n1jjmv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x2n1jjmv/var/cache/dnf makecache --setopt=optional_metadata_types=,  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/optional-metadata.feature:20 Optional metadata are loaded when explicitly requested by the option dnf/optional-metadata.feature:48 Invalid metadata type is ignored when processing the option dnf/optional-metadata.feature:61 Optional metadata are loaded when requested by command dnf/optional-metadata.feature:85 Operation returns an error when metadata are not present in cacheonly mode dnf/optional-metadata.feature:95 Filelists metadata are loaded when filepath spec is provided dnf/optional-metadata.feature:119 Comps metadata are loaded when group spec is provided 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 6 steps passed, 6 failed, 40 skipped Took 0min 0.306s USING RUNNER: behave.runner:Runner @xfail Feature: Plugin API # dnf/plugin-api.feature:3 @xfail Feature: Plugin API # dnf/plugin-api.feature:3 @bz1650446 Scenario: Plugins have access to transaction items after transaction is finished # dnf/plugin-api.feature:14 @bz1626093 Scenario: Plugins can edit http headers # dnf/plugin-api.feature:38 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 14 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Plugin enablement by config file and command line option # dnf/plugin-enable.feature:2 Feature: Plugin enablement by config file and command line option # dnf/plugin-enable.feature:2 Scenario: Verify that actions plugin is enabled # dnf/plugin-enable.feature:9 Given I do not disable plugins # dnf/steps/cmd.py:174 When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then file "/var/log/dnf5.log" contains lines # common/file.py:123 """ .* Loaded libdnf plugin "actions" .* """ ASSERT FAILED: ENSURE: file exists '/tmp/dnf_ci_installroot_vzoaotw8/var/log/dnf5.log' ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vzoaotw8 --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_vzoaotw8/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Disable enabled actions plugin from command line # dnf/plugin-enable.feature:17 Given I do not disable plugins # dnf/steps/cmd.py:174 When I execute dnf with args "repo list --disable-plugin=actions" # dnf/steps/cmd.py:110 Then file "/var/log/dnf5.log" does not contain lines # common/file.py:136 """ .* Loaded libdnf plugin "actions" .* """ ASSERT FAILED: ENSURE: file exists '/tmp/dnf_ci_installroot_jsru2cc3/var/log/dnf5.log' ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jsru2cc3 --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_jsru2cc3/var/cache/dnf repo list --disable-plugin=actions  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Disable actions plugin by config file # dnf/plugin-enable.feature:25 Given I do not disable plugins # dnf/steps/cmd.py:174 Given I create file "/etc/dnf/plugins/actions.conf" with # common/file.py:36 """ [main] enabled= 0 """ And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/plugins | When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then file "/var/log/dnf5.log" does not contain lines # common/file.py:136 """ .* Loaded libdnf plugin "actions" .* """ ASSERT FAILED: ENSURE: file exists '/tmp/dnf_ci_installroot_nswi_pap/var/log/dnf5.log' ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nswi_pap --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_nswi_pap/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1614539 Scenario: Enable disabled actions plugin from command line # dnf/plugin-enable.feature:42 Given I do not disable plugins # dnf/steps/cmd.py:174 Given I create file "/etc/dnf/plugins/actions.conf" with # common/file.py:36 """ [main] enabled= 0 """ And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/plugins | When I execute dnf with args "repo list --enable-plugin=actions" # dnf/steps/cmd.py:110 Then file "/var/log/dnf5.log" contains lines # common/file.py:123 """ .* Loaded libdnf plugin "actions" .* """ ASSERT FAILED: ENSURE: file exists '/tmp/dnf_ci_installroot_0avavlh2/var/log/dnf5.log' ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0avavlh2 --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_0avavlh2/var/cache/dnf repo list --enable-plugin=actions  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugin-enable.feature:9 Verify that actions plugin is enabled dnf/plugin-enable.feature:17 Disable enabled actions plugin from command line dnf/plugin-enable.feature:25 Disable actions plugin by config file dnf/plugin-enable.feature:42 Enable disabled actions plugin from command line 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 12 steps passed, 4 failed, 0 skipped Took 0min 0.135s USING RUNNER: behave.runner:Runner Feature: Pluginspath and pluginsconfpath test # dnf/plugins-path.feature:2 Feature: Pluginspath and pluginsconfpath test # dnf/plugins-path.feature:2 Scenario: Redirect pluginpath and pluginconfpath # dnf/plugins-path.feature:9 Given I do not disable plugins # dnf/steps/cmd.py:174 Given I successfully execute dnf with args "repoquery --installed" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uu2n8ur1 --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_uu2n8ur1/var/cache/dnf repoquery --installed And file "/var/log/dnf5.log" contains lines # None """ .* Loaded libdnf plugin ".*" .* """ And I configure dnf with # None | key | value | | pluginpath | {context.dnf.installroot}/test/plugins | When I execute dnf with args "repoquery --installed" # None Then the exit code is 1 # None And stdout is empty # None And stderr matches line by line # None """ Cannot load libdnf plugin enabled from: /etc/dnf/libdnf5-plugins/.*\.conf Cannot find plugin library "{context.dnf.installroot}/test/plugins/.*\.so" """ Given I delete file "/var/log/dnf5.log" # None And I configure dnf with # None | key | value | | pluginconfpath | {context.dnf.installroot}/test/plugins | When I execute dnf with args "repoquery --installed" # None Then the exit code is 0 # None And stdout is empty # None And stderr is empty # None And file "/var/log/dnf5.log" does not contain lines # None """ .* Loaded libdnf plugin ".*" .* """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uu2n8ur1 --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_uu2n8ur1/var/cache/dnf repoquery --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test default pluginsconfpath # dnf/plugins-path.feature:41 Given I do not disable plugins # dnf/steps/cmd.py:174 Given I successfully execute dnf with args "repoquery --installed" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bod9gpxd --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_bod9gpxd/var/cache/dnf repoquery --installed And file "/var/log/dnf5.log" contains lines # None """ .* Loaded libdnf plugin "actions" .* """ And I create file "/etc/dnf/libdnf5-plugins/actions.conf" with # None """ [main] enabled = 0 """ When I execute dnf with args "repoquery --installed" # None Then the exit code is 0 # None And stdout is empty # None And stderr is empty # None And file "/var/log/dnf5.log" contains lines # None """ .* Loaded libdnf plugin "actions" .* """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bod9gpxd --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_bod9gpxd/var/cache/dnf repoquery --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Redirect pluginsconfpath in dnf.conf # dnf/plugins-path.feature:64 Given I do not disable plugins # dnf/steps/cmd.py:174 Given I successfully execute dnf with args "repoquery --installed" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g80j1za0 --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_g80j1za0/var/cache/dnf repoquery --installed And file "/var/log/dnf5.log" contains lines # None """ .* Loaded libdnf plugin "actions" .* """ And I configure dnf with # None | key | value | | pluginconfpath | {context.dnf.installroot}/test/pluginconfpath | And I create file "/test/pluginconfpath/actions.conf" with # None """ [main] enabled = 0 """ And I delete file "/var/log/dnf5.log" # None When I execute dnf with args "repoquery --installed" # None Then the exit code is 0 # None And stdout is empty # None And stderr is empty # None And file "/var/log/dnf5.log" does not contain lines # None """ .* Loaded libdnf plugin "actions" .* """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g80j1za0 --releasever=29 --setopt=module_platform_id=platform:f29 --setopt=cachedir=/tmp/dnf_ci_installroot_g80j1za0/var/cache/dnf repoquery --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-path.feature:9 Redirect pluginpath and pluginconfpath dnf/plugins-path.feature:41 Test default pluginsconfpath dnf/plugins-path.feature:64 Redirect pluginsconfpath in dnf.conf 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 3 steps passed, 3 failed, 29 skipped Took 0min 0.101s USING RUNNER: behave.runner:Runner @xfail @no_installroot Feature: Test execution of transaction() callback of removed plugin # dnf/plugins-removal.feature:4 @xfail @no_installroot Feature: Test execution of transaction() callback of removed plugin # dnf/plugins-removal.feature:4 Scenario: Transaction callback of removed plugin is not executed # dnf/plugins-removal.feature:15 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 29 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail @no_installroot Feature: Test execution of transaction() callback of removed plugin # dnf/plugins-removal.feature:4 @xfail @no_installroot Feature: Test execution of transaction() callback of removed plugin # dnf/plugins-removal.feature:4 @bz1929163 Scenario: Removal of plugin in splitted package is detected # dnf/plugins-removal.feature:29 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 29 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail @no_installroot Feature: Test execution of transaction() callback of removed plugin # dnf/plugins-removal.feature:4 @xfail @no_installroot Feature: Test execution of transaction() callback of removed plugin # dnf/plugins-removal.feature:4 @bz1929163 Scenario: Moving plugin between subpackages is not considered removal of plugin # dnf/plugins-removal.feature:42 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 29 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Protect running kernel # dnf/protect-running-kernel.feature:1 Feature: Protect running kernel # dnf/protect-running-kernel.feature:1 @bz1698145 Scenario: Running kernel is protected # dnf/protect-running-kernel.feature:11 Given I use repository "protect-running-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dnf-ci-kernel --exclude dnf-ci-obsolete" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r2xbucjs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r2xbucjs/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete And I fake kernel release to "1.0" # None When I execute dnf with args "remove dnf-ci-kernel" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: The operation would result in removing of running kernel: dnf-ci-kernel-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r2xbucjs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r2xbucjs/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1698145 Scenario: Running kernel is not protected with config protect_running_kernel=False # dnf/protect-running-kernel.feature:22 Given I use repository "protect-running-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dnf-ci-kernel --exclude dnf-ci-obsolete" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x4k4uh_2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x4k4uh_2/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete And I fake kernel release to "1.0" # None When I execute dnf with args "remove dnf-ci-kernel --setopt=protect_running_kernel=False" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | dnf-ci-kernel-0:1.0-1.x86_64 | | remove-unused | dnf-ci-systemd-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x4k4uh_2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x4k4uh_2/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1698145 Scenario: Running kernel is protected when in protected_packages even with config protect_running_kernel=False # dnf/protect-running-kernel.feature:32 Given I use repository "protect-running-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dnf-ci-kernel --exclude dnf-ci-obsolete" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n6c5bb05 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n6c5bb05/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete And I fake kernel release to "1.0" # None When I execute dnf with args "remove dnf-ci-kernel --setopt=protect_running_kernel=False --setopt=protected_packages=dnf-ci-kernel" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: The operation would result in removing the following protected packages: dnf-ci-kernel """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n6c5bb05 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n6c5bb05/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1698145 Scenario: Running kernel is protected against obsoleting # dnf/protect-running-kernel.feature:43 Given I use repository "protect-running-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dnf-ci-kernel --exclude dnf-ci-obsolete" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9qzxgerb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9qzxgerb/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete And I fake kernel release to "1.0" # None When I execute dnf with args "install dnf-ci-obsolete" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: The operation would result in removing of running kernel: dnf-ci-kernel-0:1.0-1.x86_64 You can try to add to command line: --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9qzxgerb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9qzxgerb/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1698145 Scenario: Running kernel is not protected against obsoleting with config protect_running_kernel=False # dnf/protect-running-kernel.feature:57 Given I use repository "protect-running-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dnf-ci-kernel --exclude dnf-ci-obsolete" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g3_m26g9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g3_m26g9/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete And I fake kernel release to "1.0" # None When I execute dnf with args "install dnf-ci-obsolete --setopt=protect_running_kernel=False" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | dnf-ci-obsolete-0:1.0-1.x86_64 | | obsoleted | dnf-ci-kernel-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g3_m26g9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g3_m26g9/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1698145 Scenario: Running kernel is protected against removal as conflict # dnf/protect-running-kernel.feature:67 Given I use repository "protect-running-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dnf-ci-kernel --exclude dnf-ci-obsolete" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tpysdgp5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tpysdgp5/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete And I fake kernel release to "1.0" # None When I execute dnf with args "install dnf-ci-conflict --exclude dnf-ci-obsolete --allowerasing" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: problem with installed package - installed package dnf-ci-kernel-1.0-1.x86_64 conflicts with dnf-ci-kernel = 1.0-1 provided by dnf-ci-conflict-1.0-1.x86_64 from protect-running-kernel - package dnf-ci-conflict-1.0-1.x86_64 from protect-running-kernel conflicts with dnf-ci-kernel = 1.0-1 provided by dnf-ci-kernel-1.0-1.x86_64 from protect-running-kernel - conflicting requests You can try to add to command line: --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tpysdgp5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tpysdgp5/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1698145 Scenario: Running kernel is not protected against removal as conflict with config protect_running_kernel=False # dnf/protect-running-kernel.feature:83 Given I use repository "protect-running-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dnf-ci-kernel --exclude dnf-ci-obsolete" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iy7xox42 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iy7xox42/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete And I fake kernel release to "1.0" # None When I execute dnf with args "install dnf-ci-conflict --exclude dnf-ci-obsolete --allowerasing --setopt=protect_running_kernel=False" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | dnf-ci-conflict-0:1.0-1.x86_64 | | remove-dep | dnf-ci-kernel-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iy7xox42 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iy7xox42/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2178329 Scenario: If the oldest installed kernel is a running one it is not replaced on upgrade # dnf/protect-running-kernel.feature:92 Given I use repository "protect-running-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install dnf-ci-kernel --exclude dnf-ci-obsolete" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5c0pkqh8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5c0pkqh8/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete And I fake kernel release to "1.0" # None Given I configure dnf with # None | key | value | | installonlypkgs | installonlypkg(dnf-ci-kernel) | | installonly_limit | 3 | And I use repository "protect-running-kernel-updates" # None And I execute dnf with args "install dnf-ci-kernel-2.0 dnf-ci-kernel-3.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | dnf-ci-kernel-0:2.0-1.x86_64 | | install | dnf-ci-kernel-0:3.0-1.x86_64 | When I execute dnf with args "upgrade --exclude dnf-ci-obsolete dnf-ci-kernel" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | unchanged | dnf-ci-kernel-0:1.0-1.x86_64 | | remove | dnf-ci-kernel-0:2.0-1.x86_64 | | unchanged | dnf-ci-kernel-0:3.0-1.x86_64 | | install | dnf-ci-kernel-0:4.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5c0pkqh8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5c0pkqh8/var/cache/dnf install dnf-ci-kernel --exclude dnf-ci-obsolete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/protect-running-kernel.feature:11 Running kernel is protected dnf/protect-running-kernel.feature:22 Running kernel is not protected with config protect_running_kernel=False dnf/protect-running-kernel.feature:32 Running kernel is protected when in protected_packages even with config protect_running_kernel=False dnf/protect-running-kernel.feature:43 Running kernel is protected against obsoleting dnf/protect-running-kernel.feature:57 Running kernel is not protected against obsoleting with config protect_running_kernel=False dnf/protect-running-kernel.feature:67 Running kernel is protected against removal as conflict dnf/protect-running-kernel.feature:83 Running kernel is not protected against removal as conflict with config protect_running_kernel=False dnf/protect-running-kernel.feature:92 If the oldest installed kernel is a running one it is not replaced on upgrade 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 8 steps passed, 8 failed, 37 skipped Took 0min 0.334s USING RUNNER: behave.runner:Runner @no_installroot Feature: Dnf protects itself # dnf/protected-dnf.feature:4 @not.with_os=rhel__lt__11 Scenario: Dnf5 when installed protects itself # dnf/protected-dnf.feature:8 Given I execute dnf with args "install dnf5" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install dnf5 When I execute dnf with args "remove dnf5" # None Then the exit code is 1 # None And stderr contains "operation would result in removing the following protected packages: dnf5" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf install dnf5  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/protected-dnf.feature:8 Dnf5 when installed protects itself 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 1 step passed, 1 failed, 3 skipped Took 0min 0.204s USING RUNNER: behave.runner:Runner Feature: Protected packages # dnf/protected-packages.feature:1 Feature: Protected packages # dnf/protected-packages.feature:1 @tier1 Scenario: Package protected via setopt cannot be removed # dnf/protected-packages.feature:13 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3k4vb4xc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3k4vb4xc/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove filesystem --setopt=protected_packages=filesystem" # None Then the exit code is 1 # None And Transaction is empty # None And stderr contains "Problem: The operation would result in removing the following protected packages: filesystem" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3k4vb4xc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3k4vb4xc/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Package with protected dependency via setopt can be removed # dnf/protected-packages.feature:20 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0562l_kp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0562l_kp/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dependency-chain" # None And I execute dnf with args "install top" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | top-0:1-1.fc29.x86_64 | | install-dep | mid-0:2-1.fc29.x86_64 | | install-dep | bot-0:1-1.fc29.x86_64 | When I execute dnf with args "remove top --setopt=protected_packages=mid" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | top-0:1-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0562l_kp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0562l_kp/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Protected dependency via setopt cannot be removed, transaction fails # dnf/protected-packages.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u778no7l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u778no7l/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dependency-chain" # None And I execute dnf with args "install top" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | top-0:1-1.fc29.x86_64 | | install-dep | mid-0:2-1.fc29.x86_64 | | install-dep | bot-0:1-1.fc29.x86_64 | When I execute dnf with args "remove mid --setopt=protected_packages=mid" # None Then the exit code is 1 # None And Transaction is empty # None And stderr contains "Problem: The operation would result in removing the following protected packages: mid" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u778no7l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u778no7l/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Dependency of a protected package cannot be removed # dnf/protected-packages.feature:51 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4vbvc1rg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4vbvc1rg/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dependency-chain" # None And I execute dnf with args "install top" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | top-0:1-1.fc29.x86_64 | | install-dep | mid-0:2-1.fc29.x86_64 | | install-dep | bot-0:1-1.fc29.x86_64 | When I execute dnf with args "remove bot --setopt=protected_packages=mid" # None Then the exit code is 1 # None And Transaction is empty # None And stderr is # None """ Failed to resolve the transaction: Problem 1: The operation would result in broken dependencies for the following protected packages: mid Problem 2: installed package mid-2-1.fc29.x86_64 requires bot, but none of the providers can be installed - conflicting requests - problem with installed package """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4vbvc1rg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4vbvc1rg/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Left over protected package installed as a dependency is not autoremoved and keeps reason # dnf/protected-packages.feature:73 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w066fqpd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w066fqpd/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dependency-chain" # None And I successfully execute dnf with args "install top" # None And I successfully execute dnf with args "remove top --setopt=protected_packages=mid" # None When I execute dnf with args "autoremove --setopt=protected_packages=mid" # None Then the exit code is 0 # None And stderr is # None """ Unneeded protected package: mid-0:2-1.fc29.x86_64 (and its dependencies) cannot be removed, either mark it as user-installed or change protected_packages configuration option. """ And stdout is # None """ Nothing to do. """ And Transaction is empty # None When I execute dnf with args "rq mid --queryformat='%{{name}}-%{{evr}} - %{{reason}}' --installed" # None Then stdout is # None """ mid-2-1.fc29 - Dependency """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w066fqpd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w066fqpd/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Left over chain of dependencies with protected package is not autoremoved and keeps reason # dnf/protected-packages.feature:96 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ja52an9a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ja52an9a/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dependency-chain" # None And I successfully execute dnf with args "install top" # None And I successfully execute dnf with args "mark dependency top" # None When I execute dnf with args "autoremove --setopt=protected_packages=mid" # None Then the exit code is 0 # None And stderr contains "Unneeded protected package: mid-0:2-1.fc29.x86_64 \(and its dependencies\) cannot be removed, either mark it as user-installed or change protected_packages configuration option." # None And Transaction is following # None | Action | Package | | remove | top-0:1-1.fc29.x86_64 | When I execute dnf with args "rq mid --queryformat='%{{name}}-%{{evr}} - %{{reason}}' --installed" # None Then stdout is # None """ mid-2-1.fc29 - Dependency """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ja52an9a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ja52an9a/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Left over protected package installed as a dependency keeps reason after upgrade # dnf/protected-packages.feature:114 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bpzgnfvz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bpzgnfvz/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "dependency-chain" # None And I successfully execute dnf with args "install top --exclude mid-2" # None And I successfully execute dnf with args "remove top --setopt=protected_packages=mid" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | mid-0:2-1.fc29.x86_64 | When I execute dnf with args "rq mid --queryformat='%{{name}}-%{{evr}} - %{{reason}}' --installed" # None Then stdout is # None """ mid-2-1.fc29 - Dependency """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bpzgnfvz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bpzgnfvz/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Package protected via a configuration file cannot be removed # dnf/protected-packages.feature:131 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nl1_z8d8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nl1_z8d8/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I create and substitute file "/etc/dnf/protected.d/filesystem.conf" with # None """ filesystem """ When I execute dnf with args "remove filesystem" # None Then the exit code is 1 # None And Transaction is empty # None And stderr contains "Problem: The operation would result in removing the following protected packages: filesystem" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nl1_z8d8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nl1_z8d8/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/protected-packages.feature:13 Package protected via setopt cannot be removed dnf/protected-packages.feature:20 Package with protected dependency via setopt can be removed dnf/protected-packages.feature:36 Protected dependency via setopt cannot be removed, transaction fails dnf/protected-packages.feature:51 Dependency of a protected package cannot be removed dnf/protected-packages.feature:73 Left over protected package installed as a dependency is not autoremoved and keeps reason dnf/protected-packages.feature:96 Left over chain of dependencies with protected package is not autoremoved and keeps reason dnf/protected-packages.feature:114 Left over protected package installed as a dependency keeps reason after upgrade dnf/protected-packages.feature:131 Package protected via a configuration file cannot be removed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 16 steps passed, 8 failed, 67 skipped Took 0min 0.378s USING RUNNER: behave.runner:Runner Feature: Alternative packages are suggested when package is not available # dnf/provides-alternatives.feature:1 @bz1625586 Scenario: Alternative packages are suggested during package install # dnf/provides-alternatives.feature:5 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install IHaveAlternatives" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zl5r8pzw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zl5r8pzw/var/cache/dnf install IHaveAlternatives And stderr contains "Failed to resolve the transaction:" # None And stderr contains "No match for argument: IHaveAlternatives" # None And stderr contains "There are following alternatives for 'IHaveAlternatives': alternator, alternator-alternator-cz" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zl5r8pzw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zl5r8pzw/var/cache/dnf install IHaveAlternatives  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/provides-alternatives.feature:5 Alternative packages are suggested during package install 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 3 skipped Took 0min 0.140s USING RUNNER: behave.runner:Runner Feature: Test for dnf provides # dnf/provides.feature:1 Feature: Test for dnf provides # dnf/provides.feature:1 Scenario: dnf provides webclient - installed package wget provides webclient # dnf/provides.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pigj901b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pigj901b/var/cache/dnf install wget glibc Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "provides webclient" # None Then stdout contains "wget-1.19.5-5.fc29[^R]+Repo[ \t]+: @System" # None And stdout does not contain "(glibc)|(setup)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pigj901b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pigj901b/var/cache/dnf install wget glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf provides webclient - installed and in repo package wget provides webclient # dnf/provides.feature:17 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ve031dgs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ve031dgs/var/cache/dnf install wget glibc When I execute dnf with args "provides webclient" # None Then stdout contains "wget-1.19.5-5.fc29[^R]+Repo[ \t]+: @System" # None Then stdout contains "wget-1.19.5-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora" # None And stdout does not contain "(glibc)|(setup)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ve031dgs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ve031dgs/var/cache/dnf install wget glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf provides webclient - installed and in repos package wget provides webclient # dnf/provides.feature:26 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hdndw65u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hdndw65u/var/cache/dnf install wget glibc Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "provides webclient" # None Then stdout contains "wget-1.19.5-5.fc29[^R]+Repo[ \t]+: @System" # None Then stdout contains "wget-1.19.5-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora" # None Then stdout contains "wget-1.19.6-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora-updates" # None And stdout does not contain "(glibc)|(setup)" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hdndw65u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hdndw65u/var/cache/dnf install wget glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf provides nonexistentprovide # dnf/provides.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "provides nonexistentprovde" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qka9t3ms --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qka9t3ms/var/cache/dnf provides nonexistentprovde And stderr is # None """ No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qka9t3ms --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qka9t3ms/var/cache/dnf provides nonexistentprovde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test order of provides "dnf provides webclient A B C" # dnf/provides.feature:46 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "provides webclient A B C" # dnf/steps/cmd.py:110 Then stdout contains "wget-1.19.5-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora" # dnf/steps/cmd.py:226 ASSERT FAILED: Stdout doesn't contain: wget-1.19.5-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora And stdout does not contain "(glibc)|(setup)" # None And the exit code is 1 # None And stderr is # None """ No matches found for "A". No matches found for "B". No matches found for "C". If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1ejg7g99 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1ejg7g99/var/cache/dnf provides webclient A B C  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test order of provides "dnf provides A webclient B C" # dnf/provides.feature:60 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "provides A webclient B C" # dnf/steps/cmd.py:110 Then stdout contains "wget-1.19.5-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora" # dnf/steps/cmd.py:226 ASSERT FAILED: Stdout doesn't contain: wget-1.19.5-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora And stdout does not contain "(glibc)|(setup)" # None And the exit code is 1 # None And stderr is # None """ No matches found for "A". No matches found for "B". No matches found for "C". If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ges_tjuc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ges_tjuc/var/cache/dnf provides A webclient B C  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test order of provides "dnf provides A B C webclient" # dnf/provides.feature:74 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "provides A B C webclient" # dnf/steps/cmd.py:110 Then stdout contains "wget-1.19.5-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora" # dnf/steps/cmd.py:226 ASSERT FAILED: Stdout doesn't contain: wget-1.19.5-5.fc29[^R]+Repo[ \t]+: dnf-ci-fedora And stdout does not contain "(glibc)|(setup)" # None And the exit code is 1 # None And stderr is # None """ No matches found for "A". No matches found for "B". No matches found for "C". If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pf7o6j7z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pf7o6j7z/var/cache/dnf provides A B C webclient  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: try to match a package by binary if other provides do not match # dnf/provides.feature:88 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-provides" # dnf/steps/repo.py:186 When I execute dnf with args "provides bar" # dnf/steps/cmd.py:110 Then stdout contains "foo-1.0.0-0.fc29[^R]+Repo[ \t]+: dnf-ci-provides" # dnf/steps/cmd.py:226 ASSERT FAILED: Stdout doesn't contain: foo-1.0.0-0.fc29[^R]+Repo[ \t]+: dnf-ci-provides Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f11mpx35 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f11mpx35/var/cache/dnf provides bar  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/provides.feature:8 dnf provides webclient - installed package wget provides webclient dnf/provides.feature:17 dnf provides webclient - installed and in repo package wget provides webclient dnf/provides.feature:26 dnf provides webclient - installed and in repos package wget provides webclient dnf/provides.feature:36 dnf provides nonexistentprovide dnf/provides.feature:46 test order of provides "dnf provides webclient A B C" dnf/provides.feature:60 test order of provides "dnf provides A webclient B C" dnf/provides.feature:74 test order of provides "dnf provides A B C webclient" dnf/provides.feature:88 try to match a package by binary if other provides do not match 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 17 steps passed, 8 failed, 25 skipped Took 0min 0.442s USING RUNNER: behave.runner:Runner Feature: Accesing a proxy via proxy credentials username and password # dnf/proxy-username-password.feature:1 Scenario: I can store proxy credentials in a repo config # dnf/proxy-username-password.feature:8 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I start http server "http_server" at "/{context.dnf.repos[simple-base].path}" # dnf/steps/server.py:26 And I create and substitute file "/etc/yum.repos.d/simple-base.repo" with # common/file.py:43 """ [simple-base] name=simple-base test repository enabled=1 baseurl=http://nosuchhost/repo proxy=http://localhost:{context.dnf.ports[http_server]} proxy_auth_method=basic proxy_username=user proxy_password=123456 """ And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "repoquery abcde" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1e76ftrb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1e76ftrb/var/cache/dnf repoquery abcde And every HTTP GET request should match # None | header | value | | Proxy-Authorization | Basic dXNlcjoxMjM0NTY= | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1e76ftrb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1e76ftrb/var/cache/dnf repoquery abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can store proxy credentials in dnf.conf # dnf/proxy-username-password.feature:30 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I start http server "http_server" at "/{context.dnf.repos[simple-base].path}" # dnf/steps/server.py:26 And I create and substitute file "/etc/yum.repos.d/simple-base.repo" with # common/file.py:43 """ [simple-base] name=simple-base test repository enabled=1 baseurl=http://nosuchhost/repo """ And I start capturing outbound HTTP requests # dnf/steps/server.py:40 And I configure dnf with # dnf/steps/config.py:12 | key | value | | proxy | http://localhost:{context.dnf.ports[http_server]} | | proxy_auth_method | basic | | proxy_username | user | | proxy_password | 123456 | When I execute dnf with args "repoquery abcde" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v_y0y3pj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v_y0y3pj/var/cache/dnf repoquery abcde And every HTTP GET request should match # None | header | value | | Proxy-Authorization | Basic dXNlcjoxMjM0NTY= | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v_y0y3pj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v_y0y3pj/var/cache/dnf repoquery abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/proxy-username-password.feature:8 I can store proxy credentials in a repo config dnf/proxy-username-password.feature:30 I can store proxy credentials in dnf.conf 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 11 steps passed, 2 failed, 2 skipped Took 0min 0.425s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 12 leaked semaphore objects to clean up at shutdown: {'/mp-mahz4_m9', '/mp-axalnwmm', '/mp-w6kbri83', '/mp-8968ezze', '/mp-7h86q2va', '/mp-peynpyvu', '/mp-5jecz125', '/mp-m5k7l9bi', '/mp-xuon71xt', '/mp-ssjacij3', '/mp-dn8c7ejh', '/mp-t_ci7ack'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Unified error reporting for query commands # dnf/query-no-matches.feature:1 Scenario: group list reports no repos when all repos disabled # dnf/query-no-matches.feature:16 Given I use repository "comps-group-list" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "group list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rf4b5qh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rf4b5qh6/var/cache/dnf group list And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rf4b5qh6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rf4b5qh6/var/cache/dnf group list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group info reports no repos when all repos disabled # dnf/query-no-matches.feature:26 Given I use repository "comps-group-list" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "group info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1v17t2xl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1v17t2xl/var/cache/dnf group info And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1v17t2xl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1v17t2xl/var/cache/dnf group info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group list with spec reports no repos when all repos disabled # dnf/query-no-matches.feature:36 Given I use repository "comps-group-list" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "group list test-group" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pxomclkq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pxomclkq/var/cache/dnf group list test-group And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pxomclkq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pxomclkq/var/cache/dnf group list test-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group list --installed with no groups installed # dnf/query-no-matches.feature:46 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 When I execute dnf with args "group list --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u6dg5g9b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u6dg5g9b/var/cache/dnf group list --installed And stderr contains "No matches found: no groups are installed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u6dg5g9b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u6dg5g9b/var/cache/dnf group list --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group list --available with no groups available # dnf/query-no-matches.feature:55 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/groups.toml" with # common/file.py:36 """ version = "1.0" [groups] [groups.test-group] userinstalled = true """ And I successfully execute dnf with args "group list" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_smrsn641 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_smrsn641/var/cache/dnf group list Then stdout is # None """ ID Name Installed test-group yes Groups: 1 (1 installed, 0 available) """ When I execute dnf with args "group list --available" # None Then the exit code is 0 # None And stderr contains "No matches found: no groups are available." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_smrsn641 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_smrsn641/var/cache/dnf group list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group list reports unmatched spec when some match # dnf/query-no-matches.feature:77 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 When I execute dnf with args "group list test-group nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_99uio389 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_99uio389/var/cache/dnf group list test-group nonexistent And stdout contains "test-group" # None And stderr contains "No matches found for \"nonexistent\"." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_99uio389 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_99uio389/var/cache/dnf group list test-group nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group list reports when all specs unmatched # dnf/query-no-matches.feature:85 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 When I execute dnf with args "group list nonexistent1 nonexistent2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i5_sdkge --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i5_sdkge/var/cache/dnf group list nonexistent1 nonexistent2 And stdout is empty # None And stderr contains "No matches found." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i5_sdkge --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i5_sdkge/var/cache/dnf group list nonexistent1 nonexistent2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group info reports unmatched spec when some match # dnf/query-no-matches.feature:93 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 When I execute dnf with args "group info test-group nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mtuykhpa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mtuykhpa/var/cache/dnf group info test-group nonexistent And stdout contains "test-group" # None And stderr contains "No matches found for \"nonexistent\"." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mtuykhpa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mtuykhpa/var/cache/dnf group info test-group nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: environment list reports no repos when all repos disabled # dnf/query-no-matches.feature:105 Given I use repository "comps-group-list" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "environment list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_31t6akcv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_31t6akcv/var/cache/dnf environment list And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_31t6akcv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_31t6akcv/var/cache/dnf environment list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: environment info reports no repos when all repos disabled # dnf/query-no-matches.feature:115 Given I use repository "comps-group-list" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "environment info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x5n085vp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x5n085vp/var/cache/dnf environment info And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x5n085vp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x5n085vp/var/cache/dnf environment info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: environment list --installed with no environments installed # dnf/query-no-matches.feature:125 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 When I execute dnf with args "environment list --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7c1my5pc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7c1my5pc/var/cache/dnf environment list --installed And stdout is empty # None And stderr contains "No matches found: no environments are installed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7c1my5pc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7c1my5pc/var/cache/dnf environment list --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: environment list --available with no environments available # dnf/query-no-matches.feature:134 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/usr/lib/sysimage/libdnf5/environments.toml" with # common/file.py:36 """ version = "1.0" [environments] test-environment = {groups = [], userinstalled = true} """ And I successfully execute dnf with args "environment list" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_811fp1de --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_811fp1de/var/cache/dnf environment list Then stdout is # None """ ID Name Installed test-environment yes """ When I execute dnf with args "environment list --available" # None Then the exit code is 0 # None And stdout is empty # None And stderr contains "No matches found: no environments are available." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_811fp1de --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_811fp1de/var/cache/dnf environment list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: environment list reports unmatched spec when some match # dnf/query-no-matches.feature:155 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 When I execute dnf with args "environment list test-environment nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hspgw620 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hspgw620/var/cache/dnf environment list test-environment nonexistent And stdout contains "test-environment" # None And stderr contains "No matches found for \"nonexistent\"." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hspgw620 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hspgw620/var/cache/dnf environment list test-environment nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: environment list reports when all specs unmatched # dnf/query-no-matches.feature:163 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 When I execute dnf with args "environment list nonexistent1 nonexistent2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c9zdy0zx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c9zdy0zx/var/cache/dnf environment list nonexistent1 nonexistent2 And stdout is empty # None And stderr contains "No matches found." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c9zdy0zx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c9zdy0zx/var/cache/dnf environment list nonexistent1 nonexistent2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: environment info reports unmatched spec when some match # dnf/query-no-matches.feature:171 Given I use repository "comps-group-list" # dnf/steps/repo.py:186 When I execute dnf with args "environment info test-environment nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e1sd_2m5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e1sd_2m5/var/cache/dnf environment info test-environment nonexistent And stdout contains "test-environment" # None And stderr contains "No matches found for \"nonexistent\"." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e1sd_2m5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e1sd_2m5/var/cache/dnf environment info test-environment nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repo list reports no repos when all repos disabled # dnf/query-no-matches.feature:183 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pocpo_jz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pocpo_jz/var/cache/dnf repo list And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pocpo_jz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pocpo_jz/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repo info reports no repos when all repos disabled # dnf/query-no-matches.feature:193 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y38792k3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y38792k3/var/cache/dnf repo info And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y38792k3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y38792k3/var/cache/dnf repo info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repo list reports unmatched spec when some match # dnf/query-no-matches.feature:203 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repo list dnf-ci-fedora nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oowwoiy6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oowwoiy6/var/cache/dnf repo list dnf-ci-fedora nonexistent And stdout contains "dnf-ci-fedora" # None And stderr contains "No matches found for \"nonexistent\"." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oowwoiy6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oowwoiy6/var/cache/dnf repo list dnf-ci-fedora nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repo list reports when all specs unmatched # dnf/query-no-matches.feature:212 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repo list nonexistent1 nonexistent2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7m4pe22x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7m4pe22x/var/cache/dnf repo list nonexistent1 nonexistent2 And stdout is empty # None And stderr contains "No matches found." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7m4pe22x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7m4pe22x/var/cache/dnf repo list nonexistent1 nonexistent2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repo info reports unmatched spec when some match # dnf/query-no-matches.feature:220 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repo info dnf-ci-fedora nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bt1k2lar --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bt1k2lar/var/cache/dnf repo info dnf-ci-fedora nonexistent And stdout contains "dnf-ci-fedora" # None And stderr contains "No matches found for \"nonexistent\"." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bt1k2lar --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bt1k2lar/var/cache/dnf repo info dnf-ci-fedora nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory list reports no repos when all repos disabled # dnf/query-no-matches.feature:233 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "advisory list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w8uv4cxa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w8uv4cxa/var/cache/dnf advisory list And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w8uv4cxa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w8uv4cxa/var/cache/dnf advisory list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory info reports no repos when all repos disabled # dnf/query-no-matches.feature:243 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "advisory info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nq089esx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nq089esx/var/cache/dnf advisory info And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nq089esx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nq089esx/var/cache/dnf advisory info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory summary reports no repos when all repos disabled # dnf/query-no-matches.feature:253 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "advisory summary" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4f1l_azq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4f1l_azq/var/cache/dnf advisory summary And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4f1l_azq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4f1l_azq/var/cache/dnf advisory summary  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery reports no repos when all repos disabled # dnf/query-no-matches.feature:266 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repoquery" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_voyo8uye --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_voyo8uye/var/cache/dnf repoquery And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_voyo8uye --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_voyo8uye/var/cache/dnf repoquery  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery with spec reports no repos when all repos disabled # dnf/query-no-matches.feature:276 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repoquery nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5fv4balb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5fv4balb/var/cache/dnf repoquery nonexistent And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5fv4balb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5fv4balb/var/cache/dnf repoquery nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --installed does not report no repos enabled # dnf/query-no-matches.feature:286 When I execute dnf with args "repoquery --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1poizpde --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1poizpde/var/cache/dnf repoquery --installed And stdout is empty # None And stderr does not contain "no repositories are enabled" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1poizpde --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1poizpde/var/cache/dnf repoquery --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: list reports no repos when all repos disabled # dnf/query-no-matches.feature:297 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zsu3fs67 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zsu3fs67/var/cache/dnf list And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zsu3fs67 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zsu3fs67/var/cache/dnf list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: list with spec reports no repos when all repos disabled # dnf/query-no-matches.feature:307 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "list nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d0jmdxnb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d0jmdxnb/var/cache/dnf list nonexistent And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d0jmdxnb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d0jmdxnb/var/cache/dnf list nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: list --installed does not report no repos enabled # dnf/query-no-matches.feature:317 When I execute dnf with args "list --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m8tphql8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m8tphql8/var/cache/dnf list --installed And stdout is empty # None And stderr does not contain "no repositories are enabled" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m8tphql8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m8tphql8/var/cache/dnf list --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: list reports unmatched spec when some match # dnf/query-no-matches.feature:324 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "list setup nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9kv5k2vk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9kv5k2vk/var/cache/dnf list setup nonexistent And stdout contains "setup" # None And stderr contains "No matches found for \"nonexistent\"." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9kv5k2vk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9kv5k2vk/var/cache/dnf list setup nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: list reports when all specs unmatched # dnf/query-no-matches.feature:332 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "list nonexistent1 nonexistent2" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__27w_o04 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__27w_o04/var/cache/dnf list nonexistent1 nonexistent2 And stdout is empty # None And stderr contains "No matches found." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__27w_o04 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__27w_o04/var/cache/dnf list nonexistent1 nonexistent2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__11 Scenario: module list reports no repos when all repos disabled # dnf/query-no-matches.feature:345 Given I use repository "dnf-ci-fedora-modular" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "module list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zvd2vydf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zvd2vydf/var/cache/dnf module list And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zvd2vydf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zvd2vydf/var/cache/dnf module list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__11 Scenario: module list reports unmatched spec when some match # dnf/query-no-matches.feature:356 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module list nodejs nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9e694yyn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9e694yyn/var/cache/dnf module list nodejs nonexistent And stdout contains "nodejs" # None And stderr contains "No matches found for \"nonexistent\"." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9e694yyn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9e694yyn/var/cache/dnf module list nodejs nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__11 Scenario: module list reports when all specs unmatched # dnf/query-no-matches.feature:365 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module list nonexistent1 nonexistent2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jmm9klii --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jmm9klii/var/cache/dnf module list nonexistent1 nonexistent2 And stdout is empty # None And stderr contains "No matches found." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jmm9klii --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jmm9klii/var/cache/dnf module list nonexistent1 nonexistent2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__11 Scenario: module list reports no module streams exist # dnf/query-no-matches.feature:374 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zcivz2f5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zcivz2f5/var/cache/dnf module list And stdout is empty # None And stderr contains "No matches found: no module streams exist." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zcivz2f5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zcivz2f5/var/cache/dnf module list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: search reports no repos when all repos disabled # dnf/query-no-matches.feature:386 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "search nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gr2srcgl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gr2srcgl/var/cache/dnf search nonexistent And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gr2srcgl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gr2srcgl/var/cache/dnf search nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: search reports no matches found # dnf/query-no-matches.feature:396 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "search nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a1d93odn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a1d93odn/var/cache/dnf search nonexistent And stdout is empty # None And stderr contains "No matches found." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a1d93odn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a1d93odn/var/cache/dnf search nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: provides reports no repos when all repos disabled # dnf/query-no-matches.feature:408 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "provides webclient" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d_q_0jmk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d_q_0jmk/var/cache/dnf provides webclient And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d_q_0jmk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d_q_0jmk/var/cache/dnf provides webclient  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: provides prints installroot hint when no repos configured # dnf/query-no-matches.feature:418 When I execute dnf with args "provides webclient" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9ngjgvov --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9ngjgvov/var/cache/dnf provides webclient And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9ngjgvov --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9ngjgvov/var/cache/dnf provides webclient  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: group list prints installroot hint when no repos configured # dnf/query-no-matches.feature:429 When I execute dnf with args "group list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_as3r6y69 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_as3r6y69/var/cache/dnf group list And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_as3r6y69 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_as3r6y69/var/cache/dnf group list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: environment list prints installroot hint when no repos configured # dnf/query-no-matches.feature:436 When I execute dnf with args "environment list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fbpdu06l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fbpdu06l/var/cache/dnf environment list And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fbpdu06l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fbpdu06l/var/cache/dnf environment list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory list prints installroot hint when no repos configured # dnf/query-no-matches.feature:443 When I execute dnf with args "advisory list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_az7kxv2s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_az7kxv2s/var/cache/dnf advisory list And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_az7kxv2s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_az7kxv2s/var/cache/dnf advisory list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery prints installroot hint when no repos configured # dnf/query-no-matches.feature:450 When I execute dnf with args "repoquery" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oo0vq8zi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oo0vq8zi/var/cache/dnf repoquery And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oo0vq8zi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oo0vq8zi/var/cache/dnf repoquery  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: list prints installroot hint when no repos configured # dnf/query-no-matches.feature:457 When I execute dnf with args "list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fcvb0vvg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fcvb0vvg/var/cache/dnf list And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fcvb0vvg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fcvb0vvg/var/cache/dnf list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: search prints installroot hint when no repos configured # dnf/query-no-matches.feature:464 When I execute dnf with args "search nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ev3pxeqi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ev3pxeqi/var/cache/dnf search nonexistent And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ev3pxeqi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ev3pxeqi/var/cache/dnf search nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: copr list prints installroot hint when no repos configured # dnf/query-no-matches.feature:471 When I execute dnf with args "copr list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0p57mjvf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0p57mjvf/var/cache/dnf copr list And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0p57mjvf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0p57mjvf/var/cache/dnf copr list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/query-no-matches.feature:16 group list reports no repos when all repos disabled dnf/query-no-matches.feature:26 group info reports no repos when all repos disabled dnf/query-no-matches.feature:36 group list with spec reports no repos when all repos disabled dnf/query-no-matches.feature:46 group list --installed with no groups installed dnf/query-no-matches.feature:55 group list --available with no groups available dnf/query-no-matches.feature:77 group list reports unmatched spec when some match dnf/query-no-matches.feature:85 group list reports when all specs unmatched dnf/query-no-matches.feature:93 group info reports unmatched spec when some match dnf/query-no-matches.feature:105 environment list reports no repos when all repos disabled dnf/query-no-matches.feature:115 environment info reports no repos when all repos disabled dnf/query-no-matches.feature:125 environment list --installed with no environments installed dnf/query-no-matches.feature:134 environment list --available with no environments available dnf/query-no-matches.feature:155 environment list reports unmatched spec when some match dnf/query-no-matches.feature:163 environment list reports when all specs unmatched dnf/query-no-matches.feature:171 environment info reports unmatched spec when some match dnf/query-no-matches.feature:183 repo list reports no repos when all repos disabled dnf/query-no-matches.feature:193 repo info reports no repos when all repos disabled dnf/query-no-matches.feature:203 repo list reports unmatched spec when some match dnf/query-no-matches.feature:212 repo list reports when all specs unmatched dnf/query-no-matches.feature:220 repo info reports unmatched spec when some match dnf/query-no-matches.feature:233 advisory list reports no repos when all repos disabled dnf/query-no-matches.feature:243 advisory info reports no repos when all repos disabled dnf/query-no-matches.feature:253 advisory summary reports no repos when all repos disabled dnf/query-no-matches.feature:266 repoquery reports no repos when all repos disabled dnf/query-no-matches.feature:276 repoquery with spec reports no repos when all repos disabled dnf/query-no-matches.feature:286 repoquery --installed does not report no repos enabled dnf/query-no-matches.feature:297 list reports no repos when all repos disabled dnf/query-no-matches.feature:307 list with spec reports no repos when all repos disabled dnf/query-no-matches.feature:317 list --installed does not report no repos enabled dnf/query-no-matches.feature:324 list reports unmatched spec when some match dnf/query-no-matches.feature:332 list reports when all specs unmatched dnf/query-no-matches.feature:345 module list reports no repos when all repos disabled dnf/query-no-matches.feature:356 module list reports unmatched spec when some match dnf/query-no-matches.feature:365 module list reports when all specs unmatched dnf/query-no-matches.feature:374 module list reports no module streams exist dnf/query-no-matches.feature:386 search reports no repos when all repos disabled dnf/query-no-matches.feature:396 search reports no matches found dnf/query-no-matches.feature:408 provides reports no repos when all repos disabled dnf/query-no-matches.feature:418 provides prints installroot hint when no repos configured dnf/query-no-matches.feature:429 group list prints installroot hint when no repos configured dnf/query-no-matches.feature:436 environment list prints installroot hint when no repos configured dnf/query-no-matches.feature:443 advisory list prints installroot hint when no repos configured dnf/query-no-matches.feature:450 repoquery prints installroot hint when no repos configured dnf/query-no-matches.feature:457 list prints installroot hint when no repos configured dnf/query-no-matches.feature:464 search prints installroot hint when no repos configured dnf/query-no-matches.feature:471 copr list prints installroot hint when no repos configured 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 46 failed, 0 skipped 84 steps passed, 46 failed, 95 skipped Took 0min 1.913s USING RUNNER: behave.runner:Runner Feature: reinstall with --from-vendor # dnf/reinstall-from-vendor.feature:1 Feature: reinstall with --from-vendor # dnf/reinstall-from-vendor.feature:1 Scenario: Reinstall vendorapp2 from "Second Vendor" (install new dep from any vendor) # dnf/reinstall-from-vendor.feature:15 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorapp2 vendorpkg" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d9tdq25r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d9tdq25r/var/cache/dnf install vendorapp2 vendorpkg And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "reinstall --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' vendorapp2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | vendorapp2-0:2.0-1.x86_64 | | upgrade | vendordep-0:1.1-1.x86_64 | | install-weak | vendorweak-0:1.8-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendorweak-0:1.8-1.x86_64 | Weak Dependency | dnf-ci-vendor-3-updates | | Reinstall | vendorapp2-0:2.0-1.x86_64 | User | dnf-ci-vendor-2 | | Upgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Replaced | vendorapp2-0:2.0-1.x86_64 | User | @System | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d9tdq25r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d9tdq25r/var/cache/dnf install vendorapp2 vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall vendorapp2 from "Second Vendor" fails (allow_vendor_change=0 prevents dependency upgrade) # dnf/reinstall-from-vendor.feature:37 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorapp2 vendorpkg" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_algd4v0c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_algd4v0c/var/cache/dnf install vendorapp2 vendorpkg And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp2-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "reinstall --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' vendorapp2" # None Then the exit code is 1 # None And stderr contains "- package vendorapp2-2.0-1.x86_64 from dnf-ci-vendor-2 requires vendordep = 1.1, but none of the providers can be installed" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_algd4v0c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_algd4v0c/var/cache/dnf install vendorapp2 vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/reinstall-from-vendor.feature:15 Reinstall vendorapp2 from "Second Vendor" (install new dep from any vendor) dnf/reinstall-from-vendor.feature:37 Reinstall vendorapp2 from "Second Vendor" fails (allow_vendor_change=0 prevents dependency upgrade) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 19 skipped Took 0min 0.130s USING RUNNER: behave.runner:Runner Feature: reinstall with --installed-from-repo # dnf/reinstall-installed-from-repo.feature:1 Feature: reinstall with --installed-from-repo # dnf/reinstall-installed-from-repo.feature:1 Scenario: Reinstall all packages installed from repo "from-repo-updates1" # dnf/reinstall-installed-from-repo.feature:26 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zk_nut6q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zk_nut6q/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "reinstall --installed-from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | abcde-0:2.9.3-1.fc29.noarch | | reinstall | filesystem-0:3.10-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zk_nut6q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zk_nut6q/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall specified packages installed from repo "from-repo" # dnf/reinstall-installed-from-repo.feature:35 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dcodgegu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dcodgegu/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "reinstall --installed-from-repo=from-repo --skip-unavailable lz4 abcde 'l*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | lz4-0:1.7.5-2.fc26.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dcodgegu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dcodgegu/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall specified packages installed from list of repositories # dnf/reinstall-installed-from-repo.feature:43 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hvcsz8_8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hvcsz8_8/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "reinstall --installed-from-repo=from-repo,from-repo-updates1 lz4 abcde 'l*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | abcde-0:2.9.3-1.fc29.noarch | | reinstall | lz4-0:1.7.5-2.fc26.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hvcsz8_8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hvcsz8_8/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall specified packages installed from repositories definew with wildcards # dnf/reinstall-installed-from-repo.feature:52 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bcvbm87u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bcvbm87u/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "reinstall --installed-from-repo=from-*-updates? --skip-unavailable lz4 abcde 'l*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | abcde-0:2.9.3-1.fc29.noarch | | reinstall | lame-0:3.100-5.fc29.x86_64 | | reinstall | lame-libs-0:3.100-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bcvbm87u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bcvbm87u/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/reinstall-installed-from-repo.feature:26 Reinstall all packages installed from repo "from-repo-updates1" dnf/reinstall-installed-from-repo.feature:35 Reinstall specified packages installed from repo "from-repo" dnf/reinstall-installed-from-repo.feature:43 Reinstall specified packages installed from list of repositories dnf/reinstall-installed-from-repo.feature:52 Reinstall specified packages installed from repositories definew with wildcards 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 16 steps passed, 4 failed, 16 skipped Took 0min 0.381s USING RUNNER: behave.runner:Runner Feature: Reinstall must keep the "reason" why a package was installed # dnf/reinstall-reason.feature:1 E.g. if package with dependency is installed, and the dependency is reinstalled, and the main package is then removed, the dependency is removed as well. Scenario: Reinstall a dependency, and then remove the main package # dnf/reinstall-reason.feature:5 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qx1cytwo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qx1cytwo/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates-testing" # None When I execute dnf with args "reinstall CQRlib" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | CQRlib-0:1.1.2-16.fc29.x86_64 | When I execute dnf with args "remove CQRlib-devel" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | remove-unused | CQRlib-0:1.1.2-16.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qx1cytwo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qx1cytwo/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/reinstall-reason.feature:5 Reinstall a dependency, and then remove the main package 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 3 steps passed, 1 failed, 8 skipped Took 0min 0.279s USING RUNNER: behave.runner:Runner Feature: Reinstall # dnf/reinstall.feature:1 Feature: Reinstall # dnf/reinstall.feature:1 Scenario: Reinstall an RPM from the same repository # dnf/reinstall.feature:15 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z6_egmre --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z6_egmre/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | When I execute dnf with args "reinstall CQRlib" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | CQRlib-0:1.1.2-16.fc29.x86_64 | And package state is # None | package | reason | from_repo | | CQRlib-devel-1.1.2-16.fc29.x86_64 | User | dnf-ci-fedora | | CQRlib-1.1.2-16.fc29.x86_64 | Dependency | dnf-ci-fedora-updates | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reinstall | CQRlib-0:1.1.2-16.fc29.x86_64 | Dependency | dnf-ci-fedora-updates | | Replaced | CQRlib-0:1.1.2-16.fc29.x86_64 | Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z6_egmre --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z6_egmre/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall an RPM from different repository # dnf/reinstall.feature:31 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k7kosd9j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k7kosd9j/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates-testing" # None And I drop repository "dnf-ci-fedora-updates" # None When I execute dnf with args "reinstall CQRlib" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | CQRlib-0:1.1.2-16.fc29.x86_64 | And package state is # None | package | reason | from_repo | | CQRlib-devel-1.1.2-16.fc29.x86_64 | User | dnf-ci-fedora | | CQRlib-1.1.2-16.fc29.x86_64 | Dependency | dnf-ci-fedora-updates-testing | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reinstall | CQRlib-0:1.1.2-16.fc29.x86_64 | Dependency | dnf-ci-fedora-updates-testing | | Replaced | CQRlib-0:1.1.2-16.fc29.x86_64 | Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k7kosd9j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k7kosd9j/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall an RPM that is not available # dnf/reinstall.feature:49 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a44zpzjd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a44zpzjd/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | Given I drop repository "dnf-ci-fedora-updates" # None When I execute dnf with args "reinstall CQRlib" # None Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a44zpzjd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a44zpzjd/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall list of packages, one of them is not available # dnf/reinstall.feature:55 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t19mt0nc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t19mt0nc/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | When I execute dnf with args "reinstall CQRlib nosuchpkg" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: nosuchpkg You can try to add to command line: --skip-unavailable to skip unavailable packages """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t19mt0nc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t19mt0nc/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall list of packages with --skip-unavailable, one of them is not available # dnf/reinstall.feature:69 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cm_7m10i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cm_7m10i/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | When I execute dnf with args "reinstall --skip-unavailable CQRlib nosuchpkg" # None Then the exit code is 0 # None And stderr contains lines # None """ No match for argument: nosuchpkg """ And Transaction is following # None | Action | Package | | reinstall | CQRlib-0:1.1.2-16.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cm_7m10i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cm_7m10i/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall list of packages, one of them is not installed # dnf/reinstall.feature:81 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_moi4mvfx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_moi4mvfx/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | When I execute dnf with args "reinstall abcde CQRlib" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Packages for argument 'abcde' available, but not installed. """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_moi4mvfx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_moi4mvfx/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reinstall list of packages with --skip-unavailable, one of them is not installed # dnf/reinstall.feature:93 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jv3qcutx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jv3qcutx/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | When I execute dnf with args "reinstall --skip-unavailable abcde CQRlib" # None Then the exit code is 0 # None And stderr contains lines # None """ Packages for argument 'abcde' available, but not installed. """ And Transaction is following # None | Action | Package | | reinstall | CQRlib-0:1.1.2-16.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jv3qcutx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jv3qcutx/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Try to reinstall a pkg if repo not available # dnf/reinstall.feature:105 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zz671_zv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zz671_zv/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | Given I use repository "simple-base" # None And I successfully execute dnf with args "install labirinto" # None When I use repository "simple-base" with configuration # None | key | value | | baseurl | https://www.not-available-repo.com/ | When I execute dnf with args "reinstall labirinto" # None Then the exit code is 1 # None And stderr contains "Failed to download metadata \(baseurl: \"https://www.not-available-repo.com/\"\) for repository \"simple-base\"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zz671_zv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zz671_zv/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Try to reinstall a pkg if repo not available # dnf/reinstall.feature:116 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7dntx8ei --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7dntx8ei/var/cache/dnf install CQRlib-devel And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install-dep | CQRlib-0:1.1.2-16.fc29.x86_64 | Given I use repository "simple-base" # None And I successfully execute dnf with args "install labirinto" # None When I configure a new repository "non-existent" with # None | key | value | | baseurl | https://www.not-available-repo.com/ | | enabled | 1 | | skip_if_unavailable | 0 | When I execute dnf with args "reinstall labirinto" # None Then the exit code is 1 # None And stderr contains "Failed to download metadata \(baseurl: \"https://www.not-available-repo.com/\"\) for repository \"non-existent\"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7dntx8ei --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7dntx8ei/var/cache/dnf install CQRlib-devel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/reinstall.feature:15 Reinstall an RPM from the same repository dnf/reinstall.feature:31 Reinstall an RPM from different repository dnf/reinstall.feature:49 Reinstall an RPM that is not available dnf/reinstall.feature:55 Reinstall list of packages, one of them is not available dnf/reinstall.feature:69 Reinstall list of packages with --skip-unavailable, one of them is not available dnf/reinstall.feature:81 Reinstall list of packages, one of them is not installed dnf/reinstall.feature:93 Reinstall list of packages with --skip-unavailable, one of them is not installed dnf/reinstall.feature:105 Try to reinstall a pkg if repo not available dnf/reinstall.feature:116 Try to reinstall a pkg if repo not available 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 27 steps passed, 9 failed, 52 skipped Took 0min 0.545s USING RUNNER: behave.runner:Runner Feature: Remove duplicate RPMs # dnf/remove-duplicates.feature:1 @bz1674296 Scenario: Remove a duplicate RPM # dnf/remove-duplicates.feature:5 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-1.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "remove --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4gdm1b_a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4gdm1b_a/var/cache/dnf remove --duplicates And Transaction is following # None | Action | Package | | reinstall | flac-0:1.3.3-3.fc29.x86_64 | | obsoleted | flac-0:1.3.3-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4gdm1b_a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4gdm1b_a/var/cache/dnf remove --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1674296 @bz1647345 Scenario: Remove multiple duplicate RPMs # dnf/remove-duplicates.feature:21 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-1.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-1.fc29.x86_64.rpm --force" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-1.fc29.x86_64.rpm --force" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "remove --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yglhx3gr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yglhx3gr/var/cache/dnf remove --duplicates And Transaction is following # None | Action | Package | | reinstall | flac-0:1.3.3-3.fc29.x86_64 | | obsoleted | flac-0:1.3.3-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yglhx3gr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yglhx3gr/var/cache/dnf remove --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Installonly packages are excluded from duplicate removal # dnf/remove-duplicates.feature:39 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install kernel-core" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0abp36ch --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0abp36ch/var/cache/dnf install kernel-core And Transaction is following # None | Action | Package | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-core-0:4.19.15-300.fc29.x86_64 | | unchanged | kernel-core-0:4.18.16-300.fc29.x86_64 | When I execute dnf with args "remove --duplicates" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0abp36ch --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0abp36ch/var/cache/dnf install kernel-core  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove duplicates filtered by package spec # dnf/remove-duplicates.feature:58 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-1.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/wget-1.19.5-5.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/wget-1.19.6-5.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "remove --duplicates flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_skcsk2r2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_skcsk2r2/var/cache/dnf remove --duplicates flac And Transaction is following # None | Action | Package | | reinstall | flac-0:1.3.3-3.fc29.x86_64 | | obsoleted | flac-0:1.3.3-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_skcsk2r2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_skcsk2r2/var/cache/dnf remove --duplicates flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The --duplicates option conflicts with --oldinstallonly # dnf/remove-duplicates.feature:76 When I execute dnf with args "remove --duplicates --oldinstallonly" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr is # common/output.py:137 """ "--oldinstallonly" not allowed together with named argument "--duplicates". Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: "--oldinstallonly" not allowed together with named argument "--duplicates". Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found "--oldinstallonly" not allowed together with named argument "--duplicates". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6kbuh4e2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6kbuh4e2/var/cache/dnf remove --duplicates --oldinstallonly  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The --limit option cannot be used with --duplicates # dnf/remove-duplicates.feature:86 When I execute dnf with args "remove --duplicates --limit=2" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr is # common/output.py:137 """ "--limit=2" not allowed together with named argument "--duplicates". Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: "--limit=2" not allowed together with named argument "--duplicates". Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found "--limit=2" not allowed together with named argument "--duplicates". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_03j1c02g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_03j1c02g/var/cache/dnf remove --duplicates --limit=2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove duplicates when newest version is not available in repos # dnf/remove-duplicates.feature:96 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-1.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 Given I execute rpm with args "-i {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/flac-1.3.3-3.fc29.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "remove --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0n5g92s4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0n5g92s4/var/cache/dnf remove --duplicates And Transaction is following # None | Action | Package | | remove | flac-0:1.3.3-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0n5g92s4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0n5g92s4/var/cache/dnf remove --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: No transaction when there are no duplicate packages # dnf/remove-duplicates.feature:108 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_489yl8sq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_489yl8sq/var/cache/dnf install flac When I execute dnf with args "remove --duplicates" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_489yl8sq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_489yl8sq/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/remove-duplicates.feature:5 Remove a duplicate RPM dnf/remove-duplicates.feature:21 Remove multiple duplicate RPMs dnf/remove-duplicates.feature:39 Installonly packages are excluded from duplicate removal dnf/remove-duplicates.feature:58 Remove duplicates filtered by package spec dnf/remove-duplicates.feature:76 The --duplicates option conflicts with --oldinstallonly dnf/remove-duplicates.feature:86 The --limit option cannot be used with --duplicates dnf/remove-duplicates.feature:96 Remove duplicates when newest version is not available in repos dnf/remove-duplicates.feature:108 No transaction when there are no duplicate packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 41 steps passed, 8 failed, 15 skipped Took 0min 0.708s USING RUNNER: behave.runner:Runner Feature: Remove RPMs with --exclude # dnf/remove-exclude.feature:1 Scenario: Remove RPMs while excluding another RPM # dnf/remove-exclude.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install basesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lgi82haq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lgi82haq/var/cache/dnf install basesystem And Transaction is following # None | Action | Package | | install | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove basesystem filesystem --exclude setup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | filesystem-0:3.9-2.fc29.x86_64 | | remove | basesystem-0:11-6.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lgi82haq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lgi82haq/var/cache/dnf install basesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove RPM which is required by excluded RPM # dnf/remove-exclude.feature:21 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fxngvixy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fxngvixy/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "remove setup --exclude filesystem" # None Then the exit code is 1 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fxngvixy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fxngvixy/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/remove-exclude.feature:4 Remove RPMs while excluding another RPM dnf/remove-exclude.feature:21 Remove RPM which is required by excluded RPM 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 8 skipped Took 0min 0.177s USING RUNNER: behave.runner:Runner Feature: remove with --installed-from-repo # dnf/remove-installed-from-repo.feature:1 Feature: remove with --installed-from-repo # dnf/remove-installed-from-repo.feature:1 Scenario: Remove all packages installed from repo "from-repo-updates1" (and dependencies and unused) # dnf/remove-installed-from-repo.feature:26 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0wtsq182 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0wtsq182/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "remove --installed-from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.3-1.fc29.noarch | | remove | filesystem-0:3.10-1.fc29.x86_64 | | remove-dep | basesystem-0:12-2.fc29.noarch | | remove-unused | flac-0:1.3.3-3.fc29.x86_64 | | remove-unused | setup-0:2.14.2-1.fc29.noarch | | remove-unused | wget-0:1.19.8-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0wtsq182 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0wtsq182/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove specified packages installed from repo "from-repo" # dnf/remove-installed-from-repo.feature:39 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zcsq5voh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zcsq5voh/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "remove --installed-from-repo=from-repo lz4 abcde 'l*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | lz4-0:1.7.5-2.fc26.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zcsq5voh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zcsq5voh/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove specified packages installed from list of repositories # dnf/remove-installed-from-repo.feature:47 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8ub8swqj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8ub8swqj/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "remove --installed-from-repo=from-repo,from-repo-updates1 lz4 abcde 'l*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.3-1.fc29.noarch | | remove | lz4-0:1.7.5-2.fc26.x86_64 | | remove-unused | flac-0:1.3.3-3.fc29.x86_64 | | remove-unused | wget-0:1.19.8-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8ub8swqj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8ub8swqj/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove specified packages installed from repositories definew with wildcards # dnf/remove-installed-from-repo.feature:58 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hg8918qp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hg8918qp/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "remove --installed-from-repo=from-*-updates? lz4 abcde 'l*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | abcde-0:2.9.3-1.fc29.noarch | | remove | lame-0:3.100-5.fc29.x86_64 | | remove | lame-libs-0:3.100-5.fc29.x86_64 | | remove-unused | flac-0:1.3.3-3.fc29.x86_64 | | remove-unused | wget-0:1.19.8-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hg8918qp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hg8918qp/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/remove-installed-from-repo.feature:26 Remove all packages installed from repo "from-repo-updates1" (and dependencies and unused) dnf/remove-installed-from-repo.feature:39 Remove specified packages installed from repo "from-repo" dnf/remove-installed-from-repo.feature:47 Remove specified packages installed from list of repositories dnf/remove-installed-from-repo.feature:58 Remove specified packages installed from repositories definew with wildcards 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 16 steps passed, 4 failed, 16 skipped Took 0min 0.363s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Remove RPMs by provides # dnf/remove-no-provides.feature:2 @dnf5daemon Feature: Remove RPMs by provides # dnf/remove-no-provides.feature:2 Scenario: Remove an RPM by name and not by provide # dnf/remove-no-provides.feature:16 Given I use repository "dnf-ci-provides-alternatives" # dnf/steps/repo.py:186 When I execute dnf with args "install foo bar" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8e9hr_l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8e9hr_l/var/cache/dnf install foo bar And Transaction is following # None | Action | Package | | install | foo-0:1.0-1.noarch | | install | bar-0:1.0-1.noarch | When I execute dnf with args "remove 'foo'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | foo-0:1.0-1.noarch | When I execute dnf with args "remove 'foo'" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8e9hr_l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8e9hr_l/var/cache/dnf install foo bar  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/remove-no-provides.feature:16 Remove an RPM by name and not by provide 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 7 skipped Took 0min 0.099s USING RUNNER: behave.runner:Runner Feature: Remove RPMs by pkgspec # dnf/remove-pkgspec.feature:1 Feature: Remove RPMs by pkgspec # dnf/remove-pkgspec.feature:1 @tier1 Scenario Outline: Remove an RPM by name -- @1.1 Name # dnf/remove-pkgspec.feature:43 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kdv15j4r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kdv15j4r/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glibc" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove-unused | glibc-common-0:2.28-9.fc29.x86_64 | | remove-unused | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kdv15j4r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kdv15j4r/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Remove an RPM by name-version -- @2.1 Other pkgspecs # dnf/remove-pkgspec.feature:47 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nauzl_q0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nauzl_q0/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glibc-2.28" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove-unused | glibc-common-0:2.28-9.fc29.x86_64 | | remove-unused | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nauzl_q0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nauzl_q0/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Remove an RPM by name-version-release -- @2.2 Other pkgspecs # dnf/remove-pkgspec.feature:48 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h_8qtwlu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h_8qtwlu/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glibc-2.28-9.fc29" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove-unused | glibc-common-0:2.28-9.fc29.x86_64 | | remove-unused | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h_8qtwlu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h_8qtwlu/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Remove an RPM by name-version-release.arch -- @2.3 Other pkgspecs # dnf/remove-pkgspec.feature:49 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j1p3jq9o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j1p3jq9o/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glibc-2.28-9.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove-unused | glibc-common-0:2.28-9.fc29.x86_64 | | remove-unused | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j1p3jq9o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j1p3jq9o/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Remove an RPM by name-epoch:version-release.arch -- @2.4 Other pkgspecs # dnf/remove-pkgspec.feature:50 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2koc7g5w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2koc7g5w/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glibc-0:2.28-9.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove-unused | glibc-common-0:2.28-9.fc29.x86_64 | | remove-unused | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2koc7g5w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2koc7g5w/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Remove an RPM by name.arch -- @2.5 Other pkgspecs # dnf/remove-pkgspec.feature:51 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mnc6tdgc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mnc6tdgc/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glibc.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove-unused | glibc-common-0:2.28-9.fc29.x86_64 | | remove-unused | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mnc6tdgc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mnc6tdgc/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Remove an RPM by pkgspec contining wildcards -- @2.6 Other pkgspecs # dnf/remove-pkgspec.feature:52 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9mq6r48q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9mq6r48q/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glib?.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove-unused | glibc-common-0:2.28-9.fc29.x86_64 | | remove-unused | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And package state is # None | package | reason | from_repo | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | Clean | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9mq6r48q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9mq6r48q/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Remove multiple RPMs by name -- @1.1 # dnf/remove-pkgspec.feature:77 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mgu2mub0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mgu2mub0/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glibc glibc-common glibc-all-langpacks" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove | glibc-common-0:2.28-9.fc29.x86_64 | | remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | User | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mgu2mub0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mgu2mub0/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Remove multiple RPMs by names with glob -- @1.2 # dnf/remove-pkgspec.feature:78 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y6uftgsf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y6uftgsf/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "remove glibc*" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | glibc-0:2.28-9.fc29.x86_64 | | remove-unused | setup-0:2.12.1-1.fc29.noarch | | remove-unused | filesystem-0:3.9-2.fc29.x86_64 | | remove-unused | basesystem-0:11-6.fc29.noarch | | remove | glibc-common-0:2.28-9.fc29.x86_64 | | remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | basesystem-0:11-6.fc29.noarch | Clean | @System | | Remove | filesystem-0:3.9-2.fc29.x86_64 | Clean | @System | | Remove | glibc-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | User | @System | | Remove | glibc-common-0:2.28-9.fc29.x86_64 | User | @System | | Remove | setup-0:2.12.1-1.fc29.noarch | Clean | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y6uftgsf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y6uftgsf/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/remove-pkgspec.feature:43 Remove an RPM by name -- @1.1 Name dnf/remove-pkgspec.feature:47 Remove an RPM by name-version -- @2.1 Other pkgspecs dnf/remove-pkgspec.feature:48 Remove an RPM by name-version-release -- @2.2 Other pkgspecs dnf/remove-pkgspec.feature:49 Remove an RPM by name-version-release.arch -- @2.3 Other pkgspecs dnf/remove-pkgspec.feature:50 Remove an RPM by name-epoch:version-release.arch -- @2.4 Other pkgspecs dnf/remove-pkgspec.feature:51 Remove an RPM by name.arch -- @2.5 Other pkgspecs dnf/remove-pkgspec.feature:52 Remove an RPM by pkgspec contining wildcards -- @2.6 Other pkgspecs dnf/remove-pkgspec.feature:77 Remove multiple RPMs by name -- @1.1 dnf/remove-pkgspec.feature:78 Remove multiple RPMs by names with glob -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 18 steps passed, 9 failed, 52 skipped Took 0min 0.411s USING RUNNER: behave.runner:Runner Feature: Better error message when TMPDIR is missing # dnf/removed-tmpdir.feature:1 @bz2019993 Scenario: show detailed error message when $TMPDIR does not exist # dnf/removed-tmpdir.feature:4 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | | | mirrorlist | {context.dnf.installroot}/tmp/mirrorlist | | gpgcheck | 0 | And I set environment variable "TMPDIR" to "/tmp/dummy.ABC123" # dnf/steps/cmd.py:53 When I execute dnf with args "repoquery empty --refresh" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2qjo3rsm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2qjo3rsm/var/cache/dnf repoquery empty --refresh And stdout is empty # None And stderr contains "Cannot create temporary file - mkstemp '/tmp/dummy.ABC123/librepo-tmp-*" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2qjo3rsm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2qjo3rsm/var/cache/dnf repoquery empty --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/removed-tmpdir.feature:4 show detailed error message when $TMPDIR does not exist 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 3 steps passed, 1 failed, 2 skipped Took 0min 0.143s USING RUNNER: behave.runner:Runner Feature: Configure repos through cmd line options # dnf/repo-cmdline-config.feature:1 Scenario: Exit with an error when trying to --enable-repo='*' when there are no repo files # dnf/repo-cmdline-config.feature:4 When I execute dnf with args "repo list --enable-repo='*'" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7nx8cu05 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7nx8cu05/var/cache/dnf repo list --enable-repo='*'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Exit with an error when trying to enable missing repo # dnf/repo-cmdline-config.feature:13 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --enable-repo='missing-repo'" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5nc5uet_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5nc5uet_/var/cache/dnf repo list --enable-repo='missing-repo'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Exit with an error when trying to enable multiple missing repos # dnf/repo-cmdline-config.feature:23 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --enable-repo='missing-repo1' --enable-repo='missing-repo2'" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ No matching repositories for missing-repo1, missing-repo2. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: No matching repositories for missing-repo1, missing-repo2. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found No matching repositories for missing-repo1, missing-repo2. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7hviz634 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7hviz634/var/cache/dnf repo list --enable-repo='missing-repo1' --enable-repo='missing-repo2'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enabling enabled repo is ok # dnf/repo-cmdline-config.feature:33 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --enable-repo='simple-base'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk4y7r5w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk4y7r5w/var/cache/dnf repo list --enable-repo='simple-base' And stdout is # None """ repo id repo name simple-base simple-base test repository """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk4y7r5w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk4y7r5w/var/cache/dnf repo list --enable-repo='simple-base'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Exit with an error when trying to --disable-repo='*' when there are no repo files # dnf/repo-cmdline-config.feature:44 When I execute dnf with args "repo list --disable-repo='*'" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xby69sap --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xby69sap/var/cache/dnf repo list --disable-repo='*'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Exit with an error when using --repo but there are no repositories # dnf/repo-cmdline-config.feature:56 When I execute dnf with args "repo list --repo='missing-repo'" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ No matching repositories for *, missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: No matching repositories for *, missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found No matching repositories for *, missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_criuph8i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_criuph8i/var/cache/dnf repo list --repo='missing-repo'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Exit with an error when --repo specifies invalid repository # dnf/repo-cmdline-config.feature:65 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --repo='missing-repo'" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g0nio_u5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g0nio_u5/var/cache/dnf repo list --repo='missing-repo'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Exit with an error when --setop specifies invalid repository # dnf/repo-cmdline-config.feature:75 When I execute dnf with args "repo list --setopt=missing-repo.best=true" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d_u0dd2a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d_u0dd2a/var/cache/dnf repo list --setopt=missing-repo.best=true  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Exit with an error when trying --setop for all repos but there are none # dnf/repo-cmdline-config.feature:84 When I execute dnf with args "repo list --setopt=*.best=true" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_82ih9xc4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_82ih9xc4/var/cache/dnf repo list --setopt=*.best=true  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repo-cmdline-config.feature:4 Exit with an error when trying to --enable-repo='*' when there are no repo files dnf/repo-cmdline-config.feature:13 Exit with an error when trying to enable missing repo dnf/repo-cmdline-config.feature:23 Exit with an error when trying to enable multiple missing repos dnf/repo-cmdline-config.feature:33 Enabling enabled repo is ok dnf/repo-cmdline-config.feature:44 Exit with an error when trying to --disable-repo='*' when there are no repo files dnf/repo-cmdline-config.feature:56 Exit with an error when using --repo but there are no repositories dnf/repo-cmdline-config.feature:65 Exit with an error when --repo specifies invalid repository dnf/repo-cmdline-config.feature:75 Exit with an error when --setop specifies invalid repository dnf/repo-cmdline-config.feature:84 Exit with an error when trying --setop for all repos but there are none 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 21 steps passed, 9 failed, 1 skipped Took 0min 0.368s USING RUNNER: behave.runner:Runner Feature: Test error handling related to repositories # dnf/repo-errors.feature:1 Scenario: Invalid character in ID in --repofrompath # dnf/repo-errors.feature:3 When I execute dnf with args "--repofrompath=a/b,URL list" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qg59lf2z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qg59lf2z/var/cache/dnf --repofrompath=a/b,URL list And stderr is # None """ Invalid repository id "a/b": unexpected character '/' """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qg59lf2z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qg59lf2z/var/cache/dnf --repofrompath=a/b,URL list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Duplicate ID in --repofrompath # dnf/repo-errors.feature:12 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "--repofrompath=simple-base,URL list" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_izahmuqw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_izahmuqw/var/cache/dnf --repofrompath=simple-base,URL list And stderr is # None """ Failed to create repo "simple-base": Id is present more than once in the configuration """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_izahmuqw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_izahmuqw/var/cache/dnf --repofrompath=simple-base,URL list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --disablerepo=* does not disable --repofrompath # dnf/repo-errors.feature:22 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --disablerepo=* --repofrompath=test,URL" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r1f1ztfr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r1f1ztfr/var/cache/dnf repo list --disablerepo=* --repofrompath=test,URL And stderr is empty # None And stdout is # None """ repo id repo name test test """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r1f1ztfr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r1f1ztfr/var/cache/dnf repo list --disablerepo=* --repofrompath=test,URL  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Duplicate repo ID in repo configuration # dnf/repo-errors.feature:34 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I create file "/{context.dnf.installroot}/etc/yum.repos.d/duplicate-id.repo" with # common/file.py:36 """ [simple-base] name = duplicate simple-base test repository enabled = 1 baseurl = file:///duplicate/repo/id """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zct0l98b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zct0l98b/var/cache/dnf repo list And stderr is empty # None And stdout is # None """ repo id repo name simple-base duplicate simple-base test repository """ And file "/var/log/dnf5.log" contains lines # None """ .*ERROR Failed to create repo "simple-base": Id is present more than once in the configuration """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zct0l98b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zct0l98b/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repo-errors.feature:3 Invalid character in ID in --repofrompath dnf/repo-errors.feature:12 Duplicate ID in --repofrompath dnf/repo-errors.feature:22 --disablerepo=* does not disable --repofrompath dnf/repo-errors.feature:34 Duplicate repo ID in repo configuration 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 7 skipped Took 0min 0.196s USING RUNNER: behave.runner:Runner Feature: Checking GPG signatures of repository metadata # dnf/repo-gpgcheck.feature:1 Feature: Checking GPG signatures of repository metadata # dnf/repo-gpgcheck.feature:1 Scenario: Remote gpg key is imported for local repo # dnf/repo-gpgcheck.feature:8 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_osp9ei1w/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_osp9ei1w/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_osp9ei1w/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_osp9ei1w/gpg_home' And I start http server "key_server" at "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg" # dnf/steps/server.py:26 Given I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 0 | | repo_gpgcheck | 1 | | gpgkey | http://localhost:{context.dnf.ports[key_server]}/dnf-ci-gpg-public | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_osp9ei1w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_osp9ei1w/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | And stderr contains "The key was successfully imported." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_osp9ei1w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_osp9ei1w/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remote gpg key is imported for remote repo # dnf/repo-gpgcheck.feature:22 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_ei76a1l7/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_ei76a1l7/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_ei76a1l7/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_ei76a1l7/gpg_home' And I start http server "key_server" at "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg" # dnf/steps/server.py:26 Given I configure repository "simple-base" with # dnf/steps/repo.py:197 | key | value | | pkg_gpgcheck | 0 | | repo_gpgcheck | 1 | | gpgkey | http://localhost:{context.dnf.ports[key_server]}/dnf-ci-gpg-public | And I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ei76a1l7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ei76a1l7/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | And stderr contains "The key was successfully imported." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ei76a1l7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ei76a1l7/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remote gpg key is imported for already cached repo # dnf/repo-gpgcheck.feature:37 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_hihtgq0l/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_hihtgq0l/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_hihtgq0l/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_hihtgq0l/gpg_home' And I start http server "key_server" at "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg" # dnf/steps/server.py:26 Given I configure repository "simple-base" with # dnf/steps/repo.py:197 | key | value | | pkg_gpgcheck | 0 | | repo_gpgcheck | 0 | | gpgkey | http://localhost:{context.dnf.ports[key_server]}/dnf-ci-gpg-public | And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hihtgq0l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hihtgq0l/var/cache/dnf install labirinto And I configure repository "simple-base" with # None | key | value | | repo_gpgcheck | 1 | When I execute dnf with args "reinstall labirinto" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | labirinto-0:1.0-1.fc29.x86_64 | And stderr contains "The key was successfully imported." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hihtgq0l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hihtgq0l/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Local key outside the trusted directory still asks for confirmation when auto_import_local_keys is enabled # dnf/repo-gpgcheck.feature:58 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_eenplo1k/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_eenplo1k/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_eenplo1k/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_eenplo1k/gpg_home' And I start http server "key_server" at "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg" # dnf/steps/server.py:26 Given I do not assume yes # dnf/steps/cmd.py:164 And I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 0 | | repo_gpgcheck | 1 | | auto_import_local_keys | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 --installroot=/tmp/dnf_ci_installroot_eenplo1k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eenplo1k/var/cache/dnf makecache And stderr contains "Importing OpenPGP key" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 --installroot=/tmp/dnf_ci_installroot_eenplo1k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eenplo1k/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remote key still asks for confirmation when auto_import_local_keys is enabled # dnf/repo-gpgcheck.feature:71 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_y5yhx1wj/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_y5yhx1wj/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_y5yhx1wj/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_y5yhx1wj/gpg_home' And I start http server "key_server" at "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg" # dnf/steps/server.py:26 Given I do not assume yes # dnf/steps/cmd.py:164 And I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 0 | | repo_gpgcheck | 1 | | auto_import_local_keys | 1 | | gpgkey | http://localhost:{context.dnf.ports[key_server]}/dnf-ci-gpg-public | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 --installroot=/tmp/dnf_ci_installroot_y5yhx1wj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y5yhx1wj/var/cache/dnf makecache And stderr contains "Importing OpenPGP key" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 --installroot=/tmp/dnf_ci_installroot_y5yhx1wj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y5yhx1wj/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo metadata re-signed with a different key trigger another key import # dnf/repo-gpgcheck.feature:84 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_ykk2vp4k/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_ykk2vp4k/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_ykk2vp4k/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_ykk2vp4k/gpg_home' And I start http server "key_server" at "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg" # dnf/steps/server.py:26 Given I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public" to "//{context.dnf.tempdir}/keys/repokey.pub" # common/file.py:157 And I start http server "mutable_key_server" at "{context.dnf.tempdir}/keys" # dnf/steps/server.py:26 And I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-private" # dnf/steps/repo.py:431 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_ykk2vp4k/gpg_home' gpg: keybox '/tmp/dnf_ci_installroot_ykk2vp4k/gpg_home/pubring.kbx' created gpg: /tmp/dnf_ci_installroot_ykk2vp4k/gpg_home/trustdb.gpg: trustdb created gpg: key 7A0606D83417BDF6: public key "dnf-ci-gpg" imported gpg: key 7A0606D83417BDF6: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: WARNING: unsafe permissions on homedir '/tmp/dnf_ci_installroot_ykk2vp4k/gpg_home' And I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 0 | | repo_gpgcheck | 1 | | gpgkey | http://localhost:{context.dnf.ports[mutable_key_server]}/repokey.pub | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ykk2vp4k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ykk2vp4k/var/cache/dnf makecache And stderr contains "The key was successfully imported." # None Given I sign repository "simple-base" metadata with "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-updates/dnf-ci-gpg-updates-private" # None And I copy file "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-updates/dnf-ci-gpg-updates-public" to "//{context.dnf.tempdir}/keys/repokey.pub" # None When I execute dnf with args "makecache --refresh" # None Then the exit code is 0 # None And stderr contains "The key was successfully imported." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ykk2vp4k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ykk2vp4k/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repo-gpgcheck.feature:8 Remote gpg key is imported for local repo dnf/repo-gpgcheck.feature:22 Remote gpg key is imported for remote repo dnf/repo-gpgcheck.feature:37 Remote gpg key is imported for already cached repo dnf/repo-gpgcheck.feature:58 Local key outside the trusted directory still asks for confirmation when auto_import_local_keys is enabled dnf/repo-gpgcheck.feature:71 Remote key still asks for confirmation when auto_import_local_keys is enabled dnf/repo-gpgcheck.feature:84 Repo metadata re-signed with a different key trigger another key import 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 36 steps passed, 6 failed, 17 skipped Took 0min 1.252s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 54 leaked semaphore objects to clean up at shutdown: {'/mp-oxrautgc', '/mp-_usurxxw', '/mp-no5hwh9l', '/mp-6unblogg', '/mp-llf7a99w', '/mp-_f2ie5ex', '/mp-ces5815j', '/mp-kt9qvqf7', '/mp-f5voadi2', '/mp-t97dgite', '/mp-sk8zn3ki', '/mp-10jjts_v', '/mp-fjpxeq6u', '/mp-pcbcguc2', '/mp-mxqx54a_', '/mp-p1f_e_a3', '/mp-qj9zo9rz', '/mp-x9pps19d', '/mp-x4oe1g3u', '/mp-h4wceowu', '/mp-xu19sb8o', '/mp-fk5numv6', '/mp-miw1k0iv', '/mp-b_43gegr', '/mp-o8yckzn8', '/mp-1wcvp6eq', '/mp-x3s3q43v', '/mp-g0ddhr5x', '/mp-edqezrqr', '/mp-4m3chusi', '/mp-hdnrrrhb', '/mp-vmqrgvzf', '/mp-xx73fl7k', '/mp-qhwvc3k4', '/mp-y11zxfcn', '/mp-z1bfw9hh', '/mp-qqf592kd', '/mp-fod3wcyn', '/mp-jfmyq2oq', '/mp-ebv16uue', '/mp-btazppdu', '/mp-v4keu1z6', '/mp-2qbup04j', '/mp-gimiuxew', '/mp-losorns6', '/mp-fh6whndu', '/mp-d225ogqp', '/mp-f4r8faro', '/mp-vv6mo6a3', '/mp-21j8bip5', '/mp-7htvtosz', '/mp-kfmsz7ds', '/mp-1jq1w7e8', '/mp-0rx7xi3v'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Repo command with --json option # dnf/repo-json.feature:1 Feature: Repo command with --json option # dnf/repo-json.feature:1 Scenario: Repo info without arguments --json # dnf/repo-json.feature:15 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo info --json" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ddh9g2n1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ddh9g2n1/var/cache/dnf repo info --json And stdout json matches # None """ [ { "id":"dnf-ci-fedora", "name":"dnf-ci-fedora test repository", "is_enabled":true, "priority":99, "cost":1000, "type":"available", "exclude_pkgs":[], "include_pkgs":[], "timestamp":"*", "metadata_expire":172800, "skip_if_unavailable":false, "repo_file_path":"\/tmp\/dnf_ci_installroot_*\/etc\/yum.repos.d\/dnf-ci-fedora.repo", "base_url":[ "file:\/\/\/*\/dnf-behave-tests\/fixtures\/repos\/dnf-ci-fedora" ], "metalink":"", "mirrorlist":"", "gpg_key":[], "repo_gpgcheck":false, "pkg_gpgcheck":true, "available_pkgs":289, "pkgs":289, "size":"*", "content_tags":[], "distro_tags":[], "revision":"1550000000", "max_timestamp":"*" }, { "id":"dnf-ci-thirdparty-updates", "name":"dnf-ci-thirdparty-updates test repository", "is_enabled":true, "priority":99, "cost":1000, "type":"available", "exclude_pkgs":[], "include_pkgs":[], "timestamp":"*", "metadata_expire":172800, "skip_if_unavailable":false, "repo_file_path":"\/tmp\/dnf_ci_installroot_*\/etc\/yum.repos.d\/dnf-ci-thirdparty-updates.repo", "base_url":[ "file:\/\/\/*\/dnf-behave-tests\/fixtures\/repos\/dnf-ci-thirdparty-updates" ], "metalink":"", "mirrorlist":"", "gpg_key":[], "repo_gpgcheck":false, "pkg_gpgcheck":true, "available_pkgs":6, "pkgs":6, "size":"*", "content_tags":[], "distro_tags":[], "revision":"1550000000", "max_timestamp":"*" } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ddh9g2n1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ddh9g2n1/var/cache/dnf repo info --json  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list without arguments --json # dnf/repo-json.feature:83 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --json" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5ovn2twj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5ovn2twj/var/cache/dnf repo list --json And stdout json matches # None """ [ { "id":"dnf-ci-fedora", "name":"dnf-ci-fedora test repository", "is_enabled":true }, { "id":"dnf-ci-thirdparty-updates", "name":"dnf-ci-thirdparty-updates test repository", "is_enabled":true } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5ovn2twj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5ovn2twj/var/cache/dnf repo list --json  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list without arguments --json --all # dnf/repo-json.feature:103 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --json --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xv4hsas7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xv4hsas7/var/cache/dnf repo list --json --all And stdout json matches # None """ [ { "id":"dnf-ci-fedora-updates", "name":"dnf-ci-fedora-updates test repository", "is_enabled":false }, { "id":"dnf-ci-fedora", "name":"dnf-ci-fedora test repository", "is_enabled":true }, { "id":"dnf-ci-thirdparty-updates", "name":"dnf-ci-thirdparty-updates test repository", "is_enabled":true }, { "id":"dnf-ci-thirdparty", "name":"dnf-ci-thirdparty test repository", "is_enabled":false } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xv4hsas7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xv4hsas7/var/cache/dnf repo list --json --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo info --json doesn't print REPOSYNC to stdout # dnf/repo-json.feature:133 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo info --json --refresh" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8cqidr8u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8cqidr8u/var/cache/dnf repo info --json --refresh And stdout json matches # None """ [ { "id":"dnf-ci-fedora", "name":"dnf-ci-fedora test repository", "is_enabled":true, "priority":99, "cost":1000, "type":"available", "exclude_pkgs":[], "include_pkgs":[], "timestamp":"*", "metadata_expire":172800, "skip_if_unavailable":false, "repo_file_path":"\/tmp\/dnf_ci_installroot_*\/etc\/yum.repos.d\/dnf-ci-fedora.repo", "base_url":[ "file:\/\/\/*\/dnf-behave-tests\/fixtures\/repos\/dnf-ci-fedora" ], "metalink":"", "mirrorlist":"", "gpg_key":[], "repo_gpgcheck":false, "pkg_gpgcheck":true, "available_pkgs":289, "pkgs":289, "size":"*", "content_tags":[], "distro_tags":[], "revision":"1550000000", "max_timestamp":"*" }, { "id":"dnf-ci-thirdparty-updates", "name":"dnf-ci-thirdparty-updates test repository", "is_enabled":true, "priority":99, "cost":1000, "type":"available", "exclude_pkgs":[], "include_pkgs":[], "timestamp":"*", "metadata_expire":172800, "skip_if_unavailable":false, "repo_file_path":"\/tmp\/dnf_ci_installroot_*\/etc\/yum.repos.d\/dnf-ci-thirdparty-updates.repo", "base_url":[ "file:\/\/\/*\/dnf-behave-tests\/fixtures\/repos\/dnf-ci-thirdparty-updates" ], "metalink":"", "mirrorlist":"", "gpg_key":[], "repo_gpgcheck":false, "pkg_gpgcheck":true, "available_pkgs":6, "pkgs":6, "size":"*", "content_tags":[], "distro_tags":[], "revision":"1550000000", "max_timestamp":"*" } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8cqidr8u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8cqidr8u/var/cache/dnf repo info --json --refresh  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repo-json.feature:15 Repo info without arguments --json dnf/repo-json.feature:83 Repo list without arguments --json dnf/repo-json.feature:103 Repo list without arguments --json --all dnf/repo-json.feature:133 Repo info --json doesn't print REPOSYNC to stdout 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 20 steps passed, 4 failed, 4 skipped Took 0min 0.569s USING RUNNER: behave.runner:Runner Feature: correctly reading multiline repo config # dnf/repo-multiline-config.feature:1 Scenario: multiline config for gpg works with local repo # dnf/repo-multiline-config.feature:4 Given I use repository "dnf-ci-gpg" # dnf/steps/repo.py:186 And I create and substitute file "/etc/yum.repos.d/dnf-ci-gpg.repo" with # common/file.py:43 """ [dnf-ci-gpg] name=dnf-ci-gpg test repository enabled=1 baseurl=file://{context.dnf.fixturesdir}/repos/dnf-ci-gpg gpgcheck=1 gpgkey=file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fk2jmdfu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fk2jmdfu/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fk2jmdfu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fk2jmdfu/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1807864 Scenario: multiline config for gpg works with remote repo # dnf/repo-multiline-config.feature:24 Given I use repository "dnf-ci-gpg" as http # dnf/steps/repo.py:294 And I create and substitute file "/etc/yum.repos.d/dnf-ci-gpg.repo" with # common/file.py:43 """ [dnf-ci-gpg] name=dnf-ci-gpg test repository enabled=1 baseurl=http://localhost:{context.dnf.ports[dnf-ci-gpg]} gpgcheck=1 gpgkey=file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n2_krixg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n2_krixg/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n2_krixg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n2_krixg/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1807864 Scenario: multiline multivalue comma and space separated config for gpg works with remote repo # dnf/repo-multiline-config.feature:44 Given I use repository "dnf-ci-gpg" as http # dnf/steps/repo.py:294 And I create and substitute file "/etc/yum.repos.d/dnf-ci-gpg.repo" with # common/file.py:43 """ [dnf-ci-gpg] name=dnf-ci-gpg test repository enabled=1 baseurl=http://localhost:{context.dnf.ports[dnf-ci-gpg]} gpgcheck=1 gpgkey=file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-noeol/dnf-ci-gpg-noeol-public file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-subkey/dnf-ci-gpg-subkey-public, file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-updates/dnf-ci-gpg-updates-public """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6lnrlndx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6lnrlndx/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6lnrlndx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6lnrlndx/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: multiline config for baseurl # dnf/repo-multiline-config.feature:63 Given I use repository "dnf-ci-gpg" as http # dnf/steps/repo.py:294 And I create and substitute file "/etc/yum.repos.d/dnf-ci-gpg.repo" with # common/file.py:43 """ [dnf-ci-gpg] name=dnf-ci-gpg test repository enabled=1 baseurl=http://invalid.url file:///also/invalid file:///the/last/is/valid, http://localhost:{context.dnf.ports[dnf-ci-gpg]} gpgcheck=0 """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_odwhbjb3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_odwhbjb3/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_odwhbjb3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_odwhbjb3/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repo-multiline-config.feature:4 multiline config for gpg works with local repo dnf/repo-multiline-config.feature:24 multiline config for gpg works with remote repo dnf/repo-multiline-config.feature:44 multiline multivalue comma and space separated config for gpg works with remote repo dnf/repo-multiline-config.feature:63 multiline config for baseurl 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 12 steps passed, 4 failed, 4 skipped Took 0min 0.612s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 18 leaked semaphore objects to clean up at shutdown: {'/mp-p0np8vuz', '/mp-yli9365b', '/mp-eezz_dlf', '/mp-7r7pf55e', '/mp-2cskgel7', '/mp-dwyj6_7l', '/mp-itgm847j', '/mp-ix5fvt9y', '/mp-vxpa9y1o', '/mp-qtt_9hlg', '/mp-6dn0hn7h', '/mp-aqy0l1dj', '/mp-xgxo5a48', '/mp-qcto6dx1', '/mp-7483851q', '/mp-3fhg5g2s', '/mp-ro9fwk42', '/mp-yuqn93ca'} warnings.warn( USING RUNNER: behave.runner:Runner @xfail Feature: repo-packages check-update # dnf/repo-packages-check-update.feature:3 Scenario: check for updates - not available # dnf/repo-packages-check-update.feature:6 Scenario: check for updates in not enabled repo - available # dnf/repo-packages-check-update.feature:20 Scenario: check for updates in enabled repo - available # dnf/repo-packages-check-update.feature:42 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 27 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: repository-packages info # dnf/repo-packages-info.feature:3 Scenario: List info of all packages from repository # dnf/repo-packages-info.feature:6 Scenario: List all installed packages from repository # dnf/repo-packages-info.feature:31 Scenario: Single repository package info # dnf/repo-packages-info.feature:42 Scenario Outline: List repo extras - installed from repo, but not available anymore -- @1.1 # dnf/repo-packages-info.feature:82 Scenario Outline: List repo --extras - installed from repo, but not available anymore -- @1.2 # dnf/repo-packages-info.feature:83 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 5 skipped 0 steps passed, 0 failed, 79 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: repository-packages list installed packages from repository # dnf/repo-packages-list.feature:3 Scenario: List related packages to repo "dnf-ci-fedora" # dnf/repo-packages-list.feature:6 Scenario: List installed packages from repo "dnf-ci-fedora" # dnf/repo-packages-list.feature:20 Scenario: List available packages from repo "dnf-ci-fedora" # dnf/repo-packages-list.feature:31 Scenario: List packages from repo "dnf-ci-fedora-updates" that obsolete some installed packages # dnf/repo-packages-list.feature:42 Scenario: List packages from repo "dnf-ci-fedora-updates" that upgrade some installed packages # dnf/repo-packages-list.feature:53 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 5 skipped 0 steps passed, 0 failed, 44 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: repository-packages reinstall-old # dnf/repo-packages-reinstall.feature:3 Scenario: reinstall-old packages from repository # dnf/repo-packages-reinstall.feature:6 Scenario: fail reinstall-old packages from non existing repository # dnf/repo-packages-reinstall.feature:30 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 14 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: repo-packages remove-or-distro-sync # dnf/repo-packages-remove-or-distro-sync.feature:3 Scenario: Sync package to latest version in available repositories # dnf/repo-packages-remove-or-distro-sync.feature:6 Scenario: Remove repository package because it's not available in other repositories # dnf/repo-packages-remove-or-distro-sync.feature:28 Scenario: Remove and distro-sync packages from a repository # dnf/repo-packages-remove-or-distro-sync.feature:44 Scenario: Fail on no package installed from the repo # dnf/repo-packages-remove-or-distro-sync.feature:68 Scenario: Fail on a non-existent package # dnf/repo-packages-remove-or-distro-sync.feature:80 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 5 skipped 0 steps passed, 0 failed, 33 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: repo-packages remove-or-reinstall # dnf/repo-packages-remove-or-reinstall.feature:3 Scenario: remove-or-reinstall all packages from repository # dnf/repo-packages-remove-or-reinstall.feature:6 Scenario: Remove single package from repository # dnf/repo-packages-remove-or-reinstall.feature:37 Scenario: Reinstall single package from repository # dnf/repo-packages-remove-or-reinstall.feature:51 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 24 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: repo-packages remove # dnf/repo-packages-remove.feature:3 Scenario: Remove packages from available repository, also remove their # dnf/repo-packages-remove.feature:6 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 8 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: repo-packages upgrade # dnf/repo-packages-upgrade.feature:3 Scenario: upgrade packages from not enabled repo # dnf/repo-packages-upgrade.feature:6 Scenario: upgrade packages from enabled repo # dnf/repo-packages-upgrade.feature:30 Scenario: repository-packages upgrade doesn't reinstall a pkg if it has same nevra but different vendor or build-time # dnf/repo-packages-upgrade.feature:57 Scenario: repository-packages upgrade with --nobest upgrades packages that can be upgraded # dnf/repo-packages-upgrade.feature:66 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 28 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Repositories with priorities # dnf/repo-priorities.feature:1 Feature: Repositories with priorities # dnf/repo-priorities.feature:1 Scenario: Install an RPM from the highest-priority repository and ensure that upgrade will not install update from the lower priority repository # dnf/repo-priorities.feature:16 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_okk9g578 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_okk9g578/var/cache/dnf install flac And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-2.fc29.x86_64 | When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_okk9g578 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_okk9g578/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an RPM of specific version from lower-priority repository # dnf/repo-priorities.feature:27 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install flac-1.3.3-3.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6li62ac8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6li62ac8/var/cache/dnf install flac-1.3.3-3.fc29 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6li62ac8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6li62ac8/var/cache/dnf install flac-1.3.3-3.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install RPMs from different highest-priority repositories # dnf/repo-priorities.feature:35 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install flac *system" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nqkkv6k0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nqkkv6k0/var/cache/dnf install flac *system And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-2.fc29.x86_64 | | install | filesystem-0:3.9-2.fc29.x86_64 | | install | basesystem-0:11-6.fc29.noarch | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nqkkv6k0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nqkkv6k0/var/cache/dnf install flac *system  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install an RPM and its dependencies from the proper highest-priority repositories # dnf/repo-priorities.feature:46 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_91ytnwju --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_91ytnwju/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_91ytnwju --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_91ytnwju/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from the highest-priority repository # dnf/repo-priorities.feature:59 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install flac-1.3.3-1.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a8furhx7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a8furhx7/var/cache/dnf install flac-1.3.3-1.fc29 And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-1.fc29.x86_64 | When I execute dnf with args "upgrade flac" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a8furhx7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a8furhx7/var/cache/dnf install flac-1.3.3-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1733582 Scenario: Do not upgrade installonly package from lower-priority repository # dnf/repo-priorities.feature:73 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install kernel-core" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n09w_fy0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n09w_fy0/var/cache/dnf install kernel-core And Transaction is following # None | Action | Package | | install | kernel-core-0:4.18.16-300.fc29.x86_64 | When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n09w_fy0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n09w_fy0/var/cache/dnf install kernel-core  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM to specific version from lower-priority repository # dnf/repo-priorities.feature:84 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kwi7p_tt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kwi7p_tt/var/cache/dnf install flac And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-2.fc29.x86_64 | When I execute dnf with args "upgrade flac-1.3.3-3.fc29" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kwi7p_tt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kwi7p_tt/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade RPMs from different highest-priority repositories # dnf/repo-priorities.feature:97 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install setup glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7jjpqqy8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7jjpqqy8/var/cache/dnf install setup glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I drop repository "dnf-ci-priority-1" # None When I execute dnf with args "upgrade setup glibc" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | setup-0:2.12.1-2.fc29.noarch | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7jjpqqy8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7jjpqqy8/var/cache/dnf install setup glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade an RPM from the highest-priority repository # dnf/repo-priorities.feature:119 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install glibc-2.28-27.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_stmz0zau --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_stmz0zau/var/cache/dnf install glibc-2.28-27.fc29 And Transaction is following # None | Action | Package | | install | glibc-0:2.28-27.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-27.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-27.fc29.x86_64 | When I execute dnf with args "downgrade glibc" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | glibc-0:2.28-9.fc29.x86_64 | | downgrade | glibc-common-0:2.28-9.fc29.x86_64 | | downgrade | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_stmz0zau --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_stmz0zau/var/cache/dnf install glibc-2.28-27.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade an RPM to specific version from lower-priority repository # dnf/repo-priorities.feature:139 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_apkr0999 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_apkr0999/var/cache/dnf install flac And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-2.fc29.x86_64 | When I execute dnf with args "downgrade flac-1.3.3-1.fc29" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_apkr0999 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_apkr0999/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Downgrade RPMs from different highest-priority repositories # dnf/repo-priorities.feature:152 Given I use repository "dnf-ci-priority-1" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "dnf-ci-priority-2" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I use repository "dnf-ci-priority-3" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 3 | When I execute dnf with args "install setup-2.12.1-2.fc29 flac-1.3.3-3.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_19qcm5nb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_19qcm5nb/var/cache/dnf install setup-2.12.1-2.fc29 flac-1.3.3-3.fc29 And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-2.fc29.noarch | | install | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "downgrade setup flac" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | setup-0:2.12.1-1.fc29.noarch | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_19qcm5nb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_19qcm5nb/var/cache/dnf install setup-2.12.1-2.fc29 flac-1.3.3-3.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repo-priorities.feature:16 Install an RPM from the highest-priority repository and ensure that upgrade will not install update from the lower priority repository dnf/repo-priorities.feature:27 Install an RPM of specific version from lower-priority repository dnf/repo-priorities.feature:35 Install RPMs from different highest-priority repositories dnf/repo-priorities.feature:46 Install an RPM and its dependencies from the proper highest-priority repositories dnf/repo-priorities.feature:59 Upgrade an RPM from the highest-priority repository dnf/repo-priorities.feature:73 Do not upgrade installonly package from lower-priority repository dnf/repo-priorities.feature:84 Upgrade an RPM to specific version from lower-priority repository dnf/repo-priorities.feature:97 Upgrade RPMs from different highest-priority repositories dnf/repo-priorities.feature:119 Downgrade an RPM from the highest-priority repository dnf/repo-priorities.feature:139 Downgrade an RPM to specific version from lower-priority repository dnf/repo-priorities.feature:152 Downgrade RPMs from different highest-priority repositories 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 11 failed, 0 skipped 44 steps passed, 11 failed, 36 skipped Took 0min 0.642s USING RUNNER: behave.runner:Runner Feature: Tests for the repository syncing functionality # dnf/repo-sync.feature:1 Feature: Tests for the repository syncing functionality # dnf/repo-sync.feature:1 @bz1763663 @bz1679509 @bz1692452 Scenario: The default value of skip_if_unavailable is False # dnf/repo-sync.feature:14 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | reposdir | /testrepos | And I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | /non/existent/repo | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qm93doy9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qm93doy9/var/cache/dnf makecache And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found Failed to download metadata \(baseurl: "/non/existent/repo"\) for repository "testrepo": Usable URL not found """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qm93doy9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qm93doy9/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1689931 Scenario: There is global skip_if_unavailable option # dnf/repo-sync.feature:33 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | reposdir | /testrepos | | skip_if_unavailable | True | And I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | /non/existent/repo | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k9lwx1lg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k9lwx1lg/var/cache/dnf makecache And stdout is # None """ Metadata cache created. """ And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k9lwx1lg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k9lwx1lg/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Per repo skip_if_unavailable configuration # dnf/repo-sync.feature:56 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | reposdir | /testrepos | And I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | /non/existent/repo | | skip_if_unavailable | True | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iwk5zfp4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iwk5zfp4/var/cache/dnf makecache And stdout is # None """ Metadata cache created. """ And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iwk5zfp4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iwk5zfp4/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1689931 Scenario: The repo configuration takes precedence over the global one # dnf/repo-sync.feature:80 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | reposdir | /testrepos | | skip_if_unavailable | True | And I configure a new repository "testrepo" in "{context.dnf.installroot}/testrepos" with # dnf/steps/repo.py:258 | key | value | | baseurl | /non/existent/repo | | skip_if_unavailable | False | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0m3ae_7l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0m3ae_7l/var/cache/dnf makecache And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found Failed to download metadata \(baseurl: "/non/existent/repo"\) for repository "testrepo": Usable URL not found """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0m3ae_7l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0m3ae_7l/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1741442 @bz1752362 Scenario: Test repo_gpgcheck=1 error if repomd.xml.asc is not present # dnf/repo-sync.feature:102 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | repo_gpgcheck | 1 | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wdoa_exn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wdoa_exn/var/cache/dnf makecache And stderr contains ">>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/dnf-ci-fedora/repodata/repomd.xml.asc" # None And stderr contains ">>> GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification:" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wdoa_exn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wdoa_exn/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1713627 @xfail Scenario: Missing baseurl/metalink/mirrorlist # dnf/repo-sync.feature:115 @bz1605117 @bz1713627 Scenario: Nonexistent GPG key # dnf/repo-sync.feature:138 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | gpgkey | file:///nonexistentkey | | repo_gpgcheck | 1 | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5gsdkq3t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5gsdkq3t/var/cache/dnf makecache And stderr contains "Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repos/dnf-ci-fedora/repodata/repomd.xml.asc" # None And stderr contains ">>> GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification:" # None When I execute dnf with args "makecache --setopt=*.skip_if_unavailable=1" # None Then the exit code is 0 # None And stderr contains "Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repos/dnf-ci-fedora/repodata/repomd.xml.asc" # None And stderr contains ">>> GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification:" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5gsdkq3t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5gsdkq3t/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1713627 Scenario: Mirrorlist with invalid mirrors # dnf/repo-sync.feature:156 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I create file "/tmp/mirrorlist" with # common/file.py:36 """ file:///nonexistent.repo http://127.0.0.1:5000/nonexistent """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | | | mirrorlist | {context.dnf.installroot}/tmp/mirrorlist | | gpgcheck | 0 | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rr9lmoa5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rr9lmoa5/var/cache/dnf makecache And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///nonexistent.repo/repodata/repomd.xml .* >>> Curl error \(7\): (Couldn't|Could not) connect to server for http://127.0.0.1:5000/nonexistent/repodata/repomd.xml .* >>> Curl error \(7\): (Couldn't|Could not) connect to server for http://127.0.0.1:5000/nonexistent/repodata/repomd.xml .* >>> Curl error \(7\): (Couldn't|Could not) connect to server for http://127.0.0.1:5000/nonexistent/repodata/repomd.xml .* >>> Usable URL not found Failed to download metadata \(mirrorlist: ".*/tmp/mirrorlist"\) for repository "dnf-ci-fedora": Usable URL not found """ When I execute dnf with args "makecache --setopt=*.skip_if_unavailable=1" # None Then the exit code is 0 # None And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///nonexistent.repo/repodata/repomd.xml .* >>> Curl error \(7\): (Couldn't|Could not) connect to server for http://127.0.0.1:5000/nonexistent/repodata/repomd.xml .* >>> Curl error \(7\): (Couldn't|Could not) connect to server for http://127.0.0.1:5000/nonexistent/repodata/repomd.xml .* >>> Curl error \(7\): (Couldn't|Could not) connect to server for http://127.0.0.1:5000/nonexistent/repodata/repomd.xml .* >>> Usable URL not found Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rr9lmoa5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rr9lmoa5/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Mirrorlist with invalid mirrors and one good mirror # dnf/repo-sync.feature:193 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I create and substitute file "/tmp/mirrorlist" with # common/file.py:43 """ file:///nonexistent.repo http://127.0.0.1:5000/nonexistent file://{context.scenario.repos_location}/dnf-ci-fedora """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | | | mirrorlist | {context.dnf.installroot}/tmp/mirrorlist | | gpgcheck | 0 | When I execute dnf with args "makecache" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wv79kdrn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wv79kdrn/var/cache/dnf makecache And stdout is # None """ Metadata cache created. """ And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///nonexistent.repo/repodata/repomd.xml .* >>> Curl error \(7\): (Couldn't|Could not) connect to server for http://127.0.0.1:5000/nonexistent/repodata/repomd.xml .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///nonexistent.repo/repodata/primary.xml.zst .* >>> Curl error \(7\): (Couldn't|Could not) connect to server for http://127.0.0.1:5000/nonexistent/repodata/primary.xml.zst .* Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wv79kdrn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wv79kdrn/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: working and unavailable repos together with skip_if_unavailable enabled # dnf/repo-sync.feature:222 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | /non/existent/repo | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4lvfn_4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4lvfn_4_/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1 And stdout is # None """ dwm-0:6.1-1.x86_64 """ And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found dnf-ci-fedora test repository .* Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4lvfn_4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4lvfn_4_/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: working and unavailable repos together with skip_if_unavailable disabled # dnf/repo-sync.feature:243 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | /non/existent/repo | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d2cxp2mn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d2cxp2mn/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0 And stdout is empty # None And stderr matches line by line # None """ >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found dnf-ci-fedora test repository .* Failed to download metadata \(baseurl: "/non/existent/repo"\) for repository "dnf-ci-fedora-updates": Usable URL not found """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d2cxp2mn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d2cxp2mn/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: two unavailable repos with skip_if_unavailable enabled # dnf/repo-sync.feature:261 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | /non/existent/repo | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | /non/existent/repo | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g2mkbt1x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g2mkbt1x/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1 And stdout is empty # None And stderr contains lines matching # None """ Updating and loading repositories: dnf-ci-fedora-updates test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found dnf-ci-fedora test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g2mkbt1x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g2mkbt1x/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: two unavailable repos with skip_if_unavailable disabled, it attempts to download both repomds but in the end only one error is reported # dnf/repo-sync.feature:284 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | /non/existent/repo | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | /non/existent/repo | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zb5rgptl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zb5rgptl/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0 And stdout is empty # None And stderr contains lines matching # None """ Updating and loading repositories: dnf-ci-fedora-updates test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found dnf-ci-fedora test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///non/existent/repo/repodata/repomd.xml \[(Couldn't|Could not) open file /non/existent/repo/repodata/repomd.xml\] - file:///non/existent/repo/repodata/repomd.xml >>> Usable URL not found Failed to download metadata \(baseurl: "/non/existent/repo"\) for repository "dnf-ci-fedora.*": Usable URL not found """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zb5rgptl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zb5rgptl/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: working and broken repo together with skip_if_unavailable enabled # dnf/repo-sync.feature:307 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I copy repository "dnf-ci-fedora-updates" for modification # dnf/steps/repo.py:238 And I delete file "/{context.dnf.repos[dnf-ci-fedora-updates].path}/repodata/primary.xml.zst" # common/file.py:58 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4hj4cpdy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4hj4cpdy/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1 And stdout is # None """ dwm-0:6.1-1.x86_64 """ And stderr contains lines matching # None """ Updating and loading repositories: dnf-ci-fedora test repository .* dnf-ci-fedora-updates test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/primary.xml.zst \[(Couldn't|Could not) open file .*/repodata/primary.xml.zst\] - file:///.*/repodata/primary.xml.zst >>> No more mirrors to try - All mirrors were already tried without success Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4hj4cpdy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4hj4cpdy/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: working and broken repo together with skip_if_unavailable disabled # dnf/repo-sync.feature:329 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I copy repository "dnf-ci-fedora-updates" for modification # dnf/steps/repo.py:238 And I delete file "/{context.dnf.repos[dnf-ci-fedora-updates].path}/repodata/primary.xml.zst" # common/file.py:58 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ghwzwfjx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ghwzwfjx/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0 And stdout is empty # None And stderr contains lines matching # None """ Updating and loading repositories: dnf-ci-fedora test repository .* dnf-ci-fedora-updates test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/primary.xml.zst \[(Couldn't|Could not) open file .*/repodata/primary.xml.zst\] - file:///.*/repodata/primary.xml.zst >>> No more mirrors to try - All mirrors were already tried without success Failed to download metadata \(baseurl: "file:///.*/dnf-ci-fedora.*"\) for repository "dnf-ci-fedora.*": Cannot download, all mirrors were already tried without success """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ghwzwfjx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ghwzwfjx/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: two broken repos together with skip_if_unavailable enabled # dnf/repo-sync.feature:348 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I delete file "/{context.dnf.repos[dnf-ci-fedora].path}/repodata/primary.xml.zst" # common/file.py:58 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I copy repository "dnf-ci-fedora-updates" for modification # dnf/steps/repo.py:238 And I delete file "/{context.dnf.repos[dnf-ci-fedora-updates].path}/repodata/primary.xml.zst" # common/file.py:58 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_za95jq72 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_za95jq72/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1 And stdout is empty # None And stderr contains lines matching # None """ Updating and loading repositories: dnf-ci-fedora-updates test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/primary.xml.zst \[(Couldn't|Could not) open file .*/repodata/primary.xml.zst\] - file:///.*/repodata/primary.xml.zst >>> No more mirrors to try - All mirrors were already tried without success dnf-ci-fedora test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/primary.xml.zst \[(Couldn't|Could not) open file .*/repodata/primary.xml.zst\] - file:///.*/repodata/primary.xml.zst >>> No more mirrors to try - All mirrors were already tried without success Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_za95jq72 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_za95jq72/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: two broken repos together with skip_if_unavailable enabled # dnf/repo-sync.feature:371 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I copy repository "dnf-ci-fedora" for modification # dnf/steps/repo.py:238 And I delete file "/{context.dnf.repos[dnf-ci-fedora].path}/repodata/primary.xml.zst" # common/file.py:58 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I copy repository "dnf-ci-fedora-updates" for modification # dnf/steps/repo.py:238 And I delete file "/{context.dnf.repos[dnf-ci-fedora-updates].path}/repodata/primary.xml.zst" # common/file.py:58 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a74ryosa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a74ryosa/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0 And stdout is empty # None And stderr contains lines matching # None """ Updating and loading repositories: dnf-ci-fedora-updates test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/primary.xml.zst \[(Couldn't|Could not) open file .*/repodata/primary.xml.zst\] - file:///.*/repodata/primary.xml.zst >>> No more mirrors to try - All mirrors were already tried without success dnf-ci-fedora test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/primary.xml.zst \[(Couldn't|Could not) open file .*/repodata/primary.xml.zst\] - file:///.*/repodata/primary.xml.zst >>> No more mirrors to try - All mirrors were already tried without success Failed to download metadata \(baseurl: "file:///.*/dnf-ci-fedora.*"\) for repository "dnf-ci-fedora.*": Cannot download, all mirrors were already tried without success """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a74ryosa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a74ryosa/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: working repo and repo with missing repomd.xml.asc with skip_if_unavailable enabled # dnf/repo-sync.feature:394 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | repo_gpgcheck | 1 | And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e71b_f1n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e71b_f1n/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1 And stdout is # None """ dwm-0:6.1-1.x86_64 """ And stderr contains lines matching # None """ Updating and loading repositories: dnf-ci-fedora-updates test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/repomd.xml.asc \[(Couldn't|Could not) open file .*/repodata/repomd.xml.asc\] - file:///.*/repodata/repomd.xml.asc >>> GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification: .* dnf-ci-fedora test repository .* Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e71b_f1n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e71b_f1n/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: working repo and repo with missing repomd.xml.asc with skip_if_unavailable disabled # dnf/repo-sync.feature:416 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | repo_gpgcheck | 1 | And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4q99p30x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4q99p30x/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0 And stdout is empty # None And stderr contains lines matching # None """ Updating and loading repositories: dnf-ci-fedora-updates test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/repomd.xml.asc \[(Couldn't|Could not) open file .*/repodata/repomd.xml.asc\] - file:///.*/repodata/repomd.xml.asc >>> GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification: .* dnf-ci-fedora test repository .* Failed to download metadata \(baseurl: "file:///.*/repos/dnf-ci-fedora-updates"\) for repository "dnf-ci-fedora-updates": GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification: Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repos/dnf-ci-fedora-updates/repodata/repomd.xml.asc \[(Couldn't|Could not) open file /.*/repos/dnf-ci-fedora-updates/repodata/repomd.xml.asc\] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4q99p30x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4q99p30x/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: working repo and repo without any mirror or baseurl is an error when skip_if_unavailable is 1 -- @1.1 # dnf/repo-sync.feature:451 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | enabled | True | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lq4pot5r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lq4pot5r/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1 And stdout is empty # None And stderr is # None """ Updating and loading repositories: Failed to set up metadata download No valid source (baseurl, mirrorlist or metalink) found for repository "testrepo" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lq4pot5r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lq4pot5r/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: working repo and repo without any mirror or baseurl is an error when skip_if_unavailable is 0 -- @1.2 # dnf/repo-sync.feature:452 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | enabled | True | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p056wz3g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p056wz3g/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0 And stdout is empty # None And stderr is # None """ Updating and loading repositories: Failed to set up metadata download No valid source (baseurl, mirrorlist or metalink) found for repository "testrepo" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p056wz3g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p056wz3g/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: working repo and repo with invalid baseurl is an error when skip_if_unavailable is 1 -- @1.1 # dnf/repo-sync.feature:473 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | enabled | True | | baseurl | invalid | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j9nt41ew --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j9nt41ew/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1 And stdout is empty # None And stderr is # None """ Updating and loading repositories: Failed to download metadata Librepo error: Empty mirrorlist and no basepath specified! """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j9nt41ew --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j9nt41ew/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: working repo and repo with invalid baseurl is an error when skip_if_unavailable is 0 -- @1.2 # dnf/repo-sync.feature:474 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | enabled | True | | baseurl | invalid | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rzwaveql --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rzwaveql/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0 And stdout is empty # None And stderr is # None """ Updating and loading repositories: Failed to download metadata Librepo error: Empty mirrorlist and no basepath specified! """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rzwaveql --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rzwaveql/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: working repo and repo with absolute path baseurl to a missing file when skip_if_unavailable is enabled # dnf/repo-sync.feature:477 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | enabled | True | | baseurl | file:///nfsmount/repo | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9k44iqi5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9k44iqi5/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1 And stdout is # None """ dwm-0:6.1-1.x86_64 """ And stderr contains lines matching # None """ Updating and loading repositories: testrepo test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/repomd.xml \[(Couldn't|Could not) open file .*/repodata/repomd.xml\] - file:///.*/repodata/repomd.xml >>> Usable URL not found dnf-ci-fedora test repository .* Repositories loaded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9k44iqi5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9k44iqi5/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: working repo and repo with absolute path baseurl to a missing file when skip_if_unavailable is disabled # dnf/repo-sync.feature:501 Given I set environment variable "DNF5_FORCE_COLUMNS" to "500" # dnf/steps/cmd.py:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | enabled | True | | baseurl | file:///nfsmount/repo | When I execute dnf with args "rq dwm.x86_64 --setopt=skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_evuswup4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_evuswup4/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0 And stderr contains lines matching # None """ Updating and loading repositories: testrepo test repository .* >>> Curl error \(37\): (Couldn't|Could not) read a file:// file for file:///.*/repodata/repomd.xml \[(Couldn't|Could not) open file .*/repodata/repomd.xml\] - file:///.*/repodata/repomd.xml >>> Usable URL not found dnf-ci-fedora test repository .* Failed to download metadata \(baseurl: "file:///nfsmount/repo"\) for repository "testrepo": Usable URL not found """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_evuswup4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_evuswup4/var/cache/dnf rq dwm.x86_64 --setopt=skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repo-sync.feature:14 The default value of skip_if_unavailable is False dnf/repo-sync.feature:33 There is global skip_if_unavailable option dnf/repo-sync.feature:56 Per repo skip_if_unavailable configuration dnf/repo-sync.feature:80 The repo configuration takes precedence over the global one dnf/repo-sync.feature:102 Test repo_gpgcheck=1 error if repomd.xml.asc is not present dnf/repo-sync.feature:138 Nonexistent GPG key dnf/repo-sync.feature:156 Mirrorlist with invalid mirrors dnf/repo-sync.feature:193 Mirrorlist with invalid mirrors and one good mirror dnf/repo-sync.feature:222 working and unavailable repos together with skip_if_unavailable enabled dnf/repo-sync.feature:243 working and unavailable repos together with skip_if_unavailable disabled dnf/repo-sync.feature:261 two unavailable repos with skip_if_unavailable enabled dnf/repo-sync.feature:284 two unavailable repos with skip_if_unavailable disabled, it attempts to download both repomds but in the end only one error is reported dnf/repo-sync.feature:307 working and broken repo together with skip_if_unavailable enabled dnf/repo-sync.feature:329 working and broken repo together with skip_if_unavailable disabled dnf/repo-sync.feature:348 two broken repos together with skip_if_unavailable enabled dnf/repo-sync.feature:371 two broken repos together with skip_if_unavailable enabled dnf/repo-sync.feature:394 working repo and repo with missing repomd.xml.asc with skip_if_unavailable enabled dnf/repo-sync.feature:416 working repo and repo with missing repomd.xml.asc with skip_if_unavailable disabled dnf/repo-sync.feature:451 working repo and repo without any mirror or baseurl is an error when skip_if_unavailable is 1 -- @1.1 dnf/repo-sync.feature:452 working repo and repo without any mirror or baseurl is an error when skip_if_unavailable is 0 -- @1.2 dnf/repo-sync.feature:473 working repo and repo with invalid baseurl is an error when skip_if_unavailable is 1 -- @1.1 dnf/repo-sync.feature:474 working repo and repo with invalid baseurl is an error when skip_if_unavailable is 0 -- @1.2 dnf/repo-sync.feature:477 working repo and repo with absolute path baseurl to a missing file when skip_if_unavailable is enabled dnf/repo-sync.feature:501 working repo and repo with absolute path baseurl to a missing file when skip_if_unavailable is disabled 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 24 failed, 1 skipped 106 steps passed, 24 failed, 59 skipped Took 0min 1.317s USING RUNNER: behave.runner:Runner Feature: Tests handling a repository with spaces in baseurl # dnf/repo-with-spaces.feature:1 Feature: Tests handling a repository with spaces in baseurl # dnf/repo-with-spaces.feature:1 @bz1853349 Scenario: Install an rpm from a repo with spaces in baseurl # dnf/repo-with-spaces.feature:11 Given I use repository "repo with spaces" # dnf/steps/repo.py:186 And I drop repository "repo with spaces" # dnf/steps/repo.py:227 Given I create and substitute file "/etc/yum.repos.d/test-repo.repo" with # common/file.py:43 """ [test-repo] name=repo with spaces test repository enabled=1 gpgcheck=0 baseurl={context.scenario.repos_location}/repo%20with%20spaces """ When I execute dnf with args "install test-package" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y23mbypp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y23mbypp/var/cache/dnf install test-package And Transaction is following # None | Action | Package | | install | test-package-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y23mbypp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y23mbypp/var/cache/dnf install test-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1853349 Scenario: Install an rpm with spaces in its baseurl (the xml:base attribute of the package) # dnf/repo-with-spaces.feature:28 Given I use repository "repo with spaces" # dnf/steps/repo.py:186 And I drop repository "repo with spaces" # dnf/steps/repo.py:227 Given I copy repository "repo with spaces" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "repo with spaces" with extra arguments "--baseurl file://{context.scenario.repos_location}/repo%20with%20spaces" # dnf/steps/repo.py:152 And I create and substitute file "/etc/yum.repos.d/test-repo.repo" with # common/file.py:43 """ [test-repo] name=repo with spaces test repository enabled=1 gpgcheck=0 baseurl=file://{context.dnf.tempdir}/repos/repo%20with%20spaces """ When I execute dnf with args "install test-package" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8wxvsgzo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8wxvsgzo/var/cache/dnf install test-package And Transaction is following # None | Action | Package | | install | test-package-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8wxvsgzo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8wxvsgzo/var/cache/dnf install test-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1853349 Scenario: Download an rpm with spaces in its baseurl (the xml:base attribute of the package) to a destdir # dnf/repo-with-spaces.feature:47 Given I use repository "repo with spaces" # dnf/steps/repo.py:186 And I drop repository "repo with spaces" # dnf/steps/repo.py:227 Given I copy repository "repo with spaces" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "repo with spaces" with extra arguments "--baseurl file://{context.scenario.repos_location}/repo%20with%20spaces" # dnf/steps/repo.py:152 And I create and substitute file "/etc/yum.repos.d/test-repo.repo" with # common/file.py:43 """ [test-repo] name=repo with spaces test repository enabled=1 gpgcheck=0 baseurl=file://{context.dnf.tempdir}/repos/repo%20with%20spaces """ When I execute dnf with args "download test-package --destdir={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6b1_99gh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6b1_99gh/var/cache/dnf download test-package --destdir=/tmp/dnf_ci_tempdir_kf7t3j1d And file "/{context.dnf.tempdir}/test-package-1.0-1.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6b1_99gh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6b1_99gh/var/cache/dnf download test-package --destdir=/tmp/dnf_ci_tempdir_kf7t3j1d  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repo-with-spaces.feature:11 Install an rpm from a repo with spaces in baseurl dnf/repo-with-spaces.feature:28 Install an rpm with spaces in its baseurl (the xml:base attribute of the package) dnf/repo-with-spaces.feature:47 Download an rpm with spaces in its baseurl (the xml:base attribute of the package) to a destdir 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 16 steps passed, 3 failed, 3 skipped Took 0min 0.300s USING RUNNER: behave.runner:Runner Feature: Repodata compression # dnf/repodata-compression.feature:1 @bz1914876 Scenario: Read repodata compressed with zstd # dnf/repodata-compression.feature:5 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" # dnf/steps/repo.py:186 And I generate repodata for repository "simple-base" with extra arguments "--general-compress-type zstd" # dnf/steps/repo.py:152 When I execute dnf with args "repoquery vagare" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5qc7fal7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5qc7fal7/var/cache/dnf repoquery vagare And stderr is # None """ """ And stdout is # None """ vagare-0:1.0-1.fc29.src vagare-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5qc7fal7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5qc7fal7/var/cache/dnf repoquery vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repodata-compression.feature:5 Read repodata compressed with zstd 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 4 steps passed, 1 failed, 2 skipped Took 0min 0.164s USING RUNNER: behave.runner:Runner Feature: Test for --repofrompath option # dnf/repofrompath.feature:1 Scenario: I can use --repofrompath to add a repository # dnf/repofrompath.feature:3 When I execute dnf with args "repo list --repofrompath=NEW_REPO,THE_PATH" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a5qt01tj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a5qt01tj/var/cache/dnf repo list --repofrompath=NEW_REPO,THE_PATH And stdout is # None """ repo id repo name NEW_REPO NEW_REPO """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a5qt01tj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a5qt01tj/var/cache/dnf repo list --repofrompath=NEW_REPO,THE_PATH  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The packages from --repofrompath repository are available # dnf/repofrompath.feature:12 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 When I execute dnf with args "repoquery --repofrompath=NEW_REPO,{context.dnf.tempdir}/repos/simple-base/" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gjcauvfv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gjcauvfv/var/cache/dnf repoquery --repofrompath=NEW_REPO,/tmp/dnf_ci_tempdir_97z902rg/repos/simple-base/ And stderr is # None """ """ And stdout is # None """ dedalo-0:1.0-1.fc29.src dedalo-0:1.0-1.fc29.x86_64 labirinto-0:1.0-1.fc29.src labirinto-0:1.0-1.fc29.x86_64 vagare-0:1.0-1.fc29.src vagare-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gjcauvfv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gjcauvfv/var/cache/dnf repoquery --repofrompath=NEW_REPO,/tmp/dnf_ci_tempdir_97z902rg/repos/simple-base/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can use --repofrompath multiple times # dnf/repofrompath.feature:30 When I execute dnf with args "repo list --repofrompath=NEW_REPO,THE_PATH --repofrompath=ANOTHER_ID,ANOTHER_PATH" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ilr6oscc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ilr6oscc/var/cache/dnf repo list --repofrompath=NEW_REPO,THE_PATH --repofrompath=ANOTHER_ID,ANOTHER_PATH And stdout is # None """ repo id repo name ANOTHER_ID ANOTHER_ID NEW_REPO NEW_REPO """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ilr6oscc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ilr6oscc/var/cache/dnf repo list --repofrompath=NEW_REPO,THE_PATH --repofrompath=ANOTHER_ID,ANOTHER_PATH  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can fine tune --repofrompath repos with --setopt # dnf/repofrompath.feature:40 When I execute dnf with args "repo list --repofrompath=NEW_REPO,THE_PATH --setopt=NEW_REPO.name='Real name'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tfprbj68 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tfprbj68/var/cache/dnf repo list --repofrompath=NEW_REPO,THE_PATH --setopt=NEW_REPO.name='Real name' And stdout is # None """ repo id repo name NEW_REPO Real name """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tfprbj68 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tfprbj68/var/cache/dnf repo list --repofrompath=NEW_REPO,THE_PATH --setopt=NEW_REPO.name='Real name'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Variables in the path are substituted # dnf/repofrompath.feature:49 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "mv {context.dnf.tempdir}/repos/simple-base {context.dnf.tempdir}/repos/simple-base-RLS" # common/cmd.py:30 When I execute dnf with args "repoquery --releasever=RLS --repofrompath=NEW_REPO,{context.dnf.tempdir}/repos/simple-base-\$releasever/" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wgrg9cph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wgrg9cph/var/cache/dnf repoquery --releasever=RLS --repofrompath=NEW_REPO,/tmp/dnf_ci_tempdir_ry1y4est/repos/simple-base-\$releasever/ And stderr is # None """ """ And stdout is # None """ dedalo-0:1.0-1.fc29.src dedalo-0:1.0-1.fc29.x86_64 labirinto-0:1.0-1.fc29.src labirinto-0:1.0-1.fc29.x86_64 vagare-0:1.0-1.fc29.src vagare-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wgrg9cph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wgrg9cph/var/cache/dnf repoquery --releasever=RLS --repofrompath=NEW_REPO,/tmp/dnf_ci_tempdir_ry1y4est/repos/simple-base-\$releasever/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Variables in the repo id are substituted # dnf/repofrompath.feature:68 When I execute dnf with args "repo list --releasever=RLS --repofrompath=NEW_REPO_\${{releasever}},THE_PATH" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l9t34zlv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l9t34zlv/var/cache/dnf repo list --releasever=RLS --repofrompath=NEW_REPO_\${releasever},THE_PATH And stdout is # None """ repo id repo name NEW_REPO_RLS NEW_REPO_RLS """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l9t34zlv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l9t34zlv/var/cache/dnf repo list --releasever=RLS --repofrompath=NEW_REPO_\${releasever},THE_PATH  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repofrompath does not modify existing repo with the same id # dnf/repofrompath.feature:78 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --repofrompath=simple-base,/the/path" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m2p17iis --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m2p17iis/var/cache/dnf repo list --repofrompath=simple-base,/the/path And stderr is # None """ Failed to create repo "simple-base": Id is present more than once in the configuration """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m2p17iis --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m2p17iis/var/cache/dnf repo list --repofrompath=simple-base,/the/path  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repofrompath repos are enabled even with --disablerepo=* # dnf/repofrompath.feature:88 When I execute dnf with args "repo list --disablerepo=* --repofrompath=NEW_REPO,THE_PATH" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ral6zmf0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ral6zmf0/var/cache/dnf repo list --disablerepo=* --repofrompath=NEW_REPO,THE_PATH And stdout is # None """ repo id repo name NEW_REPO NEW_REPO """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ral6zmf0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ral6zmf0/var/cache/dnf repo list --disablerepo=* --repofrompath=NEW_REPO,THE_PATH  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repofrompath.feature:3 I can use --repofrompath to add a repository dnf/repofrompath.feature:12 The packages from --repofrompath repository are available dnf/repofrompath.feature:30 I can use --repofrompath multiple times dnf/repofrompath.feature:40 I can fine tune --repofrompath repos with --setopt dnf/repofrompath.feature:49 Variables in the path are substituted dnf/repofrompath.feature:68 Variables in the repo id are substituted dnf/repofrompath.feature:78 Repofrompath does not modify existing repo with the same id dnf/repofrompath.feature:88 Repofrompath repos are enabled even with --disablerepo=* 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 12 steps passed, 8 failed, 10 skipped Took 0min 0.335s USING RUNNER: behave.runner:Runner Feature: Repoinfo # dnf/repoinfo.feature:1 Feature: Repoinfo # dnf/repoinfo.feature:1 @bz1793950 Scenario: Repo info without arguments # dnf/repoinfo.feature:15 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xf4jhz54 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xf4jhz54/var/cache/dnf repo info And stderr is # None """ """ And stdout matches line by line # None """ Repo ID : dnf-ci-fedora Name : dnf-ci-fedora test repository Status : enabled Priority : 99 Cost : 1000 Type : available Metadata expire : .* Skip if unavailable : false Config file : .*/etc/yum.repos.d/dnf-ci-fedora.repo URLs : Base URL : .*/fixtures/repos/dnf-ci-fedora OpenPGP : Verify repodata : false Verify packages : true Repodata info : Available packages : 289 Total packages : 289 Size : 2\.[0-9] MiB Revision : 1550000000 Updated : .* Repo ID : dnf-ci-thirdparty-updates Name : dnf-ci-thirdparty-updates test repository Status : enabled Priority : 99 Cost : 1000 Type : available Metadata expire : .* Skip if unavailable : false Config file : .*/etc/yum.repos.d/dnf-ci-thirdparty-updates.repo URLs : Base URL : .*/fixtures/repos/dnf-ci-thirdparty-updates OpenPGP : Verify repodata : false Verify packages : true Repodata info : Available packages : 6 Total packages : 6 Size : [0-9][0-9](\.[0-9])? KiB Revision : 1550000000 Updated : .* """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xf4jhz54 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xf4jhz54/var/cache/dnf repo info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1793950 Scenario: Repo info without arguments and option --all # dnf/repoinfo.feature:68 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo info --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jx9m6sgu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jx9m6sgu/var/cache/dnf repo info --all And stderr is # None """ """ And stdout matches line by line # None """ Repo ID : dnf-ci-fedora Name : dnf-ci-fedora test repository Status : enabled Priority : 99 Cost : 1000 Type : available Metadata expire : .* Skip if unavailable : false Config file : .*/etc/yum.repos.d/dnf-ci-fedora.repo URLs : Base URL : .*/fixtures/repos/dnf-ci-fedora OpenPGP : Verify repodata : false Verify packages : true Repodata info : Available packages : 289 Total packages : 289 Size : 2\.[0-9] MiB Revision : 1550000000 Updated : .* Repo ID : dnf-ci-fedora-updates Name : dnf-ci-fedora-updates test repository Status : disabled Priority : 99 Cost : 1000 Type : available Metadata expire : .* Skip if unavailable : false Config file : .*/etc/yum.repos.d/dnf-ci-fedora-updates.repo URLs : Base URL : .*/fixtures/repos/dnf-ci-fedora-updates OpenPGP : Verify repodata : false Verify packages : true Repo ID : dnf-ci-thirdparty Name : dnf-ci-thirdparty test repository Status : disabled Priority : 99 Cost : 1000 Type : available Metadata expire : .* Skip if unavailable : false Config file : .*/etc/yum.repos.d/dnf-ci-thirdparty.repo URLs : Base URL : .*/fixtures/repos/dnf-ci-thirdparty OpenPGP : Verify repodata : false Verify packages : true Repo ID : dnf-ci-thirdparty-updates Name : dnf-ci-thirdparty-updates test repository Status : enabled Priority : 99 Cost : 1000 Type : available Metadata expire : .* Skip if unavailable : false Config file : .*/etc/yum.repos.d/dnf-ci-thirdparty-updates.repo URLs : Base URL : .*/fixtures/repos/dnf-ci-thirdparty-updates OpenPGP : Verify repodata : false Verify packages : true Repodata info : Available packages : 6 Total packages : 6 Size : [0-9][0-9](\.[0-9])? KiB Revision : 1550000000 Updated : .* """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jx9m6sgu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jx9m6sgu/var/cache/dnf repo info --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1793950 Scenario: Repoinfo without arguments but with excludes # dnf/repoinfo.feature:151 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo info --exclude=*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x0v3_4px --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x0v3_4px/var/cache/dnf repo info --exclude=* And stderr is # None """ """ And stdout matches line by line # None """ Repo ID : dnf-ci-fedora Name : dnf-ci-fedora test repository Status : enabled Priority : 99 Cost : 1000 Type : available Metadata expire : .* Skip if unavailable : false Config file : .*/etc/yum.repos.d/dnf-ci-fedora.repo URLs : Base URL : .*/fixtures/repos/dnf-ci-fedora OpenPGP : Verify repodata : false Verify packages : true Repodata info : Available packages : 0 Total packages : 289 Size : 2\.[0-9] MiB Revision : 1550000000 Updated : .* Repo ID : dnf-ci-thirdparty-updates Name : dnf-ci-thirdparty-updates test repository Status : enabled Priority : 99 Cost : 1000 Type : available Metadata expire : .* Skip if unavailable : false Config file : .*/etc/yum.repos.d/dnf-ci-thirdparty-updates.repo URLs : Base URL : .*/fixtures/repos/dnf-ci-thirdparty-updates OpenPGP : Verify repodata : false Verify packages : true Repodata info : Available packages : 0 Total packages : 6 Size : [0-9][0-9](\.[0-9])? KiB Revision : 1550000000 Updated : .* """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x0v3_4px --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x0v3_4px/var/cache/dnf repo info --exclude=*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoinfo.feature:15 Repo info without arguments dnf/repoinfo.feature:68 Repo info without arguments and option --all dnf/repoinfo.feature:151 Repoinfo without arguments but with excludes 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 15 steps passed, 3 failed, 6 skipped Took 0min 0.533s USING RUNNER: behave.runner:Runner Feature: Repo list (alias repolist) when all repositories are disabled # dnf/repolist-disabled.feature:1 Feature: Repo list (alias repolist) when all repositories are disabled # dnf/repolist-disabled.feature:1 Scenario: Repolist without arguments # dnf/repolist-disabled.feature:9 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ygzictmf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ygzictmf/var/cache/dnf repolist And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ygzictmf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ygzictmf/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--enabled" # dnf/repolist-disabled.feature:16 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --enabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bul0sjek --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bul0sjek/var/cache/dnf repo list --enabled And stdout is empty # None And stderr contains "No matches found: no repositories are enabled." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bul0sjek --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bul0sjek/var/cache/dnf repo list --enabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--disabled" # dnf/repolist-disabled.feature:23 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --disabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o3yp56eg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o3yp56eg/var/cache/dnf repo list --disabled And stdout is # None """ repo id repo name dnf-ci-fedora dnf-ci-fedora test repository """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o3yp56eg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o3yp56eg/var/cache/dnf repo list --disabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--all" # dnf/repolist-disabled.feature:33 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tkdyx3_v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tkdyx3_v/var/cache/dnf repo list --all And stdout is # None """ repo id repo name status dnf-ci-fedora dnf-ci-fedora test repository disabled dnf-ci-fedora-updates dnf-ci-fedora-updates test repository enabled """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tkdyx3_v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tkdyx3_v/var/cache/dnf repo list --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--disabled --enabled" # dnf/repolist-disabled.feature:45 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --disabled --enabled" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr is # common/output.py:137 """ "--enabled" not allowed together with named argument "--disabled". Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: "--enabled" not allowed together with named argument "--disabled". Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found "--enabled" not allowed together with named argument "--disabled". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udd1tdgh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udd1tdgh/var/cache/dnf repo list --disabled --enabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repolist-disabled.feature:9 Repolist without arguments dnf/repolist-disabled.feature:16 Repo list with "--enabled" dnf/repolist-disabled.feature:23 Repo list with "--disabled" dnf/repolist-disabled.feature:33 Repo list with "--all" dnf/repolist-disabled.feature:45 Repo list with "--disabled --enabled" 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 13 steps passed, 5 failed, 6 skipped Took 0min 0.414s USING RUNNER: behave.runner:Runner Feature: Repo list (alias repolist) when there are no repositories # dnf/repolist-no-repos.feature:1 Scenario: Repolist without arguments in an empty installroot # dnf/repolist-no-repos.feature:4 When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qfb0ijwh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qfb0ijwh/var/cache/dnf repolist And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qfb0ijwh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qfb0ijwh/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--enabled" in an empty installroot # dnf/repolist-no-repos.feature:11 When I execute dnf with args "repo list --enabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j_i3wvmx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j_i3wvmx/var/cache/dnf repo list --enabled And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j_i3wvmx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j_i3wvmx/var/cache/dnf repo list --enabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--disabled" in an empty installroot # dnf/repolist-no-repos.feature:18 When I execute dnf with args "repo list --disabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nevozaha --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nevozaha/var/cache/dnf repo list --disabled And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nevozaha --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nevozaha/var/cache/dnf repo list --disabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--all" in an empty installroot # dnf/repolist-no-repos.feature:25 When I execute dnf with args "repo list --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3n10mqhb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3n10mqhb/var/cache/dnf repo list --all And stdout is empty # None And stderr contains "No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3n10mqhb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3n10mqhb/var/cache/dnf repo list --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list "--disabled" when all existing repositories are enabled # dnf/repolist-no-repos.feature:38 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --disabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qyg3sd3r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qyg3sd3r/var/cache/dnf repo list --disabled And stdout is empty # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qyg3sd3r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qyg3sd3r/var/cache/dnf repo list --disabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list "--enabled" when all existing repositories are disabled # dnf/repolist-no-repos.feature:48 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --enabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pzeullh7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pzeullh7/var/cache/dnf repo list --enabled And stdout is empty # None And stderr is # None """ No matches found: no repositories are enabled. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pzeullh7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pzeullh7/var/cache/dnf repo list --enabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list "--disabled" with a spec matching only an enabled repository # dnf/repolist-no-repos.feature:61 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repo list --disabled dnf-ci-fedora" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pzt4so3p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pzt4so3p/var/cache/dnf repo list --disabled dnf-ci-fedora And stdout is empty # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pzt4so3p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pzt4so3p/var/cache/dnf repo list --disabled dnf-ci-fedora  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with an unmatched spec when repositories are enabled # dnf/repolist-no-repos.feature:72 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repo list nonexistent-repo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bn4orgaj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bn4orgaj/var/cache/dnf repo list nonexistent-repo And stdout is empty # None And stderr is # None """ No matches found. """ When I execute dnf with args "repo list --disabled nonexistent-repo" # None Then the exit code is 0 # None And stdout is empty # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bn4orgaj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bn4orgaj/var/cache/dnf repo list nonexistent-repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list partial match reports only the unmatched spec # dnf/repolist-no-repos.feature:90 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repo list dnf-ci-fedora nonexistent-repo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_m4vsve --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_m4vsve/var/cache/dnf repo list dnf-ci-fedora nonexistent-repo And stdout is # None """ repo id repo name dnf-ci-fedora dnf-ci-fedora test repository """ And stderr is # None """ No matches found for "nonexistent-repo". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_m4vsve --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_m4vsve/var/cache/dnf repo list dnf-ci-fedora nonexistent-repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repolist-no-repos.feature:4 Repolist without arguments in an empty installroot dnf/repolist-no-repos.feature:11 Repo list with "--enabled" in an empty installroot dnf/repolist-no-repos.feature:18 Repo list with "--disabled" in an empty installroot dnf/repolist-no-repos.feature:25 Repo list with "--all" in an empty installroot dnf/repolist-no-repos.feature:38 Repo list "--disabled" when all existing repositories are enabled dnf/repolist-no-repos.feature:48 Repo list "--enabled" when all existing repositories are disabled dnf/repolist-no-repos.feature:61 Repo list "--disabled" with a spec matching only an enabled repository dnf/repolist-no-repos.feature:72 Repo list with an unmatched spec when repositories are enabled dnf/repolist-no-repos.feature:90 Repo list partial match reports only the unmatched spec 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 14 steps passed, 9 failed, 22 skipped Took 0min 0.406s USING RUNNER: behave.runner:Runner Feature: Repo list (alias repolist) # dnf/repolist.feature:1 Feature: Repo list (alias repolist) # dnf/repolist.feature:1 @dnf5daemon Scenario: Repolist without arguments # dnf/repolist.feature:16 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ybcgciwy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ybcgciwy/var/cache/dnf repolist And stdout contains "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout contains "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates" # None And stdout does not contain "dnf-ci-fedora-updates" # None And stdout does not contain "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ybcgciwy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ybcgciwy/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--enabled" # dnf/repolist.feature:27 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --enabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g48r17ah --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g48r17ah/var/cache/dnf repo list --enabled And stdout contains "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout contains "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates" # None And stdout does not contain "dnf-ci-fedora-updates" # None And stdout does not contain "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g48r17ah --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g48r17ah/var/cache/dnf repo list --enabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--disabled" # dnf/repolist.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --disabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_njrxune7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_njrxune7/var/cache/dnf repo list --disabled And stdout contains "dnf-ci-fedora-updates\s+dnf-ci-fedora-updates" # None And stdout contains "dnf-ci-thirdparty\s+dnf-ci-thirdparty" # None And stdout does not contain "dnf-ci-fedora\s+dnf-ci-fedora" # None And stdout does not contain "dnf-ci-thirdparty-updates" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_njrxune7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_njrxune7/var/cache/dnf repo list --disabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Repo list with "--all" # dnf/repolist.feature:45 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 0 | When I execute dnf with args "repo list --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4n55hbz5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4n55hbz5/var/cache/dnf repo list --all And stdout contains "dnf-ci-fedora\s+dnf-ci-fedora test repository\s+enabled" # None And stdout contains "dnf-ci-fedora-updates\s+dnf-ci-fedora-updates test repository\s+disabled" # None And stdout contains "dnf-ci-thirdparty\s+dnf-ci-thirdparty test repository\s+disabled" # None And stdout contains "dnf-ci-thirdparty-updates\s+dnf-ci-thirdparty-updates test repository\s+enabled" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4n55hbz5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4n55hbz5/var/cache/dnf repo list --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repolist.feature:16 Repolist without arguments dnf/repolist.feature:27 Repo list with "--enabled" dnf/repolist.feature:36 Repo list with "--disabled" dnf/repolist.feature:45 Repo list with "--all" 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 20 steps passed, 4 failed, 16 skipped Took 0min 0.564s USING RUNNER: behave.runner:Runner Feature: Handling local base url in repository in installroot # dnf/repository.feature:1 Scenario: Handling remote base url in repository in installroot # dnf/repository.feature:4 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_enwhhb6a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_enwhhb6a/var/cache/dnf install filesystem And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_enwhhb6a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_enwhhb6a/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repository.feature:4 Handling remote base url in repository in installroot 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 1 skipped Took 0min 0.342s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-drs67rzy', '/mp-2_irdnib', '/mp-tf1sczmf', '/mp-dpkrkyj_', '/mp-5oj1n0uj', '/mp-m2qe9r51'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Test that proper hints are printed after resolving failure # dnf/resolve-hints.feature:1 Feature: Test that proper hints are printed after resolving failure # dnf/resolve-hints.feature:1 Scenario: --use-host-config is hinted if no repos are loaded from installroot # dnf/resolve-hints.feature:16 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | Given I drop repository "resolve-hints" # dnf/steps/repo.py:227 When I execute dnf with args "install DoesNotExist" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vvi187xo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vvi187xo/var/cache/dnf install DoesNotExist And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vvi187xo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vvi187xo/var/cache/dnf install DoesNotExist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --skip-unavailable is hinted on non-existent package installation attempt # dnf/resolve-hints.feature:28 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | When I execute dnf with args "install DoesNotExist" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_po64a6yd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_po64a6yd/var/cache/dnf install DoesNotExist And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_po64a6yd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_po64a6yd/var/cache/dnf install DoesNotExist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --skip-unavailable is not printed if the option is already present # dnf/resolve-hints.feature:40 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | When I execute dnf with args "install DoesNotExist --skip-unavailable" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i_k778m9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i_k778m9/var/cache/dnf install DoesNotExist --skip-unavailable And Transaction is empty # None And stderr is # None """ No match for argument: DoesNotExist """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i_k778m9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i_k778m9/var/cache/dnf install DoesNotExist --skip-unavailable  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --no-best is hinted if the best candidate cannot be installed # dnf/resolve-hints.feature:50 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | When I execute dnf with args "install DoesNotExist NoBest" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l7dhrhs5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l7dhrhs5/var/cache/dnf install DoesNotExist NoBest And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist Problem: cannot install the best candidate for the job - nothing provides DoesNotExist needed by NoBest-2.0-1.noarch from resolve-hints You can try to add to command line: --skip-unavailable to skip unavailable packages --no-best to not limit the transaction to the best candidates --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l7dhrhs5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l7dhrhs5/var/cache/dnf install DoesNotExist NoBest  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --no-best is not printed if the option is already present # dnf/resolve-hints.feature:66 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | When I execute dnf with args "install DoesNotExist NoBest --no-best" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lbp7d8wn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lbp7d8wn/var/cache/dnf install DoesNotExist NoBest --no-best And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist Problem: cannot install the best candidate for the job - nothing provides DoesNotExist needed by NoBest-2.0-1.noarch from resolve-hints You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lbp7d8wn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lbp7d8wn/var/cache/dnf install DoesNotExist NoBest --no-best  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allowerasing is hinted on attempt to install conflicting packages # dnf/resolve-hints.feature:80 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | Given I successfully execute dnf with args "install ConflictingOne" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ie4azulf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ie4azulf/var/cache/dnf install ConflictingOne When I execute dnf with args "install DoesNotExist ConflictingTwo" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist Problem: problem with installed package - installed package ConflictingOne-1.0-1.noarch conflicts with ConflictingTwo provided by ConflictingTwo-1.0-1.noarch from resolve-hints - package ConflictingOne-1.0-1.noarch from resolve-hints conflicts with ConflictingTwo provided by ConflictingTwo-1.0-1.noarch from resolve-hints - conflicting requests You can try to add to command line: --skip-unavailable to skip unavailable packages --allowerasing to allow removing of installed packages to resolve problems --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ie4azulf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ie4azulf/var/cache/dnf install ConflictingOne  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allowerasing is not printed if the option is already present # dnf/resolve-hints.feature:99 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | Given I successfully execute dnf with args "install ConflictingOne" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ahk4830m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ahk4830m/var/cache/dnf install ConflictingOne When I execute dnf with args "install DoesNotExist ConflictingTwo --allowerasing" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ahk4830m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ahk4830m/var/cache/dnf install ConflictingOne  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: filelists metadata is hinted on missing file dependency # dnf/resolve-hints.feature:112 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | When I execute dnf with args "install DoesNotExist RequiresFileDep" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kimc7nol --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kimc7nol/var/cache/dnf install DoesNotExist RequiresFileDep And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist Problem: conflicting requests - nothing provides /var/ProvidesFileDep needed by RequiresFileDep-1.0-1.noarch from resolve-hints You can try to add to command line: --skip-unavailable to skip unavailable packages --setopt=optional_metadata_types=filelists to load additional filelists metadata --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kimc7nol --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kimc7nol/var/cache/dnf install DoesNotExist RequiresFileDep  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: filelists metadata is not printed if the option is already present # dnf/resolve-hints.feature:128 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | When I execute dnf with args "install DoesNotExist RequiresFileDep --setopt=optional_metadata_types=filelists" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dm3ux7uo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dm3ux7uo/var/cache/dnf install DoesNotExist RequiresFileDep --setopt=optional_metadata_types=filelists And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dm3ux7uo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dm3ux7uo/var/cache/dnf install DoesNotExist RequiresFileDep --setopt=optional_metadata_types=filelists  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --skip-broken is hinted on non-installable package # dnf/resolve-hints.feature:140 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | When I execute dnf with args "install DoesNotExist RequirementsUnmet" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ibw5xprv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ibw5xprv/var/cache/dnf install DoesNotExist RequirementsUnmet And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist Problem: conflicting requests - nothing provides DoesNotExist needed by RequirementsUnmet-1.0-1.noarch from resolve-hints You can try to add to command line: --skip-unavailable to skip unavailable packages --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ibw5xprv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ibw5xprv/var/cache/dnf install DoesNotExist RequirementsUnmet  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --skip-broken is not printed if the option is already present # dnf/resolve-hints.feature:155 Given I use repository "resolve-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | best | True | | skip_unavailable | False | | skip_broken | False | | optional_metadata_types | comps,updateinfo | When I execute dnf with args "install DoesNotExist RequirementsUnmet --skip-broken" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fa32mmx2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fa32mmx2/var/cache/dnf install DoesNotExist RequirementsUnmet --skip-broken And stderr is # None """ Failed to resolve the transaction: No match for argument: DoesNotExist Problem: conflicting requests - nothing provides DoesNotExist needed by RequirementsUnmet-1.0-1.noarch from resolve-hints You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fa32mmx2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fa32mmx2/var/cache/dnf install DoesNotExist RequirementsUnmet --skip-broken  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/resolve-hints.feature:16 --use-host-config is hinted if no repos are loaded from installroot dnf/resolve-hints.feature:28 --skip-unavailable is hinted on non-existent package installation attempt dnf/resolve-hints.feature:40 --skip-unavailable is not printed if the option is already present dnf/resolve-hints.feature:50 --no-best is hinted if the best candidate cannot be installed dnf/resolve-hints.feature:66 --no-best is not printed if the option is already present dnf/resolve-hints.feature:80 --allowerasing is hinted on attempt to install conflicting packages dnf/resolve-hints.feature:99 --allowerasing is not printed if the option is already present dnf/resolve-hints.feature:112 filelists metadata is hinted on missing file dependency dnf/resolve-hints.feature:128 filelists metadata is not printed if the option is already present dnf/resolve-hints.feature:140 --skip-broken is hinted on non-installable package dnf/resolve-hints.feature:155 --skip-broken is not printed if the option is already present 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 11 failed, 0 skipped 32 steps passed, 11 failed, 16 skipped Took 0min 0.431s USING RUNNER: behave.runner:Runner @not.with_os=rhel__eq__7 Feature: Rich dependencies testing # dnf/rich-dependencies.feature:3 @not.with_os=rhel__eq__7 Feature: Rich dependencies testing # dnf/rich-dependencies.feature:3 Scenario: Required one of packages with recommended # dnf/rich-dependencies.feature:14 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 When I execute dnf with args "install pancake" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t5oo05tx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t5oo05tx/var/cache/dnf install pancake And Transaction is following # None | Action | Package | | install | pancake-0:1.0-1.x86_64 | | install-dep | milk-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t5oo05tx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t5oo05tx/var/cache/dnf install pancake  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Required one of packages with recommended, even if the other is installed # dnf/rich-dependencies.feature:23 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install soymilk" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k_xnqrhg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k_xnqrhg/var/cache/dnf install soymilk And Transaction is following # None | Action | Package | | install | soymilk-0:1.0-1.x86_64 | When I execute dnf with args "install pancake" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | pancake-0:1.0-1.x86_64 | | install-weak | milk-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k_xnqrhg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k_xnqrhg/var/cache/dnf install soymilk  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Conditional dependency (condition is not met) # dnf/rich-dependencies.feature:40 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 When I execute dnf with args "install soup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u_ad8h1b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u_ad8h1b/var/cache/dnf install soup And Transaction is following # None | Action | Package | | install | soup-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u_ad8h1b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u_ad8h1b/var/cache/dnf install soup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Conditional dependency (condition is met) # dnf/rich-dependencies.feature:49 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install dill" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9e0uaqml --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9e0uaqml/var/cache/dnf install dill And Transaction is following # None | Action | Package | | install | dill-0:1.0-1.x86_64 | When I execute dnf with args "install soup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | soup-0:1.0-1.x86_64 | | install-dep | water-0:1.0-1.x86_64 | | install-dep | cream-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9e0uaqml --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9e0uaqml/var/cache/dnf install dill  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Conditional dependency with "one of" and conflict (condition is not met) # dnf/rich-dependencies.feature:69 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 When I execute dnf with args "install sauce" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wfbh5z09 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wfbh5z09/var/cache/dnf install sauce And Transaction is following # None | Action | Package | | install | sauce-0:1.0-1.x86_64 | | install-dep | flour-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wfbh5z09 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wfbh5z09/var/cache/dnf install sauce  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Conditional dependency with "one of" and conflict (condition is met) # dnf/rich-dependencies.feature:78 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install dill water" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3hhvkkza --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3hhvkkza/var/cache/dnf install dill water And Transaction is following # None | Action | Package | | install | water-0:1.0-1.x86_64 | | install | dill-0:1.0-1.x86_64 | When I execute dnf with args "install sauce" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | sauce-0:1.0-1.x86_64 | | install-dep | flour-0:1.0-1.x86_64 | | install-dep | cream-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3hhvkkza --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3hhvkkza/var/cache/dnf install dill water  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Conditional dependency on "one of" packages # dnf/rich-dependencies.feature:97 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install oat" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ryfhgvvj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ryfhgvvj/var/cache/dnf install oat And Transaction is following # None | Action | Package | | install | oat-0:1.0-1.x86_64 | When I execute dnf with args "install porridge" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | porridge-0:1.0-1.x86_64 | | install-dep | milk-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ryfhgvvj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ryfhgvvj/var/cache/dnf install oat  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Gradually removing conditional dependencies # dnf/rich-dependencies.feature:111 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install porridge oat" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k_dmrgrf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k_dmrgrf/var/cache/dnf install porridge oat And Transaction is following # None | Action | Package | | install | porridge-0:1.0-1.x86_64 | | install | oat-0:1.0-1.x86_64 | | install-dep | milk-0:1.0-1.x86_64 | When I execute dnf with args "remove oat" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | oat-0:1.0-1.x86_64 | When I execute dnf with args "remove milk" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | milk-0:1.0-1.x86_64 | | unchanged | porridge-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k_dmrgrf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k_dmrgrf/var/cache/dnf install porridge oat  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_dnf=4 Scenario: Command-line installation if condition is not met # dnf/rich-dependencies.feature:133 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install '(milk if flour)'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ulh0tbgo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ulh0tbgo/var/cache/dnf install '(milk if flour)' And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ulh0tbgo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ulh0tbgo/var/cache/dnf install '(milk if flour)'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_dnf=4 Scenario: Command-line installation if condition is met # dnf/rich-dependencies.feature:140 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install flour" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0mh_xt7r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0mh_xt7r/var/cache/dnf install flour And Transaction is following # None | Action | Package | | install | flour-0:1.0-1.x86_64 | Given I execute dnf with args "install '(milk if flour)'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | milk-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0mh_xt7r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0mh_xt7r/var/cache/dnf install flour  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_dnf=4 Scenario: Command-line installation if condition is not met, but package explicitly listed # dnf/rich-dependencies.feature:154 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install '(milk if flour)' flour" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tj_n5l43 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tj_n5l43/var/cache/dnf install '(milk if flour)' flour And Transaction is following # None | Action | Package | | install | flour-0:1.0-1.x86_64 | | install | milk-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tj_n5l43 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tj_n5l43/var/cache/dnf install '(milk if flour)' flour  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2185061 Scenario: Install pkg with weak complex deps and don't install the condition pkg with broken deps # dnf/rich-dependencies.feature:164 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 Given I execute dnf with args "install breakfast" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d52suaqr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d52suaqr/var/cache/dnf install breakfast And Transaction is following # None | Action | Package | | install | breakfast-0:1.0-1.x86_64 | | install-weak | water-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d52suaqr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d52suaqr/var/cache/dnf install breakfast  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/rich-dependencies.feature:14 Required one of packages with recommended dnf/rich-dependencies.feature:23 Required one of packages with recommended, even if the other is installed dnf/rich-dependencies.feature:40 Conditional dependency (condition is not met) dnf/rich-dependencies.feature:49 Conditional dependency (condition is met) dnf/rich-dependencies.feature:69 Conditional dependency with "one of" and conflict (condition is not met) dnf/rich-dependencies.feature:78 Conditional dependency with "one of" and conflict (condition is met) dnf/rich-dependencies.feature:97 Conditional dependency on "one of" packages dnf/rich-dependencies.feature:111 Gradually removing conditional dependencies dnf/rich-dependencies.feature:133 Command-line installation if condition is not met dnf/rich-dependencies.feature:140 Command-line installation if condition is met dnf/rich-dependencies.feature:154 Command-line installation if condition is not met, but package explicitly listed dnf/rich-dependencies.feature:164 Install pkg with weak complex deps and don't install the condition pkg with broken deps 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 12 failed, 0 skipped 24 steps passed, 12 failed, 33 skipped Took 0min 0.463s USING RUNNER: behave.runner:Runner Feature: Test for successful and failing rpm scriptlets # dnf/scriptlets.feature:1 Feature: Test for successful and failing rpm scriptlets # dnf/scriptlets.feature:1 @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 Scenario Outline: Install a pkg with a successful scriptlet -- @1.1 # dnf/scriptlets.feature:25 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-pre-ok" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pzlgi7nq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pzlgi7nq/var/cache/dnf install Package-pre-ok And Transaction is following # None | Action | Package | | install | Package-pre-ok-0:1.0-1.x86_64 | And stderr contains "pre scriptlet successfully done" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pzlgi7nq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pzlgi7nq/var/cache/dnf install Package-pre-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 Scenario Outline: Install a pkg with a successful scriptlet -- @1.2 # dnf/scriptlets.feature:26 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-pretrans-ok" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_210847yc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_210847yc/var/cache/dnf install Package-pretrans-ok And Transaction is following # None | Action | Package | | install | Package-pretrans-ok-0:1.0-1.x86_64 | And stderr contains "pretrans scriptlet successfully done" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_210847yc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_210847yc/var/cache/dnf install Package-pretrans-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 Scenario Outline: Install a pkg with a successful scriptlet -- @1.3 # dnf/scriptlets.feature:27 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-post-ok" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g_kk6q4i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g_kk6q4i/var/cache/dnf install Package-post-ok And Transaction is following # None | Action | Package | | install | Package-post-ok-0:1.0-1.x86_64 | And stderr contains "post scriptlet successfully done" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g_kk6q4i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g_kk6q4i/var/cache/dnf install Package-post-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 Scenario Outline: Install a pkg with a successful scriptlet -- @1.4 # dnf/scriptlets.feature:28 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-posttrans-ok" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_elp939e9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_elp939e9/var/cache/dnf install Package-posttrans-ok And Transaction is following # None | Action | Package | | install | Package-posttrans-ok-0:1.0-1.x86_64 | And stderr contains "posttrans scriptlet successfully done" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_elp939e9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_elp939e9/var/cache/dnf install Package-posttrans-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install a pkg with a failing %pre[IN|TRANS] scriptlet -- @1.1 # dnf/scriptlets.feature:40 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-pre-fail-0:1.0-1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z61bbi50 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z61bbi50/var/cache/dnf install Package-pre-fail-0:1.0-1.x86_64 And stderr contains ">>> Running %pre scriptlet: Package-pre-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Error in %pre scriptlet: Package-pre-fail-0:1.0-1.x86_64" # None And stderr contains "Transaction failed: Rpm transaction failed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z61bbi50 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z61bbi50/var/cache/dnf install Package-pre-fail-0:1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Install a pkg with a failing %pre[IN|TRANS] scriptlet -- @1.2 # dnf/scriptlets.feature:41 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-pretrans-fail-0:1.0-1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n04ywo5l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n04ywo5l/var/cache/dnf install Package-pretrans-fail-0:1.0-1.x86_64 And stderr contains ">>> Running %pretrans scriptlet: Package-pretrans-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Error in %pretrans scriptlet: Package-pretrans-fail-0:1.0-1.x86_64" # None And stderr contains "Transaction failed: Rpm transaction failed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n04ywo5l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n04ywo5l/var/cache/dnf install Package-pretrans-fail-0:1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__43 Scenario Outline: Install a pkg with a failing %post[in|trans] scriptlet -- @1.1 # dnf/scriptlets.feature:57 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-post-fail-0:1.0-1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_72kkslqq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_72kkslqq/var/cache/dnf install Package-post-fail-0:1.0-1.x86_64 And Transaction is following # None | Action | Package | | install | Package-post-fail-0:1.0-1.x86_64 | And stderr contains ">>> Running %post scriptlet: Package-post-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Non-critical error in %post scriptlet: Package-post-fail-0:1.0-1.x86_64" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_72kkslqq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_72kkslqq/var/cache/dnf install Package-post-fail-0:1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__43 Scenario Outline: Install a pkg with a failing %post[in|trans] scriptlet -- @1.2 # dnf/scriptlets.feature:58 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-posttrans-fail-0:1.0-1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_snsi7qsy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_snsi7qsy/var/cache/dnf install Package-posttrans-fail-0:1.0-1.x86_64 And Transaction is following # None | Action | Package | | install | Package-posttrans-fail-0:1.0-1.x86_64 | And stderr contains ">>> Running %posttrans scriptlet: Package-posttrans-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Non-critical error in %posttrans scriptlet: Package-posttrans-fail-0:1.0-1.x86_64" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_snsi7qsy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_snsi7qsy/var/cache/dnf install Package-posttrans-fail-0:1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 Scenario Outline: Remove a pkg with a successful %[pre|post]un scriptlet -- @1.1 # dnf/scriptlets.feature:76 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-preun-ok" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4086mtt2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4086mtt2/var/cache/dnf install Package-preun-ok And Transaction is following # None | Action | Package | | install | Package-preun-ok-0:1.0-1.x86_64 | When I execute dnf with args "remove Package-preun-ok" # None Then the exit code is 0 # None And stderr contains "preun scriptlet successfully done" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4086mtt2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4086mtt2/var/cache/dnf install Package-preun-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 Scenario Outline: Remove a pkg with a successful %[pre|post]un scriptlet -- @1.2 # dnf/scriptlets.feature:77 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-postun-ok" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bn7594p3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bn7594p3/var/cache/dnf install Package-postun-ok And Transaction is following # None | Action | Package | | install | Package-postun-ok-0:1.0-1.x86_64 | When I execute dnf with args "remove Package-postun-ok" # None Then the exit code is 0 # None And stderr contains "postun scriptlet successfully done" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bn7594p3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bn7594p3/var/cache/dnf install Package-postun-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remove a pkg with a failing %preun scriptlet # dnf/scriptlets.feature:80 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-preun-fail" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b21h7yjo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b21h7yjo/var/cache/dnf install Package-preun-fail And Transaction is following # None | Action | Package | | install | Package-preun-fail-0:1.0-1.x86_64 | When I execute dnf with args "remove Package-preun-fail" # None Then the exit code is 1 # None And stderr contains ">>> Running %preun scriptlet: Package-preun-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Error in %preun scriptlet: Package-preun-fail-0:1.0-1.x86_64" # None And stderr contains "Transaction failed: Rpm transaction failed." # None When I execute dnf with args "--setopt=tsflags=noscripts remove Package-preun-fail" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | Package-preun-fail-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b21h7yjo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b21h7yjo/var/cache/dnf install Package-preun-fail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__43 Scenario: Remove a pkg with a failing %postun scriptlet # dnf/scriptlets.feature:100 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 When I execute dnf with args "install Package-postun-fail" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wbzz1nb3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wbzz1nb3/var/cache/dnf install Package-postun-fail And Transaction is following # None | Action | Package | | install | Package-postun-fail-0:1.0-1.x86_64 | When I execute dnf with args "remove Package-postun-fail" # None Then the exit code is 1 # None And stderr contains ">>> Running %postun scriptlet: Package-postun-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Non-critical error in %postun scriptlet: Package-postun-fail-0:1.0-1.x86_64" # None And stderr does not contain "Complete!" # None And Transaction is following # None | Action | Package | | remove | Package-postun-fail-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wbzz1nb3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wbzz1nb3/var/cache/dnf install Package-postun-fail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1724779 @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 Scenario: Output for triggered successful scriptlet of a package not present in transaction has temporarily just pkg name # dnf/scriptlets.feature:120 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 Given I successfully execute dnf with args "install Package-triggerin-ok" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r1qodkho --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r1qodkho/var/cache/dnf install Package-triggerin-ok When I execute dnf with args "install Package-install-file" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | Package-install-file-0:1.0-1.x86_64 | And stderr contains "triggerin scriptlet \(Package-triggerin-ok\) for Package-install-file install/update successfully done" # None And stdout does not contain "Running scriptlet\s*:\s*Package-install-file" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r1qodkho --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r1qodkho/var/cache/dnf install Package-triggerin-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__43 @bz1724779 Scenario: Correct output for triggered failed scriptlet of package not present in transaction # dnf/scriptlets.feature:134 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 Given I successfully execute dnf with args "install Package-triggerin-fail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n41e1g63 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n41e1g63/var/cache/dnf install Package-triggerin-fail When I execute dnf with args "install Package-install-file" # None Then the exit code is 1 # None And stderr contains "failing on triggerin scriptlet" # None And stderr contains ">>> Running %triggerin scriptlet: Package-triggerin-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Non-critical error in %triggerin scriptlet: Package-triggerin-fail-0:1.0-1.x86_64" # None And stderr does not contain "scriptlet: Package-install-file" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n41e1g63 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n41e1g63/var/cache/dnf install Package-triggerin-fail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__43 @bz1724779 Scenario: Correct output for triggered failing transfiletriggerpostun scriptlet of package not present in transaction # dnf/scriptlets.feature:147 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 Given I successfully execute dnf with args "install Package-transfiletriggerpostun-fail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5mn9ill0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5mn9ill0/var/cache/dnf install Package-transfiletriggerpostun-fail And I successfully execute dnf with args "install Package-install-file" # None When I execute dnf with args "remove Package-install-file" # None Then the exit code is 1 # None And Transaction is following # None | Action | Package | | remove | Package-install-file-0:1.0-1.x86_64 | And stderr contains "transfiletriggerpostun scriptlet \(Package-transfiletriggerpostun-fail\) for uninstall transaction of Package-install-file is failing" # None And stderr contains ">>> Running %triggerpostun scriptlet: Package-transfiletriggerpostun-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Non-critical error in %triggerpostun scriptlet: Package-transfiletriggerpostun-fail-0:1.0-1.x86_64" # None And stderr does not contain "scriptlet: Package-install-file" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5mn9ill0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5mn9ill0/var/cache/dnf install Package-transfiletriggerpostun-fail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 @bz1724779 Scenario: Correct output for triggered successful file scriptlet of package not present in transaction # dnf/scriptlets.feature:165 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 Given I successfully execute dnf with args "install Package-filetriggerin-ok" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iv723hdp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iv723hdp/var/cache/dnf install Package-filetriggerin-ok When I execute dnf with args "install Package-install-file" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | Package-install-file-0:1.0-1.x86_64 | And stderr contains "filetriggerin scriptlet \(Package-filetriggerin-ok\) for Package-install-file install/update successfully done" # None And stdout does not contain "scriptlet: Package-install-file" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iv723hdp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iv723hdp/var/cache/dnf install Package-filetriggerin-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__43 @bz1724779 Scenario: Correct output for triggered failing file scriptlet of package not present in transaction # dnf/scriptlets.feature:179 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 Given I successfully execute dnf with args "install Package-filetriggerin-fail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_stlepph_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_stlepph_/var/cache/dnf install Package-filetriggerin-fail When I execute dnf with args "install Package-install-file" # None Then the exit code is 1 # None And stderr contains "filetriggerin scriptlet \(Package-filetriggerin-fail\) for Package-install-file install/update is failing" # None And stderr contains ">>> Running %triggerin scriptlet: Package-filetriggerin-fail-0:1.0-1.x86_64" # None And stderr contains ">>> Non-critical error in %triggerin scriptlet: Package-filetriggerin-fail-0:1.0-1.x86_64" # None And stderr does not contain "scriptlet: Package-install-file" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_stlepph_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_stlepph_/var/cache/dnf install Package-filetriggerin-fail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=fedora__lt__45 @not.with_os=rhel__lt__11 @bz1724779 Scenario: Correct output for triggered successful transfiletriggerpostun scriptlet of package not present in transaction # dnf/scriptlets.feature:193 Given I use repository "scriptlets" # dnf/steps/repo.py:186 And I set environment variable "DNF5_FORCE_COLUMNS" to "400" # dnf/steps/cmd.py:53 Given I successfully execute dnf with args "install Package-transfiletriggerpostun-ok" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zys8w4f1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zys8w4f1/var/cache/dnf install Package-transfiletriggerpostun-ok And I successfully execute dnf with args "install Package-install-file" # None When I execute dnf with args "remove Package-install-file" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | Package-install-file-0:1.0-1.x86_64 | And stderr contains "transfiletriggerpostun scriptlet \(Package-transfiletriggerpostun-ok\) for Package-install-file transaction uninstall successfully done" # None And stderr does not contain "scriptlet: Package-install-file" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zys8w4f1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zys8w4f1/var/cache/dnf install Package-transfiletriggerpostun-ok  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/scriptlets.feature:25 Install a pkg with a successful scriptlet -- @1.1 dnf/scriptlets.feature:26 Install a pkg with a successful scriptlet -- @1.2 dnf/scriptlets.feature:27 Install a pkg with a successful scriptlet -- @1.3 dnf/scriptlets.feature:28 Install a pkg with a successful scriptlet -- @1.4 dnf/scriptlets.feature:40 Install a pkg with a failing %pre[IN|TRANS] scriptlet -- @1.1 dnf/scriptlets.feature:41 Install a pkg with a failing %pre[IN|TRANS] scriptlet -- @1.2 dnf/scriptlets.feature:57 Install a pkg with a failing %post[in|trans] scriptlet -- @1.1 dnf/scriptlets.feature:58 Install a pkg with a failing %post[in|trans] scriptlet -- @1.2 dnf/scriptlets.feature:76 Remove a pkg with a successful %[pre|post]un scriptlet -- @1.1 dnf/scriptlets.feature:77 Remove a pkg with a successful %[pre|post]un scriptlet -- @1.2 dnf/scriptlets.feature:80 Remove a pkg with a failing %preun scriptlet dnf/scriptlets.feature:100 Remove a pkg with a failing %postun scriptlet dnf/scriptlets.feature:120 Output for triggered successful scriptlet of a package not present in transaction has temporarily just pkg name dnf/scriptlets.feature:134 Correct output for triggered failed scriptlet of package not present in transaction dnf/scriptlets.feature:147 Correct output for triggered failing transfiletriggerpostun scriptlet of package not present in transaction dnf/scriptlets.feature:165 Correct output for triggered successful file scriptlet of package not present in transaction dnf/scriptlets.feature:179 Correct output for triggered failing file scriptlet of package not present in transaction dnf/scriptlets.feature:193 Correct output for triggered successful transfiletriggerpostun scriptlet of package not present in transaction 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 18 failed, 0 skipped 48 steps passed, 18 failed, 80 skipped Took 0min 0.667s USING RUNNER: behave.runner:Runner Feature: Sort search command output # dnf/search-sort.feature:1 Feature: Sort search command output # dnf/search-sort.feature:1 @bz1811802 Scenario: sort alphanumerically # dnf/search-sort.feature:9 Given I use repository "search-sort" # dnf/steps/repo.py:186 When I execute dnf with args "search name" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8r6ertjm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8r6ertjm/var/cache/dnf search name And stderr is # None """ """ And stdout is # None """ Matched fields: name (exact) name.src Summary name.x86_64 Summary Matched fields: name, summary name-summary.src Summary of name name-summary.x86_64 Summary of name name-summary-description.src Summary of name name-summary-description.x86_64 Summary of name name-summary-description-url.src Summary of name name-summary-description-url.x86_64 Summary of name name-summary-url.src Summary of name name-summary-url.x86_64 Summary of name Matched fields: name name-description.src Summary name-description.x86_64 Summary name-description-url.src Summary name-description-url.x86_64 Summary name-url.src Summary name-url.x86_64 Summary Matched fields: summary summary.src Summary of name summary.x86_64 Summary of name summary-description.src Summary of name summary-description.x86_64 Summary of name summary-description-url.src Summary of name summary-description-url.x86_64 Summary of name summary-url.src Summary of name summary-url.x86_64 Summary of name """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8r6ertjm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8r6ertjm/var/cache/dnf search name  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1811802 Scenario: sort --all alphanumerically # dnf/search-sort.feature:50 Given I use repository "search-sort" # dnf/steps/repo.py:186 When I execute dnf with args "search --all name" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j6_03azp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j6_03azp/var/cache/dnf search --all name And stderr is # None """ """ And stdout is # None """ Matched fields: name (exact) name.src Summary name.x86_64 Summary Matched fields: name, summary, description, url name-summary-description-url.src Summary of name name-summary-description-url.x86_64 Summary of name Matched fields: name, summary, description name-summary-description.src Summary of name name-summary-description.x86_64 Summary of name Matched fields: name, summary, url name-summary-url.src Summary of name name-summary-url.x86_64 Summary of name Matched fields: name, summary name-summary.src Summary of name name-summary.x86_64 Summary of name Matched fields: name, description, url name-description-url.src Summary name-description-url.x86_64 Summary Matched fields: name, description name-description.src Summary name-description.x86_64 Summary Matched fields: name, url name-url.src Summary name-url.x86_64 Summary Matched fields: summary, description, url summary-description-url.src Summary of name summary-description-url.x86_64 Summary of name Matched fields: summary, description summary-description.src Summary of name summary-description.x86_64 Summary of name Matched fields: summary, url summary-url.src Summary of name summary-url.x86_64 Summary of name Matched fields: summary summary.src Summary of name summary.x86_64 Summary of name Matched fields: description description.src Summary description.x86_64 Summary Matched fields: url url.src Summary url.x86_64 Summary """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j6_03azp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j6_03azp/var/cache/dnf search --all name  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/search-sort.feature:9 sort alphanumerically dnf/search-sort.feature:50 sort --all alphanumerically 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 4 skipped Took 0min 0.135s USING RUNNER: behave.runner:Runner Feature: Search command # dnf/search.feature:1 Feature: Search command # dnf/search.feature:1 Scenario: without keyword # dnf/search.feature:8 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "search" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr contains "Missing positional argument \"patterns\" for command \"search\"" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: Missing positional argument \"patterns\" for command \"search\" ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wgvu5hsb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wgvu5hsb/var/cache/dnf search  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: with keyword # dnf/search.feature:14 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "search setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vzd3tz6u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vzd3tz6u/var/cache/dnf search setup And stdout is # None """ Matched fields: name (exact), summary setup.noarch A set of system configuration and setup files setup.src A set of system configuration and setup files """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vzd3tz6u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vzd3tz6u/var/cache/dnf search setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1742926 Scenario: with installed and available newest package doesn't duplicate results # dnf/search.feature:27 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sbg47m_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sbg47m_i/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "search setup" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Matched fields: name (exact), summary setup.noarch A set of system configuration and setup files setup.src A set of system configuration and setup files """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sbg47m_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sbg47m_i/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Only one occurence of a package is in the output when more versions are available # dnf/search.feature:47 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "search flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yu45m7fv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yu45m7fv/var/cache/dnf search flac And stderr is # None """ """ And stdout is # None """ Matched fields: name (exact) flac.src An encoder/decoder for the Free Lossless Audio Codec flac.x86_64 An encoder/decoder for the Free Lossless Audio Codec Matched fields: name flac-libs.x86_64 Libraries for the Free Lossless Audio Codec """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yu45m7fv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yu45m7fv/var/cache/dnf search flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: All versions of a package are in the output when using the --showduplicates option # dnf/search.feature:65 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "search flac --showduplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_du5r2lq6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_du5r2lq6/var/cache/dnf search flac --showduplicates And stderr is # None """ """ And stdout is # None """ Matched fields: name (exact) flac-0:1.3.2-8.fc29.src An encoder/decoder for the Free Lossless Audio Codec flac-0:1.3.2-8.fc29.x86_64 An encoder/decoder for the Free Lossless Audio Codec flac-0:1.3.3-1.fc29.src An encoder/decoder for the Free Lossless Audio Codec flac-0:1.3.3-1.fc29.x86_64 An encoder/decoder for the Free Lossless Audio Codec flac-0:1.3.3-2.fc29.src An encoder/decoder for the Free Lossless Audio Codec flac-0:1.3.3-2.fc29.x86_64 An encoder/decoder for the Free Lossless Audio Codec flac-0:1.3.3-3.fc29.src An encoder/decoder for the Free Lossless Audio Codec flac-0:1.3.3-3.fc29.x86_64 An encoder/decoder for the Free Lossless Audio Codec Matched fields: name flac-libs-0:1.3.2-8.fc29.x86_64 Libraries for the Free Lossless Audio Codec flac-libs-0:1.3.3-1.fc29.x86_64 Libraries for the Free Lossless Audio Codec flac-libs-0:1.3.3-2.fc29.x86_64 Libraries for the Free Lossless Audio Codec flac-libs-0:1.3.3-3.fc29.x86_64 Libraries for the Free Lossless Audio Codec """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_du5r2lq6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_du5r2lq6/var/cache/dnf search flac --showduplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/search.feature:8 without keyword dnf/search.feature:14 with keyword dnf/search.feature:27 with installed and available newest package doesn't duplicate results dnf/search.feature:47 Only one occurence of a package is in the output when more versions are available dnf/search.feature:65 All versions of a package are in the output when using the --showduplicates option 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 13 steps passed, 5 failed, 10 skipped Took 0min 0.410s USING RUNNER: behave.runner:Runner Feature: Test upgrade, upgrade-minimal, and check-ugrade with advisory, cve, secseverity # dnf/security-advisory.feature:1 Feature: Test upgrade, upgrade-minimal, and check-ugrade with advisory, cve, secseverity # dnf/security-advisory.feature:1 Scenario: upgrade-minimal cve and advisory # dnf/security-advisory.feature:14 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r4ln5ce8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r4ln5ce8/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal --cve CVE-001 --advisory DNF-BUGFIX-001" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_A-0:1.0-2.x86_64 | | upgrade | advisory_B-0:1.0-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r4ln5ce8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r4ln5ce8/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: check-upgrade --minimal cve and advisory # dnf/security-advisory.feature:22 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wvlsljv5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wvlsljv5/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "check-upgrade --minimal --cves CVE-001 --advisories DNF-BUGFIX-001" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout matches line by line # None """ Upgrades advisory_A.x86_64 +1.0-2 +dnf-ci-security advisory_B.x86_64 +1.0-2 +dnf-ci-security """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wvlsljv5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wvlsljv5/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: upgrade-minimal with pkgs specified cve and advisory # dnf/security-advisory.feature:36 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x6fbsp0j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x6fbsp0j/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal advisory_A advisory_B --cve CVE-001 --advisory DNF-BUGFIX-001" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_A-0:1.0-2.x86_64 | | upgrade | advisory_B-0:1.0-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x6fbsp0j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x6fbsp0j/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: check-upgrade --minimal with pkgs specified cve and advisory # dnf/security-advisory.feature:44 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_imhghcza --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_imhghcza/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "check-upgrade --minimal advisory_A advisory_B --cves CVE-001 --advisories DNF-BUGFIX-001" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout matches line by line # None """ Upgrades advisory_A.x86_64 +1.0-2 +dnf-ci-security advisory_B.x86_64 +1.0-2 +dnf-ci-security """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_imhghcza --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_imhghcza/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: upgrade advisories # dnf/security-advisory.feature:58 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__vl2mii5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__vl2mii5/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade --advisories=DNF-BUGFIX-001 --advisories=DNF-SECURITY-004" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_A-0:1.0-4.x86_64 | | upgrade | advisory_B-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__vl2mii5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__vl2mii5/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: upgrade --minimal advisories # dnf/security-advisory.feature:66 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1tl7c260 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1tl7c260/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade --minimal --advisories=DNF-BUGFIX-001 --advisories=DNF-SECURITY-004" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_A-0:1.0-2.x86_64 | | upgrade | advisory_B-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1tl7c260 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1tl7c260/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: check-upgrade --minimal advisories # dnf/security-advisory.feature:74 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zb0o88ii --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zb0o88ii/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "check-upgrade --minimal --advisories=DNF-BUGFIX-001 --advisories=DNF-SECURITY-004" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout matches line by line # None """ Upgrades advisory_A.x86_64 +1.0-2 +dnf-ci-security advisory_B.x86_64 +1.0-4 +dnf-ci-security """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zb0o88ii --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zb0o88ii/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: upgrade cves # dnf/security-advisory.feature:88 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s8h4nrqo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s8h4nrqo/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade --cve CVE-001 --cve CVE-002" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_B-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s8h4nrqo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s8h4nrqo/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: check-upgrade cves # dnf/security-advisory.feature:95 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kvaiw3_x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kvaiw3_x/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "check-upgrade --cves CVE-001 --cves CVE-002" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout matches line by line # None """ Upgrades advisory_B.x86_64 +1.0-4 +dnf-ci-security """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kvaiw3_x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kvaiw3_x/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: upgrade-minimal sec-severity # dnf/security-advisory.feature:108 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ploqzk4c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ploqzk4c/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal --advisory-severities=Moderate" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_B-0:1.0-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ploqzk4c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ploqzk4c/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: check-upgrade --minimal with sec-severity # dnf/security-advisory.feature:115 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j7yn1sh4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j7yn1sh4/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "check-upgrade --minimal --advisory-severities=Moderate" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout matches line by line # None """ Upgrades advisory_B.x86_64 +1.0-2 +dnf-ci-security """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j7yn1sh4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j7yn1sh4/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: upgrade-minimal with pkgs specified sec-severity # dnf/security-advisory.feature:128 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vz5j_bu6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vz5j_bu6/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal advisory_B --advisory-severities=Moderate" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_B-0:1.0-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vz5j_bu6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vz5j_bu6/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: check-upgrade --minimal with pkgs specified sec-severity # dnf/security-advisory.feature:135 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dkffwire --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dkffwire/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "check-upgrade --minimal advisory_B --advisory-severities=Moderate" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout matches line by line # None """ Upgrades advisory_B.x86_64 +1.0-2 +dnf-ci-security """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dkffwire --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dkffwire/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: upgrade secseverity # dnf/security-advisory.feature:148 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fgkfi4n2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fgkfi4n2/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade --advisory-severities Critical" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_B-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fgkfi4n2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fgkfi4n2/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: upgrade-minimal security plus bugfix # dnf/security-advisory.feature:156 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o__cbg4r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o__cbg4r/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal --security --bugfix" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | advisory_A-0:1.0-3.x86_64 | | upgrade | advisory_B-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o__cbg4r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o__cbg4r/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: check-upgrade --minimal security plus bugfix # dnf/security-advisory.feature:164 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rg8ab0h4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rg8ab0h4/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "check-upgrade --minimal --security --bugfix" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout matches line by line # None """ Upgrades advisory_A.x86_64 +1.0-3 +dnf-ci-security advisory_B.x86_64 +1.0-4 +dnf-ci-security """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rg8ab0h4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rg8ab0h4/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/security-advisory.feature:14 upgrade-minimal cve and advisory dnf/security-advisory.feature:22 check-upgrade --minimal cve and advisory dnf/security-advisory.feature:36 upgrade-minimal with pkgs specified cve and advisory dnf/security-advisory.feature:44 check-upgrade --minimal with pkgs specified cve and advisory dnf/security-advisory.feature:58 upgrade advisories dnf/security-advisory.feature:66 upgrade --minimal advisories dnf/security-advisory.feature:74 check-upgrade --minimal advisories dnf/security-advisory.feature:88 upgrade cves dnf/security-advisory.feature:95 check-upgrade cves dnf/security-advisory.feature:108 upgrade-minimal sec-severity dnf/security-advisory.feature:115 check-upgrade --minimal with sec-severity dnf/security-advisory.feature:128 upgrade-minimal with pkgs specified sec-severity dnf/security-advisory.feature:135 check-upgrade --minimal with pkgs specified sec-severity dnf/security-advisory.feature:148 upgrade secseverity dnf/security-advisory.feature:156 upgrade-minimal security plus bugfix dnf/security-advisory.feature:164 check-upgrade --minimal security plus bugfix 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 16 failed, 0 skipped 32 steps passed, 16 failed, 71 skipped Took 0min 0.624s USING RUNNER: behave.runner:Runner Feature: Test security options for update # dnf/security-bugfix.feature:1 Feature: Test security options for update # dnf/security-bugfix.feature:1 Scenario: Test security option --bugfix for update # dnf/security-bugfix.feature:15 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install bugfix_A-1.0-1 bugfix_B-1.0-1 bugfix_C-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7v_6rnv9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7v_6rnv9/var/cache/dnf install bugfix_A-1.0-1 bugfix_B-1.0-1 bugfix_C-1.0-1 And Transaction is following # None | Action | Package | | install | bugfix_A-0:1.0-1.x86_64 | | install | bugfix_B-0:1.0-1.x86_64 | | install | bugfix_C-0:1.0-1.x86_64 | When I execute dnf with args "upgrade --bugfix" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | bugfix_B-0:1.0-2.x86_64 | | upgrade | bugfix_C-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7v_6rnv9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7v_6rnv9/var/cache/dnf install bugfix_A-1.0-1 bugfix_B-1.0-1 bugfix_C-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test security option --bugfix for upgrade-minimal # dnf/security-bugfix.feature:24 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install bugfix_A-1.0-1 bugfix_B-1.0-1 bugfix_C-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8y92zvw5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8y92zvw5/var/cache/dnf install bugfix_A-1.0-1 bugfix_B-1.0-1 bugfix_C-1.0-1 And Transaction is following # None | Action | Package | | install | bugfix_A-0:1.0-1.x86_64 | | install | bugfix_B-0:1.0-1.x86_64 | | install | bugfix_C-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal --bugfix" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | bugfix_B-0:1.0-2.x86_64 | | upgrade | bugfix_C-0:1.0-3.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8y92zvw5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8y92zvw5/var/cache/dnf install bugfix_A-1.0-1 bugfix_B-1.0-1 bugfix_C-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/security-bugfix.feature:15 Test security option --bugfix for update dnf/security-bugfix.feature:24 Test security option --bugfix for upgrade-minimal 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 8 skipped Took 0min 0.162s USING RUNNER: behave.runner:Runner Feature: Test security options for update # dnf/security-security.feature:1 Feature: Test security options for update # dnf/security-security.feature:1 Scenario: Security check-upgrade when there are no such updates # dnf/security-security.feature:14 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n1tj6goq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n1tj6goq/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | Given I drop repository "dnf-ci-security" # None And I use repository "dnf-ci-fedora" # None When I execute dnf with args "check-update --security" # None Then the exit code is 0 # None And stdout does not contain "security_A" # None And stdout does not contain "security_B" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n1tj6goq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n1tj6goq/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Security check-upgrade when there are such updates # dnf/security-security.feature:23 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zwhibfee --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zwhibfee/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | When I execute dnf with args "check-upgrade --security" # None Then the exit code is 100 # None And stdout contains "security_A.*1\.0-4\s+dnf-ci-security" # None And stdout does not contain "security_B" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zwhibfee --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zwhibfee/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1918475 Scenario: Security update # dnf/security-security.feature:31 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9h38qa6t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9h38qa6t/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal --security" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-3.x86_64 | When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9h38qa6t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9h38qa6t/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1918475 Scenario: Security upgrade-minimal when exact version is not available # dnf/security-security.feature:43 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p6abwn45 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p6abwn45/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal --security -x security_A-0:1.0-3.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p6abwn45 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p6abwn45/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1918475 Scenario: Security update with priority setting # dnf/security-security.feature:52 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05rjyq5s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05rjyq5s/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | Given I use repository "dnf-ci-security-priority" with configuration # None | key | value | | priority | 1 | When I execute dnf with args "upgrade --security " # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-3.8.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05rjyq5s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05rjyq5s/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1918475 Scenario Outline: Security upgrade-minimal with priority setting and args: -- @1.1 # dnf/security-security.feature:76 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6fdh5ufg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6fdh5ufg/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | Given I use repository "dnf-ci-security-priority" with configuration # None | key | value | | priority | 1 | When I execute dnf with args "upgrade-minimal --security " # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-3.1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6fdh5ufg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6fdh5ufg/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1918475 Scenario Outline: Security upgrade-minimal with priority setting and args: security_A -- @1.2 # dnf/security-security.feature:77 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9eeuoydx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9eeuoydx/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | Given I use repository "dnf-ci-security-priority" with configuration # None | key | value | | priority | 1 | When I execute dnf with args "upgrade-minimal security_A --security " # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-3.1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9eeuoydx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9eeuoydx/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Security upgrade -- @1.1 # dnf/security-security.feature:89 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5je8v4fn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5je8v4fn/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5je8v4fn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5je8v4fn/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Security upgrade-minimal -- @1.2 # dnf/security-security.feature:90 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4t0h1xbk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4t0h1xbk/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal --security" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-3.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4t0h1xbk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4t0h1xbk/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Security upgrade-minimal security_A -- @1.3 # dnf/security-security.feature:91 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8qweoams --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8qweoams/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal security_A --security" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-3.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8qweoams --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8qweoams/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Security upgrade with bzs explicitly mentioned -- @1.1 # dnf/security-security.feature:103 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jc988r8w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jc988r8w/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade --security --bz 123 --bzs=234,345" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | upgrade | security_A-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jc988r8w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jc988r8w/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Security upgrade-minimal with bzs explicitly mentioned -- @1.2 # dnf/security-security.feature:104 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install security_A-1.0-1 security_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dd2vxkua --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dd2vxkua/var/cache/dnf install security_A-1.0-1 security_B-1.0-1 And Transaction is following # None | Action | Package | | install | security_A-0:1.0-1.x86_64 | | install | security_B-0:1.0-1.x86_64 | When I execute dnf with args "upgrade-minimal --security --bz 123 --bzs=234,345" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | upgrade | security_A-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dd2vxkua --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dd2vxkua/var/cache/dnf install security_A-1.0-1 security_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/security-security.feature:14 Security check-upgrade when there are no such updates dnf/security-security.feature:23 Security check-upgrade when there are such updates dnf/security-security.feature:31 Security update dnf/security-security.feature:43 Security upgrade-minimal when exact version is not available dnf/security-security.feature:52 Security update with priority setting dnf/security-security.feature:76 Security upgrade-minimal with priority setting and args: -- @1.1 dnf/security-security.feature:77 Security upgrade-minimal with priority setting and args: security_A -- @1.2 dnf/security-security.feature:89 Security upgrade -- @1.1 dnf/security-security.feature:90 Security upgrade-minimal -- @1.2 dnf/security-security.feature:91 Security upgrade-minimal security_A -- @1.3 dnf/security-security.feature:103 Security upgrade with bzs explicitly mentioned -- @1.1 dnf/security-security.feature:104 Security upgrade-minimal with bzs explicitly mentioned -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 12 failed, 0 skipped 24 steps passed, 12 failed, 58 skipped Took 0min 0.495s USING RUNNER: behave.runner:Runner Feature: --security upgrades # dnf/security-upgrade.feature:1 @bz2088149 Scenario: --security upgrade with advisories with pkgs of different arches # dnf/security-upgrade.feature:6 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install json-c-1-1 bind-libs-lite-1-1" # dnf/steps/cmd.py:110 When I execute dnf with args "upgrade --security" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_es1dxdlw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_es1dxdlw/var/cache/dnf upgrade --security And Transaction is following # None | Action | Package | | upgrade | bind-libs-lite-0:2-2.x86_64 | | upgrade | json-c-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_es1dxdlw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_es1dxdlw/var/cache/dnf upgrade --security  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade with advisories with pkgs of different arches (noarch variant) # dnf/security-upgrade.feature:25 Given I use repository "security-upgrade-noarch" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install json-c-1-1 bind-libs-lite-1-1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8xsttry5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8xsttry5/var/cache/dnf install json-c-1-1 bind-libs-lite-1-1 Then Transaction is following # None | Action | Package | | install | bind-libs-lite-0:1-1.x86_64 | | install | json-c-0:1-1.x86_64 | When I execute dnf with args "upgrade --security" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: cannot install both json-c-2-2.x86_64 from security-upgrade-noarch and json-c-2-2.noarch from security-upgrade-noarch - package bind-libs-lite-2-2.x86_64 from security-upgrade-noarch requires libjson-c.so.4()(64bit), but none of the providers can be installed - cannot install the best update candidate for package json-c-1-1.x86_64 - cannot install the best update candidate for package bind-libs-lite-1-1.x86_64 You can try to add to command line: --no-best to not limit the transaction to the best candidates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8xsttry5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8xsttry5/var/cache/dnf install json-c-1-1 bind-libs-lite-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @2097757 Scenario: upgrade all with --security with advisory fix available upgrades even with --nobest # dnf/security-upgrade.feature:48 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install dracut-1-1 kexec-tools-1-1" # dnf/steps/cmd.py:110 When I execute dnf with args "upgrade --security --nobest" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ctlflmu0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ctlflmu0/var/cache/dnf upgrade --security --nobest And Transaction is following # None | Action | Package | | upgrade | kexec-tools-0:2-2.x86_64 | | upgrade | dracut-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ctlflmu0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ctlflmu0/var/cache/dnf upgrade --security --nobest  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security upgrade with advisory for obsoleter B with two versions 1-1 and 2-2 when obsoleted A is installed # dnf/security-upgrade.feature:59 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install A-1-1" # dnf/steps/cmd.py:110 When I execute dnf with args "upgrade --security" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0x1n9uvl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0x1n9uvl/var/cache/dnf upgrade --security And Transaction is following # None | Action | Package | | install | B-0:2-2.x86_64 | | obsoleted | A-0:1-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0x1n9uvl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0x1n9uvl/var/cache/dnf upgrade --security  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security upgrade with advisory for obsoleter with one version exactly matching advisory when obsoleted installed # dnf/security-upgrade.feature:70 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install C-1-1" # dnf/steps/cmd.py:110 When I execute dnf with args "upgrade --security" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4p9las29 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4p9las29/var/cache/dnf upgrade --security And Transaction is following # None | Action | Package | | install | D-0:1-1.x86_64 | | obsoleted | C-0:1-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4p9las29 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4p9las29/var/cache/dnf upgrade --security  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security upgrade with advisory for obsoleter with one bigger version than in advisory when obsoleted installed # dnf/security-upgrade.feature:81 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install E-1-1" # dnf/steps/cmd.py:110 When I execute dnf with args "upgrade --security" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_702i8x4q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_702i8x4q/var/cache/dnf upgrade --security And Transaction is following # None | Action | Package | | install | F-0:2-2.x86_64 | | obsoleted | E-0:1-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_702i8x4q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_702i8x4q/var/cache/dnf upgrade --security  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade of a package that changes arch from noarch to x86_64 # dnf/security-upgrade.feature:93 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install change-arch-noarch-1-1.noarch" # dnf/steps/cmd.py:110 When I execute dnf with args "upgrade --security" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qx147or5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qx147or5/var/cache/dnf upgrade --security And RPMDB Transaction is following # None | Action | Package | | install | change-arch-noarch-0:2-2.x86_64 | | remove | change-arch-noarch-0:1-1.noarch | And DNF Transaction is following # None | Action | Package | | upgrade | change-arch-noarch-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qx147or5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qx147or5/var/cache/dnf upgrade --security  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade of a package that changes arch from x86_64 to noarch # dnf/security-upgrade.feature:108 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install change-arch-noarch-reversed-1-1.x86_64" # dnf/steps/cmd.py:110 When I execute dnf with args "upgrade --security" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l8k4gs2g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l8k4gs2g/var/cache/dnf upgrade --security And RPMDB Transaction is following # None | Action | Package | | install | change-arch-noarch-reversed-0:2-2.noarch | | remove | change-arch-noarch-reversed-0:1-1.x86_64 | And DNF Transaction is following # None | Action | Package | | upgrade | change-arch-noarch-reversed-0:2-2.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l8k4gs2g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l8k4gs2g/var/cache/dnf upgrade --security  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade of a package that changes arch from i686 to x86_64 is not allowed # dnf/security-upgrade.feature:123 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install change-arch-1-1.i686" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tfoafkva --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tfoafkva/var/cache/dnf install change-arch-1-1.i686 And I successfully execute dnf with args "repoquery change-arch-2-2.x86_64" # None Then stderr is # None """ """ And stdout is # None """ change-arch-0:2-2.x86_64 """ When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tfoafkva --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tfoafkva/var/cache/dnf install change-arch-1-1.i686  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade of a package that changes arch from x86_64 to i686 is not allowed # dnf/security-upgrade.feature:143 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install change-arch-reversed-1-1.x86_64" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pb37xp73 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pb37xp73/var/cache/dnf install change-arch-reversed-1-1.x86_64 And I successfully execute dnf with args "repoquery change-arch-reversed-2-2.i686" # None Then stderr is # None """ """ And stdout is # None """ change-arch-reversed-0:2-2.i686 """ When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pb37xp73 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pb37xp73/var/cache/dnf install change-arch-reversed-1-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade of a noarch package that is obsoleted by a x86_64 pkg # dnf/security-upgrade.feature:163 Given I use repository "security-upgrade-obsoletes" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install obsoleted-change-arch-noarch-1-1.noarch" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w7rb01w7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w7rb01w7/var/cache/dnf install obsoleted-change-arch-noarch-1-1.noarch When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And RPMDB Transaction is following # None | Action | Package | | install | obsoleter-change-arch-noarch-0:1-1.x86_64 | | remove | obsoleted-change-arch-noarch-0:1-1.noarch | And DNF Transaction is following # None | Action | Package | | install | obsoleter-change-arch-noarch-1-1.x86_64 | | obsoleted | obsoleted-change-arch-noarch-0:1-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w7rb01w7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w7rb01w7/var/cache/dnf install obsoleted-change-arch-noarch-1-1.noarch  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade of a x86_64 package that is obsoleted by a noarch pkg # dnf/security-upgrade.feature:179 Given I use repository "security-upgrade-obsoletes" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install obsoleted-change-arch-noarch-reversed-1-1.x86_64" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_37ixcsmw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_37ixcsmw/var/cache/dnf install obsoleted-change-arch-noarch-reversed-1-1.x86_64 When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And RPMDB Transaction is following # None | Action | Package | | install | obsoleter-change-arch-noarch-reversed-0:1-1.noarch | | remove | obsoleted-change-arch-noarch-reversed-0:1-1.x86_64 | And DNF Transaction is following # None | Action | Package | | install | obsoleter-change-arch-noarch-reversed-1-1.noarch | | obsoleted | obsoleted-change-arch-noarch-reversed-0:1-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_37ixcsmw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_37ixcsmw/var/cache/dnf install obsoleted-change-arch-noarch-reversed-1-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade of a i686 package that is obsoleted by a x86_64 pkg is not allowed # dnf/security-upgrade.feature:195 Given I use repository "security-upgrade-obsoletes" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install obsoleted-change-arch-1-1.i686" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0ovoqdrw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0ovoqdrw/var/cache/dnf install obsoleted-change-arch-1-1.i686 And I successfully execute dnf with args "repoquery obsoleter-change-arch-1-1.x86_64 --obsoletes" # None Then stdout is # None """ obsoleted-change-arch """ Given I successfully execute dnf with args "repoquery obsoleter-change-arch-1-1.i686 --obsoletes" # None Then stderr is # None """ """ And stdout is # None """ obsoleted-change-arch """ When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0ovoqdrw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0ovoqdrw/var/cache/dnf install obsoleted-change-arch-1-1.i686  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124483 Scenario: --security upgrade of a x86_64 package that is obsoleted by a i686 pkg is not allowed # dnf/security-upgrade.feature:221 Given I use repository "security-upgrade-obsoletes" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install obsoleted-change-arch-reversed-1-1.x86_64" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__fpj2yoh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__fpj2yoh/var/cache/dnf install obsoleted-change-arch-reversed-1-1.x86_64 And I successfully execute dnf with args "repoquery obsoleter-change-arch-reversed-1-1.x86_64 --obsoletes" # None Then stderr is # None """ """ And stdout is # None """ obsoleted-change-arch-reversed """ Given I successfully execute dnf with args "repoquery obsoleter-change-arch-reversed-1-1.i686 --obsoletes" # None Then stderr is # None """ """ And stdout is # None """ obsoleted-change-arch-reversed """ When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__fpj2yoh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__fpj2yoh/var/cache/dnf install obsoleted-change-arch-reversed-1-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security upgrade specific package with obsoletes when obsoletes are turned off # dnf/security-upgrade.feature:249 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install E-1-1" # dnf/steps/cmd.py:110 And I successfully execute dnf with args "repoquery F-2-2.x86_64 --obsoletes" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05g1pvrn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05g1pvrn/var/cache/dnf repoquery F-2-2.x86_64 --obsoletes Then stderr is # None """ """ And stdout is # None """ E """ When I execute dnf with args "upgrade E --security --setopt=obsoletes=false" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument 'E' in selected advisories """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05g1pvrn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05g1pvrn/var/cache/dnf repoquery F-2-2.x86_64 --obsoletes  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security upgrade all packages with obsoletes when obsoletes are turned off # dnf/security-upgrade.feature:273 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install E-1-1" # dnf/steps/cmd.py:110 And I successfully execute dnf with args "repoquery F-2-2.x86_64 --obsoletes" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dey8riox --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dey8riox/var/cache/dnf repoquery F-2-2.x86_64 --obsoletes Then stderr is # None """ """ And stdout is # None """ E """ When I execute dnf with args "upgrade --security --setopt=obsoletes=false" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dey8riox --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dey8riox/var/cache/dnf repoquery F-2-2.x86_64 --obsoletes  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security upgrade with packages of multiple arches installed # dnf/security-upgrade.feature:294 Given I use repository "security-upgrade-multilib" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install B-1-1.x86_64 B-1-1.i686" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ulot9moe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ulot9moe/var/cache/dnf install B-1-1.x86_64 B-1-1.i686 Then Transaction is following # None | Action | Package | | install | B-0:1-1.x86_64 | | install | B-0:1-1.i686 | When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | B-0:2-2.x86_64 | | upgrade | B-0:2-2.i686 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ulot9moe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ulot9moe/var/cache/dnf install B-1-1.x86_64 B-1-1.i686  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: use collections and advisories with duplicate names/ids from one repo # dnf/security-upgrade.feature:309 Given I use repository "security-upgrade-duplicates-1" # dnf/steps/repo.py:186 When I execute dnf with args "install A-1-1 B-1-1 C-1-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_42jn8_5p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_42jn8_5p/var/cache/dnf install A-1-1 B-1-1 C-1-1 Then Transaction is following # None | Action | Package | | install | A-0:1-1.x86_64 | | install | B-0:1-1.x86_64 | | install | C-0:1-1.x86_64 | When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None Then Transaction is following # None | Action | Package | | upgrade | A-0:2-2.x86_64 | | upgrade | B-0:2-2.x86_64 | | upgrade | C-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_42jn8_5p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_42jn8_5p/var/cache/dnf install A-1-1 B-1-1 C-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: use collections and advisories with duplicate names/ids from different repos # dnf/security-upgrade.feature:327 Given I use repository "security-upgrade-duplicates-1" # dnf/steps/repo.py:186 When I execute dnf with args "install A-1-1 B-1-1 C-1-1 D-1-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q7ygwnir --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q7ygwnir/var/cache/dnf install A-1-1 B-1-1 C-1-1 D-1-1 Then Transaction is following # None | Action | Package | | install | A-0:1-1.x86_64 | | install | B-0:1-1.x86_64 | | install | C-0:1-1.x86_64 | | install | D-0:1-1.x86_64 | Given I use repository "security-upgrade-duplicates-2" # None When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None Then Transaction is following # None | Action | Package | | upgrade | A-0:2-2.x86_64 | | upgrade | B-0:2-2.x86_64 | | upgrade | C-0:2-2.x86_64 | | upgrade | D-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q7ygwnir --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q7ygwnir/var/cache/dnf install A-1-1 B-1-1 C-1-1 D-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: use both advisories even if they are duplicates but with different issued and updated dates (from one repo) # dnf/security-upgrade.feature:348 Given I use repository "security-upgrade-duplicates-1" # dnf/steps/repo.py:186 When I execute dnf with args "install E-1-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_idc2mb2z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_idc2mb2z/var/cache/dnf install E-1-1 Then Transaction is following # None | Action | Package | | install | E-0:1-1.x86_64 | When I execute dnf with args "updateinfo list" # None Then stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued custom_id security Moderate E-2-2.x86_64 2022-12-17 00:00:00 custom_id security Moderate E-2-2.x86_64 2022-12-17 00:00:00 """ When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None Then Transaction is following # None | Action | Package | | upgrade | E-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_idc2mb2z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_idc2mb2z/var/cache/dnf install E-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: use all (3) advisories even if they are duplicates but with different issued and updated dates (from diff repos) # dnf/security-upgrade.feature:375 Given I use repository "security-upgrade-duplicates-1" # dnf/steps/repo.py:186 When I execute dnf with args "install E-1-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hab93lvs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hab93lvs/var/cache/dnf install E-1-1 Then Transaction is following # None | Action | Package | | install | E-0:1-1.x86_64 | And I use repository "security-upgrade-duplicates-2" # None When I execute dnf with args "updateinfo list" # None Then stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued custom_id security Moderate E-2-2.x86_64 2022-12-17 00:00:00 custom_id security Moderate E-2-2.x86_64 2022-12-17 00:00:00 custom_id security Moderate E-2-2.x86_64 2022-12-17 00:00:00 """ When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None Then Transaction is following # None | Action | Package | | upgrade | E-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hab93lvs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hab93lvs/var/cache/dnf install E-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: use both advisories even if they are duplicates but with just summary different (from diff repos) # dnf/security-upgrade.feature:402 Given I use repository "security-upgrade-duplicates-1" # dnf/steps/repo.py:186 When I execute dnf with args "install F-1-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_evx776n4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_evx776n4/var/cache/dnf install F-1-1 Then Transaction is following # None | Action | Package | | install | F-0:1-1.x86_64 | And I use repository "security-upgrade-duplicates-2" # None When I execute dnf with args "updateinfo list" # None Then stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued custom_id_F security Moderate F-2-2.x86_64 2019-08-19 22:00:00 custom_id_F security Moderate F-2-2.x86_64 2019-08-19 22:00:00 """ When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None Then Transaction is following # None | Action | Package | | upgrade | F-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_evx776n4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_evx776n4/var/cache/dnf install F-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/security-upgrade.feature:6 --security upgrade with advisories with pkgs of different arches dnf/security-upgrade.feature:25 --security upgrade with advisories with pkgs of different arches (noarch variant) dnf/security-upgrade.feature:48 upgrade all with --security with advisory fix available upgrades even with --nobest dnf/security-upgrade.feature:59 --security upgrade with advisory for obsoleter B with two versions 1-1 and 2-2 when obsoleted A is installed dnf/security-upgrade.feature:70 --security upgrade with advisory for obsoleter with one version exactly matching advisory when obsoleted installed dnf/security-upgrade.feature:81 --security upgrade with advisory for obsoleter with one bigger version than in advisory when obsoleted installed dnf/security-upgrade.feature:93 --security upgrade of a package that changes arch from noarch to x86_64 dnf/security-upgrade.feature:108 --security upgrade of a package that changes arch from x86_64 to noarch dnf/security-upgrade.feature:123 --security upgrade of a package that changes arch from i686 to x86_64 is not allowed dnf/security-upgrade.feature:143 --security upgrade of a package that changes arch from x86_64 to i686 is not allowed dnf/security-upgrade.feature:163 --security upgrade of a noarch package that is obsoleted by a x86_64 pkg dnf/security-upgrade.feature:179 --security upgrade of a x86_64 package that is obsoleted by a noarch pkg dnf/security-upgrade.feature:195 --security upgrade of a i686 package that is obsoleted by a x86_64 pkg is not allowed dnf/security-upgrade.feature:221 --security upgrade of a x86_64 package that is obsoleted by a i686 pkg is not allowed dnf/security-upgrade.feature:249 --security upgrade specific package with obsoletes when obsoletes are turned off dnf/security-upgrade.feature:273 --security upgrade all packages with obsoletes when obsoletes are turned off dnf/security-upgrade.feature:294 --security upgrade with packages of multiple arches installed dnf/security-upgrade.feature:309 use collections and advisories with duplicate names/ids from one repo dnf/security-upgrade.feature:327 use collections and advisories with duplicate names/ids from different repos dnf/security-upgrade.feature:348 use both advisories even if they are duplicates but with different issued and updated dates (from one repo) dnf/security-upgrade.feature:375 use all (3) advisories even if they are duplicates but with different issued and updated dates (from diff repos) dnf/security-upgrade.feature:402 use both advisories even if they are duplicates but with just summary different (from diff repos) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 22 failed, 0 skipped 43 steps passed, 22 failed, 96 skipped Took 0min 1.500s USING RUNNER: behave.runner:Runner Feature: --setopt option # dnf/setopt.feature:1 Feature: --setopt option # dnf/setopt.feature:1 Scenario: Without --setopt option, packages wget and flac are available # dnf/setopt.feature:13 Given I use repository "setopt" # dnf/steps/repo.py:186 And I use repository "setopt.ext" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bdik20bj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bdik20bj/var/cache/dnf repoquery And stderr is # None """ """ And stdout is # None """ flac-0:1.0-1.fc29.src flac-0:1.0-1.fc29.x86_64 flac-libs-0:1.0-1.fc29.x86_64 wget-0:1.0-1.fc29.src wget-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bdik20bj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bdik20bj/var/cache/dnf repoquery  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1746349 Scenario: --setopt option can be used to set config for specific repo (and repo id may contain dots) # dnf/setopt.feature:30 Given I use repository "setopt" # dnf/steps/repo.py:186 And I use repository "setopt.ext" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --setopt=setopt.ext.excludepkgs=*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i0tf6mua --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i0tf6mua/var/cache/dnf repoquery --setopt=setopt.ext.excludepkgs=* And stderr is # None """ """ And stdout is # None """ wget-0:1.0-1.fc29.src wget-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i0tf6mua --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i0tf6mua/var/cache/dnf repoquery --setopt=setopt.ext.excludepkgs=*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --setopt option can be used with globs to set config for multiple repos # dnf/setopt.feature:44 Given I use repository "setopt" # dnf/steps/repo.py:186 And I use repository "setopt.ext" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --setopt=setopt*.excludepkgs=wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5jbwlrrt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5jbwlrrt/var/cache/dnf repoquery --setopt=setopt*.excludepkgs=wget And stderr is # None """ """ And stdout is # None """ flac-0:1.0-1.fc29.src flac-0:1.0-1.fc29.x86_64 flac-libs-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5jbwlrrt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5jbwlrrt/var/cache/dnf repoquery --setopt=setopt*.excludepkgs=wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/setopt.feature:13 Without --setopt option, packages wget and flac are available dnf/setopt.feature:30 --setopt option can be used to set config for specific repo (and repo id may contain dots) dnf/setopt.feature:44 --setopt option can be used with globs to set config for multiple repos 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 9 steps passed, 3 failed, 6 skipped Took 0min 0.229s USING RUNNER: behave.runner:Runner @destructive Feature: Testing functionality related to sharing root metadata cache to users # dnf/shared-root-cache.feature:3 @destructive Feature: Testing functionality related to sharing root metadata cache to users # dnf/shared-root-cache.feature:3 Scenario: Root cache is shared when user metadata are empty # dnf/shared-root-cache.feature:13 Given I successfully execute "chmod go+rwx {context.dnf.installroot}" # common/cmd.py:35 And I create directory "/{context.dnf.installroot}/var/cache/dnf-user" # common/file.py:30 And I successfully execute "chmod 777 {context.dnf.installroot}/var/cache/dnf-user" # common/cmd.py:35 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7u1mok_4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7u1mok_4/var/cache/dnf makecache Then stderr matches line by line # None """ Updating and loading repositories: dnf-ci-fedora test repository .* Repositories loaded. """ And stdout is # None """ Metadata cache created. """ When I execute dnf with args "makecache --setopt=system_cachedir={context.dnf.installroot}/var/cache/dnf --setopt=cachedir={context.dnf.installroot}/var/cache/dnf-user" as an unprivileged user # None Then stderr matches line by line # None """ Updating and loading repositories: Last metadata expiration check: .* ago on .*\. Repositories loaded. """ And stdout is # None """ Metadata cache created. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7u1mok_4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7u1mok_4/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/shared-root-cache.feature:13 Root cache is shared when user metadata are empty 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 3 skipped 4 steps passed, 1 failed, 40 skipped Took 0min 0.151s USING RUNNER: behave.runner:Runner @destructive Feature: Testing functionality related to sharing root metadata cache to users # dnf/shared-root-cache.feature:3 @destructive Feature: Testing functionality related to sharing root metadata cache to users # dnf/shared-root-cache.feature:3 Scenario: Root cache is not shared when the user doesn't have permissions # dnf/shared-root-cache.feature:39 Given I successfully execute "chmod go+rwx {context.dnf.installroot}" # common/cmd.py:35 And I create directory "/{context.dnf.installroot}/var/cache/dnf-user" # common/file.py:30 And I successfully execute "chmod 777 {context.dnf.installroot}/var/cache/dnf-user" # common/cmd.py:35 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pehn_n2u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pehn_n2u/var/cache/dnf makecache Then stderr matches line by line # None """ Updating and loading repositories: dnf-ci-fedora test repository .* Repositories loaded. """ And stdout is # None """ Metadata cache created. """ When I successfully execute "chmod 700 {context.dnf.installroot}/var/cache/dnf" # None And I execute dnf with args "makecache --setopt=system_cachedir={context.dnf.installroot}/var/cache/dnf --setopt=cachedir={context.dnf.installroot}/var/cache/dnf-user" as an unprivileged user # None Then stderr matches line by line # None """ Updating and loading repositories: dnf-ci-fedora test repository .* Repositories loaded. """ And stdout is # None """ Metadata cache created. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pehn_n2u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pehn_n2u/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/shared-root-cache.feature:39 Root cache is not shared when the user doesn't have permissions 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 3 skipped 4 steps passed, 1 failed, 40 skipped Took 0min 0.155s USING RUNNER: behave.runner:Runner @destructive Feature: Testing functionality related to sharing root metadata cache to users # dnf/shared-root-cache.feature:3 @destructive Feature: Testing functionality related to sharing root metadata cache to users # dnf/shared-root-cache.feature:3 @bz2299337 Scenario: When root cache is shared metalink is copied as well and unprivileged user sees mirrors # dnf/shared-root-cache.feature:67 Given I successfully execute "chmod go+rwx {context.dnf.installroot}" # common/cmd.py:35 And I create directory "/{context.dnf.installroot}/var/cache/dnf-user" # common/file.py:30 And I successfully execute "chmod 777 {context.dnf.installroot}/var/cache/dnf-user" # common/cmd.py:35 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I set up metalink for repository "simple-base" # dnf/steps/repo.py:342 And I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5bm7wipg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5bm7wipg/var/cache/dnf makecache When I execute dnf with args "download labirinto.x86_64 --url --setopt=system_cachedir={context.dnf.installroot}/var/cache/dnf --setopt=cachedir={context.dnf.installroot}/var/cache/dnf-user" as an unprivileged user # None Then stdout is # None """ http://localhost:{context.dnf.ports[simple-base]}/x86_64/labirinto-1.0-1.fc29.x86_64.rpm """ Then stderr matches line by line # None """ Updating and loading repositories: Last metadata expiration check: .* ago on .*\. Repositories loaded. """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf-user" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/metalink.xml \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.* \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml \./simple-base-[0-9a-f]{16}/solv \./simple-base-[0-9a-f]{16}/solv/simple-base\.solv """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5bm7wipg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5bm7wipg/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/shared-root-cache.feature:67 When root cache is shared metalink is copied as well and unprivileged user sees mirrors 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 3 skipped 6 steps passed, 1 failed, 38 skipped Took 0min 0.304s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-suss9354', '/mp-ls2h5kab', '/mp-wgc2u2m6', '/mp-uz_vty19', '/mp-kqgab_qg', '/mp-e0yvff8a'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Testing functionality related to sharing root metadata cache to users # dnf/shared-root-cache.feature:3 @destructive Feature: Testing functionality related to sharing root metadata cache to users # dnf/shared-root-cache.feature:3 Scenario: When root cache is shared mirrorlist is copied as well and unprivileged user sees mirrors # dnf/shared-root-cache.feature:97 Given I successfully execute "chmod go+rwx {context.dnf.installroot}" # common/cmd.py:35 And I create directory "/{context.dnf.installroot}/var/cache/dnf-user" # common/file.py:30 And I successfully execute "chmod 777 {context.dnf.installroot}/var/cache/dnf-user" # common/cmd.py:35 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 And I create and substitute file "/tmp/mirrorlist-file" with # common/file.py:43 """ http://localhost:{context.dnf.ports[simple-base]} """ And I configure a new repository "simple-base" with # dnf/steps/repo.py:271 | key | value | | mirrorlist | {context.dnf.installroot}/tmp/mirrorlist-file | And I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xzxrv0aq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xzxrv0aq/var/cache/dnf makecache When I execute dnf with args "download labirinto.x86_64 --url --setopt=system_cachedir={context.dnf.installroot}/var/cache/dnf --setopt=cachedir={context.dnf.installroot}/var/cache/dnf-user" as an unprivileged user # None Then stdout is # None """ http://localhost:{context.dnf.ports[simple-base]}/x86_64/labirinto-1.0-1.fc29.x86_64.rpm """ Then stderr matches line by line # None """ Updating and loading repositories: Last metadata expiration check: .* ago on .*\. Repositories loaded. """ When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf-user" # None Then stdout matches line by line # None """ \. \./simple-base-[0-9a-f]{16} \./simple-base-[0-9a-f]{16}/mirrorlist \./simple-base-[0-9a-f]{16}/repodata \./simple-base-[0-9a-f]{16}/repodata/primary\.xml\.* \./simple-base-[0-9a-f]{16}/repodata/repomd\.xml \./simple-base-[0-9a-f]{16}/solv \./simple-base-[0-9a-f]{16}/solv/simple-base\.solv """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xzxrv0aq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xzxrv0aq/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/shared-root-cache.feature:97 When root cache is shared mirrorlist is copied as well and unprivileged user sees mirrors 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 3 skipped 6 steps passed, 1 failed, 38 skipped Took 0min 0.306s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-ocy7uh80', '/mp-kr_h7t7i', '/mp-j4nwwiig', '/mp-clb8ka9t', '/mp-7mctnexf', '/mp-7u3id4ou'} warnings.warn( USING RUNNER: behave.runner:Runner @xfail Feature: Shell distro-sync # dnf/shell-distro-sync.feature:3 @xfail Feature: Shell distro-sync # dnf/shell-distro-sync.feature:3 Scenario: Using dnf shell, make distro-sync for an RPM # dnf/shell-distro-sync.feature:22 Scenario: Using dnf shell, make distro-sync for mutiple RPMs # dnf/shell-distro-sync.feature:36 Scenario: Using dnf shell, fail to make distro-sync when no upgrade is available # dnf/shell-distro-sync.feature:49 Scenario: Using dnf shell, fail to make distro-sync for non-existent RPM # dnf/shell-distro-sync.feature:61 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 49 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell downgrade # dnf/shell-downgrade.feature:3 @xfail Feature: Shell downgrade # dnf/shell-downgrade.feature:3 Scenario: Using dnf shell, downgrade an RPM # dnf/shell-downgrade.feature:22 Scenario: Downgrade multiple RPMs # dnf/shell-downgrade.feature:35 Scenario: Using dnf shell, fail to downgrade an RPM of the lowest version # dnf/shell-downgrade.feature:49 Scenario: Using dnf shell, fail to downgrade non-existent RPM # dnf/shell-downgrade.feature:61 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 49 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Execute dnf shell commands from file # dnf/shell-from-file.feature:3 @xfail Feature: Execute dnf shell commands from file # dnf/shell-from-file.feature:3 Scenario: Execute dnf shell with file as argument # dnf/shell-from-file.feature:15 Scenario: Execute dnf shell with file on input # dnf/shell-from-file.feature:23 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 8 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell group # dnf/shell-group.feature:3 Scenario: Using dnf shell, install a package group # dnf/shell-group.feature:20 Scenario Outline: Using dnf shell, upgrade a package group using alias upgrade -- @1.1 # dnf/shell-group.feature:74 Scenario Outline: Using dnf shell, upgrade a package group using alias update -- @1.2 # dnf/shell-group.feature:75 Scenario: Using dnf shell, remove a package group # dnf/shell-group.feature:79 Scenario: Using dnf shell, fail to install a non-existent package group # dnf/shell-group.feature:105 Scenario: Using dnf shell, fail to remove a non-existent package group # dnf/shell-group.feature:116 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 6 skipped 0 steps passed, 0 failed, 63 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell help # dnf/shell-help.feature:3 @bz1659328 Scenario: Using dnf shell, list available commands (dnf) # dnf/shell-help.feature:7 @bz1659328 Scenario: Using dnf shell, list available commands (yum) # dnf/shell-help.feature:23 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 24 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell install # dnf/shell-install.feature:3 Scenario: Using dnf shell, install an RPM # dnf/shell-install.feature:6 @bz1658579 Scenario: Using dnf shell, fail to install an RPM when no repositories are enabled # dnf/shell-install.feature:21 Scenario: Using dnf shell, fail to install a non-existent RPM # dnf/shell-install.feature:32 @bz1773483 Scenario: Using dnf shell, fail to install local file when goal is not empty # dnf/shell-install.feature:45 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 33 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Execute more commands in one transaction in dnf shell # dnf/shell-more-commands.feature:3 Scenario: Using dnf shell, install and remove RPMs in one transaction # dnf/shell-more-commands.feature:6 Scenario: Using dnf shell, switch conflicting RPMs using install and remove # dnf/shell-more-commands.feature:26 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 23 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell reinstall # dnf/shell-reinstall.feature:3 @xfail Feature: Shell reinstall # dnf/shell-reinstall.feature:3 Scenario: Using dnf shell, reinstall an RPM # dnf/shell-reinstall.feature:20 Scenario: Using dnf shell, reinstall multiple RPMs # dnf/shell-reinstall.feature:31 Scenario: Using dnf shell, fail to reinstall non-existent RPM # dnf/shell-reinstall.feature:43 Scenario: Using dnf shell, fail to reinstall an RPM when relevant repository is disabled # dnf/shell-reinstall.feature:55 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 52 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell remove # dnf/shell-remove.feature:3 @xfail Feature: Shell remove # dnf/shell-remove.feature:3 Scenario: Using dnf shell, remove an RPM # dnf/shell-remove.feature:15 Scenario: Using dnf shell, fail to remove a non-existent RPM # dnf/shell-remove.feature:27 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 23 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell repo # dnf/shell-repo.feature:3 Scenario: Using dnf shell, enable repositories # dnf/shell-repo.feature:6 Scenario: Using dnf shell, disable repositories # dnf/shell-repo.feature:27 Scenario: Using dnf shell, disable and enable repositories # dnf/shell-repo.feature:40 Scenario: Using dnf shell, fail to enable non-existent repository # dnf/shell-repo.feature:56 Scenario: Using dnf shell, fail to disable non-existent repository # dnf/shell-repo.feature:64 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 5 skipped 0 steps passed, 0 failed, 45 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell swap # dnf/shell-swap.feature:3 @xfail Feature: Shell swap # dnf/shell-swap.feature:3 Scenario: Switch packages and their subpackages by swap command (using wildcards) # dnf/shell-swap.feature:11 Scenario: Switch groups by swap command # dnf/shell-swap.feature:42 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 28 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell upgrade-minimal # dnf/shell-upgrade-minimal.feature:3 @xfail Feature: Shell upgrade-minimal # dnf/shell-upgrade-minimal.feature:3 Scenario: Using dnf shell, make upgrade-minimal --bugfix # dnf/shell-upgrade-minimal.feature:22 Scenario: Using dnf shell, make upgrade-minimal --security # dnf/shell-upgrade-minimal.feature:36 Scenario Outline: Using dnf shell, fail to upgrade-minimal --bugfix when no such upgrade is available -- @1.1 # dnf/shell-upgrade-minimal.feature:62 Scenario Outline: Using dnf shell, fail to upgrade-minimal --security when no such upgrade is available -- @1.2 # dnf/shell-upgrade-minimal.feature:63 Scenario Outline: Using dnf shell, fail upgrade-minimal --bugfix for non-existent RPM -- @1.1 # dnf/shell-upgrade-minimal.feature:80 Scenario Outline: Using dnf shell, fail upgrade-minimal --security for non-existent RPM -- @1.2 # dnf/shell-upgrade-minimal.feature:81 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 6 skipped 0 steps passed, 0 failed, 78 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Shell upgrade # dnf/shell-upgrade.feature:3 @xfail Feature: Shell upgrade # dnf/shell-upgrade.feature:3 Scenario: Using dnf shell, upgrade an RPM # dnf/shell-upgrade.feature:18 Scenario: Using dnf shell, upgrade an RPM with the "update" alias # dnf/shell-upgrade.feature:30 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 24 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: SSL related tests # dnf/ssl.feature:1 Scenario: Installing a package from https repository # dnf/ssl.feature:4 Given I use repository "dnf-ci-fedora" as https # dnf/steps/repo.py:294 When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ikp4_h2f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ikp4_h2f/var/cache/dnf repolist And stdout contains "dnf-ci-fedora\s+dnf-ci-fedora" # None When I execute dnf with args "install filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ikp4_h2f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ikp4_h2f/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Installing a package from https repository with client verification # dnf/ssl.feature:17 Given I require client certificate verification with certificate "certificates/testcerts/client/cert.pem" and key "certificates/testcerts/client/key.pem" # dnf/steps/server.py:45 And I use repository "dnf-ci-fedora" as https # dnf/steps/repo.py:294 When I execute dnf with args "repolist" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e5t4o003 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e5t4o003/var/cache/dnf repolist And stdout is # None """ repo id repo name dnf-ci-fedora dnf-ci-fedora test repository """ When I execute dnf with args "install filesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e5t4o003 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e5t4o003/var/cache/dnf repolist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1605187 @bz1713627 Scenario: Installing a package using untrusted client cert should fail # dnf/ssl.feature:37 Given I require client certificate verification with certificate "certificates/testcerts/client2/cert.pem" and key "certificates/testcerts/client2/key.pem" # dnf/steps/server.py:45 And I use repository "dnf-ci-fedora" as https # dnf/steps/repo.py:294 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qdjd34rs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qdjd34rs/var/cache/dnf install filesystem And stderr contains ">>> Curl error" # None And stderr contains ">>> Usable URL not found" # None And stderr contains "Failed to download metadata \(baseurl: \"https://localhost:{context.dnf.ports[dnf-ci-fedora]}/\"\) for repository \"dnf-ci-fedora\"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qdjd34rs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qdjd34rs/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1605187 @bz1713627 Scenario: Installing a package using nonexistent client cert should fail # dnf/ssl.feature:64 Given I require client certificate verification with certificate "certificates/testcerts/nonexistent.pem" and key "certificates/testcerts/nonexistent.pem" # dnf/steps/server.py:45 And I use repository "dnf-ci-fedora" as https # dnf/steps/repo.py:294 When I execute dnf with args "install filesystem" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_436wu2zb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_436wu2zb/var/cache/dnf install filesystem And stderr matches line by line # None """ >>> Curl error \(58\)\: Problem with the local SSL certificate.* >>> Curl error \(58\)\: Problem with the local SSL certificate.* >>> Curl error \(58\)\: Problem with the local SSL certificate.* >>> Curl error \(58\)\: Problem with the local SSL certificate.* >>> Usable URL not found Failed to download metadata \(baseurl: \"https://localhost:[0-9]+/\"\) for repository \"dnf-ci-fedora\" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_436wu2zb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_436wu2zb/var/cache/dnf install filesystem  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Installation with untrusted repository should fail # dnf/ssl.feature:81 Given I use repository "simple-base" as https # dnf/steps/repo.py:294 And I configure repository "simple-base" with # dnf/steps/repo.py:197 | key | value | | sslcacert | {context.dnf.fixturesdir}/certificates/testcerts/ca2/cert.pem | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pquff_ed --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pquff_ed/var/cache/dnf install labirinto And stderr matches line by line # None """ >>> Curl error \(60\): SSL peer certificate or SSH remote key was not OK for https.* >>> Curl error \(60\): SSL peer certificate or SSH remote key was not OK for https.* >>> Curl error \(60\): SSL peer certificate or SSH remote key was not OK for https.* >>> Curl error \(60\): SSL peer certificate or SSH remote key was not OK for https.* >>> Usable URL not found Failed to download metadata \(baseurl: \"https://localhost:[0-9]+/\"\) for repository \"simple-base\" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pquff_ed --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pquff_ed/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Untrusted cert can be overriden with sslverify=False # dnf/ssl.feature:102 Given I use repository "simple-base" as https # dnf/steps/repo.py:294 And I configure repository "simple-base" with # dnf/steps/repo.py:197 | key | value | | sslcacert | {context.dnf.fixturesdir}/certificates/testcerts/ca2/cert.pem | | sslverify | false | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_waiz0pvg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_waiz0pvg/var/cache/dnf install labirinto ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_waiz0pvg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_waiz0pvg/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/ssl.feature:4 Installing a package from https repository dnf/ssl.feature:17 Installing a package from https repository with client verification dnf/ssl.feature:37 Installing a package using untrusted client cert should fail dnf/ssl.feature:64 Installing a package using nonexistent client cert should fail dnf/ssl.feature:81 Installation with untrusted repository should fail dnf/ssl.feature:102 Untrusted cert can be overriden with sslverify=False 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 17 steps passed, 6 failed, 13 skipped Took 0min 1.045s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 36 leaked semaphore objects to clean up at shutdown: {'/mp-0h209sc8', '/mp-ep43520u', '/mp-m48wg79s', '/mp-0rvac55j', '/mp-sxbo6q3p', '/mp-2_cdtiz8', '/mp-p2qvk0yt', '/mp-0nh8hzbi', '/mp-4bgcpzor', '/mp-hto42j95', '/mp-rmr8tokb', '/mp-lh1sjvh2', '/mp-0js4amqu', '/mp-fw7l9hx5', '/mp-i7k5n6z_', '/mp-t23y5_41', '/mp-ws0ft841', '/mp-d0aorjqv', '/mp-j37x25x7', '/mp-0qx52w2u', '/mp-6vx6cke9', '/mp-cgwlooah', '/mp-un36vi3y', '/mp-by88ct86', '/mp-3ifo8v3z', '/mp-i8n18n6l', '/mp-9kvgn37n', '/mp-edyo4iuc', '/mp-3wtn7scl', '/mp-5zq1jiwi', '/mp-2c32b1bo', '/mp-zzd9rumk', '/mp-lnslxpc1', '/mp-90ce8s9z', '/mp-obf1_03y', '/mp-achy1yq4'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Testing the status command # dnf/status.feature:1 Scenario: Status shows summary when no packages are installed # dnf/status.feature:4 Given I use repository "comps-group" # dnf/steps/repo.py:186 When I execute dnf with args "status" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gczt7beu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gczt7beu/var/cache/dnf status And stderr is # None """ """ And stdout contains lines matching # None """ Groups\s+: 2 Environments\s+: 2 Enabled Repositories\s+: 1 """ And stdout contains "Packages" # None And stdout contains "Installed Size" # None And stdout does not contain "Last Transaction" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gczt7beu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gczt7beu/var/cache/dnf status  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Status shows updated counts after installing a group # dnf/status.feature:23 Given I use repository "comps-group" # dnf/steps/repo.py:186 And I successfully execute dnf with args "group install test-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oobmibzp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oobmibzp/var/cache/dnf group install test-group When I execute dnf with args "status" # None Then the exit code is 0 # None And stdout contains lines matching # None """ Groups\s+: 3 Environments\s+: 2 Packages\s+: 3 Enabled Repositories\s+: 1 """ And stdout contains "Installed Size" # None And stdout contains "Last Transaction" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oobmibzp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oobmibzp/var/cache/dnf group install test-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/status.feature:4 Status shows summary when no packages are installed dnf/status.feature:23 Status shows updated counts after installing a group 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 3 steps passed, 2 failed, 10 skipped Took 0min 0.142s USING RUNNER: behave.runner:Runner Feature: DNF allow_vendor_change defaults to false # dnf/stick-to-vendor-default.feature:1 Feature: DNF allow_vendor_change defaults to false # dnf/stick-to-vendor-default.feature:1 Scenario: Upgrade sticks to vendor by default # dnf/stick-to-vendor-default.feature:18 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h68wm6go --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h68wm6go/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.1-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h68wm6go --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h68wm6go/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: No upgrade if same vendor not found by default # dnf/stick-to-vendor-default.feature:31 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h7877908 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h7877908/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is empty # None Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h7877908 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h7877908/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Hint shown when vendor change blocked by default # dnf/stick-to-vendor-default.feature:41 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_blrjapg2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_blrjapg2/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None When I execute dnf with args "upgrade vendor" # None Given I drop repository "dnf-ci-vendor-1" # None Given I use repository "dnf-ci-vendor-2" # None When I execute dnf with args "downgrade vendor" # None Then the exit code is 1 # None And Transaction is empty # None And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "First Vendor" -> "Second Vendor". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_blrjapg2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_blrjapg2/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Override default with --setopt=allow_vendor_change=true # dnf/stick-to-vendor-default.feature:57 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t7o2vmww --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t7o2vmww/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "upgrade --setopt=allow_vendor_change=true vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t7o2vmww --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t7o2vmww/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/stick-to-vendor-default.feature:18 Upgrade sticks to vendor by default dnf/stick-to-vendor-default.feature:31 No upgrade if same vendor not found by default dnf/stick-to-vendor-default.feature:41 Hint shown when vendor change blocked by default dnf/stick-to-vendor-default.feature:57 Override default with --setopt=allow_vendor_change=true 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 53 skipped Took 0min 0.201s USING RUNNER: behave.runner:Runner Feature: DNF allow_vendor_change option with policies in .../vendors.d/*.conf TOML files # dnf/stick-to-vendor-policies.feature:1 Feature: DNF allow_vendor_change option with policies in .../vendors.d/*.conf TOML files # dnf/stick-to-vendor-policies.feature:1 Scenario: Upgrade with vendor policy - allow change from First Vendor to Second Vendor # dnf/stick-to-vendor-policies.feature:22 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x_jbml5_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x_jbml5_/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: file://{context.dnf.installroot}/etc/dnf/vendors.d/test-policy.conf\n out:\"First Vendor\",in:\"Second Vendor\"" # None And stdout does not contain "Policy #1:" # None And stdout does not contain "vendor change policies will be ignored" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x_jbml5_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x_jbml5_/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - any vendor change allowed using --allow-vendor-change, vendor change policies loaded but ignored # dnf/stick-to-vendor-policies.feature:50 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y0uovn5k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y0uovn5k/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies --allow-vendor-change upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: file://{context.dnf.installroot}/etc/dnf/vendors.d/test-policy.conf\n out:\"First Vendor\",in:\"Second Vendor\"" # None And stdout contains "allow_vendor_change is enabled. Packages can be replaced by any vendor, and vendor change policies will be ignored." # None And stdout does not contain "Policy #1:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.3-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Third Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y0uovn5k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y0uovn5k/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - vendor change not allowed (policy from conf file cleared using --clear-vendor-policies) # dnf/stick-to-vendor-policies.feature:78 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6l1jyg6w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6l1jyg6w/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies --clear-vendor-policies upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout does not contain "Policy #0:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.1-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6l1jyg6w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6l1jyg6w/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - allow change from First Vendor to Second Vendor (--with-vendor-policy) # dnf/stick-to-vendor-policies.feature:104 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nwbo3k_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nwbo3k_0/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies --with-vendor-policy=out:\"First\ Vendor\",in:\"Second\ Vendor\" upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: text:COMMAND LINE\n out:\"First Vendor\",in:\"Second Vendor\"" # None And stdout does not contain "Policy #1:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nwbo3k_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nwbo3k_0/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - allow change from First Vendor to Second (--with-vendor-policy) and Third Vendor (Third has newer version) # dnf/stick-to-vendor-policies.feature:121 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c0lnbnwi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c0lnbnwi/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Third Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies --with-vendor-policy=out:\"First\ Vendor\",in:\"Second\ Vendor\" upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: file://{context.dnf.installroot}/etc/dnf/vendors.d/test-policy.conf\n out:\"First Vendor\",in:\"Third Vendor\"" # None And stdout contains "Policy #1: source: text:COMMAND LINE\n out:\"First Vendor\",in:\"Second Vendor\"" # None And stdout does not contain "Policy #2:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.3-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Third Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c0lnbnwi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c0lnbnwi/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - allow change from First Vendor to Second Vendor (policy from conf file cleared using --clear-vendor-policies) # dnf/stick-to-vendor-policies.feature:149 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_047fgmjm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_047fgmjm/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Third Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies --clear-vendor-policies --with-vendor-policy=out:\"First\ Vendor\",in:\"Second\ Vendor\" upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: text:COMMAND LINE\n out:\"First Vendor\",in:\"Second Vendor\"" # None And stdout does not contain "Policy #1:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_047fgmjm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_047fgmjm/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - allow change from First Vendor to Second Vendor and Third (in two config files, Third has newer version) # dnf/stick-to-vendor-policies.feature:176 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_091otsyt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_091otsyt/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/allow-first-to-third.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Third Vendor' """ Given I create file "/etc/dnf/vendors.d/allow-first-to-second.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: file://{context.dnf.installroot}/etc/dnf/vendors.d/allow-first-to-second.conf\n out:\"First Vendor\",in:\"Second Vendor\"" # None And stdout contains "Policy #1: source: file://{context.dnf.installroot}/etc/dnf/vendors.d/allow-first-to-third.conf\n out:\"First Vendor\",in:\"Third Vendor\"" # None And stdout does not contain "Policy #2:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.3-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Third Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_091otsyt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_091otsyt/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - allow change from First Vendor to Second Vendor (policy to Third is removed using --disable-vendor-policy-source) # dnf/stick-to-vendor-policies.feature:214 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l12tko3e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l12tko3e/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/allow-first-to-third.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Third Vendor' """ Given I create file "/etc/dnf/vendors.d/allow-first-to-second.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--disable-vendor-policy-source='*/allow-first-to-third.conf' upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l12tko3e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l12tko3e/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - allow change from First Vendor to Third Vendor (policy to Second is removed using --disable-vendor-policy-source) # dnf/stick-to-vendor-policies.feature:248 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ed8kkmdx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ed8kkmdx/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/allow-first-to-third.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Third Vendor' """ Given I create file "/etc/dnf/vendors.d/allow-first-to-second.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies --disable-vendor-policy-source='*/*second*' upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: file://{context.dnf.installroot}/etc/dnf/vendors.d/allow-first-to-third.conf\n out:\"First Vendor\",in:\"Third Vendor\"" # None And stdout does not contain "Policy #1:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.3-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Third Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ed8kkmdx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ed8kkmdx/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - allow change from First Vendor to Second Vendor (conf file in /usr) # dnf/stick-to-vendor-policies.feature:285 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_77d5bot_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_77d5bot_/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/usr/share/dnf5/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: file://{context.dnf.installroot}/usr/share/dnf5/vendors.d/test-policy.conf\n out:\"First Vendor\",in:\"Second Vendor\"" # None And stdout does not contain "Policy #1:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_77d5bot_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_77d5bot_/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - allow change from First Vendor to Second Vendor (conf in /etc overrides /usr) # dnf/stick-to-vendor-policies.feature:312 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rq2vy9ml --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rq2vy9ml/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/usr/share/dnf5/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Third Vendor' """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--dump-vendor-policies upgrade vendor" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: file://{context.dnf.installroot}/etc/dnf/vendors.d/test-policy.conf\n out:\"First Vendor\",in:\"Second Vendor\"" # None And stdout does not contain "Policy #1:" # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rq2vy9ml --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rq2vy9ml/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - equivalent vendors (mutual change allowed) # dnf/stick-to-vendor-policies.feature:349 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_icbvue6f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_icbvue6f/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[equivalent_vendors]] vendor = 'First Vendor' [[equivalent_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_icbvue6f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_icbvue6f/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - equivalent vendors (mutual change allowed, --with-vendor-policy, used optional '=') # dnf/stick-to-vendor-policies.feature:373 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j1thwvx1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j1thwvx1/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=eq:=\"First\ Vendor\",eq:\"Second\ Vendor\" upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j1thwvx1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j1thwvx1/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - change for "First vendor" is not allowed # dnf/stick-to-vendor-policies.feature:387 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m3yi_p5l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m3yi_p5l/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'Third Vendor' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.1-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m3yi_p5l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m3yi_p5l/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - glob pattern matching # dnf/stick-to-vendor-policies.feature:411 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_170hbj5p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_170hbj5p/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'First Vendor' [[incoming_vendors]] vendor = '*Ve*or' comparator = 'GLOB' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.3-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Third Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_170hbj5p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_170hbj5p/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - glob pattern matching (--with-vendor-policy) # dnf/stick-to-vendor-policies.feature:436 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ju0ekj5q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ju0ekj5q/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=out:\"First\ Vendor\",in:=*\"*Ve*or\" upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.3-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Third Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ju0ekj5q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ju0ekj5q/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - case insensitive matching and starts with # dnf/stick-to-vendor-policies.feature:450 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vksj8kqc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vksj8kqc/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' [[outgoing_vendors]] vendor = 'first' comparator = 'ISTARTSWITH' [[incoming_vendors]] vendor = 'second vendor' comparator = 'IEXACT' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vksj8kqc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vksj8kqc/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - case insensitive matching and starts with (--with-vendor-policy) # dnf/stick-to-vendor-policies.feature:476 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r8a_vxdt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r8a_vxdt/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=out:i^\"first\",in:i=\"second\ vendor\" upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r8a_vxdt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r8a_vxdt/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - using exclude to prevent specific vendor # dnf/stick-to-vendor-policies.feature:490 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wpx2o4ix --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wpx2o4ix/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.0' # Exclude "Third vendor" [[equivalent_vendors]] vendor = 'Third Vendor' exclude = true # All others vendors are equivalent (mutual change allowed) [[equivalent_vendors]] vendor = '' comparator = 'CONTAINS' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wpx2o4ix --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wpx2o4ix/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - using exclude to prevent specific vendor (--with-vendor-policy) # dnf/stick-to-vendor-policies.feature:518 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fn0px7p3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fn0px7p3/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=eq:e\"Third\ Vendor\",eq:*\"\" upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.2-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: Second Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fn0px7p3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fn0px7p3/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/stick-to-vendor-policies.feature:22 Upgrade with vendor policy - allow change from First Vendor to Second Vendor dnf/stick-to-vendor-policies.feature:50 Upgrade with vendor policy - any vendor change allowed using --allow-vendor-change, vendor change policies loaded but ignored dnf/stick-to-vendor-policies.feature:78 Upgrade with vendor policy - vendor change not allowed (policy from conf file cleared using --clear-vendor-policies) dnf/stick-to-vendor-policies.feature:104 Upgrade with vendor policy - allow change from First Vendor to Second Vendor (--with-vendor-policy) dnf/stick-to-vendor-policies.feature:121 Upgrade with vendor policy - allow change from First Vendor to Second (--with-vendor-policy) and Third Vendor (Third has newer version) dnf/stick-to-vendor-policies.feature:149 Upgrade with vendor policy - allow change from First Vendor to Second Vendor (policy from conf file cleared using --clear-vendor-policies) dnf/stick-to-vendor-policies.feature:176 Upgrade with vendor policy - allow change from First Vendor to Second Vendor and Third (in two config files, Third has newer version) dnf/stick-to-vendor-policies.feature:214 Upgrade with vendor policy - allow change from First Vendor to Second Vendor (policy to Third is removed using --disable-vendor-policy-source) dnf/stick-to-vendor-policies.feature:248 Upgrade with vendor policy - allow change from First Vendor to Third Vendor (policy to Second is removed using --disable-vendor-policy-source) dnf/stick-to-vendor-policies.feature:285 Upgrade with vendor policy - allow change from First Vendor to Second Vendor (conf file in /usr) dnf/stick-to-vendor-policies.feature:312 Upgrade with vendor policy - allow change from First Vendor to Second Vendor (conf in /etc overrides /usr) dnf/stick-to-vendor-policies.feature:349 Upgrade with vendor policy - equivalent vendors (mutual change allowed) dnf/stick-to-vendor-policies.feature:373 Upgrade with vendor policy - equivalent vendors (mutual change allowed, --with-vendor-policy, used optional '=') dnf/stick-to-vendor-policies.feature:387 Upgrade with vendor policy - change for "First vendor" is not allowed dnf/stick-to-vendor-policies.feature:411 Upgrade with vendor policy - glob pattern matching dnf/stick-to-vendor-policies.feature:436 Upgrade with vendor policy - glob pattern matching (--with-vendor-policy) dnf/stick-to-vendor-policies.feature:450 Upgrade with vendor policy - case insensitive matching and starts with dnf/stick-to-vendor-policies.feature:476 Upgrade with vendor policy - case insensitive matching and starts with (--with-vendor-policy) dnf/stick-to-vendor-policies.feature:490 Upgrade with vendor policy - using exclude to prevent specific vendor dnf/stick-to-vendor-policies.feature:518 Upgrade with vendor policy - using exclude to prevent specific vendor (--with-vendor-policy) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 20 failed, 0 skipped 40 steps passed, 20 failed, 332 skipped Took 0min 0.747s USING RUNNER: behave.runner:Runner Feature: DNF allow_vendor_change option with policies version "1.1" in .../vendors.d/*.conf TOML files # dnf/stick-to-vendor-policies1_1.feature:1 Feature: DNF allow_vendor_change option with policies version "1.1" in .../vendors.d/*.conf TOML files # dnf/stick-to-vendor-policies1_1.feature:1 Scenario: Upgrade with vendor policy - equivalent vendors and incoming vendors together # dnf/stick-to-vendor-policies1_1.feature:23 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1gp5au9_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1gp5au9_/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.1' [[equivalent_vendors]] vendor = 'First Vendor' [[equivalent_vendors]] vendor = 'Second Vendor' [[incoming_vendors]] vendor = 'Third Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor vendorpkg-1.12-1 : Third Vendor vendordep-1.8-1 : Third Vendor vendordep2-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1gp5au9_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1gp5au9_/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - equivalent vendors and incoming vendors together (--with-vendor-policy) # dnf/stick-to-vendor-policies1_1.feature:53 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k7smcf9a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k7smcf9a/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=eq:\"First\ Vendor\",eq:\"Second\ Vendor\",in:\"Third\ Vendor\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor vendorpkg-1.12-1 : Third Vendor vendordep-1.8-1 : Third Vendor vendordep2-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k7smcf9a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k7smcf9a/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - any vendor change to "Second vendor" is allowed # dnf/stick-to-vendor-policies1_1.feature:70 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p_qs25i_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p_qs25i_/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.1' [[incoming_vendors]] vendor = 'Second Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor vendorpkg-1.10-1 : Second Vendor vendordep-1.6-1 : First Vendor vendordep2-1.1-1 : Second Vendor vendordep3-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p_qs25i_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p_qs25i_/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - any vendor change to "Second vendor" is allowed (--with-vendor-policy) # dnf/stick-to-vendor-policies1_1.feature:95 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6a0m9rga --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6a0m9rga/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:\"Second\ Vendor\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor vendorpkg-1.10-1 : Second Vendor vendordep-1.6-1 : First Vendor vendordep2-1.1-1 : Second Vendor vendordep3-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6a0m9rga --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6a0m9rga/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - Allow packages from the dnf-ci-vendor-2-updates repo from any vendor # dnf/stick-to-vendor-policies1_1.feature:113 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c0bn7eou --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c0bn7eou/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.1' [[incoming_packages]] filters = [ { filter = 'repoid', value = 'dnf-ci-vendor-2-updates' }, ] """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor vendorpkg-1.10-1 : Second Vendor vendordep-1.6-1 : First Vendor vendordep2-1.1-1 : Second Vendor vendordep3-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c0bn7eou --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c0bn7eou/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - Allow packages from the dnf-ci-vendor-2-updates repo from any vendor (--with-vendor-policy) # dnf/stick-to-vendor-policies1_1.feature:140 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wtzctf3n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wtzctf3n/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=@in:[repoid=\"dnf-ci-vendor-2-updates\"] upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor vendorpkg-1.10-1 : Second Vendor vendordep-1.6-1 : First Vendor vendordep2-1.1-1 : Second Vendor vendordep3-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wtzctf3n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wtzctf3n/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - Allow change vendor of packages installed from the dnf-ci-vendor-1 repo # dnf/stick-to-vendor-policies1_1.feature:158 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5j1bg8af --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5j1bg8af/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.1' [[outgoing_packages]] filters = [ { filter = 'repoid', value = 'dnf-ci-vendor-1' }, ] """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor vendorpkg-1.12-1 : Third Vendor vendordep-1.8-1 : Third Vendor vendordep2-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5j1bg8af --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5j1bg8af/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - Allow change vendor of packages installed from the dnf-ci-vendor-1 repo (--with-vendor-policy) # dnf/stick-to-vendor-policies1_1.feature:184 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_md5y93wf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_md5y93wf/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=@out:[repoid=\"dnf-ci-vendor-1\"] upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor vendorpkg-1.12-1 : Third Vendor vendordep-1.8-1 : Third Vendor vendordep2-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_md5y93wf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_md5y93wf/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - Allow packages from the command-line repo from any vendor # dnf/stick-to-vendor-policies1_1.feature:201 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w9_rulxk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w9_rulxk/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.1' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade {context.dnf.fixturesdir}/repos/dnf-ci-vendor-2-updates/x86_64/vendor-1.2-1.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-vendor-3-updates/x86_64/vendorpkg-1.12-1.x86_64.rpm" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor vendorpkg-1.12-1 : Third Vendor vendordep-1.0-1 : First Vendor vendordep2-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w9_rulxk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w9_rulxk/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - Allow packages from the command-line repo from any vendor (--with-vendor-policy) # dnf/stick-to-vendor-policies1_1.feature:227 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__pp7g32v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__pp7g32v/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=@in:[cmdline_repo=\"true\"] upgrade {context.dnf.fixturesdir}/repos/dnf-ci-vendor-2-updates/x86_64/vendor-1.2-1.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-vendor-3-updates/x86_64/vendorpkg-1.12-1.x86_64.rpm" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor vendorpkg-1.12-1 : Third Vendor vendordep-1.0-1 : First Vendor vendordep2-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__pp7g32v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__pp7g32v/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - Allow packages from the command-line repo from any vendor with exclusion packages whose name ends with "pkg" # dnf/stick-to-vendor-policies1_1.feature:244 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fyp_ayf5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fyp_ayf5/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.1' [[incoming_packages]] filters = [ { filter = 'name', value = 'pkg', comparator = 'ENDSWITH' } ] exclude = true [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = '1' } ] """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade {context.dnf.fixturesdir}/repos/dnf-ci-vendor-2-updates/x86_64/vendor-1.2-1.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-vendor-3-updates/x86_64/vendorpkg-1.12-1.x86_64.rpm" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fyp_ayf5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fyp_ayf5/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - Allow packages from the command-line repo from any vendor with exclusion packages whose name ends with "pkg" (--with-vendor-policy) # dnf/stick-to-vendor-policies1_1.feature:275 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kj1ew477 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kj1ew477/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=@in:e[name$\"pkg\"],in:[cmdline_repo=\"1\"] upgrade {context.dnf.fixturesdir}/repos/dnf-ci-vendor-2-updates/x86_64/vendor-1.2-1.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-vendor-3-updates/x86_64/vendorpkg-1.12-1.x86_64.rpm" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kj1ew477 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kj1ew477/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - all incoming packages whose source name starting "vend" and version is >= "1.8" to change vendor to "Third Vendor" # dnf/stick-to-vendor-policies1_1.feature:291 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wkci91mx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wkci91mx/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.1' [[incoming_packages]] filters = [ { filter = 'source_name', value = 'vend', comparator = 'STARTSWITH' }, { filter = 'version', value = '1.8', comparator = 'GTE' } ] [[incoming_vendors]] vendor = 'Third Vendor' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.1-1 : First Vendor vendorpkg-1.12-1 : Third Vendor vendordep-1.8-1 : Third Vendor vendordep2-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wkci91mx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wkci91mx/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade with vendor policy - all incoming packages whose source name starting "vend" and version is >= "1.8" to change vendor to "Third Vendor" (--with-vendor-policy) # dnf/stick-to-vendor-policies1_1.feature:321 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__zl77kmu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__zl77kmu/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:\"Third\ Vendor\"@in:[source_name^\"vend\",version\>=\"1.8\"] upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.1-1 : First Vendor vendorpkg-1.12-1 : Third Vendor vendordep-1.8-1 : Third Vendor vendordep2-1.2-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__zl77kmu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__zl77kmu/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/stick-to-vendor-policies1_1.feature:23 Upgrade with vendor policy - equivalent vendors and incoming vendors together dnf/stick-to-vendor-policies1_1.feature:53 Upgrade with vendor policy - equivalent vendors and incoming vendors together (--with-vendor-policy) dnf/stick-to-vendor-policies1_1.feature:70 Upgrade with vendor policy - any vendor change to "Second vendor" is allowed dnf/stick-to-vendor-policies1_1.feature:95 Upgrade with vendor policy - any vendor change to "Second vendor" is allowed (--with-vendor-policy) dnf/stick-to-vendor-policies1_1.feature:113 Upgrade with vendor policy - Allow packages from the dnf-ci-vendor-2-updates repo from any vendor dnf/stick-to-vendor-policies1_1.feature:140 Upgrade with vendor policy - Allow packages from the dnf-ci-vendor-2-updates repo from any vendor (--with-vendor-policy) dnf/stick-to-vendor-policies1_1.feature:158 Upgrade with vendor policy - Allow change vendor of packages installed from the dnf-ci-vendor-1 repo dnf/stick-to-vendor-policies1_1.feature:184 Upgrade with vendor policy - Allow change vendor of packages installed from the dnf-ci-vendor-1 repo (--with-vendor-policy) dnf/stick-to-vendor-policies1_1.feature:201 Upgrade with vendor policy - Allow packages from the command-line repo from any vendor dnf/stick-to-vendor-policies1_1.feature:227 Upgrade with vendor policy - Allow packages from the command-line repo from any vendor (--with-vendor-policy) dnf/stick-to-vendor-policies1_1.feature:244 Upgrade with vendor policy - Allow packages from the command-line repo from any vendor with exclusion packages whose name ends with "pkg" dnf/stick-to-vendor-policies1_1.feature:275 Upgrade with vendor policy - Allow packages from the command-line repo from any vendor with exclusion packages whose name ends with "pkg" (--with-vendor-policy) dnf/stick-to-vendor-policies1_1.feature:291 Upgrade with vendor policy - all incoming packages whose source name starting "vend" and version is >= "1.8" to change vendor to "Third Vendor" dnf/stick-to-vendor-policies1_1.feature:321 Upgrade with vendor policy - all incoming packages whose source name starting "vend" and version is >= "1.8" to change vendor to "Third Vendor" (--with-vendor-policy) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 14 failed, 0 skipped 28 steps passed, 14 failed, 175 skipped Took 0min 0.539s USING RUNNER: behave.runner:Runner Feature: DNF allow_vendor_change option with policies version "1.2" # dnf/stick-to-vendor-policies1_2.feature:1 Feature: DNF allow_vendor_change option with policies version "1.2" # dnf/stick-to-vendor-policies1_2.feature:1 Scenario Outline: Upgrade with vendor policy - NOT_STARTSWITH -- @1.1 # dnf/stick-to-vendor-policies1_2.feature:46 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_brcizvgw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_brcizvgw/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = 'Third' comparator = 'NOT_STARTSWITH' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_brcizvgw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_brcizvgw/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_STARTSWITH -- @1.2 # dnf/stick-to-vendor-policies1_2.feature:47 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ps3a7fg7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ps3a7fg7/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = 'third' comparator = 'NOT_STARTSWITH' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ps3a7fg7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ps3a7fg7/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_ISTARTSWITH -- @1.3 # dnf/stick-to-vendor-policies1_2.feature:48 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vfp7dzuh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vfp7dzuh/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = 'third' comparator = 'NOT_ISTARTSWITH' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vfp7dzuh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vfp7dzuh/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_ISTARTSWITH -- @1.4 # dnf/stick-to-vendor-policies1_2.feature:49 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e6h6ea07 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e6h6ea07/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = 'five' comparator = 'NOT_ISTARTSWITH' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e6h6ea07 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e6h6ea07/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_ENDSWITH -- @1.5 # dnf/stick-to-vendor-policies1_2.feature:50 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mtqva4je --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mtqva4je/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = 'rd Vendor' comparator = 'NOT_ENDSWITH' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mtqva4je --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mtqva4je/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_ENDSWITH -- @1.6 # dnf/stick-to-vendor-policies1_2.feature:51 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_60qhv4aq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_60qhv4aq/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = 'rd vendor' comparator = 'NOT_ENDSWITH' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_60qhv4aq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_60qhv4aq/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_IENDSWITH -- @1.7 # dnf/stick-to-vendor-policies1_2.feature:52 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1x76m2ql --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1x76m2ql/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = 'rd vendor' comparator = 'NOT_IENDSWITH' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1x76m2ql --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1x76m2ql/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_IENDSWITH -- @1.8 # dnf/stick-to-vendor-policies1_2.feature:53 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8zudared --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8zudared/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = 'five' comparator = 'NOT_IENDSWITH' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8zudared --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8zudared/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_REGEX -- @1.9 # dnf/stick-to-vendor-policies1_2.feature:54 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8nwgx9ob --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8nwgx9ob/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = '^T.ird.*' comparator = 'NOT_REGEX' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8nwgx9ob --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8nwgx9ob/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_REGEX -- @1.10 # dnf/stick-to-vendor-policies1_2.feature:55 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_298av314 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_298av314/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = '^t.ird.*' comparator = 'NOT_REGEX' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_298av314 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_298av314/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_IREGEX -- @1.11 # dnf/stick-to-vendor-policies1_2.feature:56 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1tpqj96d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1tpqj96d/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = '^t.ird.*' comparator = 'NOT_IREGEX' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1tpqj96d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1tpqj96d/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - NOT_IREGEX -- @1.12 # dnf/stick-to-vendor-policies1_2.feature:57 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_19zcs2ot --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_19zcs2ot/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I create file "/etc/dnf/vendors.d/test-policy.conf" with # None """ version = '1.2' [[incoming_vendors]] vendor = '^p.ird.*' comparator = 'NOT_IREGEX' """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_19zcs2ot --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_19zcs2ot/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !^ (--with-vendor-policy) -- @1.1 # dnf/stick-to-vendor-policies1_2.feature:75 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pozcee6h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pozcee6h/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!^\"Third\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pozcee6h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pozcee6h/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !^ (--with-vendor-policy) -- @1.2 # dnf/stick-to-vendor-policies1_2.feature:76 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_99s7t1to --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_99s7t1to/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!^\"third\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_99s7t1to --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_99s7t1to/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !i^ (--with-vendor-policy) -- @1.3 # dnf/stick-to-vendor-policies1_2.feature:77 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mllvpi8m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mllvpi8m/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!i^\"third\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mllvpi8m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mllvpi8m/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !i^ (--with-vendor-policy) -- @1.4 # dnf/stick-to-vendor-policies1_2.feature:78 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3tokbxes --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3tokbxes/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!i^\"five\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3tokbxes --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3tokbxes/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !$ (--with-vendor-policy) -- @1.5 # dnf/stick-to-vendor-policies1_2.feature:79 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_spabb_yn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_spabb_yn/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!$\"rd\ Vendor\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_spabb_yn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_spabb_yn/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !$ (--with-vendor-policy) -- @1.6 # dnf/stick-to-vendor-policies1_2.feature:80 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yea63scv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yea63scv/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!$\"rd\ vendor\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yea63scv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yea63scv/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !i$ (--with-vendor-policy) -- @1.7 # dnf/stick-to-vendor-policies1_2.feature:81 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kzwzuetf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kzwzuetf/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!i$\"rd\ vendor\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kzwzuetf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kzwzuetf/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !i$ (--with-vendor-policy) -- @1.8 # dnf/stick-to-vendor-policies1_2.feature:82 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w1cpwwc8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w1cpwwc8/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!i$\"five\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w1cpwwc8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w1cpwwc8/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !=~ (--with-vendor-policy) -- @1.9 # dnf/stick-to-vendor-policies1_2.feature:83 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7_096kof --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7_096kof/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!=~\"^T.ird.*\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7_096kof --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7_096kof/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !=~ (--with-vendor-policy) -- @1.10 # dnf/stick-to-vendor-policies1_2.feature:84 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u45d08ph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u45d08ph/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!=~\"^t.ird.*\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u45d08ph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u45d08ph/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !i=~ (--with-vendor-policy) -- @1.11 # dnf/stick-to-vendor-policies1_2.feature:85 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3495fc67 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3495fc67/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!i=~\"^t.ird.*\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.2-1 : Second Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3495fc67 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3495fc67/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade with vendor policy - !i=~ (--with-vendor-policy) -- @1.12 # dnf/stick-to-vendor-policies1_2.feature:86 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor vendorpkg" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o7z_7e6r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o7z_7e6r/var/cache/dnf install vendor vendorpkg Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -a" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.0-1 : First Vendor vendorpkg-1.0-1 : First Vendor vendordep-1.0-1 : First Vendor """ Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None Given I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "--with-vendor-policy=in:!i=~\"^p.ird.*\" upgrade '*'" # None Then the exit code is 0 # None Given I successfully execute rpm with args "--queryformat='%{{name}}-%{{version}}-%{{release}} : %{{vendor}}\n' -q -i vendor" # None Then the exit code is 0 # None And stdout contains lines # None """ vendor-1.3-1 : Third Vendor """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o7z_7e6r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o7z_7e6r/var/cache/dnf install vendor vendorpkg  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/stick-to-vendor-policies1_2.feature:46 Upgrade with vendor policy - NOT_STARTSWITH -- @1.1 dnf/stick-to-vendor-policies1_2.feature:47 Upgrade with vendor policy - NOT_STARTSWITH -- @1.2 dnf/stick-to-vendor-policies1_2.feature:48 Upgrade with vendor policy - NOT_ISTARTSWITH -- @1.3 dnf/stick-to-vendor-policies1_2.feature:49 Upgrade with vendor policy - NOT_ISTARTSWITH -- @1.4 dnf/stick-to-vendor-policies1_2.feature:50 Upgrade with vendor policy - NOT_ENDSWITH -- @1.5 dnf/stick-to-vendor-policies1_2.feature:51 Upgrade with vendor policy - NOT_ENDSWITH -- @1.6 dnf/stick-to-vendor-policies1_2.feature:52 Upgrade with vendor policy - NOT_IENDSWITH -- @1.7 dnf/stick-to-vendor-policies1_2.feature:53 Upgrade with vendor policy - NOT_IENDSWITH -- @1.8 dnf/stick-to-vendor-policies1_2.feature:54 Upgrade with vendor policy - NOT_REGEX -- @1.9 dnf/stick-to-vendor-policies1_2.feature:55 Upgrade with vendor policy - NOT_REGEX -- @1.10 dnf/stick-to-vendor-policies1_2.feature:56 Upgrade with vendor policy - NOT_IREGEX -- @1.11 dnf/stick-to-vendor-policies1_2.feature:57 Upgrade with vendor policy - NOT_IREGEX -- @1.12 dnf/stick-to-vendor-policies1_2.feature:75 Upgrade with vendor policy - !^ (--with-vendor-policy) -- @1.1 dnf/stick-to-vendor-policies1_2.feature:76 Upgrade with vendor policy - !^ (--with-vendor-policy) -- @1.2 dnf/stick-to-vendor-policies1_2.feature:77 Upgrade with vendor policy - !i^ (--with-vendor-policy) -- @1.3 dnf/stick-to-vendor-policies1_2.feature:78 Upgrade with vendor policy - !i^ (--with-vendor-policy) -- @1.4 dnf/stick-to-vendor-policies1_2.feature:79 Upgrade with vendor policy - !$ (--with-vendor-policy) -- @1.5 dnf/stick-to-vendor-policies1_2.feature:80 Upgrade with vendor policy - !$ (--with-vendor-policy) -- @1.6 dnf/stick-to-vendor-policies1_2.feature:81 Upgrade with vendor policy - !i$ (--with-vendor-policy) -- @1.7 dnf/stick-to-vendor-policies1_2.feature:82 Upgrade with vendor policy - !i$ (--with-vendor-policy) -- @1.8 dnf/stick-to-vendor-policies1_2.feature:83 Upgrade with vendor policy - !=~ (--with-vendor-policy) -- @1.9 dnf/stick-to-vendor-policies1_2.feature:84 Upgrade with vendor policy - !=~ (--with-vendor-policy) -- @1.10 dnf/stick-to-vendor-policies1_2.feature:85 Upgrade with vendor policy - !i=~ (--with-vendor-policy) -- @1.11 dnf/stick-to-vendor-policies1_2.feature:86 Upgrade with vendor policy - !i=~ (--with-vendor-policy) -- @1.12 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 24 failed, 0 skipped 48 steps passed, 24 failed, 300 skipped Took 0min 0.874s USING RUNNER: behave.runner:Runner Feature: DNF allow_vendor_change option in dnf.conf # dnf/stick-to-vendor.feature:1 Feature: DNF allow_vendor_change option in dnf.conf # dnf/stick-to-vendor.feature:1 @bz1788371 Scenario: Upgrade sticks to vendor # dnf/stick-to-vendor.feature:20 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ijo6esi7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ijo6esi7/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None Given I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendor-1.1-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ijo6esi7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ijo6esi7/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1788371 Scenario: No upgrade if same vendor not found # dnf/stick-to-vendor.feature:33 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__mjsinko --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__mjsinko/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-2-updates" # None When I execute dnf with args "upgrade vendor" # None Then the exit code is 0 # None And Transaction is empty # None Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__mjsinko --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__mjsinko/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1788371 Scenario: Downgrade is unable to resolve transaction # dnf/stick-to-vendor.feature:44 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 And I create and substitute file "/etc/dnf/dnf.conf" with # common/file.py:43 """ [main] allow_vendor_change=False """ And I successfully execute dnf with args "install vendor" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dxg__vek --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dxg__vek/var/cache/dnf install vendor Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | vendor-1.0-1.x86_64 | Given I successfully execute rpm with args "-qi vendor" # None Then the exit code is 0 # None And stdout contains "Vendor *: First Vendor" # None Given I use repository "dnf-ci-vendor-1-updates" # None When I execute dnf with args "upgrade vendor" # None Given I drop repository "dnf-ci-vendor-1" # None Given I use repository "dnf-ci-vendor-2" # None When I execute dnf with args "downgrade vendor" # None Then the exit code is 1 # None And Transaction is empty # None And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "First Vendor" -> "Second Vendor". """ And stderr is # None """ Failed to resolve the transaction: Problem: problem with installed package - cannot install both vendor-1.0-1.x86_64 from dnf-ci-vendor-2 and vendor-1.1-1.x86_64 from @System - cannot install both vendor-1.0-1.x86_64 from dnf-ci-vendor-2 and vendor-1.1-1.x86_64 from dnf-ci-vendor-1-updates - conflicting requests You can try to add to command line: --skip-broken to skip uninstallable packages --allow-vendor-change-to=VENDOR to allow switching to packages from VENDOR --allow-vendor-change-from=VENDOR to allow replacing packages from VENDOR --with-vendor-policy=POLICY to add specific vendor change rules --allow-vendor-change to allow all vendor changes """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dxg__vek --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dxg__vek/var/cache/dnf install vendor  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/stick-to-vendor.feature:20 Upgrade sticks to vendor dnf/stick-to-vendor.feature:33 No upgrade if same vendor not found dnf/stick-to-vendor.feature:44 Downgrade is unable to resolve transaction 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 6 steps passed, 3 failed, 39 skipped Took 0min 0.166s USING RUNNER: behave.runner:Runner Feature: Test for swap command # dnf/swap.feature:1 Feature: Test for swap command # dnf/swap.feature:1 Scenario: Switch packages by swap command # dnf/swap.feature:10 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel CQRlib" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_47s8nc21 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_47s8nc21/var/cache/dnf install CQRlib-devel CQRlib And Transaction is following # None | Action | Package | | install | CQRlib-0:1.1.2-16.fc29.x86_64 | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | When I execute dnf with args "swap CQRlib SuperRipper" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | CQRlib-0:1.1.2-16.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | abcde-0:2.9.3-1.fc29.noarch | | install-dep | wget-0:1.19.6-5.fc29.x86_64 | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_47s8nc21 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_47s8nc21/var/cache/dnf install CQRlib-devel CQRlib  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Switch packages and their subpackages by swap command with wildcards # dnf/swap.feature:29 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install CQRlib-devel CQRlib CQRlib-extension" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tfjd7_k8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tfjd7_k8/var/cache/dnf install CQRlib-devel CQRlib CQRlib-extension And Transaction is following # None | Action | Package | | install | CQRlib-0:1.1.2-16.fc29.x86_64 | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | install | CQRlib-extension-0:1.5-2.x86_64 | When I execute dnf with args "swap CQRlib\* SuperRipper\*" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | CQRlib-0:1.1.2-16.fc29.x86_64 | | remove | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | | remove | CQRlib-extension-0:1.5-2.x86_64 | | install | SuperRipper-extension-0:1.1-1.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | abcde-0:2.9.3-1.fc29.noarch | | install-dep | wget-0:1.19.6-5.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | When I execute dnf with args "install CQRlib-devel" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | CQRlib-devel-0:1.1.2-16.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tfjd7_k8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tfjd7_k8/var/cache/dnf install CQRlib-devel CQRlib CQRlib-extension  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Switch groups by swap command # dnf/swap.feature:59 @bz2036434 Scenario: Swap packages using rpm file path # dnf/swap.feature:89 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install CQRlib-devel CQRlib" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pou9mivj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pou9mivj/var/cache/dnf install CQRlib-devel CQRlib When I execute dnf with args "swap CQRlib {context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/x86_64/SuperRipper-1.0-1.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | CQRlib-0:1.1.2-16.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | abcde-0:2.9.3-1.fc29.noarch | | install-dep | wget-0:1.19.6-5.fc29.x86_64 | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pou9mivj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pou9mivj/var/cache/dnf install CQRlib-devel CQRlib  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/swap.feature:10 Switch packages by swap command dnf/swap.feature:29 Switch packages and their subpackages by swap command with wildcards dnf/swap.feature:89 Swap packages using rpm file path 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 1 skipped 11 steps passed, 3 failed, 26 skipped Took 0min 0.454s USING RUNNER: behave.runner:Runner @use.with_os=fedora__ge__31 Feature: Test the system-upgrade plugin with comps # dnf/system-upgrade-comps.feature:3 @use.with_os=fedora__ge__31 Feature: Test the system-upgrade plugin with comps # dnf/system-upgrade-comps.feature:3 @bz2054235 Scenario: Upgrade group when there are new package versions - upgrade packages # dnf/system-upgrade-comps.feature:11 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install A-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mykuqfjt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mykuqfjt/var/cache/dnf group install A-group And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | group-upgrade | A-group | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | group-upgrade | A-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mykuqfjt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mykuqfjt/var/cache/dnf group install A-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade group when there are new packages - install new packages # dnf/system-upgrade-comps.feature:35 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install AB-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9obs4iv9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9obs4iv9/var/cache/dnf group install AB-group And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | group-upgrade | AB-group | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | group-upgrade | AB-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9obs4iv9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9obs4iv9/var/cache/dnf group install AB-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade group when there were excluded packages during installation - don't install these packages # dnf/system-upgrade-comps.feature:63 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install A-group --exclude=A-mandatory,A-default,A-optional" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bc5jwgqq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bc5jwgqq/var/cache/dnf group install A-group --exclude=A-mandatory,A-default,A-optional And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | group-upgrade | A-group | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | A-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bc5jwgqq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bc5jwgqq/var/cache/dnf group install A-group --exclude=A-mandatory,A-default,A-optional  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade group when there were removed packages since installation - don't install these packages # dnf/system-upgrade-comps.feature:83 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install A-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u4x9czqc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u4x9czqc/var/cache/dnf group install A-group And I successfully execute dnf with args "remove A-mandatory A-default" # None And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | group-upgrade | A-group | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | A-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u4x9czqc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u4x9czqc/var/cache/dnf group install A-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade environment when there are new groups/packages - install new groups/packages # dnf/system-upgrade-comps.feature:104 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install AB-environment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_896xham8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_896xham8/var/cache/dnf group install AB-environment And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | group-install | B-group | | group-upgrade | A-group | | env-upgrade | AB-environment | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | install-group | B-mandatory-0:1.0-1.x86_64 | | install-group | B-default-0:1.0-1.x86_64 | | group-install | B-group | | group-upgrade | A-group | | env-upgrade | AB-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_896xham8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_896xham8/var/cache/dnf group install AB-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade environment when there were excluded packages during installation - don't install these packages # dnf/system-upgrade-comps.feature:136 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I execute dnf with args "group install A-environment --exclude=A-mandatory,A-default,A-optional" # dnf/steps/cmd.py:110 And I set releasever to "30" # dnf/steps/repo.py:144 And I use repository "system-upgrade-comps-f$releasever" as http # dnf/steps/repo.py:294 And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # dnf/steps/cmd.py:53 When I execute dnf with args "system-upgrade download" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2t5anlio --releasever=30 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2t5anlio/var/cache/dnf system-upgrade download And Transaction is following # None | Action | Package | | group-upgrade | A-group | | env-upgrade | A-environment | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | A-group | | env-upgrade | A-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2t5anlio --releasever=30 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2t5anlio/var/cache/dnf system-upgrade download  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade environment when there were removed packages since installation - don't install these packages # dnf/system-upgrade-comps.feature:158 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install A-environment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_freyj023 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_freyj023/var/cache/dnf group install A-environment And I successfully execute dnf with args "remove A-mandatory A-default" # None And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | group-upgrade | A-group | | env-upgrade | A-environment | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | A-group | | env-upgrade | A-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_freyj023 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_freyj023/var/cache/dnf group install A-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade empty group # dnf/system-upgrade-comps.feature:181 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install empty-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ugmljduj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ugmljduj/var/cache/dnf group install empty-group And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | group-upgrade | empty-group | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-upgrade | empty-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ugmljduj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ugmljduj/var/cache/dnf group install empty-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade empty environment # dnf/system-upgrade-comps.feature:201 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install empty-environment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lrycp5ow --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lrycp5ow/var/cache/dnf group install empty-environment And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | env-upgrade | empty-environment | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | env-upgrade | empty-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lrycp5ow --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lrycp5ow/var/cache/dnf group install empty-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Upgrade environment when all groups are removed # dnf/system-upgrade-comps.feature:221 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install A-environment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xteby625 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xteby625/var/cache/dnf group install A-environment And I successfully execute dnf with args "group remove A-group" # None And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | env-upgrade | A-environment | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | env-upgrade | A-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xteby625 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xteby625/var/cache/dnf group install A-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade groups with conflicting requests (packages are not removed) # dnf/system-upgrade-comps.feature:241 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install C-group D-group" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_amega8bc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_amega8bc/var/cache/dnf group install C-group D-group And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | group-upgrade | C-group | | group-upgrade | D-group | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | group-upgrade | C-group | | group-upgrade | D-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_amega8bc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_amega8bc/var/cache/dnf group install C-group D-group  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade environments with conflicting requests (groups are not removed) # dnf/system-upgrade-comps.feature:266 Given I use repository "system-upgrade-comps-f$releasever" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "group install C-environment D-environment" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rm2hn6zu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rm2hn6zu/var/cache/dnf group install C-environment D-environment And I set releasever to "30" # None And I use repository "system-upgrade-comps-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | group-upgrade | A-group | | env-upgrade | C-environment | | env-upgrade | D-environment | Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-comps-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | A-mandatory-0:2.0-1.x86_64 | | upgrade | A-default-0:2.0-1.x86_64 | | group-upgrade | A-group | | env-upgrade | C-environment | | env-upgrade | D-environment | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rm2hn6zu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rm2hn6zu/var/cache/dnf group install C-environment D-environment  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/system-upgrade-comps.feature:11 Upgrade group when there are new package versions - upgrade packages dnf/system-upgrade-comps.feature:35 Upgrade group when there are new packages - install new packages dnf/system-upgrade-comps.feature:63 Upgrade group when there were excluded packages during installation - don't install these packages dnf/system-upgrade-comps.feature:83 Upgrade group when there were removed packages since installation - don't install these packages dnf/system-upgrade-comps.feature:104 Upgrade environment when there are new groups/packages - install new groups/packages dnf/system-upgrade-comps.feature:136 Upgrade environment when there were excluded packages during installation - don't install these packages dnf/system-upgrade-comps.feature:158 Upgrade environment when there were removed packages since installation - don't install these packages dnf/system-upgrade-comps.feature:181 Upgrade empty group dnf/system-upgrade-comps.feature:201 Upgrade empty environment dnf/system-upgrade-comps.feature:221 Upgrade environment when all groups are removed dnf/system-upgrade-comps.feature:241 Upgrade groups with conflicting requests (packages are not removed) dnf/system-upgrade-comps.feature:266 Upgrade environments with conflicting requests (groups are not removed) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 12 failed, 0 skipped 17 steps passed, 12 failed, 130 skipped Took 0min 0.798s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-_dkp4hpt', '/mp-54uxf7ep', '/mp-7nw75blj', '/mp-eipmw8y2', '/mp-lyybvru8', '/mp-i_28wu0m'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Test the system-upgrade command # dnf/system-upgrade.feature:1 Feature: Test the system-upgrade command # dnf/system-upgrade.feature:1 @bz2054235 Scenario: Test system-upgrade when reboot wasn't performed # dnf/system-upgrade.feature:23 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m6gawhnr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m6gawhnr/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And stderr contains lines # None """ Trigger file does not exist. Exiting. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m6gawhnr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m6gawhnr/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Test system-upgrade basic functionality # dnf/system-upgrade.feature:44 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zlm5olyn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zlm5olyn/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-f$releasever" # None And I stop http server for repository "system-upgrade-2-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zlm5olyn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zlm5olyn/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Test system-upgrade with --cachedir # dnf/system-upgrade.feature:69 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_maoce27q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_maoce27q/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download --setopt=cachedir={context.dnf.tempdir}/destdir --setopt=system_cachedir={context.dnf.tempdir}/destdir" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-f$releasever" # None And I stop http server for repository "system-upgrade-2-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_maoce27q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_maoce27q/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Test system-upgrade with --no-downgrade # dnf/system-upgrade.feature:94 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r8l20ltv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r8l20ltv/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download --no-downgrade" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-f$releasever" # None And I stop http server for repository "system-upgrade-2-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r8l20ltv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r8l20ltv/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Test system-upgrade transaction file not found # dnf/system-upgrade.feature:117 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_08s6tpgj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_08s6tpgj/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "system-upgrade reboot" # None And I delete file "/usr/lib/sysimage/libdnf5/offline/transaction.json" # None When I execute dnf with args "offline _execute" # None Then the exit code is 1 # None And stderr is # None """ cannot open file: (2) - No such file or directory [{context.dnf.installroot}/usr/lib/sysimage/libdnf5/offline/transaction.json] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_08s6tpgj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_08s6tpgj/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Test system-upgrade downloading a package from a different repo # dnf/system-upgrade.feature:140 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o7dljpxw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o7dljpxw/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | And stderr contains lines # None """ Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`. """ Given I successfully execute dnf with args "system-upgrade reboot" # None And I configure repository "system-upgrade-f$releasever" with # None | key | value | | priority | 2 | And I configure repository "system-upgrade-2-f$releasever" with # None | key | value | | priority | 1 | And I stop http server for repository "system-upgrade-f$releasever" # None And I stop http server for repository "system-upgrade-2-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o7dljpxw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o7dljpxw/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 Scenario: Test system-upgrade empty transaction # dnf/system-upgrade.feature:172 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_34pygcdg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_34pygcdg/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I successfully execute dnf with args "distro-sync" # None When I execute dnf with args "system-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is empty # None And stdout contains lines # None """ Nothing to do. """ When I execute dnf with args "system-upgrade reboot" # None Then the exit code is 1 # None And stderr is # None """ No offline transaction is stored. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_34pygcdg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_34pygcdg/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 @bz2024430 Scenario Outline: Test system-upgrade with --setopt=cachedir doesn't delete user files -- @1.1 # dnf/system-upgrade.feature:221 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tlq1mcrh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tlq1mcrh/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I create directory "/downloaddir" # None And I create file "/downloaddir/precious_file1" with # None """ precious content1 """ And I create directory "/downloaddir/precious_dir" # None And I create file "/downloaddir/precious_dir/precious_file2" with # None """ precious content2 """ And I execute dnf with args "system-upgrade download --setopt=cachedir={context.dnf.installroot}/downloaddir" # None And I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-f$releasever" # None And I stop http server for repository "system-upgrade-2-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | And file "/downloaddir/precious_file1" exists # None And file "/downloaddir/precious_dir/precious_file2" exists # None And file "/downloaddir/pkg-a-2.0-1.noarch.rpm" does not exist # None And file "/downloaddir/pkg-b-1.0-1.noarch.rpm" does not exist # None And file "/downloaddir/pkg-both-2.0-1.noarch.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tlq1mcrh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tlq1mcrh/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2054235 @bz2024430 Scenario Outline: Test system-upgrade with --setopt=system_cachedir doesn't delete user files -- @1.2 # dnf/system-upgrade.feature:222 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_soyzbqqw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_soyzbqqw/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I create directory "/downloaddir" # None And I create file "/downloaddir/precious_file1" with # None """ precious content1 """ And I create directory "/downloaddir/precious_dir" # None And I create file "/downloaddir/precious_dir/precious_file2" with # None """ precious content2 """ And I execute dnf with args "system-upgrade download --setopt=system_cachedir={context.dnf.installroot}/downloaddir" # None And I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-f$releasever" # None And I stop http server for repository "system-upgrade-2-f$releasever" # None When I execute dnf with args "offline _execute" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | pkg-a-2.0-1.noarch | | upgrade | pkg-both-2.0-1.noarch | | downgrade | pkg-b-1.0-1.noarch | And file "/downloaddir/precious_file1" exists # None And file "/downloaddir/precious_dir/precious_file2" exists # None And file "/downloaddir/pkg-a-2.0-1.noarch.rpm" does not exist # None And file "/downloaddir/pkg-b-1.0-1.noarch.rpm" does not exist # None And file "/downloaddir/pkg-both-2.0-1.noarch.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_soyzbqqw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_soyzbqqw/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: After the system-upgrade, packages from_repo contains correct repo_id # dnf/system-upgrade.feature:226 Given I use repository "system-upgrade-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 1 | And I use repository "system-upgrade-2-f$releasever" with configuration # dnf/steps/repo.py:212 | key | value | | priority | 2 | And I successfully execute dnf with args "install pkg-a pkg-b pkg-both" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_65_8_z1j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_65_8_z1j/var/cache/dnf install pkg-a pkg-b pkg-both And I set releasever to "30" # None And I use repository "system-upgrade-f$releasever" as http # None And I use repository "system-upgrade-2-f$releasever" as http # None And I set environment variable "DNF_SYSTEM_UPGRADE_NO_REBOOT" to "1" # None Given I successfully execute dnf with args "system-upgrade download" # None And I successfully execute dnf with args "system-upgrade reboot" # None And I stop http server for repository "system-upgrade-f$releasever" # None And I stop http server for repository "system-upgrade-2-f$releasever" # None And I successfully execute dnf with args "offline _execute" # None When I execute dnf with args "repoquery --installed --queryformat="%{{full_nevra}} %{{from_repo}}\n" pkg-a pkg-both pkg-b" # None Then the exit code is 0 # None And stdout is # None """ pkg-a-0:2.0-1.noarch system-upgrade-f30 pkg-b-0:1.0-1.noarch system-upgrade-f30 pkg-both-0:2.0-1.noarch system-upgrade-f30 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_65_8_z1j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_65_8_z1j/var/cache/dnf install pkg-a pkg-b pkg-both  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/system-upgrade.feature:23 Test system-upgrade when reboot wasn't performed dnf/system-upgrade.feature:44 Test system-upgrade basic functionality dnf/system-upgrade.feature:69 Test system-upgrade with --cachedir dnf/system-upgrade.feature:94 Test system-upgrade with --no-downgrade dnf/system-upgrade.feature:117 Test system-upgrade transaction file not found dnf/system-upgrade.feature:140 Test system-upgrade downloading a package from a different repo dnf/system-upgrade.feature:172 Test system-upgrade empty transaction dnf/system-upgrade.feature:221 Test system-upgrade with --setopt=cachedir doesn't delete user files -- @1.1 dnf/system-upgrade.feature:222 Test system-upgrade with --setopt=system_cachedir doesn't delete user files -- @1.2 dnf/system-upgrade.feature:226 After the system-upgrade, packages from_repo contains correct repo_id 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 10 failed, 0 skipped 20 steps passed, 10 failed, 146 skipped Took 0min 0.470s USING RUNNER: behave.runner:Runner Feature: Checking GPG signatures of transaction packages # dnf/transaction-gpg-checking.feature:1 Feature: Checking GPG signatures of transaction packages # dnf/transaction-gpg-checking.feature:1 Scenario: Check GPG signatures with gpgcheck turned off # dnf/transaction-gpg-checking.feature:8 Given I use repository "dnf-ci-gpg" # dnf/steps/repo.py:186 When I execute dnf with args "install wget --no-gpgchecks" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_imc8nn3h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_imc8nn3h/var/cache/dnf install wget --no-gpgchecks And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_imc8nn3h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_imc8nn3h/var/cache/dnf install wget --no-gpgchecks  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Check GPG signatures with recovery when keys are imported # dnf/transaction-gpg-checking.feature:16 Given I use repository "dnf-ci-gpg" # dnf/steps/repo.py:186 Given I configure repository "dnf-ci-gpg" with # dnf/steps/repo.py:197 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg/dnf-ci-gpg-public | When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7w50n3xz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7w50n3xz/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | And stderr contains "The key was successfully imported." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7w50n3xz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7w50n3xz/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Remote gpg key is imported for packages # dnf/transaction-gpg-checking.feature:29 Given I use repository "dnf-ci-gpg" # dnf/steps/repo.py:186 Given I start http server "key_server" at "{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg" # dnf/steps/server.py:26 And I use repository "dnf-ci-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | pkg_gpgcheck | 1 | | repo_gpgcheck | 0 | | gpgkey | http://localhost:{context.dnf.ports[key_server]}/dnf-ci-gpg-public | When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hmczay_k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hmczay_k/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | And stderr contains "The key was successfully imported." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hmczay_k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hmczay_k/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/transaction-gpg-checking.feature:8 Check GPG signatures with gpgcheck turned off dnf/transaction-gpg-checking.feature:16 Check GPG signatures with recovery when keys are imported dnf/transaction-gpg-checking.feature:29 Remote gpg key is imported for packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 9 steps passed, 3 failed, 5 skipped Took 0min 0.402s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-cmxkuxi2', '/mp-6k69gn3t', '/mp-n4gzycly', '/mp-r2e8daoz', '/mp-q904sbm7', '/mp-a_1hwrsc'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Test transasction output # dnf/transaction-output.feature:1 @use.with_os=rhel__ge__11 @bz1794856 Scenario: Check whitespace between columns with long values in transaction table # dnf/transaction-output.feature:6 @not.with_os=rhel__ge__11 @bz1794856 Scenario: Check whitespace between columns with long values in transaction table # dnf/transaction-output.feature:21 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "clean all" # dnf/steps/cmd.py:110 And I execute "eval dnf5 -y --releasever={context.dnf.releasever} --installroot={context.dnf.installroot} --setopt=module_platform_id={context.dnf.module_platform_id} --disableplugin='*' install forTestingPurposesWeEvenHaveReallyLongVersions | grep -v xxxxxx" in "{context.dnf.installroot}" # common/cmd.py:19 ASSERT FAILED: Running command "eval dnf5 -y --releasever=29 --installroot=/tmp/dnf_ci_installroot_l7cykiqz --setopt=module_platform_id=platform:f29 --disableplugin='*' install forTestingPurposesWeEvenHaveReallyLongVersions | grep -v xxxxxx" failed: 1 Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | forTestingPurposesWeEvenHaveReallyLongVersions-0:1435347658326856238756823658aaaa-1.x86_64 | And stdout contains "forTestingPurposesWeEvenHaveReallyLongVersions\s+x86_64\s+0:1435347658326856238756823658aaaa-1\s+dnf-ci-thirdparty\s+.*" # None ---- CAPTURED STDOUT: scenario  Last Command: eval dnf5 -y --releasever=29 --installroot=/tmp/dnf_ci_installroot_l7cykiqz --setopt=module_platform_id=platform:f29 --disableplugin='*' install forTestingPurposesWeEvenHaveReallyLongVersions | grep -v xxxxxx  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1773436 Scenario: Packages in transaction are sorted by NEVRA # dnf/transaction-output.feature:34 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install wget glibc flac SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mxgs2q5w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mxgs2q5w/var/cache/dnf install wget glibc flac SuperRipper And stderr matches line by line # None """ Total size of inbound packages is .. KiB. Need to download .. KiB. After this operation, . B extra will be used \(install . B, remove . B\). [ 1/11] wget-0:1.19.5-5.fc29.x86_64 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [ 2/11] flac-0:1.3.2-8.fc29.x86_64 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [ 3/11] SuperRipper-0:1.0-1.x86_64 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [ 4/11] glibc-0:2.28-9.fc29.x86_64 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [ 5/11] abcde-0:2.9.2-1.fc29.noarch 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [ 6/11] basesystem-0:11-6.fc29.noarch 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [ 7/11] glibc-common-0:2.28-9.fc29.x86_ 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [ 8/11] filesystem-0:3.9-2.fc29.x86_64 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [ 9/11] setup-0:2.12.1-1.fc29.noarch 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [10/11] glibc-all-langpacks-0:2.28-9.fc 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds [11/11] FlacBetterEncoder-0:1.0-1.x86_6 100% | .\d\.\d B/s | .\d\.\d KiB | \d\dm\d\ds -------------------------------------------------------------------------------- [11/11] Total 100% | .... MiB/s | .... KiB | 00m00s Running transaction [ 1/13] Verify package files 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [ 2/13] Prepare transaction 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [ 3/13] Installing setup-0:2.12.1-1.fc2 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [ 4/13] Installing filesystem-0:3.9-2.f 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [ 5/13] Installing basesystem-0:11-6.fc 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [ 6/13] Installing glibc-common-0:2.28- 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [ 7/13] Installing glibc-all-langpacks- 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [ 8/13] Installing glibc-0:2.28-9.fc29. 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [ 9/13] Installing wget-0:1.19.5-5.fc29 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [10/13] Installing abcde-0:2.9.2-1.fc29 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [11/13] Installing SuperRipper-0:1.0-1. 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [12/13] Installing FlacBetterEncoder-0: 100% | .\d\.\d B/s | ..\d\.\d B | \d\dm\d\ds [13/13] Installing flac-0:1.3.2-8.fc29. 100% | .\d\.\d KiB/s | ..\d\.\d B | \d\dm\d\ds Complete! """ And stdout matches line by line # None """ Package Arch Version Repository Size Installing: SuperRipper x86_64 0:1.0-1 dnf-ci-thirdparty \d\.\d B flac x86_64 0:1.3.2-8.fc29 dnf-ci-fedora \d\.\d B glibc x86_64 0:2.28-9.fc29 dnf-ci-fedora \d\.\d B wget x86_64 0:1.19.5-5.fc29 dnf-ci-fedora \d\.\d B Installing dependencies: abcde noarch 0:2.9.2-1.fc29 dnf-ci-fedora \d\.\d B basesystem noarch 0:11-6.fc29 dnf-ci-fedora \d\.\d B filesystem x86_64 0:3.9-2.fc29 dnf-ci-fedora \d\.\d B glibc-all-langpacks x86_64 0:2.28-9.fc29 dnf-ci-fedora \d\.\d B glibc-common x86_64 0:2.28-9.fc29 dnf-ci-fedora \d\.\d B setup noarch 0:2.12.1-1.fc29 dnf-ci-fedora \d\.\d B Installing weak dependencies: FlacBetterEncoder x86_64 0:1.0-1 dnf-ci-thirdparty \d\.\d B Transaction Summary: Installing: 11 packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mxgs2q5w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mxgs2q5w/var/cache/dnf install wget glibc flac SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/transaction-output.feature:21 Check whitespace between columns with long values in transaction table dnf/transaction-output.feature:34 Packages in transaction are sorted by NEVRA 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 1 skipped 5 steps passed, 2 failed, 11 skipped Took 0min 0.326s USING RUNNER: behave.runner:Runner @destructive @no_installroot Feature: Installroot test as unprivileged user # dnf/unprivileged-installroot.feature:3 Scenario: Fail when installing into installroot as unprivileged user # dnf/unprivileged-installroot.feature:7 Given I use repository "miscellaneous" with configuration # dnf/steps/repo.py:212 | key | value | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/default-key/default-key-public | When I execute dnf with args "--releasever=32 --installroot=/home/testuser/f32 --use-host-config --setopt=cachedir=/home/testuser/f32 install dummy" as an unprivileged user # dnf/steps/cmd.py:118 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --releasever=32 --installroot=/home/testuser/f32 --use-host-config --setopt=cachedir=/home/testuser/f32 install dummy" And stderr contains "Transaction failed: Rpm transaction failed." # None And stderr contains "- Unable to change root directory: Operation not permitted" # None ---- CAPTURED STDOUT: scenario  Last Command: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --releasever=32 --installroot=/home/testuser/f32 --use-host-config --setopt=cachedir=/home/testuser/f32 install dummy"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/unprivileged-installroot.feature:7 Fail when installing into installroot as unprivileged user 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 1 skipped 2 steps passed, 1 failed, 6 skipped Took 0min 0.292s USING RUNNER: behave.runner:Runner @destructive @no_installroot Feature: Installroot test as unprivileged user # dnf/unprivileged-installroot.feature:3 @bz1843280 Scenario: Fail when missing permissions for installroot directory # dnf/unprivileged-installroot.feature:19 Given I use repository "miscellaneous" # dnf/steps/repo.py:186 When I execute dnf with args "--releasever=32 --installroot=/var/lib/f32 install dummy" as an unprivileged user # dnf/steps/cmd.py:118 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --releasever=32 --installroot=/var/lib/f32 install dummy" And stderr is # None """ filesystem error: cannot create directories: Permission denied [/var/lib/f32/home/testuser/.local/state] """ ---- CAPTURED STDOUT: scenario  Last Command: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf --releasever=32 --installroot=/var/lib/f32 install dummy"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/unprivileged-installroot.feature:19 Fail when missing permissions for installroot directory 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 1 skipped 2 steps passed, 1 failed, 6 skipped Took 0min 0.291s USING RUNNER: behave.runner:Runner @destructive @no_installroot Feature: test dnf5 as unprivileged user # dnf/unprivileged.feature:3 Scenario: unprivileged user can create a cache even without system state # dnf/unprivileged.feature:6 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I create directory "/{context.dnf.installroot}/var/cache/dnf" # common/file.py:30 And I successfully execute "chmod 777 {context.dnf.installroot}/var/cache/dnf" # common/cmd.py:35 And I delete directory "/usr/lib/sysimage/libdnf5" # common/file.py:70 When I execute dnf with args "makecache" as an unprivileged user # dnf/steps/cmd.py:118 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf makecache" And stderr is # None """ """ And stdout is # None """ Metadata cache created. """ ---- CAPTURED STDOUT: scenario  Last Command: su testuser -c "dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf makecache"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/unprivileged.feature:6 unprivileged user can create a cache even without system state 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 5 steps passed, 1 failed, 2 skipped Took 0min 0.298s USING RUNNER: behave.runner:Runner Feature: dnf advisory command with --json # dnf/updateinfo-json.feature:1 Feature: dnf advisory command with --json # dnf/updateinfo-json.feature:1 Scenario: Listing available updates in json format # dnf/updateinfo-json.feature:9 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lcbb4yoj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lcbb4yoj/var/cache/dnf install glibc flac When I use repository "dnf-ci-fedora-updates" # None And I execute dnf with args "advisory list --json" # None Then the exit code is 0 # None And stdout json matches # None """ [ { "name":"FEDORA-2999:002-02", "type":"enhancement", "severity":"Moderate", "nevra":"flac-1.3.3-8.fc29.x86_64", "buildtime":1547683200 }, { "name":"FEDORA-2018-318f184000", "type":"bugfix", "severity":"none", "nevra":"glibc-2.28-26.fc29.x86_64", "buildtime":1547683200 } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lcbb4yoj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lcbb4yoj/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Listing available updates referencing bugizilla in json format # dnf/updateinfo-json.feature:34 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xrvpk3h9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xrvpk3h9/var/cache/dnf install glibc flac When I use repository "dnf-ci-fedora-updates" # None And I execute dnf with args "advisory list --with-bz --json" # None Then the exit code is 0 # None And stdout json matches # None """ [ { "advisory_name":"FEDORA-2018-318f184000", "advisory_type":"bugfix", "advisory_severity":"bugfix", "advisory_buildtime":1547683200, "nevra":"glibc-2.28-26.fc29.x86_64", "references":[ { "reference_id":"222", "reference_type":"bugzilla" } ] } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xrvpk3h9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xrvpk3h9/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Listing updates in json format (when there's nothing to report) # dnf/updateinfo-json.feature:58 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rpq2s9_p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rpq2s9_p/var/cache/dnf install glibc flac When I execute dnf with args "advisory list --json" # None Then the exit code is 0 # None And stdout is # None """ [] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rpq2s9_p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rpq2s9_p/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Listing updates in json format with custom type and severity # dnf/updateinfo-json.feature:67 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d7qu2509 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d7qu2509/var/cache/dnf install glibc flac Given I use repository "advisories-base" # None And I execute dnf with args "install labirinto" # None And I use repository "advisories-updates" # None When I execute dnf with args "updateinfo list --json" # None Then the exit code is 0 # None And stdout json matches # None """ [ { "name":"FEDORA-2019-57b5902ed1", "type":"security", "severity":"Critical", "nevra":"labirinto-1.56.2-6.fc30.x86_64", "buildtime":1568511269 }, { "name":"FEDORA-2022-2222222222", "type":"custom_type", "severity":"custom_severity", "nevra":"labirinto-1.56.2-6.fc30.x86_64", "buildtime":1568511269 }, { "name":"FEDORA-2022-2222222223", "type":"security", "severity":"custom_severity", "nevra":"labirinto-1.56.2-6.fc30.x86_64", "buildtime":1568511269 }, { "name":"FEDORA-2022-2222222224", "type":"custom_type", "severity":"Critical", "nevra":"labirinto-1.56.2-6.fc30.x86_64", "buildtime":1568511269 }, { "name":"FEDORA-2019-f4eb34cf4c", "type":"security", "severity":"Moderate", "nevra":"labirinto-1.56.2-1.fc30.x86_64", "buildtime":1557624103 } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d7qu2509 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d7qu2509/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Info about available updates in json format # dnf/updateinfo-json.feature:115 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fj4z64th --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fj4z64th/var/cache/dnf install glibc flac When I use repository "dnf-ci-fedora-updates" # None And I execute dnf with args "updateinfo info --json" # None Then the exit code is 0 # None And stdout json matches # None """ [ { "Name":"FEDORA-2018-318f184000", "Title":"glibc bug fix", "Severity":"none", "Type":"bugfix", "Status":"final", "Vendor":"secresponseteam@foo.bar", "Issued":1547683200, "Description":"Fix some stuff", "Message":"", "Rights":"", "references":[ { "Title":"222", "Id":"222", "Type":"bugzilla", "Url":"https:\/\/foobar\/foobarupdate_1" }, { "Title":"CVE-2999", "Id":"2999", "Type":"cve", "Url":"https:\/\/foobar\/foobarupdate_1" }, { "Title":"CVE-2999", "Id":"CVE-2999", "Type":"cve", "Url":"https:\/\/foobar\/foobarupdate_1" } ], "collections":{ "packages":[ "glibc-2.28-26.fc29.x86_64" ] } }, { "Name":"FEDORA-2999:002-02", "Title":"flac enhacements", "Severity":"Moderate", "Type":"enhancement", "Status":"final", "Vendor":"secresponseteam@foo.bar", "Issued":1547683200, "Description":"Enhance some stuff", "Message":"", "Rights":"", "references":[ { "Title":"update_1", "Id":"1", "Type":"self", "Url":"https:\/\/foobar\/foobarupdate_1" } ], "collections":{ "packages":[ "flac-1.3.3-8.fc29.x86_64" ] } } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fj4z64th --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fj4z64th/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Info about available updates referencing bugizilla in json format # dnf/updateinfo-json.feature:188 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nnd72i0t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nnd72i0t/var/cache/dnf install glibc flac When I use repository "dnf-ci-fedora-updates" # None And I execute dnf with args "updateinfo info --with-bz --json" # None Then the exit code is 0 # None And stdout json matches # None """ [ { "Name":"FEDORA-2018-318f184000", "Title":"glibc bug fix", "Severity":"none", "Type":"bugfix", "Status":"final", "Vendor":"secresponseteam@foo.bar", "Issued":1547683200, "Description":"Fix some stuff", "Message":"", "Rights":"", "references":[ { "Title":"222", "Id":"222", "Type":"bugzilla", "Url":"https:\/\/foobar\/foobarupdate_1" }, { "Title":"CVE-2999", "Id":"2999", "Type":"cve", "Url":"https:\/\/foobar\/foobarupdate_1" }, { "Title":"CVE-2999", "Id":"CVE-2999", "Type":"cve", "Url":"https:\/\/foobar\/foobarupdate_1" } ], "collections":{ "packages":[ "glibc-2.28-26.fc29.x86_64" ] } } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nnd72i0t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nnd72i0t/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Info about updates in json format (when there's nothing to report) # dnf/updateinfo-json.feature:236 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_87pxrhc4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_87pxrhc4/var/cache/dnf install glibc flac When I execute dnf with args "updateinfo info --json" # None Then the exit code is 0 # None And stdout is # None """ [] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_87pxrhc4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_87pxrhc4/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Info about updates in json format with custom type and severity # dnf/updateinfo-json.feature:245 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eo0ogwwz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eo0ogwwz/var/cache/dnf install glibc flac Given I use repository "advisories-base" # None And I execute dnf with args "install labirinto" # None And I use repository "advisories-updates" # None When I execute dnf with args "updateinfo info --json" # None Then the exit code is 0 # None And stdout json matches # None """ [ { "Name":"FEDORA-2019-f4eb34cf4c", "Title":"labirinto-1.56.2-1.fc30", "Severity":"Moderate", "Type":"security", "Status":"stable", "Vendor":"updates@fedoraproject.org", "Issued":1557624103, "Description":"GNOME 3.32.2", "Message":"", "Rights":"Copyright (C) 2020 Red Hat, Inc. and others.", "references":[ { "Title":"[[]abrt[]] epiphany: ephy_suggestion_get_unescaped_title(): epiphany-search-provider killed by SIGABRT", "Id":"1696529", "Type":"bugzilla", "Url":"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=1696529" } ], "collections":{ "packages":[ "labirinto-1.56.2-1.fc30.i686", "labirinto-1.56.2-1.fc30.x86_64", "labirinto-1.56.2-1.fc30.src" ] } }, { "Name":"FEDORA-2019-57b5902ed1", "Title":"labirinto-1.56.2-6.fc30 mozjs60-60.9.0-2.fc30 polkit-0.116-2.fc30", "Severity":"Critical", "Type":"security", "Status":"stable", "Vendor":"updates@fedoraproject.org", "Issued":1568511269, "Description":"mozjs60 60.9.0, including various security, stability and regression fixes from Firefox 60.9.0 ESR. For details, see https:\/\/www.mozilla.org\/en-US\/firefox\/60.9.0\/releasenotes\/", "Message":"", "Rights":"Copyright (C) 2020 Red Hat, Inc. and others.", "references":[], "collections":{ "packages":[ "labirinto-1.56.2-6.fc30.i686", "labirinto-1.56.2-6.fc30.src", "labirinto-1.56.2-6.fc30.x86_64" ] } }, { "Name":"FEDORA-2022-2222222222", "Title":"labirinto-1.56.2-6.fc30 mozjs60-60.9.0-2.fc30 polkit-0.116-2.fc30", "Severity":"custom_severity", "Type":"custom_type", "Status":"stable", "Vendor":"updates@fedoraproject.org", "Issued":1568511269, "Description":"advisory with custom type and seveirity", "Message":"", "Rights":"Copyright (C) 2020 Red Hat, Inc. and others.", "references":[], "collections":{ "packages":[ "labirinto-1.56.2-6.fc30.i686", "labirinto-1.56.2-6.fc30.src", "labirinto-1.56.2-6.fc30.x86_64" ] } }, { "Name":"FEDORA-2022-2222222223", "Title":"labirinto-1.56.2-6.fc30 mozjs60-60.9.0-2.fc30 polkit-0.116-2.fc30", "Severity":"custom_severity", "Type":"security", "Status":"stable", "Vendor":"updates@fedoraproject.org", "Issued":1568511269, "Description":"advisory with custom seveirity", "Message":"", "Rights":"Copyright (C) 2020 Red Hat, Inc. and others.", "references":[], "collections":{ "packages":[ "labirinto-1.56.2-6.fc30.i686", "labirinto-1.56.2-6.fc30.src", "labirinto-1.56.2-6.fc30.x86_64" ] } }, { "Name":"FEDORA-2022-2222222224", "Title":"labirinto-1.56.2-6.fc30 mozjs60-60.9.0-2.fc30 polkit-0.116-2.fc30", "Severity":"Critical", "Type":"custom_type", "Status":"stable", "Vendor":"updates@fedoraproject.org", "Issued":1568511269, "Description":"advisory with custom type", "Message":"", "Rights":"Copyright (C) 2020 Red Hat, Inc. and others.", "references":[], "collections":{ "packages":[ "labirinto-1.56.2-6.fc30.i686", "labirinto-1.56.2-6.fc30.src", "labirinto-1.56.2-6.fc30.x86_64" ] } } ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eo0ogwwz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eo0ogwwz/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/updateinfo-json.feature:9 Listing available updates in json format dnf/updateinfo-json.feature:34 Listing available updates referencing bugizilla in json format dnf/updateinfo-json.feature:58 Listing updates in json format (when there's nothing to report) dnf/updateinfo-json.feature:67 Listing updates in json format with custom type and severity dnf/updateinfo-json.feature:115 Info about available updates in json format dnf/updateinfo-json.feature:188 Info about available updates referencing bugizilla in json format dnf/updateinfo-json.feature:236 Info about updates in json format (when there's nothing to report) dnf/updateinfo-json.feature:245 Info about updates in json format with custom type and severity 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 8 steps passed, 8 failed, 34 skipped Took 0min 0.400s USING RUNNER: behave.runner:Runner Feature: Listing available updates using the dnf advisory command # dnf/updateinfo.feature:1 Feature: Listing available updates using the dnf advisory command # dnf/updateinfo.feature:1 Scenario: Listing available updates # dnf/updateinfo.feature:9 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then Transaction is following # dnf/steps/transaction.py:159 | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | ASSERT FAILED: [rpmdb] Package glibc-0:2.28-9.fc29.x86_64 not 'install'; Possible candidates: And the exit code is 0 # None Given I use repository "dnf-ci-fedora-updates" # None Then I execute dnf with args "advisory list" # None And the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184000 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 FEDORA-2999:002-02 enhancement Moderate flac-1.3.3-8.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4mx1tn4h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4mx1tn4h/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory summary (when there's nothing to report) # dnf/updateinfo.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kzf2nhss --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kzf2nhss/var/cache/dnf install glibc flac When I execute dnf with args "advisory summary" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Available advisory information summary: Security : 0 Critical : 0 Important : 0 Moderate : 0 Low : 0 Other : 0 Bugfix : 0 Enhancement : 0 Other : 0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kzf2nhss --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kzf2nhss/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory summary --available (when there is an available update) # dnf/updateinfo.feature:60 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qvz3i4yk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qvz3i4yk/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory summary --available" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Available advisory information summary: Security : 0 Critical : 0 Important : 0 Moderate : 0 Low : 0 Other : 0 Bugfix : 1 Enhancement : 1 Other : 0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qvz3i4yk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qvz3i4yk/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory info # dnf/updateinfo.feature:86 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kk86bmjf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kk86bmjf/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory info --available" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name : FEDORA-2018-318f184000 Title : glibc bug fix Severity : none Type : bugfix Status : final Vendor : secresponseteam@foo.bar Issued : 2019-01-17 00:00:00 Description : Fix some stuff Message : Rights : Reference : Title : 222 Id : 222 Type : bugzilla Url : https://foobar/foobarupdate_1 Reference : Title : CVE-2999 Id : 2999 Type : cve Url : https://foobar/foobarupdate_1 Reference : Title : CVE-2999 Id : CVE-2999 Type : cve Url : https://foobar/foobarupdate_1 Collection : Packages : glibc-2.28-26.fc29.x86_64 Name : FEDORA-2999:002-02 Title : flac enhacements Severity : Moderate Type : enhancement Status : final Vendor : secresponseteam@foo.bar Issued : 2019-01-17 00:00:00 Description : Enhance some stuff Message : Rights : Reference : Title : update_1 Id : 1 Type : self Url : https://foobar/foobarupdate_1 Collection : Packages : flac-1.3.3-8.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kk86bmjf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kk86bmjf/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory info security (when there's nothing to report) # dnf/updateinfo.feature:147 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zpzt0og6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zpzt0og6/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory info --security" # None Then the exit code is 0 # None And stderr is # None """ No advisory found matching the specified filters. """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zpzt0og6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zpzt0og6/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory list # dnf/updateinfo.feature:162 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8c62wm27 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8c62wm27/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184000 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 FEDORA-2999:002-02 enhancement Moderate flac-1.3.3-8.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8c62wm27 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8c62wm27/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory list all security # dnf/updateinfo.feature:181 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates-testing" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac CQRlib" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3zrj5qxy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3zrj5qxy/var/cache/dnf install glibc flac CQRlib Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --all --security" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184113 security Moderate CQRlib-1.1.2-16.fc29.x86_64 2019-01-20 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3zrj5qxy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3zrj5qxy/var/cache/dnf install glibc flac CQRlib  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory list updates # dnf/updateinfo.feature:200 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_76ngmavw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_76ngmavw/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None Then I execute dnf with args "upgrade glibc flac" # None And the exit code is 0 # None Given I use repository "dnf-ci-fedora-updates-testing" # None When I execute dnf with args "advisory list --updates" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184112 enhancement Moderate flac-1.4.0-1.fc29.x86_64 2019-01-19 00:00:00 FEDORA-2999:002-02 enhancement Moderate flac-1.3.3-8.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_76ngmavw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_76ngmavw/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory list installed # dnf/updateinfo.feature:222 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fdgcahqr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fdgcahqr/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None Then I execute dnf with args "upgrade glibc flac" # None And the exit code is 0 # None Given I use repository "dnf-ci-fedora-updates-testing" # None When I execute dnf with args "advisory list --installed" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184000 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fdgcahqr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fdgcahqr/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory list available enhancement # dnf/updateinfo.feature:243 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_390pvkf9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_390pvkf9/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None Given I use repository "dnf-ci-fedora-updates-testing" # None When I execute dnf with args "advisory list --available --enhancement" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184112 enhancement Moderate flac-1.4.0-1.fc29.x86_64 2019-01-19 00:00:00 FEDORA-2999:002-02 enhancement Moderate flac-1.3.3-8.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_390pvkf9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_390pvkf9/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory list all bugfix # dnf/updateinfo.feature:264 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i7e2dbnw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i7e2dbnw/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --all --bugfix" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184000 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i7e2dbnw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i7e2dbnw/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: advisory list updates plus --bzs -- @1.1 # dnf/updateinfo.feature:301 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_001slp2n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_001slp2n/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --updates --bzs 222" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184000 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_001slp2n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_001slp2n/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: advisory list updates plus --cves -- @1.2 # dnf/updateinfo.feature:302 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5upfybbz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5upfybbz/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --updates --cves 2999" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184000 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5upfybbz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5upfybbz/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: advisory list updates plus --cves -- @1.3 # dnf/updateinfo.feature:303 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5uers3an --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5uers3an/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --updates --cves CVE-2999" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184000 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5uers3an --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5uers3an/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: advisory list updates plus -- @1.4 # dnf/updateinfo.feature:304 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wod5exw4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wod5exw4/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --updates FEDORA-2018-318f184000" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2018-318f184000 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wod5exw4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wod5exw4/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory info # dnf/updateinfo.feature:308 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7vmoxe4s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7vmoxe4s/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory info FEDORA-2018-318f184000" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name : FEDORA-2018-318f184000 Title : glibc bug fix Severity : none Type : bugfix Status : final Vendor : secresponseteam@foo.bar Issued : 2019-01-17 00:00:00 Description : Fix some stuff Message : Rights : Reference : Title : 222 Id : 222 Type : bugzilla Url : https://foobar/foobarupdate_1 Reference : Title : CVE-2999 Id : 2999 Type : cve Url : https://foobar/foobarupdate_1 Reference : Title : CVE-2999 Id : CVE-2999 Type : cve Url : https://foobar/foobarupdate_1 Collection : Packages : glibc-2.28-26.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7vmoxe4s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7vmoxe4s/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory info # dnf/updateinfo.feature:351 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_1sp_b0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_1sp_b0/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory info FEDORA-2999:002-02" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name : FEDORA-2999:002-02 Title : flac enhacements Severity : Moderate Type : enhancement Status : final Vendor : secresponseteam@foo.bar Issued : 2019-01-17 00:00:00 Description : Enhance some stuff Message : Rights : Reference : Title : update_1 Id : 1 Type : self Url : https://foobar/foobarupdate_1 Collection : Packages : flac-1.3.3-8.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_1sp_b0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_1sp_b0/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1750528 Scenario: advisory lists advisories referencing CVE # dnf/updateinfo.feature:384 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8g1up4ss --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8g1up4ss/var/cache/dnf install glibc flac And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --with-cve" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ CVE Type Severity Package Issued 2999 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 CVE-2999 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8g1up4ss --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8g1up4ss/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory lists advisories referencing bugzilla # dnf/updateinfo.feature:401 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zrkyrluf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zrkyrluf/var/cache/dnf install glibc flac And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --with-bz" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Bugzilla Type Severity Package Issued 222 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zrkyrluf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zrkyrluf/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1728004 Scenario: advisory show of the running kernel after a kernel update # dnf/updateinfo.feature:418 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I fake kernel release to "4.18.16-300.fc29.x86_64" # dnf/steps/cmd.py:78 And I successfully execute dnf with args "install kernel-4.18.16-300.fc29" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: fakeuname "4.18.16-300.fc29.x86_64" dnf5 -y --installroot=/tmp/dnf_ci_installroot_yv747u6k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yv747u6k/var/cache/dnf install kernel-4.18.16-300.fc29 Then Transaction is following # None | Action | Package | | install | kernel-0:4.18.16-300.fc29.x86_64 | | install-dep | kernel-core-0:4.18.16-300.fc29.x86_64 | | install-dep | kernel-modules-0:4.18.16-300.fc29.x86_64 | When I execute dnf with args "advisory list --contains-pkgs=kernel" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2019-348e185000 bugfix Moderate kernel-4.19.15-300.fc29.x86_64 2019-01-17 00:00:00 """ Given I successfully execute dnf with args "upgrade kernel" # None Then Transaction is following # None | Action | Package | | install | kernel-0:4.19.15-300.fc29.x86_64 | | install-dep | kernel-core-0:4.19.15-300.fc29.x86_64 | | install-dep | kernel-modules-0:4.19.15-300.fc29.x86_64 | When I execute dnf with args "advisory list --contains-pkgs=kernel" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2019-348e185000 bugfix Moderate kernel-4.19.15-300.fc29.x86_64 2019-01-17 00:00:00 """ Given I fake kernel release to "4.19.15-300.fc29.x86_64" # None When I execute dnf with args "advisory list --contains-pkgs=kernel" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: fakeuname "4.18.16-300.fc29.x86_64" dnf5 -y --installroot=/tmp/dnf_ci_installroot_yv747u6k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yv747u6k/var/cache/dnf install kernel-4.18.16-300.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1801092 Scenario: advisory lists advisories referencing CVE with dates # dnf/updateinfo.feature:470 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ukmk99gr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ukmk99gr/var/cache/dnf install glibc flac And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --with-cve" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ CVE Type Severity Package Issued 2999 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 CVE-2999 bugfix none glibc-2.28-26.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ukmk99gr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ukmk99gr/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory lists advisories with custom type and severity # dnf/updateinfo.feature:488 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "advisories-base" # dnf/steps/repo.py:186 And I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 And I use repository "advisories-updates" # dnf/steps/repo.py:186 When I execute dnf with args "advisory list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i8i7hw77 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i8i7hw77/var/cache/dnf advisory list And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2019-57b5902ed1 security Critical labirinto-1.56.2-6.fc30.x86_64 2019-09-15 01:34:29 FEDORA-2019-f4eb34cf4c security Moderate labirinto-1.56.2-1.fc30.x86_64 2019-05-12 01:21:43 FEDORA-2022-2222222222 custom_type custom_severity labirinto-1.56.2-6.fc30.x86_64 2019-09-15 01:34:29 FEDORA-2022-2222222223 security custom_severity labirinto-1.56.2-6.fc30.x86_64 2019-09-15 01:34:29 FEDORA-2022-2222222224 custom_type Critical labirinto-1.56.2-6.fc30.x86_64 2019-09-15 01:34:29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i8i7hw77 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i8i7hw77/var/cache/dnf advisory list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory prints info for advisories with custom type and severity # dnf/updateinfo.feature:509 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "advisories-base" # dnf/steps/repo.py:186 And I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 And I use repository "advisories-updates" # dnf/steps/repo.py:186 When I execute dnf with args "advisory info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vky1hvkn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vky1hvkn/var/cache/dnf advisory info And stderr is # None """ """ And stdout is # None """ Name : FEDORA-2019-f4eb34cf4c Title : labirinto-1.56.2-1.fc30 Severity : Moderate Type : security Status : stable Vendor : updates@fedoraproject.org Issued : 2019-05-12 01:21:43 Description : GNOME 3.32.2 Message : Rights : Copyright (C) 2020 Red Hat, Inc. and others. Reference : Title : [abrt] epiphany: ephy_suggestion_get_unescaped_title(): epiphany-search-provider killed by SIGABRT Id : 1696529 Type : bugzilla Url : https://bugzilla.redhat.com/show_bug.cgi?id=1696529 Collection : Packages : labirinto-1.56.2-1.fc30.i686 : labirinto-1.56.2-1.fc30.x86_64 : labirinto-1.56.2-1.fc30.src Name : FEDORA-2019-57b5902ed1 Title : labirinto-1.56.2-6.fc30 mozjs60-60.9.0-2.fc30 polkit-0.116-2.fc30 Severity : Critical Type : security Status : stable Vendor : updates@fedoraproject.org Issued : 2019-09-15 01:34:29 Description : mozjs60 60.9.0, including various security, stability and regression fixes from Firefox 60.9.0 ESR. For details, see https://www.mozilla.org/en-US/firefox/60.9.0/releasenotes/ Message : Rights : Copyright (C) 2020 Red Hat, Inc. and others. Collection : Packages : labirinto-1.56.2-6.fc30.i686 : labirinto-1.56.2-6.fc30.src : labirinto-1.56.2-6.fc30.x86_64 Name : FEDORA-2022-2222222222 Title : labirinto-1.56.2-6.fc30 mozjs60-60.9.0-2.fc30 polkit-0.116-2.fc30 Severity : custom_severity Type : custom_type Status : stable Vendor : updates@fedoraproject.org Issued : 2019-09-15 01:34:29 Description : advisory with custom type and seveirity Message : Rights : Copyright (C) 2020 Red Hat, Inc. and others. Collection : Packages : labirinto-1.56.2-6.fc30.i686 : labirinto-1.56.2-6.fc30.src : labirinto-1.56.2-6.fc30.x86_64 Name : FEDORA-2022-2222222223 Title : labirinto-1.56.2-6.fc30 mozjs60-60.9.0-2.fc30 polkit-0.116-2.fc30 Severity : custom_severity Type : security Status : stable Vendor : updates@fedoraproject.org Issued : 2019-09-15 01:34:29 Description : advisory with custom seveirity Message : Rights : Copyright (C) 2020 Red Hat, Inc. and others. Collection : Packages : labirinto-1.56.2-6.fc30.i686 : labirinto-1.56.2-6.fc30.src : labirinto-1.56.2-6.fc30.x86_64 Name : FEDORA-2022-2222222224 Title : labirinto-1.56.2-6.fc30 mozjs60-60.9.0-2.fc30 polkit-0.116-2.fc30 Severity : Critical Type : custom_type Status : stable Vendor : updates@fedoraproject.org Issued : 2019-09-15 01:34:29 Description : advisory with custom type Message : Rights : Copyright (C) 2020 Red Hat, Inc. and others. Collection : Packages : labirinto-1.56.2-6.fc30.i686 : labirinto-1.56.2-6.fc30.src : labirinto-1.56.2-6.fc30.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vky1hvkn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vky1hvkn/var/cache/dnf advisory info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory prints summary of advisories with custom type and severity # dnf/updateinfo.feature:603 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "advisories-base" # dnf/steps/repo.py:186 And I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 And I use repository "advisories-updates" # dnf/steps/repo.py:186 When I execute dnf with args "updateinfo summary" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aczwtaxg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aczwtaxg/var/cache/dnf updateinfo summary And stderr is # None """ """ And stdout is # None """ Available advisory information summary: Security : 3 Critical : 1 Important : 0 Moderate : 1 Low : 0 Other : 1 Bugfix : 0 Enhancement : 0 Other : 2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aczwtaxg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aczwtaxg/var/cache/dnf updateinfo summary  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: advisory for x86_64 package is not shown as installed when noarch version of the pkg is installed # dnf/updateinfo.feature:629 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "updateinfo" # dnf/steps/repo.py:186 And I execute dnf with args "install A-2-2.noarch" # dnf/steps/cmd.py:110 When I execute dnf with args "advisory list --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wfx4bx0u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wfx4bx0u/var/cache/dnf advisory list --installed And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wfx4bx0u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wfx4bx0u/var/cache/dnf advisory list --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: updateinfo --updates with advisory for obsoleter when obsoleted installed # dnf/updateinfo.feature:645 Scenario: advisory --updates with advisory for obsoleter when obsoleted installed # dnf/updateinfo.feature:661 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install C-1-1" # dnf/steps/cmd.py:110 And I successfully execute dnf with args "repoquery D-1-1.x86_64 --obsoletes" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dnluxfc_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dnluxfc_/var/cache/dnf repoquery D-1-1.x86_64 --obsoletes Then stderr is # None """ """ And stdout is # None """ C """ When I execute dnf with args "advisory list --updates --setopt=obsoletes=false" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dnluxfc_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dnluxfc_/var/cache/dnf repoquery D-1-1.x86_64 --obsoletes  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: advisory for noarch package is shown as an upgrade when lower arch version of the pkg is installed # dnf/updateinfo.feature:687 Scenario: advisory list --contains-pkgs doesn't list other packages (including running kernel) # dnf/updateinfo.feature:704 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install kernel flac glibc" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4zknymq9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4zknymq9/var/cache/dnf install kernel flac glibc And I fake kernel release to "4.18.16-300.fc29.x86_64" # None And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --contains-pkgs=flac" # None Then stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2999:002-02 enhancement Moderate flac-1.3.3-8.fc29.x86_64 2019-01-17 00:00:00 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4zknymq9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4zknymq9/var/cache/dnf install kernel flac glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: package is upgraded if it has both resolved and unresolved advisories # dnf/updateinfo.feature:721 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "z-kernel" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install kernel-4.19.15-301.fc29" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nqkwcfwp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nqkwcfwp/var/cache/dnf install kernel-4.19.15-301.fc29 And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "advisory list --bugfix" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name Type Severity Package Issued FEDORA-2026-10-06 bugfix Moderate kernel-4.19.15-302.fc29.x86_64 2026-06-10 00:00:00 """ Given I successfully execute dnf with args "clean all" # None When I execute dnf with args "upgrade kernel --bugfix" # None Then Transaction is following # None | Action | Package | | install | kernel-0:4.19.15-302.fc29.x86_64 | | install-dep | kernel-core-0:4.19.15-302.fc29.x86_64 | | install-dep | kernel-modules-0:4.19.15-302.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nqkwcfwp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nqkwcfwp/var/cache/dnf install kernel-4.19.15-301.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/updateinfo.feature:9 Listing available updates dnf/updateinfo.feature:36 advisory summary (when there's nothing to report) dnf/updateinfo.feature:60 advisory summary --available (when there is an available update) dnf/updateinfo.feature:86 advisory info dnf/updateinfo.feature:147 advisory info security (when there's nothing to report) dnf/updateinfo.feature:162 advisory list dnf/updateinfo.feature:181 advisory list all security dnf/updateinfo.feature:200 advisory list updates dnf/updateinfo.feature:222 advisory list installed dnf/updateinfo.feature:243 advisory list available enhancement dnf/updateinfo.feature:264 advisory list all bugfix dnf/updateinfo.feature:301 advisory list updates plus --bzs -- @1.1 dnf/updateinfo.feature:302 advisory list updates plus --cves -- @1.2 dnf/updateinfo.feature:303 advisory list updates plus --cves -- @1.3 dnf/updateinfo.feature:304 advisory list updates plus -- @1.4 dnf/updateinfo.feature:308 advisory info dnf/updateinfo.feature:351 advisory info dnf/updateinfo.feature:384 advisory lists advisories referencing CVE dnf/updateinfo.feature:401 advisory lists advisories referencing bugzilla dnf/updateinfo.feature:418 advisory show of the running kernel after a kernel update dnf/updateinfo.feature:470 advisory lists advisories referencing CVE with dates dnf/updateinfo.feature:488 advisory lists advisories with custom type and severity dnf/updateinfo.feature:509 advisory prints info for advisories with custom type and severity dnf/updateinfo.feature:603 advisory prints summary of advisories with custom type and severity dnf/updateinfo.feature:629 advisory for x86_64 package is not shown as installed when noarch version of the pkg is installed dnf/updateinfo.feature:661 advisory --updates with advisory for obsoleter when obsoleted installed dnf/updateinfo.feature:704 advisory list --contains-pkgs doesn't list other packages (including running kernel) dnf/updateinfo.feature:721 package is upgraded if it has both resolved and unresolved advisories 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 28 failed, 2 skipped 66 steps passed, 28 failed, 164 skipped Took 0min 1.884s USING RUNNER: behave.runner:Runner Feature: Upgrade using security advisories # dnf/upgrade-advisories.feature:1 @bz1770125 @bz1794644 Scenario: Upgrade packages with security issues # dnf/upgrade-advisories.feature:6 Given I use repository "advisories-base" # dnf/steps/repo.py:186 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iycb80m5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iycb80m5/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.56.1-1.fc30.x86_64 | Given I use repository "advisories-updates" # None When I execute dnf with args "upgrade --security" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-0:1.56.2-6.fc30.x86_64 | When I execute dnf with args "downgrade labirinto" # None Then the exit code is 0 # None When I execute dnf with args "upgrade labirinto" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-0:1.56.2-6.fc30.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iycb80m5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iycb80m5/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-advisories.feature:6 Upgrade packages with security issues 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 10 skipped Took 0min 0.099s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Upgrade all RPMs # dnf/upgrade-all.feature:2 @dnf5daemon Feature: Upgrade all RPMs # dnf/upgrade-all.feature:2 Scenario: Upgrade all RPMs from one repository # dnf/upgrade-all.feature:21 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__tpetaqe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__tpetaqe/var/cache/dnf install glibc flac wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__tpetaqe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__tpetaqe/var/cache/dnf install glibc flac wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade all RPMs from one repository using '*' # dnf/upgrade-all.feature:34 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c076urzr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c076urzr/var/cache/dnf install glibc flac wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c076urzr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c076urzr/var/cache/dnf install glibc flac wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-all.feature:21 Upgrade all RPMs from one repository dnf/upgrade-all.feature:34 Upgrade all RPMs from one repository using '*' 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 10 skipped Took 0min 0.179s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Upgrade packages with the same NEVRA but different build times # dnf/upgrade-buildtime.feature:2 @bz1728252 Scenario Outline: Upgrade does not reinstall package with the same NEVRA and different build time -- @1.1 # dnf/upgrade-buildtime.feature:36 When I execute "SOURCE_DATE_EPOCH=$(($(rpm -q --queryformat "%{{BUILDTIME}}" {context.scenario.repos_location}/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm) + 3600)) rpmbuild -rb --define "_rpmdir ." {context.scenario.repos_location}/dnf-ci-fedora/src/setup-2.12.1-1.fc29.src.rpm" in "{context.dnf.tempdir}" # common/cmd.py:19 Then the exit code is 0 # common/output.py:55 When I execute "[[ $(rpm -q --queryformat "%{{BUILDTIME}}" {context.scenario.repos_location}/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm) -ne $(rpm -q --queryformat "%{{BUILDTIME}}" noarch/setup-2.12.1-1.fc29.noarch.rpm) ]]" in "{context.dnf.tempdir}" # common/cmd.py:19 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "install {context.dnf.tempdir}/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z50vlkwz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z50vlkwz/var/cache/dnf install /tmp/dnf_ci_tempdir_rx2ekogg/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "upgrade {context.scenario.repos_location}/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" # None Then the exit code is 0 # None And Transaction is empty # None Given I use repository "dnf-ci-fedora" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is empty # None When I execute dnf with args "distro-sync setup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z50vlkwz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z50vlkwz/var/cache/dnf install /tmp/dnf_ci_tempdir_rx2ekogg/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1728252 Scenario Outline: Upgrade does not reinstall package with the same NEVRA and different build time -- @1.2 # dnf/upgrade-buildtime.feature:37 When I execute "SOURCE_DATE_EPOCH=$(($(rpm -q --queryformat "%{{BUILDTIME}}" {context.scenario.repos_location}/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm) + -3600)) rpmbuild -rb --define "_rpmdir ." {context.scenario.repos_location}/dnf-ci-fedora/src/setup-2.12.1-1.fc29.src.rpm" in "{context.dnf.tempdir}" # common/cmd.py:19 Then the exit code is 0 # common/output.py:55 When I execute "[[ $(rpm -q --queryformat "%{{BUILDTIME}}" {context.scenario.repos_location}/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm) -ne $(rpm -q --queryformat "%{{BUILDTIME}}" noarch/setup-2.12.1-1.fc29.noarch.rpm) ]]" in "{context.dnf.tempdir}" # common/cmd.py:19 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "install {context.dnf.tempdir}/noarch/setup-2.12.1-1.fc29.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4bdl1ijg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4bdl1ijg/var/cache/dnf install /tmp/dnf_ci_tempdir_x3lroe9f/noarch/setup-2.12.1-1.fc29.noarch.rpm And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | When I execute dnf with args "upgrade {context.scenario.repos_location}/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm" # None Then the exit code is 0 # None And Transaction is empty # None Given I use repository "dnf-ci-fedora" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is empty # None When I execute dnf with args "distro-sync setup" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4bdl1ijg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4bdl1ijg/var/cache/dnf install /tmp/dnf_ci_tempdir_x3lroe9f/noarch/setup-2.12.1-1.fc29.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-buildtime.feature:36 Upgrade does not reinstall package with the same NEVRA and different build time -- @1.1 dnf/upgrade-buildtime.feature:37 Upgrade does not reinstall package with the same NEVRA and different build time -- @1.2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 10 steps passed, 2 failed, 22 skipped Took 0min 0.355s USING RUNNER: behave.runner:Runner @destructive Feature: Upgrade packages already downloaded to the cache # dnf/upgrade-cached.feature:3 @destructive Feature: Upgrade packages already downloaded to the cache # dnf/upgrade-cached.feature:3 @bz2024527 @bz2070966 @bz2070967 Scenario: Upgrade works correctly with non-english locale when packages were already downloaded to the cache # dnf/upgrade-cached.feature:16 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k5k6tf2g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k5k6tf2g/var/cache/dnf install wget And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" as http # None And I successfully execute dnf with args "upgrade --downloadonly" # None And I copy file "{context.dnf.fixturesdir}/data/dnf-translations/libdnf5.mo" to "//usr/share/locale/de/LC_MESSAGES/libdnf5.mo" # None And I set LC_ALL to "de_DE.utf-8" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And stderr contains ">>> Bereits heruntergeladen" # None And RPMDB Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k5k6tf2g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k5k6tf2g/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-cached.feature:16 Upgrade works correctly with non-english locale when packages were already downloaded to the cache 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 9 skipped Took 0min 0.143s USING RUNNER: behave.runner:Runner Feature: Upgrade with conflicts # dnf/upgrade-conflicts.feature:1 Scenario: Conflicts are reported even if the transaction would involve removal of protected packages # dnf/upgrade-conflicts.feature:3 Given I use repository "upgrade-conflicts" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install diamond-1-1 spade-1-1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sk_6jnio --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sk_6jnio/var/cache/dnf install diamond-1-1 spade-1-1 When I execute dnf with args "upgrade --setopt=protected_packages=diamond" # None Then stderr is # None """ Failed to resolve the transaction: Problem 1: The operation would result in broken dependencies for the following protected packages: diamond Problem 2: installed package diamond-1-1.x86_64 requires spade = 1-1, but none of the providers can be installed - cannot install both spade-2-1.x86_64 from upgrade-conflicts and spade-1-1.x86_64 from @System - cannot install both spade-2-1.x86_64 from upgrade-conflicts and spade-1-1.x86_64 from upgrade-conflicts - cannot install the best update candidate for package spade-1-1.x86_64 - cannot install the best update candidate for package diamond-1-1.x86_64 You can try to add to command line: --no-best to not limit the transaction to the best candidates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sk_6jnio --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sk_6jnio/var/cache/dnf install diamond-1-1 spade-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-conflicts.feature:3 Conflicts are reported even if the transaction would involve removal of protected packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 1 step passed, 1 failed, 2 skipped Took 0min 0.100s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Upgrade dependency of another RPM # dnf/upgrade-dependent.feature:2 @bz2142257 Scenario: Upgrade dependency of another RPM with best=False # dnf/upgrade-dependent.feature:13 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | Given I use repository "upgrade-dependent" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto-1.0-1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6gpqk69c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6gpqk69c/var/cache/dnf install labirinto-1.0-1 Then Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.noarch | | install-dep | labirinto-libs-0:1.0-1.noarch | When I execute dnf with args "upgrade labirinto-libs" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-0:2.0-1.noarch | | upgrade | labirinto-libs-0:2.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6gpqk69c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6gpqk69c/var/cache/dnf install labirinto-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-dependent.feature:13 Upgrade dependency of another RPM with best=False 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 4 skipped Took 0min 0.099s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Upgrade package from noarch to arch # dnf/upgrade-from-noarch.feature:2 @dnf5daemon Feature: Upgrade package from noarch to arch # dnf/upgrade-from-noarch.feature:2 Scenario: Upgrade to rpm from file which is not noarch # dnf/upgrade-from-noarch.feature:12 Given I use repository "upgrade-from-noarch" # dnf/steps/repo.py:186 When I execute dnf with args "install it-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7yrvy5sx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7yrvy5sx/var/cache/dnf install it-1.0 And DNF Transaction is following # None | Action | Package | | install | it-1.0-1.x86_64 | When I execute dnf with args "upgrade {context.dnf.fixturesdir}/repos/upgrade-from-noarch/noarch/it-2.0-1.noarch.rpm" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | it-2.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7yrvy5sx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7yrvy5sx/var/cache/dnf install it-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-from-noarch.feature:12 Upgrade to rpm from file which is not noarch 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 4 skipped Took 0min 0.098s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Upgrade RPMs from path # dnf/upgrade-from-path.feature:2 @dnf5daemon Feature: Upgrade RPMs from path # dnf/upgrade-from-path.feature:2 Scenario: Upgrade an RPM from absolute path on disk # dnf/upgrade-from-path.feature:20 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c17qa342 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c17qa342/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc-2.28-26.fc29.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c17qa342 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c17qa342/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from relative path on disk # dnf/upgrade-from-path.feature:31 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_197dtkyn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_197dtkyn/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I set working directory to "{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade x86_64/glibc-2.28-26.fc29.x86_64.rpm x86_64/glibc-common-2.28-26.fc29.x86_64.rpm x86_64/glibc-all-langpacks-2.28-26.fc29.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_197dtkyn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_197dtkyn/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from path on disk containing wildcards # dnf/upgrade-from-path.feature:42 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_br60_37s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_br60_37s/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/glibc*" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_br60_37s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_br60_37s/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from path on disk, when specifying the RPM multiple times # dnf/upgrade-from-path.feature:53 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0ip4dmb5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0ip4dmb5/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | When I execute dnf with args "upgrade {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/wget-1.19.6-5.fc29.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/wget-1.19.6-5.fc29.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0ip4dmb5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0ip4dmb5/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from path on disk, when specifying the RPM multiple times using different paths # dnf/upgrade-from-path.feature:61 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q7rv6lka --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q7rv6lka/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I set working directory to "{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade x86_64/wget-1.19.6-5.fc29.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/wget-1.19.6-5.fc29.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q7rv6lka --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q7rv6lka/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from path on disk, when specifying the RPM multiple times using symlink # dnf/upgrade-from-path.feature:70 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a4iumnvg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a4iumnvg/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I copy file "{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/wget-1.19.6-5.fc29.x86_64.rpm" to "/tmp/wget-1.19.6-5.fc29.x86_64.rpm" # None And I create symlink "/tmp/symlink.rpm" to file "/tmp/wget-1.19.6-5.fc29.x86_64.rpm" # None When I execute dnf with args "upgrade {context.dnf.installroot}/tmp/wget-1.19.6-5.fc29.x86_64.rpm {context.dnf.installroot}/tmp/symlink.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a4iumnvg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a4iumnvg/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from URL where URL is a http address # dnf/upgrade-from-path.feature:80 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1xj1xxjt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1xj1xxjt/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" as http # None And I execute dnf with args "upgrade http://localhost:{context.dnf.ports[dnf-ci-fedora-updates]}/x86_64/wget-1.19.6-5.fc29.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1xj1xxjt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1xj1xxjt/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from URL where URL is a ftp address # dnf/upgrade-from-path.feature:89 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bop9klzq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bop9klzq/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" as ftp # None And I execute dnf with args "upgrade ftp://localhost:{context.dnf.ports[dnf-ci-fedora-updates]}/x86_64/wget-1.19.6-5.fc29.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bop9klzq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bop9klzq/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM from URL where URL is a local path # dnf/upgrade-from-path.feature:98 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2u4_a_eu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2u4_a_eu/var/cache/dnf install glibc wget And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None And I execute dnf with args "upgrade file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates/x86_64/wget-1.19.6-5.fc29.x86_64.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2u4_a_eu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2u4_a_eu/var/cache/dnf install glibc wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-from-path.feature:20 Upgrade an RPM from absolute path on disk dnf/upgrade-from-path.feature:31 Upgrade an RPM from relative path on disk dnf/upgrade-from-path.feature:42 Upgrade an RPM from path on disk containing wildcards dnf/upgrade-from-path.feature:53 Upgrade an RPM from path on disk, when specifying the RPM multiple times dnf/upgrade-from-path.feature:61 Upgrade an RPM from path on disk, when specifying the RPM multiple times using different paths dnf/upgrade-from-path.feature:70 Upgrade an RPM from path on disk, when specifying the RPM multiple times using symlink dnf/upgrade-from-path.feature:80 Upgrade an RPM from URL where URL is a http address dnf/upgrade-from-path.feature:89 Upgrade an RPM from URL where URL is a ftp address dnf/upgrade-from-path.feature:98 Upgrade an RPM from URL where URL is a local path 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 18 steps passed, 9 failed, 45 skipped Took 0min 0.408s USING RUNNER: behave.runner:Runner Feature: upgrade with --from-repo # dnf/upgrade-from-repo.feature:1 Feature: upgrade with --from-repo # dnf/upgrade-from-repo.feature:1 Scenario: Upgrade pkgB from "from-repo-updates1" and install new dependency from another repo # dnf/upgrade-from-repo.feature:17 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v6hiy9pm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v6hiy9pm/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --from-repo=from-repo-updates1 pkgB" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v6hiy9pm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v6hiy9pm/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade all RPMs "from-repo-updates1" and install new dependency from another repo # dnf/upgrade-from-repo.feature:29 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_445cykbx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_445cykbx/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo" # None And I use repository "from-repo-updates1" # None And I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-dep | dependency2-0:1.0-1.fc29.x86_64 | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | flac-0:1.3.3-1.fc29.x86_64 | | upgrade | pkgB-0:1.1-1.fc29.x86_64 | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_445cykbx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_445cykbx/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-from-repo.feature:17 Upgrade pkgB from "from-repo-updates1" and install new dependency from another repo dnf/upgrade-from-repo.feature:29 Upgrade all RPMs "from-repo-updates1" and install new dependency from another repo 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 14 skipped Took 0min 0.148s USING RUNNER: behave.runner:Runner Feature: upgrade with --from-vendor # dnf/upgrade-from-vendor.feature:1 Feature: upgrade with --from-vendor # dnf/upgrade-from-vendor.feature:1 Scenario: Upgrade vendorapp from "Second Vendor" # dnf/upgrade-from-vendor.feature:16 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m8ge7ylk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m8ge7ylk/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendorapp-0:2.7-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m8ge7ylk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m8ge7ylk/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade vendorapp from "Second Vendor" (--from-vendor has higher priority than allow_vendor_change=0) # dnf/upgrade-from-vendor.feature:33 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_buvum6tt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_buvum6tt/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendorapp-0:2.7-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_buvum6tt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_buvum6tt/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade vendorapp from any vendor (--from-vendor has higher priority than allow_vendor_change=0) # dnf/upgrade-from-vendor.feature:50 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z1px4qz6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z1px4qz6/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade --setopt=allow_vendor_change=0 --from-vendor='*' vendorapp" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendorapp-0:2.8-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | vendorapp-0:2.8-1.x86_64 | User | dnf-ci-vendor-3-updates | | Replaced | vendorapp-0:2.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z1px4qz6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z1px4qz6/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade vendorpkg from "Second Vendor" and upgrade dependencies and install new dependency from any repos # dnf/upgrade-from-vendor.feature:67 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d5961vle --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d5961vle/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' vendorpkg" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendorpkg-0:1.10-1.x86_64 | | upgrade | vendordep-0:1.8-1.x86_64 | | install-dep | vendordep2-0:1.1-1.x86_64 | | install-dep | vendordep3-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendordep3-0:1.2-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | | Install | vendordep2-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2-updates | | Upgrade | vendorpkg-0:1.10-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendordep-0:1.8-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | | Replaced | vendorpkg-0:1.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d5961vle --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d5961vle/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade vendorpkg from "Second Vendor", don't change vendor for upgraded dependencies and install new dependency from any repos # dnf/upgrade-from-vendor.feature:91 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2of683t9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2of683t9/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' vendorpkg" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendorpkg-0:1.10-1.x86_64 | | upgrade | vendordep-0:1.6-1.x86_64 | | install-dep | vendordep2-0:1.1-1.x86_64 | | install-dep | vendordep3-0:1.2-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendordep3-0:1.2-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | | Install | vendordep2-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2-updates | | Upgrade | vendorpkg-0:1.10-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendordep-0:1.6-1.x86_64 | Dependency | dnf-ci-vendor-1-updates | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | | Replaced | vendorpkg-0:1.0-1.x86_64 | User | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2of683t9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2of683t9/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Use upgrades from "Second Vendor" and install new dependency from any repos (allow_vendor_change=1) # dnf/upgrade-from-vendor.feature:115 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eill7dzb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eill7dzb/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade --no-best --setopt=allow_vendor_change=1 --from-vendor='Second\ Vendor' '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendorapp-0:2.7-1.x86_64 | | upgrade | vendordep-0:1.1-1.x86_64 | | upgrade | vendorpkg-0:1.7-1.x86_64 | | upgrade | vendorweak-0:1.7-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | broken | vendorpkg-0:1.10-1.x86_64 | | conflict | vendordep-0:1.2-1.x86_64 | | conflict | vendordep-0:1.6-1.x86_64 | | conflict | vendordep-0:1.8-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendordep2-0:1.2-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | | Upgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Upgrade | vendorpkg-0:1.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendorweak-0:1.7-1.x86_64 | Weak Dependency | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.0-1.x86_64 | User | @System | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | | Replaced | vendorpkg-0:1.0-1.x86_64 | User | @System | | Replaced | vendorweak-0:1.0-1.x86_64 | Weak Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eill7dzb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eill7dzb/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Use upgrades from "Second Vendor" and install new dependency from any repos (allow_vendor_change=0) # dnf/upgrade-from-vendor.feature:147 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fltpd25r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fltpd25r/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-1-updates" # None And I use repository "dnf-ci-vendor-2" # None And I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade --no-best --setopt=allow_vendor_change=0 --from-vendor='Second\ Vendor' '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | vendorapp-0:2.7-1.x86_64 | | upgrade | vendordep-0:1.1-1.x86_64 | | upgrade | vendorpkg-0:1.7-1.x86_64 | | upgrade | vendorweak-0:1.7-1.x86_64 | | install-dep | vendordep2-0:1.2-1.x86_64 | | broken | vendorpkg-0:1.10-1.x86_64 | | conflict | vendordep-0:1.2-1.x86_64 | | conflict | vendordep-0:1.6-1.x86_64 | | conflict | vendordep-0:1.8-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | vendordep2-0:1.2-1.x86_64 | Dependency | dnf-ci-vendor-3-updates | | Upgrade | vendorapp-0:2.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendordep-0:1.1-1.x86_64 | Dependency | dnf-ci-vendor-2 | | Upgrade | vendorpkg-0:1.7-1.x86_64 | User | dnf-ci-vendor-2-updates | | Upgrade | vendorweak-0:1.7-1.x86_64 | Weak Dependency | dnf-ci-vendor-2-updates | | Replaced | vendorapp-0:2.0-1.x86_64 | User | @System | | Replaced | vendordep-0:1.0-1.x86_64 | Dependency | @System | | Replaced | vendorpkg-0:1.0-1.x86_64 | User | @System | | Replaced | vendorweak-0:1.0-1.x86_64 | Weak Dependency | @System | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fltpd25r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fltpd25r/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade fails when trying to upgrade from wrong vendor # dnf/upgrade-from-vendor.feature:179 Given I use repository "dnf-ci-vendor-1" # dnf/steps/repo.py:186 When I execute dnf with args "install vendorpkg vendorapp" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f2qqbvim --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f2qqbvim/var/cache/dnf install vendorpkg vendorapp And Transaction is following # None | Action | Package | | install | vendorpkg-0:1.0-1.x86_64 | | install | vendorapp-0:2.0-1.x86_64 | | install-dep | vendordep-0:1.0-1.x86_64 | | install-weak | vendorweak-0:1.0-1.x86_64 | Given I use repository "dnf-ci-vendor-2-updates" # None And I use repository "dnf-ci-vendor-3-updates" # None When I execute dnf with args "upgrade --from-vendor='Second Vendor' vendorpkg" # None Then the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f2qqbvim --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f2qqbvim/var/cache/dnf install vendorpkg vendorapp  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-from-vendor.feature:16 Upgrade vendorapp from "Second Vendor" dnf/upgrade-from-vendor.feature:33 Upgrade vendorapp from "Second Vendor" (--from-vendor has higher priority than allow_vendor_change=0) dnf/upgrade-from-vendor.feature:50 Upgrade vendorapp from any vendor (--from-vendor has higher priority than allow_vendor_change=0) dnf/upgrade-from-vendor.feature:67 Upgrade vendorpkg from "Second Vendor" and upgrade dependencies and install new dependency from any repos dnf/upgrade-from-vendor.feature:91 Upgrade vendorpkg from "Second Vendor", don't change vendor for upgraded dependencies and install new dependency from any repos dnf/upgrade-from-vendor.feature:115 Use upgrades from "Second Vendor" and install new dependency from any repos (allow_vendor_change=1) dnf/upgrade-from-vendor.feature:147 Use upgrades from "Second Vendor" and install new dependency from any repos (allow_vendor_change=0) dnf/upgrade-from-vendor.feature:179 Upgrade fails when trying to upgrade from wrong vendor 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 16 steps passed, 8 failed, 75 skipped Took 0min 0.335s USING RUNNER: behave.runner:Runner Feature: upgrade with --install-from-repo # dnf/upgrade-installed-from-repo.feature:1 Feature: upgrade with --install-from-repo # dnf/upgrade-installed-from-repo.feature:1 Scenario: Upgrade all packages installed from "from-repo" and install new dependency # dnf/upgrade-installed-from-repo.feature:25 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mgxdmvbe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mgxdmvbe/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --installed-from-repo=from-repo" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | setup-0:2.14.2-1.fc29.noarch | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | upgrade | wget-0:1.19.8-2.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mgxdmvbe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mgxdmvbe/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade all packages (spec by '*') installed from "from-repo" and install new dependency # dnf/upgrade-installed-from-repo.feature:40 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ymb9e38 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ymb9e38/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --installed-from-repo=from-repo '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | setup-0:2.14.2-1.fc29.noarch | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | upgrade | wget-0:1.19.8-2.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ymb9e38 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ymb9e38/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade all packages installed from "from-repo-updates1" # dnf/upgrade-installed-from-repo.feature:55 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8b9ol1rv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8b9ol1rv/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --installed-from-repo=from-repo-updates1 '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | basesystem-0:12-2.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8b9ol1rv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8b9ol1rv/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade all packages installed from "from-repo" and "from-repo-updates1" and install new dependency # dnf/upgrade-installed-from-repo.feature:64 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ej3g6qpp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ej3g6qpp/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --installed-from-repo=from-repo,from-repo-updates1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | upgrade | basesystem-0:12-2.fc29.noarch | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | setup-0:2.14.2-1.fc29.noarch | | upgrade | pkgB-0:1.2-1.fc29.x86_64 | | upgrade | wget-0:1.19.8-2.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ej3g6qpp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ej3g6qpp/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade all packages installed from repos defined by glob patter and install new dependency # dnf/upgrade-installed-from-repo.feature:80 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hkxfntpn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hkxfntpn/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --installed-from-repo=from-*-updates1" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | basesystem-0:12-2.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hkxfntpn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hkxfntpn/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Uograde packages 'd*' installed from "from-repo" and "from-repo-updates1" # dnf/upgrade-installed-from-repo.feature:89 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__dlqytxs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__dlqytxs/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --installed-from-repo=from-repo,from-repo-updates1 'd*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | dependency1-0:1.2-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__dlqytxs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__dlqytxs/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade packages 'a*' installed from "from-repo-updates1" is not possible; was installed from "from-repo-updates1" # dnf/upgrade-installed-from-repo.feature:98 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a_sj7wn2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a_sj7wn2/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None When I execute dnf with args "upgrade --installed-from-repo=from-repo-updates1 'a*'" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Packages for argument 'a*' available, but not installed. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a_sj7wn2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a_sj7wn2/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade all packages installed from "obsoletes-yum"; obsoleters are installed # dnf/upgrade-installed-from-repo.feature:110 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mgzzrhrs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mgzzrhrs/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None And I use repository "obsoletes-yum" # None When I execute dnf with args "install wood-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wood-0:1.0-1.fc29.x86_64 | When I execute dnf with args "upgrade --installed-from-repo=obsoletes-yum" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | copper-0:1.0-1.fc29.x86_64 | | install | iron-0:1.0-1.fc29.x86_64 | | upgrade | wood-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mgzzrhrs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mgzzrhrs/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade packages (spec '*') installed from "obsoletes-yum"; obsoleters are installed # dnf/upgrade-installed-from-repo.feature:127 Given I use repository "from-repo" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jzdgqcle --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jzdgqcle/var/cache/dnf install abcde pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | pkgB-0:1.0-1.fc29.x86_64 | | install-dep | dependency1-0:1.0-1.fc29.x86_64 | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "from-repo-updates1" # None When I execute dnf with args "install basesystem" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-8.fc29.noarch | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | Given I use repository "from-repo-updates2" # None And I use repository "obsoletes-yum" # None When I execute dnf with args "install wood-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wood-0:1.0-1.fc29.x86_64 | When I execute dnf with args "upgrade --installed-from-repo=obsoletes-yum '*'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | copper-0:1.0-1.fc29.x86_64 | | install | iron-0:1.0-1.fc29.x86_64 | | upgrade | wood-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jzdgqcle --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jzdgqcle/var/cache/dnf install abcde pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-installed-from-repo.feature:25 Upgrade all packages installed from "from-repo" and install new dependency dnf/upgrade-installed-from-repo.feature:40 Upgrade all packages (spec by '*') installed from "from-repo" and install new dependency dnf/upgrade-installed-from-repo.feature:55 Upgrade all packages installed from "from-repo-updates1" dnf/upgrade-installed-from-repo.feature:64 Upgrade all packages installed from "from-repo" and "from-repo-updates1" and install new dependency dnf/upgrade-installed-from-repo.feature:80 Upgrade all packages installed from repos defined by glob patter and install new dependency dnf/upgrade-installed-from-repo.feature:89 Uograde packages 'd*' installed from "from-repo" and "from-repo-updates1" dnf/upgrade-installed-from-repo.feature:98 Upgrade packages 'a*' installed from "from-repo-updates1" is not possible; was installed from "from-repo-updates1" dnf/upgrade-installed-from-repo.feature:110 Upgrade all packages installed from "obsoletes-yum"; obsoleters are installed dnf/upgrade-installed-from-repo.feature:127 Upgrade packages (spec '*') installed from "obsoletes-yum"; obsoleters are installed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 18 steps passed, 9 failed, 89 skipped Took 0min 0.382s USING RUNNER: behave.runner:Runner Feature: Upgrade with duplicate multilib packages in rpmdb # dnf/upgrade-multilib-duplicates.feature:1 Scenario: Upgrade reports duplicate versions across architectures in rpmdb # dnf/upgrade-multilib-duplicates.feature:5 Given I use repository "upgrade-multilib" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install duplicate-versions-0:1.0-1.x86_64 duplicate-versions-0:1.0-1.i686" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lqd6shha --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lqd6shha/var/cache/dnf install duplicate-versions-0:1.0-1.x86_64 duplicate-versions-0:1.0-1.i686 Then Transaction is following # None | Action | Package | | install | duplicate-versions-0:1.0-1.x86_64 | | install | duplicate-versions-0:1.0-1.i686 | Given I successfully execute rpm with args "-i --force {context.dnf.fixturesdir}/repos/upgrade-multilib/x86_64/duplicate-versions-2.0-1.x86_64.rpm" # None When I execute rpm with args "-q duplicate-versions" # None Then stdout is # None """ duplicate-versions-1.0-1.i686 duplicate-versions-1.0-1.x86_64 duplicate-versions-2.0-1.x86_64 """ When I execute dnf with args "upgrade duplicate-versions" # None Then the exit code is 1 # None And DNF Transaction is following # None | Action | Package | | upgrade | duplicate-versions-0:2.0-1.i686 | | replaced | duplicate-versions-0:1.0-1.i686 | And stderr contains lines # None """ Transaction failed: Rpm transaction check failed. - The rpm transaction would unexpectedly remove packages not planned by the solver: duplicate-versions-0:1.0-1.x86_64, duplicate-versions-0:2.0-1.x86_64. This typically happens when the rpmdb contains duplicate package versions after an interrupted upgrade. Please remove the duplicate packages using "dnf remove" and retry. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lqd6shha --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lqd6shha/var/cache/dnf install duplicate-versions-0:1.0-1.x86_64 duplicate-versions-0:1.0-1.i686  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-multilib-duplicates.feature:5 Upgrade reports duplicate versions across architectures in rpmdb 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 1 step passed, 1 failed, 8 skipped Took 0min 0.100s USING RUNNER: behave.runner:Runner @dnf5daemon Feature: Upgrade RPMs by pkgspec # dnf/upgrade-pkgspec.feature:2 @dnf5daemon Feature: Upgrade RPMs by pkgspec # dnf/upgrade-pkgspec.feature:2 @tier1 Scenario Outline: Upgrade an RPM by name -- @1.1 Name # dnf/upgrade-pkgspec.feature:32 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y1fjo4_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y1fjo4_0/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y1fjo4_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y1fjo4_0/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade an RPM by name-version -- @2.1 Other pkgspecs # dnf/upgrade-pkgspec.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bhm9bsce --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bhm9bsce/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc-2.28" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bhm9bsce --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bhm9bsce/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade an RPM by name-version-release -- @2.2 Other pkgspecs # dnf/upgrade-pkgspec.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q2vzzg0c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q2vzzg0c/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc-2.28-26.fc29" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q2vzzg0c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q2vzzg0c/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade an RPM by name-version-release.arch -- @2.3 Other pkgspecs # dnf/upgrade-pkgspec.feature:38 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b_3rjuyc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b_3rjuyc/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc-2.28-26.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b_3rjuyc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b_3rjuyc/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade an RPM by name-epoch:version-release.arch -- @2.4 Other pkgspecs # dnf/upgrade-pkgspec.feature:39 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__23lzo6i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__23lzo6i/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc-0:2.28-26.fc29.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__23lzo6i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__23lzo6i/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Upgrade an RPM by name.arch -- @2.5 Other pkgspecs # dnf/upgrade-pkgspec.feature:40 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2kdbia3g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2kdbia3g/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2kdbia3g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2kdbia3g/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM by name containing dashes # dnf/upgrade-pkgspec.feature:43 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_14y17s39 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_14y17s39/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc-common" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_14y17s39 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_14y17s39/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM by pkgspec contining wildcards # dnf/upgrade-pkgspec.feature:54 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_051j2uak --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_051j2uak/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc-*.x86_64" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_051j2uak --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_051j2uak/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-pkgspec.feature:32 Upgrade an RPM by name -- @1.1 Name dnf/upgrade-pkgspec.feature:36 Upgrade an RPM by name-version -- @2.1 Other pkgspecs dnf/upgrade-pkgspec.feature:37 Upgrade an RPM by name-version-release -- @2.2 Other pkgspecs dnf/upgrade-pkgspec.feature:38 Upgrade an RPM by name-version-release.arch -- @2.3 Other pkgspecs dnf/upgrade-pkgspec.feature:39 Upgrade an RPM by name-epoch:version-release.arch -- @2.4 Other pkgspecs dnf/upgrade-pkgspec.feature:40 Upgrade an RPM by name.arch -- @2.5 Other pkgspecs dnf/upgrade-pkgspec.feature:43 Upgrade an RPM by name containing dashes dnf/upgrade-pkgspec.feature:54 Upgrade an RPM by pkgspec contining wildcards 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 16 steps passed, 8 failed, 40 skipped Took 0min 0.380s USING RUNNER: behave.runner:Runner Feature: Upgrade RPMs by provides # dnf/upgrade-provides.feature:1 Feature: Upgrade RPMs by provides # dnf/upgrade-provides.feature:1 @dnf5daemon @tier1 Scenario Outline: Upgrade an RPM by provide = e:v-r -- @1.1 # dnf/upgrade-provides.feature:32 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c0clee34 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c0clee34/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade 'glibc = 0:2.28-26.fc29'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c0clee34 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c0clee34/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @tier1 Scenario Outline: Upgrade an RPM by provide > e:v-r -- @1.2 # dnf/upgrade-provides.feature:33 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_thi6qdrb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_thi6qdrb/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade 'glibc > 0:2.28-9.fc29'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_thi6qdrb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_thi6qdrb/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @tier1 Scenario Outline: Upgrade an RPM by provide >= e:v-r -- @1.3 # dnf/upgrade-provides.feature:34 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ditflnd3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ditflnd3/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade 'glibc >= 0:2.28-26.fc29'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ditflnd3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ditflnd3/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @tier1 Scenario Outline: Upgrade an RPM by provide < e:v-r -- @1.4 # dnf/upgrade-provides.feature:35 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_90nabupd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_90nabupd/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade 'glibc < 0:2.28-27.fc29'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_90nabupd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_90nabupd/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon @tier1 Scenario Outline: Upgrade an RPM by provide <= e:v-r -- @1.5 # dnf/upgrade-provides.feature:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__hjkdhyr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__hjkdhyr/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade 'glibc <= 0:2.28-26.fc29'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__hjkdhyr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__hjkdhyr/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Upgrade an RPM by provide # dnf/upgrade-provides.feature:40 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jgsz3iu9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jgsz3iu9/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade 'libm.so.6()(64bit)'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jgsz3iu9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jgsz3iu9/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Upgrade an RPM by file provide # dnf/upgrade-provides.feature:52 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y5iiqvnz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y5iiqvnz/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade /etc/ld.so.conf" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y5iiqvnz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y5iiqvnz/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade an RPM by file provide that is directory # dnf/upgrade-provides.feature:63 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j4r92tg6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j4r92tg6/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade /var/db" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j4r92tg6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j4r92tg6/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Upgrade an RPM by file provide containing wildcards # dnf/upgrade-provides.feature:75 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7v4ruksk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7v4ruksk/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade /etc/ld*.conf" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7v4ruksk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7v4ruksk/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-provides.feature:32 Upgrade an RPM by provide = e:v-r -- @1.1 dnf/upgrade-provides.feature:33 Upgrade an RPM by provide > e:v-r -- @1.2 dnf/upgrade-provides.feature:34 Upgrade an RPM by provide >= e:v-r -- @1.3 dnf/upgrade-provides.feature:35 Upgrade an RPM by provide < e:v-r -- @1.4 dnf/upgrade-provides.feature:36 Upgrade an RPM by provide <= e:v-r -- @1.5 dnf/upgrade-provides.feature:40 Upgrade an RPM by provide dnf/upgrade-provides.feature:52 Upgrade an RPM by file provide dnf/upgrade-provides.feature:63 Upgrade an RPM by file provide that is directory dnf/upgrade-provides.feature:75 Upgrade an RPM by file provide containing wildcards 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 18 steps passed, 9 failed, 45 skipped Took 0min 0.413s USING RUNNER: behave.runner:Runner Feature: Upgrade one package to a specific version # dnf/upgrade-to.feature:1 Scenario: Upgrade to a specific version # dnf/upgrade-to.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2tirw7n_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2tirw7n_/var/cache/dnf install flac And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade flac-0:1.3.3-2.fc29" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2tirw7n_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2tirw7n_/var/cache/dnf install flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/upgrade-to.feature:4 Upgrade to a specific version 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 5 skipped Took 0min 0.146s USING RUNNER: behave.runner:Runner Feature: Upgrade single RPMs # dnf/upgrade.feature:1 Feature: Upgrade single RPMs # dnf/upgrade.feature:1 @dnf5daemon @tier1 @bz1649286 Scenario: Upgrade one RPM # dnf/upgrade.feature:27 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__tltrktl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__tltrktl/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc" # None Then the exit code is 0 # None And stdout does not contain "Upgrade *: +glibc" # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__tltrktl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__tltrktl/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @dnf5daemon Scenario: Upgrade two RPMs # dnf/upgrade.feature:40 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_88w9uw3f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_88w9uw3f/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc flac" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_88w9uw3f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_88w9uw3f/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade list of packages, none of them has an upgrade available # dnf/upgrade.feature:52 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o7z5ekt9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o7z5ekt9/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | When I execute dnf with args "upgrade flac abcde" # None Then the exit code is 0 # None And stdout contains "Nothing to do." # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o7z5ekt9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o7z5ekt9/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade list of packages, one of them is not available # dnf/upgrade.feature:59 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vh7kuqaw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vh7kuqaw/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade flac nosuchpkg" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: nosuchpkg You can try to add to command line: --skip-unavailable to skip unavailable packages """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vh7kuqaw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vh7kuqaw/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade list of packages with --skip-unavailable, one of them is not available # dnf/upgrade.feature:74 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f0ludlk4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f0ludlk4/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --skip-unavailable nosuchpkg flac" # None Then the exit code is 0 # None And stderr contains lines # None """ No match for argument: nosuchpkg """ And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f0ludlk4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f0ludlk4/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade list of packages, one of them is not installed # dnf/upgrade.feature:87 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3ittx6ug --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3ittx6ug/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade flac dwm" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Packages for argument 'dwm' available, but not installed. """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3ittx6ug --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3ittx6ug/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Upgrade list of packages with --skip-unavailable, one of them is not installed # dnf/upgrade.feature:100 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w0ojf8kl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w0ojf8kl/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade --skip-unavailable dwm flac" # None Then the exit code is 0 # None And stderr contains lines # None """ Packages for argument 'dwm' available, but not installed. """ And Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w0ojf8kl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w0ojf8kl/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @tier1 @bz1670776 @bz1671683 Scenario: Upgrade all RPMs from multiple repositories with best=False # dnf/upgrade.feature:115 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oipiogj9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oipiogj9/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None Given I use repository "dnf-ci-fedora-updates-testing" # None And I use repository "dnf-ci-thirdparty-updates" # None Given I configure dnf with # None | key | value | | best | False | When I execute dnf with args "--nogpgcheck upgrade" # None Then the exit code is 0 # None And stderr contains lines # None """ Problem: cannot install the best update candidate for package SuperRipper-1.0-1.x86_64 - nothing provides unsatisfiable needed by SuperRipper-1.3-1.x86_64 from dnf-ci-thirdparty-updates """ And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | flac-0:1.4.0-1.fc29.x86_64 | | upgrade | wget-1:1.19.5-5.fc29.x86_64 | | upgrade | SuperRipper-0:1.2-1.x86_64 | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | broken | SuperRipper-1.3-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oipiogj9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oipiogj9/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @tier1 @bz1670776 @bz1671683 Scenario: Upgrade all RPMs from multiple repositories with best=True # dnf/upgrade.feature:143 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mrj_bc14 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mrj_bc14/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None Given I use repository "dnf-ci-fedora-updates-testing" # None And I use repository "dnf-ci-thirdparty-updates" # None Given I configure dnf with # None | key | value | | best | True | When I execute dnf with args "upgrade" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: cannot install the best update candidate for package SuperRipper-1.0-1.x86_64 - nothing provides unsatisfiable needed by SuperRipper-1.3-1.x86_64 from dnf-ci-thirdparty-updates You can try to add to command line: --no-best to not limit the transaction to the best candidates """ When I execute dnf with args "upgrade --no-best" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | flac-0:1.4.0-1.fc29.x86_64 | | upgrade | wget-1:1.19.5-5.fc29.x86_64 | | upgrade | SuperRipper-0:1.2-1.x86_64 | | upgrade | abcde-0:2.9.3-1.fc29.noarch | | broken | SuperRipper-1.3-1.x86_64 | And stderr contains lines # None """ Problem: cannot install the best update candidate for package SuperRipper-1.0-1.x86_64 - nothing provides unsatisfiable needed by SuperRipper-1.3-1.x86_64 from dnf-ci-thirdparty-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mrj_bc14 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mrj_bc14/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1659390 Scenario: Print information about skipped packages # dnf/upgrade.feature:181 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac wget SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5chmrxg6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5chmrxg6/var/cache/dnf install glibc flac wget SuperRipper And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | | install | SuperRipper-0:1.0-1.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | abcde-0:2.9.2-1.fc29.noarch | | install-weak | FlacBetterEncoder-0:1.0-1.x86_64 | Given I use repository "dnf-ci-thirdparty-updates" # None When I execute dnf with args "update --setopt 'best=0'" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | SuperRipper-0:1.2-1.x86_64 | | broken | SuperRipper-1.3-1.x86_64 | Then stderr contains lines # None """ Problem: cannot install the best update candidate for package SuperRipper-1.0-1.x86_64 - nothing provides unsatisfiable needed by SuperRipper-1.3-1.x86_64 from dnf-ci-thirdparty-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5chmrxg6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5chmrxg6/var/cache/dnf install glibc flac wget SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario Outline: Print correct number of available updates if update --security is given -- @1.1 # dnf/upgrade.feature:222 @xfail Scenario Outline: Print correct number of available updates if update --bugfix is given -- @1.2 # dnf/upgrade.feature:223 @xfail Scenario Outline: Print correct number of available updates if update --enhancement is given -- @1.3 # dnf/upgrade.feature:224 @xfail Scenario Outline: Print correct number of available updates if update --security is given and updateinfo is available -- @1.1 # dnf/upgrade.feature:249 @xfail Scenario Outline: Print correct number of available updates if update --enhancement is given and updateinfo is available -- @1.2 # dnf/upgrade.feature:250 Failing scenarios: dnf/upgrade.feature:27 Upgrade one RPM dnf/upgrade.feature:40 Upgrade two RPMs dnf/upgrade.feature:52 Upgrade list of packages, none of them has an upgrade available dnf/upgrade.feature:59 Upgrade list of packages, one of them is not available dnf/upgrade.feature:74 Upgrade list of packages with --skip-unavailable, one of them is not available dnf/upgrade.feature:87 Upgrade list of packages, one of them is not installed dnf/upgrade.feature:100 Upgrade list of packages with --skip-unavailable, one of them is not installed dnf/upgrade.feature:115 Upgrade all RPMs from multiple repositories with best=False dnf/upgrade.feature:143 Upgrade all RPMs from multiple repositories with best=True dnf/upgrade.feature:181 Print information about skipped packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 10 failed, 5 skipped 30 steps passed, 10 failed, 138 skipped Took 0min 0.558s USING RUNNER: behave.runner:Runner Feature: Subtitute releasever in baseurl # dnf/vars-releasever.feature:1 Feature: Subtitute releasever in baseurl # dnf/vars-releasever.feature:1 @destructive Scenario: Releasever is substituted in baseurl using vars loaded from the same location (host or installroot) as repos # dnf/vars-releasever.feature:67 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I do not set releasever # dnf/steps/cmd.py:169 And I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-f0123" # common/file.py:149 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | And I create and substitute file "/etc/dnf/vars/releasever" with # common/file.py:43 """ 0123 """ And I execute "mv {context.dnf.installroot}/etc/yum.repos.d/dnf-ci-fedora.repo /etc/yum.repos.d" # common/cmd.py:30 And I delete directory "/etc/yum.repos.d" # common/file.py:70 When I execute dnf with args "install --use-host-config setup --disablerepo=* --enablerepo=dnf-ci-fedora" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pjj4hagn --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pjj4hagn/var/cache/dnf install --use-host-config setup --disablerepo=* --enablerepo=dnf-ci-fedora Given I execute "mv {context.dnf.installroot}/etc/dnf/vars/releasever /etc/dnf/vars/releasever" # None And I delete directory "/etc/dnf/vars" # None When I execute dnf with args "install --use-host-config setup --disablerepo=* --enablerepo=dnf-ci-fedora" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pjj4hagn --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pjj4hagn/var/cache/dnf install --use-host-config setup --disablerepo=* --enablerepo=dnf-ci-fedora  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/vars-releasever.feature:67 Releasever is substituted in baseurl using vars loaded from the same location (host or installroot) as repos 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 9 skipped 9 steps passed, 1 failed, 72 skipped Took 0min 0.203s USING RUNNER: behave.runner:Runner Feature: Subtitute releasever in baseurl # dnf/vars-releasever.feature:1 Feature: Subtitute releasever in baseurl # dnf/vars-releasever.feature:1 Scenario: Releasever is substituted in baseurl via a command line option # dnf/vars-releasever.feature:10 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-f0123" # common/file.py:149 And I execute dnf with args "install setup --releasever=0123" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gmxtft1_ --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gmxtft1_/var/cache/dnf install setup --releasever=0123 And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gmxtft1_ --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gmxtft1_/var/cache/dnf install setup --releasever=0123  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Releasever is substituted in baseurl via a config file # dnf/vars-releasever.feature:19 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-f0123" # common/file.py:149 And I create and substitute file "/etc/dnf/vars/releasever" with # common/file.py:43 """ 0123 """ And I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fo2b_61o --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fo2b_61o/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fo2b_61o --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fo2b_61o/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Releasever is substituted in baseurl via a value detected from a fedora-release package # dnf/vars-releasever.feature:32 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/fedora-release-29-1.noarch.rpm" # dnf/steps/cmd.py:198 And I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-f29" # common/file.py:149 And I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__nphq9tx --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__nphq9tx/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__nphq9tx --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__nphq9tx/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1710761 Scenario: Releasever is substituted in baseurl via a value detected from 'system-release(releasever)' provide # dnf/vars-releasever.feature:43 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora-release/noarch/fedora-release-29-1.noarch.rpm" # dnf/steps/cmd.py:198 And I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-f123" # common/file.py:149 And I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d7yoig8u --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d7yoig8u/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d7yoig8u --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d7yoig8u/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: releasever_{major,minor} are substituted via values detected from 'system-release(releasever_{major,minor})' provides # dnf/vars-releasever.feature:53 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/dnf-ci-fedora-release/noarch/fedora-release-29-1.noarch.rpm" # dnf/steps/cmd.py:198 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever-$releasever_major-$releasever_minor | And I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-f123-45-67" # common/file.py:149 And I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p44twqdv --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p44twqdv/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p44twqdv --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p44twqdv/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Releasever is substituted in baseurl via vars in custom location # dnf/vars-releasever.feature:91 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I do not set releasever # dnf/steps/cmd.py:169 And I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-f0123" # common/file.py:149 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | And I create and substitute file "/tmp/vars/releasever" with # common/file.py:43 """ 0123 """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_38bro96i --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_38bro96i/var/cache/dnf install setup When I execute dnf with args "install setup --setopt=varsdir={context.dnf.installroot}/tmp/vars" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_38bro96i --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_38bro96i/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Releasever gets split into releasever_major and releasever_minor # dnf/vars-releasever.feature:110 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-epel-12-34" # common/file.py:149 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-epel-$releasever_major-$releasever_minor | And I execute dnf with args "install setup --releasever=12.34" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qb3hgz_y --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qb3hgz_y/var/cache/dnf install setup --releasever=12.34 And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qb3hgz_y --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qb3hgz_y/var/cache/dnf install setup --releasever=12.34  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: releasever_major, releasever_minor can be overridden by command-line options # dnf/vars-releasever.feature:122 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-epel-9.9-12-34" # common/file.py:149 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-epel-$releasever-$releasever_major-$releasever_minor | And I execute dnf with args "install setup --releasever=9.9 --releasever-major=12 --releasever-minor=34" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yzk0igt0 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yzk0igt0/var/cache/dnf install setup --releasever=9.9 --releasever-major=12 --releasever-minor=34 And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yzk0igt0 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yzk0igt0/var/cache/dnf install setup --releasever=9.9 --releasever-major=12 --releasever-minor=34  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Overriden only releasever_major # dnf/vars-releasever.feature:134 Given I do not set releasever # dnf/steps/cmd.py:169 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-f$releasever | Given I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-epel-12-9" # common/file.py:149 And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | file://{context.dnf.installroot}/temp-repos/base-epel-$releasever_major-$releasever_minor | And I execute dnf with args "install setup --releasever=9.9 --releasever-major=12" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6xszmt4v --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6xszmt4v/var/cache/dnf install setup --releasever=9.9 --releasever-major=12 And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6xszmt4v --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6xszmt4v/var/cache/dnf install setup --releasever=9.9 --releasever-major=12  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/vars-releasever.feature:10 Releasever is substituted in baseurl via a command line option dnf/vars-releasever.feature:19 Releasever is substituted in baseurl via a config file dnf/vars-releasever.feature:32 Releasever is substituted in baseurl via a value detected from a fedora-release package dnf/vars-releasever.feature:43 Releasever is substituted in baseurl via a value detected from 'system-release(releasever)' provide dnf/vars-releasever.feature:53 releasever_{major,minor} are substituted via values detected from 'system-release(releasever_{major,minor})' provides dnf/vars-releasever.feature:91 Releasever is substituted in baseurl via vars in custom location dnf/vars-releasever.feature:110 Releasever gets split into releasever_major and releasever_minor dnf/vars-releasever.feature:122 releasever_major, releasever_minor can be overridden by command-line options dnf/vars-releasever.feature:134 Overriden only releasever_major 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 1 skipped 47 steps passed, 9 failed, 26 skipped Took 0min 0.895s USING RUNNER: behave.runner:Runner Feature: Substitute variables # dnf/vars.feature:1 @bz1651092 Scenario: Variables are substituted in mirrorlist URLs # dnf/vars.feature:5 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | mirrorlist | {context.dnf.installroot}/temp-repos/mirrorlist.txt | | baseurl | | And I copy directory "{context.scenario.repos_location}/dnf-ci-fedora" to "/temp-repos/base-noarch" # common/file.py:149 And I create and substitute file "/temp-repos/mirrorlist.txt" with # common/file.py:43 """ file:///{context.dnf.installroot}/temp-repos/base-$basearch/ """ Then I execute dnf with args "install setup --setvar=basearch=noarch" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__njumdeo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__njumdeo/var/cache/dnf install setup --setvar=basearch=noarch And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__njumdeo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__njumdeo/var/cache/dnf install setup --setvar=basearch=noarch  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Variables arch supports basearch `loongarch64` {} # dnf/vars.feature:22 Given I create file "/etc/dnf/vars/distrib" with # common/file.py:36 """ fedora """ And I create file "/etc/yum.repos.d/dnf-ci-test.repo" with # common/file.py:36 """ [dnf-ci-test-$arch-$basearch] name=dnf-ci-test-$distrib test repository enabled=0 """ When I execute dnf with args "repo list --disabled --setvar=arch=loongarch64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t2y7gs28 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t2y7gs28/var/cache/dnf repo list --disabled --setvar=arch=loongarch64 And stdout matches line by line # None """ repo id\s+repo name dnf-ci-test-loongarch64-loongarch64\s+dnf-ci-test-fedora test repository """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t2y7gs28 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t2y7gs28/var/cache/dnf repo list --disabled --setvar=arch=loongarch64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1748841 Scenario: Variables without {} are substituted in repo id # dnf/vars.feature:43 Given I create file "/etc/dnf/vars/distrib" with # common/file.py:36 """ fedora """ And I create file "/etc/yum.repos.d/dnf-ci-test.repo" with # common/file.py:36 """ [dnf-ci-test-$distrib] name=dnf-ci-test-$distrib test repository enabled=0 """ When I execute dnf with args "repo list --disabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zwt2hyop --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zwt2hyop/var/cache/dnf repo list --disabled And stdout matches line by line # None """ repo id\s+repo name dnf-ci-test-fedora\s+dnf-ci-test-fedora test repository """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zwt2hyop --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zwt2hyop/var/cache/dnf repo list --disabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Variables with {} are substituted in repo id # dnf/vars.feature:62 Given I create file "/etc/dnf/vars/distrib" with # common/file.py:36 """ fedora """ And I create file "/etc/yum.repos.d/dnf-ci-test.repo" with # common/file.py:36 """ [dnf-ci-test-${distrib}] name=dnf-ci-test-${distrib} test repository enabled=0 """ When I execute dnf with args "repo list --disabled" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2x7m0ndw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2x7m0ndw/var/cache/dnf repo list --disabled And stdout matches line by line # None """ repo id\s+repo name dnf-ci-test-fedora\s+dnf-ci-test-fedora test repository """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2x7m0ndw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2x7m0ndw/var/cache/dnf repo list --disabled  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2091636 Scenario: Using dnf with non-files in /etc/dnf/vars # dnf/vars.feature:82 Given I create directory "/{context.dnf.installroot}/etc/dnf/vars/troublemaker" # common/file.py:30 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rv6qpe5s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rv6qpe5s/var/cache/dnf repo list And stdout matches line by line # None """ repo id\s+repo name dnf-ci-fedora\s+dnf-ci-fedora test repository """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rv6qpe5s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rv6qpe5s/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2141215 Scenario: Ignoring variable files with invalid encoding # dnf/vars.feature:94 Given I copy file "{context.dnf.fixturesdir}/data/releasever-invalid-encoding" to "/etc/dnf/vars/releasever" # common/file.py:157 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery empty --setopt=varsdir={context.dnf.installroot}/etc/dnf/vars" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s82dqt0x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s82dqt0x/var/cache/dnf repoquery empty --setopt=varsdir=/tmp/dnf_ci_installroot_s82dqt0x/etc/dnf/vars And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s82dqt0x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s82dqt0x/var/cache/dnf repoquery empty --setopt=varsdir=/tmp/dnf_ci_installroot_s82dqt0x/etc/dnf/vars  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2076853 Scenario: Variables are substituted in baseurl via vars in config files # dnf/vars.feature:107 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | $var1{context.scenario.repos_location}/$var2 | | skip_if_unavailable | false | And I create and substitute file "/etc/dnf/vars/var1" with # common/file.py:43 """ file:// """ And I create and substitute file "/etc/dnf/vars/var2" with # common/file.py:43 """ dnf-ci-fedora """ And I execute dnf with args "repoquery setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1g_s14ig --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1g_s14ig/var/cache/dnf repoquery setup And stdout is # None """ setup-0:2.12.1-1.fc29.noarch setup-0:2.12.1-1.fc29.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1g_s14ig --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1g_s14ig/var/cache/dnf repoquery setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2076853 Scenario: Variables are substituted in baseurl via vars in config files in custom location # dnf/vars.feature:130 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | $var1{context.scenario.repos_location}/$var2 | | skip_if_unavailable | false | And I create and substitute file "/tmp/vars/var1" with # common/file.py:43 """ file:// """ And I create and substitute file "/tmp/vars/var2" with # common/file.py:43 """ dnf-ci-fedora """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8yz96iq8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8yz96iq8/var/cache/dnf install setup When I execute dnf with args "install setup --setopt=varsdir={context.dnf.installroot}/tmp/vars" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8yz96iq8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8yz96iq8/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2076853 Scenario: Variables are substituted in baseurl via environment variables # dnf/vars.feature:153 Given I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | baseurl | $var1{context.scenario.repos_location}/$var2 | | skip_if_unavailable | false | And I set environment variable "DNF_VAR_var1" to "file://" # dnf/steps/cmd.py:53 And I set environment variable "DNF_VAR_var2" to "dnf-ci-fedora" # dnf/steps/cmd.py:53 And I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b7l104sv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b7l104sv/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b7l104sv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b7l104sv/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/vars.feature:5 Variables are substituted in mirrorlist URLs dnf/vars.feature:22 Variables arch supports basearch `loongarch64` {} dnf/vars.feature:43 Variables without {} are substituted in repo id dnf/vars.feature:62 Variables with {} are substituted in repo id dnf/vars.feature:82 Using dnf with non-files in /etc/dnf/vars dnf/vars.feature:94 Ignoring variable files with invalid encoding dnf/vars.feature:107 Variables are substituted in baseurl via vars in config files dnf/vars.feature:130 Variables are substituted in baseurl via vars in config files in custom location dnf/vars.feature:153 Variables are substituted in baseurl via environment variables 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 31 steps passed, 9 failed, 12 skipped Took 0min 0.462s USING RUNNER: behave.runner:Runner Feature: Vendor change control command-line options # dnf/vendor-change-allow-options.feature:1 Feature: Vendor change control command-line options # dnf/vendor-change-allow-options.feature:1 Scenario: --allow-vendor-change-to allows switching to specific vendor # dnf/vendor-change-allow-options.feature:11 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sf24sojx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sf24sojx/var/cache/dnf install wrench And I use repository "vendor-hints-updates" # None When I execute dnf with args "--dump-vendor-policies --allow-vendor-change-to='Vendor B' upgrade" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: text:COMMAND LINE\n in:=\*\"Vendor B\"" # None And Transaction is following # None | Action | Package | | upgrade | wrench-2.0-1.noarch | And stdout does not contain "Skipping" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sf24sojx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sf24sojx/var/cache/dnf install wrench  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allow-vendor-change-to blocks when vendor does not match # dnf/vendor-change-allow-options.feature:25 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c9hmff3x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c9hmff3x/var/cache/dnf install wrench And I use repository "vendor-hints-updates" # None When I execute dnf with args "--allow-vendor-change-to='Vendor C' upgrade" # None Then the exit code is 0 # None And Transaction is empty # None And stdout contains "Skipping 1 package due to vendor change restriction" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c9hmff3x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c9hmff3x/var/cache/dnf install wrench  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allow-vendor-change-to supports glob patterns # dnf/vendor-change-allow-options.feature:35 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hangku3e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hangku3e/var/cache/dnf install wrench And I use repository "vendor-hints-updates" # None When I execute dnf with args "--allow-vendor-change-to='Vendor*' upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wrench-2.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hangku3e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hangku3e/var/cache/dnf install wrench  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allow-vendor-change-from allows switching from specific vendor # dnf/vendor-change-allow-options.feature:46 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I use repository "vendor-hints-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wrench-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mffkaijy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mffkaijy/var/cache/dnf install wrench-2.0 And I drop repository "vendor-hints-updates" # None And I use repository "vendor-hints" # None When I execute dnf with args "--dump-vendor-policies --allow-vendor-change-from='Vendor B' downgrade '*'" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: text:COMMAND LINE\n out:=\*\"Vendor B\"" # None And Transaction is following # None | Action | Package | | downgrade | wrench-1.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mffkaijy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mffkaijy/var/cache/dnf install wrench-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allow-vendor-change-from blocks when vendor does not match # dnf/vendor-change-allow-options.feature:61 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I use repository "vendor-hints-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wrench-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m1rageon --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m1rageon/var/cache/dnf install wrench-2.0 And I drop repository "vendor-hints-updates" # None And I use repository "vendor-hints" # None When I execute dnf with args "--allow-vendor-change-from='Vendor C' downgrade '*'" # None Then the exit code is 1 # None And Transaction is empty # None And stdout contains "Skipping 1 package due to vendor change restriction" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m1rageon --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m1rageon/var/cache/dnf install wrench-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allow-vendor-change-for-pkgs allows vendor change for specific package # dnf/vendor-change-allow-options.feature:73 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench nail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ut403_2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ut403_2/var/cache/dnf install wrench nail And I use repository "vendor-hints-updates" # None When I execute dnf with args "--dump-vendor-policies --allow-vendor-change-for-pkgs=wrench upgrade" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: text:COMMAND LINE\n @in:\[name=\*\"wrench\"\],out:\[name=\*\"wrench\"\]" # None And Transaction is following # None | Action | Package | | upgrade | wrench-2.0-1.noarch | And stdout contains "Skipping 1 package due to vendor change restriction" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ut403_2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ut403_2/var/cache/dnf install wrench nail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allow-vendor-change-for-pkgs supports comma-separated list # dnf/vendor-change-allow-options.feature:87 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench nail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m3ftuoa2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m3ftuoa2/var/cache/dnf install wrench nail And I use repository "vendor-hints-updates" # None When I execute dnf with args "--dump-vendor-policies --allow-vendor-change-for-pkgs='wrench,nail' upgrade" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: text:COMMAND LINE\n @in:\[name=\*\"wrench\"\],in:\[name=\*\"nail\"\],out:\[name=\*\"wrench\"\],out:\[name=\*\"nail\"\]" # None And Transaction is following # None | Action | Package | | upgrade | wrench-2.0-1.noarch | | upgrade | nail-2.0-1.noarch | And stdout does not contain "Skipping" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m3ftuoa2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m3ftuoa2/var/cache/dnf install wrench nail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allow-vendor-change-for-pkgs supports glob patterns # dnf/vendor-change-allow-options.feature:102 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench nail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v6a0a5do --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v6a0a5do/var/cache/dnf install wrench nail And I use repository "vendor-hints-updates" # None When I execute dnf with args "--allow-vendor-change-for-pkgs='w*' upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wrench-2.0-1.noarch | And stdout contains "Skipping 1 package due to vendor change restriction" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v6a0a5do --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v6a0a5do/var/cache/dnf install wrench nail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --allow-vendor-change-for-pkgs can be specified multiple times # dnf/vendor-change-allow-options.feature:114 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench nail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d8tf0d70 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d8tf0d70/var/cache/dnf install wrench nail And I use repository "vendor-hints-updates" # None When I execute dnf with args "--allow-vendor-change-for-pkgs=wrench --allow-vendor-change-for-pkgs=nail upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wrench-2.0-1.noarch | | upgrade | nail-2.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d8tf0d70 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d8tf0d70/var/cache/dnf install wrench nail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Combining --allow-vendor-change-to and --allow-vendor-change-from # dnf/vendor-change-allow-options.feature:126 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t6vjmltl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t6vjmltl/var/cache/dnf install wrench And I use repository "vendor-hints-updates" # None When I execute dnf with args "--dump-vendor-policies --allow-vendor-change-from='Vendor A' --allow-vendor-change-to='Vendor B' upgrade" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: text:COMMAND LINE\n out:=\*\"Vendor A\"" # None And stdout contains "Policy #1: source: text:COMMAND LINE\n in:=\*\"Vendor B\"" # None And Transaction is following # None | Action | Package | | upgrade | wrench-2.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t6vjmltl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t6vjmltl/var/cache/dnf install wrench  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Multiple --allow-vendor-change-to options accumulate # dnf/vendor-change-allow-options.feature:140 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench nail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vk9jnolu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vk9jnolu/var/cache/dnf install wrench nail And I use repository "vendor-hints-updates" # None When I execute dnf with args "--dump-vendor-policies --allow-vendor-change-to='Vendor B' --allow-vendor-change-to='Vendor C' upgrade" # None Then the exit code is 0 # None And stdout contains "======== Vendor Change Policies: ========" # None And stdout contains "Policy #0: source: text:COMMAND LINE\n in:=\*\"Vendor B\"" # None And stdout contains "Policy #1: source: text:COMMAND LINE\n in:=\*\"Vendor C\"" # None And Transaction is following # None | Action | Package | | upgrade | wrench-2.0-1.noarch | | upgrade | nail-2.0-1.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vk9jnolu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vk9jnolu/var/cache/dnf install wrench nail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/vendor-change-allow-options.feature:11 --allow-vendor-change-to allows switching to specific vendor dnf/vendor-change-allow-options.feature:25 --allow-vendor-change-to blocks when vendor does not match dnf/vendor-change-allow-options.feature:35 --allow-vendor-change-to supports glob patterns dnf/vendor-change-allow-options.feature:46 --allow-vendor-change-from allows switching from specific vendor dnf/vendor-change-allow-options.feature:61 --allow-vendor-change-from blocks when vendor does not match dnf/vendor-change-allow-options.feature:73 --allow-vendor-change-for-pkgs allows vendor change for specific package dnf/vendor-change-allow-options.feature:87 --allow-vendor-change-for-pkgs supports comma-separated list dnf/vendor-change-allow-options.feature:102 --allow-vendor-change-for-pkgs supports glob patterns dnf/vendor-change-allow-options.feature:114 --allow-vendor-change-for-pkgs can be specified multiple times dnf/vendor-change-allow-options.feature:126 Combining --allow-vendor-change-to and --allow-vendor-change-from dnf/vendor-change-allow-options.feature:140 Multiple --allow-vendor-change-to options accumulate 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 11 failed, 0 skipped 24 steps passed, 11 failed, 66 skipped Took 0min 0.508s USING RUNNER: behave.runner:Runner Feature: Vendor change restriction applies to installonly packages # dnf/vendor-change-hints-installonly.feature:1 Feature: Vendor change restriction applies to installonly packages # dnf/vendor-change-hints-installonly.feature:1 Scenario: Both regular and installonly packages from different vendor are reported as skipped # dnf/vendor-change-hints-installonly.feature:11 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | | installonlypkgs | kernel | Given I successfully execute dnf with args "install wrench kernel" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_8dr_8e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_8dr_8e/var/cache/dnf install wrench kernel And I use repository "vendor-hints-updates" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is empty # None And stdout contains lines # None """ Skipping 2 packages due to vendor change restriction: "Vendor A" -> "Vendor B". """ And stderr contains "--allow-vendor-change-to=VENDOR to allow switching to packages from VENDOR" # None And stderr contains "--allow-vendor-change-from=VENDOR to allow replacing packages from VENDOR" # None And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_8dr_8e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_8dr_8e/var/cache/dnf install wrench kernel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Installing a specific installonly version from a different vendor shows no skipping section # dnf/vendor-change-hints-installonly.feature:30 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | | installonlypkgs | kernel | Given I successfully execute dnf with args "install kernel" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lj68ane1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lj68ane1/var/cache/dnf install kernel And I use repository "vendor-hints-updates" # None When I execute dnf with args "install kernel-2.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-2.0-1.noarch | | unchanged | kernel-1.0-1.noarch | And stdout does not contain "Skipping" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lj68ane1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lj68ane1/var/cache/dnf install kernel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Skipping section shown when installonly upgrade is blocked by vendor change # dnf/vendor-change-hints-installonly.feature:46 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | | installonlypkgs | kernel | Given I successfully execute dnf with args "install kernel" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_213bsvqe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_213bsvqe/var/cache/dnf install kernel And I use repository "vendor-hints-installonly-upgrade-blocked" # None When I execute dnf with args "upgrade kernel" # None Then the exit code is 0 # None And Transaction is empty # None And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor A" -> "Vendor B". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_213bsvqe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_213bsvqe/var/cache/dnf install kernel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Skipping section shown when installonly versions from different vendors are present # dnf/vendor-change-hints-installonly.feature:63 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | | installonlypkgs | kernel | Given I successfully execute dnf with args "install kernel" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_omkrwbgj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_omkrwbgj/var/cache/dnf install kernel And I use repository "vendor-hints-updates" # None And I successfully execute dnf with args "install kernel-2.0" # None And I use repository "vendor-hints-installonly-multi-vendor" # None When I execute dnf with args "upgrade kernel" # None Then the exit code is 0 # None And Transaction is empty # None And stdout contains "Skipping 1 package due to vendor change restriction" # None And stdout contains "-> \"Vendor C\"." # None And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_omkrwbgj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_omkrwbgj/var/cache/dnf install kernel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/vendor-change-hints-installonly.feature:11 Both regular and installonly packages from different vendor are reported as skipped dnf/vendor-change-hints-installonly.feature:30 Installing a specific installonly version from a different vendor shows no skipping section dnf/vendor-change-hints-installonly.feature:46 Skipping section shown when installonly upgrade is blocked by vendor change dnf/vendor-change-hints-installonly.feature:63 Skipping section shown when installonly versions from different vendors are present 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 31 skipped Took 0min 0.205s USING RUNNER: behave.runner:Runner Feature: Vendor change restriction hints when allow_vendor_change=false # dnf/vendor-change-hints.feature:1 Feature: Vendor change restriction hints when allow_vendor_change=false # dnf/vendor-change-hints.feature:1 Scenario: No skipping section when allow_vendor_change is enabled via command line # dnf/vendor-change-hints.feature:10 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install hammer wrench" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v4c0i_4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v4c0i_4_/var/cache/dnf install hammer wrench And I use repository "vendor-hints-updates" # None When I execute dnf with args "upgrade --allow-vendor-change" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | hammer-2.0-1.noarch | | upgrade | wrench-2.0-1.noarch | And stdout does not contain "Skipping" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v4c0i_4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v4c0i_4_/var/cache/dnf install hammer wrench  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Skipping section shown alongside a successful partial upgrade # dnf/vendor-change-hints.feature:24 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install hammer wrench" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b8yetvl6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b8yetvl6/var/cache/dnf install hammer wrench And I use repository "vendor-hints-updates" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | hammer-2.0-1.noarch | And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor A" -> "Vendor B". """ And stderr contains "--allow-vendor-change-to=VENDOR to allow switching to packages from VENDOR" # None And stderr contains "--allow-vendor-change-from=VENDOR to allow replacing packages from VENDOR" # None And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b8yetvl6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b8yetvl6/var/cache/dnf install hammer wrench  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Skipping section and hint shown when all upgrades are blocked (nothing to do) # dnf/vendor-change-hints.feature:44 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install wrench" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_74jl8e1f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_74jl8e1f/var/cache/dnf install wrench And I use repository "vendor-hints-updates" # None When I execute dnf with args "upgrade wrench" # None Then the exit code is 0 # None And Transaction is empty # None And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor A" -> "Vendor B". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_74jl8e1f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_74jl8e1f/var/cache/dnf install wrench  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Skipping section shown when reinstall is blocked by vendor change # dnf/vendor-change-hints.feature:60 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install chisel" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jmn6yvo3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jmn6yvo3/var/cache/dnf install chisel And I drop repository "vendor-hints" # None And I use repository "vendor-hints-reinstall" # None When I execute dnf with args "reinstall chisel" # None Then the exit code is 1 # None And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor A" -> "Vendor B". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jmn6yvo3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jmn6yvo3/var/cache/dnf install chisel  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Skipping section shown when downgrade is blocked by vendor change # dnf/vendor-change-hints.feature:78 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I use repository "vendor-hints-updates" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wrench-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lzu9ejc0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lzu9ejc0/var/cache/dnf install wrench-2.0 When I execute dnf with args "downgrade wrench" # None Then the exit code is 1 # None And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor B" -> "Vendor A". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lzu9ejc0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lzu9ejc0/var/cache/dnf install wrench-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Skipping section shown when install-via-obsolete is blocked by vendor change # dnf/vendor-change-hints.feature:94 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install hammer" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6kmc2qpf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6kmc2qpf/var/cache/dnf install hammer And I use repository "vendor-hints-obsolete" # None When I execute dnf with args "install socket" # None Then the exit code is 1 # None And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor A" -> "Vendor B". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6kmc2qpf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6kmc2qpf/var/cache/dnf install hammer  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: distro-sync shows skipping section when vendor change is blocked # dnf/vendor-change-hints.feature:111 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install hammer wrench" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iyqpqt4u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iyqpqt4u/var/cache/dnf install hammer wrench And I use repository "vendor-hints-updates" # None When I execute dnf with args "distro-sync" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | hammer-2.0-1.noarch | And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor A" -> "Vendor B". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iyqpqt4u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iyqpqt4u/var/cache/dnf install hammer wrench  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Multiple vendor transitions shown as separate lines in the skipping section # dnf/vendor-change-hints.feature:128 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install hammer wrench nail" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bmox8vz_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bmox8vz_/var/cache/dnf install hammer wrench nail And I use repository "vendor-hints-updates" # None When I execute dnf with args "upgrade" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | hammer-2.0-1.noarch | And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor A" -> "Vendor B". """ And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "Vendor A" -> "Vendor C". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bmox8vz_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bmox8vz_/var/cache/dnf install hammer wrench nail  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Skipping section renders "(none)" for packages with no vendor metadata # dnf/vendor-change-hints.feature:150 Given I use repository "vendor-hints" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | allow_vendor_change | False | Given I successfully execute dnf with args "install bolt" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7cdyyi7b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7cdyyi7b/var/cache/dnf install bolt And I use repository "vendor-hints-updates" # None When I execute dnf with args "upgrade bolt" # None Then the exit code is 0 # None And Transaction is empty # None And stdout contains lines # None """ Skipping 1 package due to vendor change restriction: "(none)" -> "Vendor B". """ And stderr contains "--with-vendor-policy=POLICY to add specific vendor change rules" # None And stderr contains "--allow-vendor-change to allow all vendor changes" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7cdyyi7b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7cdyyi7b/var/cache/dnf install bolt  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/vendor-change-hints.feature:10 No skipping section when allow_vendor_change is enabled via command line dnf/vendor-change-hints.feature:24 Skipping section shown alongside a successful partial upgrade dnf/vendor-change-hints.feature:44 Skipping section and hint shown when all upgrades are blocked (nothing to do) dnf/vendor-change-hints.feature:60 Skipping section shown when reinstall is blocked by vendor change dnf/vendor-change-hints.feature:78 Skipping section shown when downgrade is blocked by vendor change dnf/vendor-change-hints.feature:94 Skipping section shown when install-via-obsolete is blocked by vendor change dnf/vendor-change-hints.feature:111 distro-sync shows skipping section when vendor change is blocked dnf/vendor-change-hints.feature:128 Multiple vendor transitions shown as separate lines in the skipping section dnf/vendor-change-hints.feature:150 Skipping section renders "(none)" for packages with no vendor metadata 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 0 skipped 19 steps passed, 9 failed, 61 skipped Took 0min 0.438s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: zchunk tests # dnf/zchunk.feature:3 Scenario: I can install an RPM from local mirror with zchunk repo and enabled zchunk # dnf/zchunk.feature:6 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "simple-base" with extra arguments "--zck" # dnf/steps/repo.py:152 And I use repository "simple-base" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | zchunk | True | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_co3yc9y_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_co3yc9y_/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_co3yc9y_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_co3yc9y_/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: download zchunk metadata, enabled by default # dnf/zchunk.feature:20 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "simple-base" with extra arguments "--zck" # dnf/steps/repo.py:152 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9ju4ftd3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9ju4ftd3/var/cache/dnf install labirinto And exactly 2 HTTP GET requests should match # None | path | | /repodata/primary.xml.zck | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9ju4ftd3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9ju4ftd3/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1851841 @bz1779104 Scenario: ignore zchunk metadata if disabled # dnf/zchunk.feature:34 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "simple-base" with extra arguments "--zck" # dnf/steps/repo.py:152 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 And I configure dnf with # dnf/steps/config.py:12 | key | value | | zchunk | False | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zcice8yw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zcice8yw/var/cache/dnf install labirinto And exactly 1 HTTP GET requests should match # None | path | | /repodata/primary.xml.zst | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zcice8yw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zcice8yw/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1886706 Scenario: I can install an RPM from FTP mirror with zchunk repo and enabled zchunk # dnf/zchunk.feature:50 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "simple-base" with extra arguments "--zck" # dnf/steps/repo.py:152 And I use repository "simple-base" as ftp # dnf/steps/repo.py:294 [I 2026-12-03 04:24:10] concurrency model: async [I 2026-12-03 04:24:10] masquerade (NAT) address: None [I 2026-12-03 04:24:10] passive ports: None [I 2026-12-03 04:24:10] >>> starting FTP server on 127.0.0.1:34163, pid=100 <<< [I 2026-12-03 04:24:10] 127.0.0.1:49390-[] FTP session opened (connect) [I 2026-12-03 04:24:10] 127.0.0.1:49390-[] FTP session closed (disconnect). And I configure dnf with # dnf/steps/config.py:12 | key | value | | zchunk | True | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bnvtk6qi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bnvtk6qi/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bnvtk6qi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bnvtk6qi/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install an RPM from FTP mirror with zchunk repo and disabled zchunk # dnf/zchunk.feature:64 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "simple-base" with extra arguments "--zck" # dnf/steps/repo.py:152 And I use repository "simple-base" as ftp # dnf/steps/repo.py:294 [I 2026-12-03 04:24:10] concurrency model: async [I 2026-12-03 04:24:10] masquerade (NAT) address: None [I 2026-12-03 04:24:10] passive ports: None [I 2026-12-03 04:24:10] >>> starting FTP server on 127.0.0.1:39123, pid=118 <<< [I 2026-12-03 04:24:10] 127.0.0.1:45108-[] FTP session opened (connect) [I 2026-12-03 04:24:10] 127.0.0.1:45108-[] FTP session closed (disconnect). And I configure dnf with # dnf/steps/config.py:12 | key | value | | zchunk | False | When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e7drmlg6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e7drmlg6/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e7drmlg6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e7drmlg6/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: when zchunk is enabled, prefer HTTP over FTP # dnf/zchunk.feature:78 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "simple-base" with extra arguments "--zck" # dnf/steps/repo.py:152 And I start http server "http_server" at "/{context.dnf.repos[simple-base].path}" # dnf/steps/server.py:26 And I start ftp server "ftp_server" at "/{context.dnf.repos[simple-base].path}" # dnf/steps/server.py:26 [I 2026-12-03 04:24:11] concurrency model: async [I 2026-12-03 04:24:11] masquerade (NAT) address: None [I 2026-12-03 04:24:11] passive ports: None [I 2026-12-03 04:24:11] >>> starting FTP server on 127.0.0.1:44667, pid=157 <<< And I create and substitute file "/tmp/mirrorlist" with # common/file.py:43 """ ftp://localhost:{context.dnf.ports[ftp_server]}/ http://localhost:{context.dnf.ports[http_server]}/ """ [I 2026-12-03 04:24:11] 127.0.0.1:50534-[] FTP session opened (connect) [I 2026-12-03 04:24:11] 127.0.0.1:50534-[] FTP session closed (disconnect). And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | mirrorlist | {context.dnf.installroot}/tmp/mirrorlist | And I configure dnf with # dnf/steps/config.py:12 | key | value | | zchunk | True | And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i3agayuz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i3agayuz/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | And exactly 2 HTTP GET requests should match # None | path | | /repodata/primary.xml.zck | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i3agayuz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i3agayuz/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: when zchunk is enabled, prefer HTTP over FTP (reversed) # dnf/zchunk.feature:105 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "simple-base" with extra arguments "--zck" # dnf/steps/repo.py:152 And I start http server "http_server" at "/{context.dnf.repos[simple-base].path}" # dnf/steps/server.py:26 And I start ftp server "ftp_server" at "/{context.dnf.repos[simple-base].path}" # dnf/steps/server.py:26 [I 2026-12-03 04:24:11] concurrency model: async [I 2026-12-03 04:24:11] masquerade (NAT) address: None [I 2026-12-03 04:24:11] passive ports: None [I 2026-12-03 04:24:11] >>> starting FTP server on 127.0.0.1:36845, pid=196 <<< And I create and substitute file "/tmp/mirrorlist" with # common/file.py:43 """ http://localhost:{context.dnf.ports[http_server]}/ ftp://localhost:{context.dnf.ports[ftp_server]}/ """ [I 2026-12-03 04:24:11] 127.0.0.1:46418-[] FTP session opened (connect) [I 2026-12-03 04:24:11] 127.0.0.1:46418-[] FTP session closed (disconnect). And I configure a new repository "testrepo" with # dnf/steps/repo.py:271 | key | value | | mirrorlist | {context.dnf.installroot}/tmp/mirrorlist | And I configure dnf with # dnf/steps/config.py:12 | key | value | | zchunk | True | And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vk5x8qsa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vk5x8qsa/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | And exactly 2 HTTP GET requests should match # None | path | | /repodata/primary.xml.zck | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vk5x8qsa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vk5x8qsa/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: using mirror wihtout ranges supports and zchunk results in only two GET requests for primary (the first try is with range specified) # dnf/zchunk.feature:132 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I generate repodata for repository "simple-base" with extra arguments "--zck" # dnf/steps/repo.py:152 And I use repository "simple-base" as http # dnf/steps/repo.py:294 And I configure dnf with # dnf/steps/config.py:12 | key | value | | zchunk | True | And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q1qprifh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q1qprifh/var/cache/dnf install labirinto And Transaction is following # None | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | And exactly 2 HTTP GET requests should match # None | path | | /repodata/primary.xml.zck | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q1qprifh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q1qprifh/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/zchunk.feature:6 I can install an RPM from local mirror with zchunk repo and enabled zchunk dnf/zchunk.feature:20 download zchunk metadata, enabled by default dnf/zchunk.feature:34 ignore zchunk metadata if disabled dnf/zchunk.feature:50 I can install an RPM from FTP mirror with zchunk repo and enabled zchunk dnf/zchunk.feature:64 I can install an RPM from FTP mirror with zchunk repo and disabled zchunk dnf/zchunk.feature:78 when zchunk is enabled, prefer HTTP over FTP dnf/zchunk.feature:105 when zchunk is enabled, prefer HTTP over FTP (reversed) dnf/zchunk.feature:132 using mirror wihtout ranges supports and zchunk results in only two GET requests for primary (the first try is with range specified) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 8 failed, 0 skipped 50 steps passed, 8 failed, 11 skipped Took 0min 1.752s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 54 leaked semaphore objects to clean up at shutdown: {'/mp-g0z1vb2t', '/mp-z04y3100', '/mp-3by1b2t3', '/mp-8t1eji4k', '/mp-7p1wd59d', '/mp-cjk2b2qf', '/mp-6emt_xwq', '/mp-e84xdzsv', '/mp-vqhqud9g', '/mp-kb925npf', '/mp-0qnhr1mr', '/mp-alh8mydq', '/mp-pnq1jn1x', '/mp-1546nn_f', '/mp-7p8fw2ia', '/mp-q8c_pnpz', '/mp-fz4n2lml', '/mp-00o8kpzs', '/mp-_gkjw19c', '/mp-lx49yats', '/mp-kp_sd_1d', '/mp-_7hudo2v', '/mp-8q_cthg6', '/mp-_sshks6h', '/mp-s214z7ng', '/mp-6rxfgi9r', '/mp-q70vmlnx', '/mp-yzn23eqy', '/mp-4sadw6uh', '/mp-31ni825c', '/mp-5ewzix23', '/mp-isqsqwdn', '/mp-85ii7ris', '/mp-rmiwsr1v', '/mp-9fj5mwh6', '/mp-n8bt_fid', '/mp-14eomtxs', '/mp-wnff5dh3', '/mp-xzf5z_i0', '/mp-ehi39hls', '/mp-_93ffz5d', '/mp-w7xx3m6h', '/mp-9szs380d', '/mp-a16hv3am', '/mp-568f_m4n', '/mp-_ry27_fy', '/mp-8w52gct4', '/mp-jqext_s2', '/mp-c1q7x7ot', '/mp-atgpwvpm', '/mp-tg3darzi', '/mp-9wj95b9z', '/mp-52z7_0a9', '/mp-e02z6239'} warnings.warn( USING RUNNER: behave.runner:Runner @not.with_dnf=4 Feature: api: query packages # dnf/api/package-query.feature:2 Scenario: Construct queries and filter packages by name # dnf/api/package-query.feature:5 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_CONTAINS, QueryCmp_GLOB query = libdnf5.rpm.PackageQuery(base) query.filter_name(["labirinto"]) for pkg in query: print(pkg.get_nevra()) query = libdnf5.rpm.PackageQuery(base) query.filter_name(["*da?*"], QueryCmp_GLOB) for pkg in query: print(pkg.get_nevra()) query = libdnf5.rpm.PackageQuery(base) query.filter_name(["gar"], QueryCmp_CONTAINS) for pkg in query: print(pkg.get_nevra()) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ labirinto-1.0-1.fc29.src labirinto-1.0-1.fc29.x86_64 dedalo-1.0-1.fc29.src dedalo-1.0-1.fc29.x86_64 vagare-1.0-1.fc29.src vagare-1.0-1.fc29.x86_64 """ Scenario: Construct query and filter fails due to bad argument type # dnf/api/package-query.feature:35 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ query = libdnf5.rpm.PackageQuery(base) query.filter_name(99) for pkg in query: print(pkg.get_nevra()) """ Then the exit code is 1 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr contains "TypeError: Wrong number or type of arguments for overloaded function 'PackageQuery_filter_name'." # dnf/steps/cmd.py:290 Scenario: Construct queries and filter packages by arch # dnf/api/package-query.feature:49 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_NEQ, QueryCmp_NOT_GLOB query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["noarch"]) for pkg in query: print(pkg.get_na()) query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86*","*arch","?rc"], QueryCmp_NOT_GLOB) for pkg in query: print(pkg.get_na()) query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86_64","noarch","src"], QueryCmp_NEQ) for pkg in query: print(pkg.get_nevra()) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ abcde.noarch basesystem.noarch fedora-release.noarch nodejs-docs.noarch setup.noarch lz4.i686 lz4-debuginfo.i686 lz4-devel.i686 lz4-static.i686 lz4-1.7.5-2.fc26.i686 lz4-debuginfo-1.7.5-2.fc26.i686 lz4-devel-1.7.5-2.fc26.i686 lz4-static-1.7.5-2.fc26.i686 """ Scenario: Construct queries and filter packages by conflicts # dnf/api/package-query.feature:86 Given I use repository "dnf-ci-rich" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ query = libdnf5.rpm.PackageQuery(base) query.filter_name(["milk"]) query.filter_arch(["x86_64"]) # milk conflicts with water; we get a conflict-list of milk first # (it's a ReldepList containing water) and then we filter all packages # that conflict with water (it's only milk) query2 = libdnf5.rpm.PackageQuery(base) for pkg in query: query2.filter_conflicts(pkg.get_conflicts()) for pkg in query2: print(pkg.get_nevra()) # now find water's conflicts differently: via PackageSet with Package # objects query3 = libdnf5.rpm.PackageQuery(base) query3.filter_name(["water"]) query3.filter_arch(["x86_64"]) query4 = libdnf5.rpm.PackageQuery(base) query4.filter_conflicts(query3) for pkg in query4: print(pkg.get_name()) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ milk-1.0-1.x86_64 milk """ Scenario: Construct queries and filter packages by description # dnf/api/package-query.feature:119 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_GLOB query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86_64"]) query.filter_description(["*script*"], QueryCmp_GLOB) filtered = [pkg.get_name() for pkg in query] for pkg in sorted(filtered): print(pkg) query2 = libdnf5.rpm.PackageQuery(base) query2.filter_arch(["x86_64"]) query2.filter_description(["vagare description"]) for pkg in query2: print(pkg.get_nevra()) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ dedalo labirinto vagare vagare-1.0-1.fc29.x86_64 """ Scenario: Construct queries and filter packages by files # dnf/api/package-query.feature:146 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "plugins-callbacks" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc watermelon" # dnf/steps/cmd.py:110 And I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_IEXACT, QueryCmp_GLOB query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86_64"]) query.filter_file(["*dnf-plugin*"], QueryCmp_GLOB) # NOTE: filtered files are not in primary, only in filelists, so # no available pkgs (3 versions of watermelon in the repo) are found. # config.get_optional_metadata_types_option().set(libdnf5.conf.METADATA_TYPE_FILELISTS) # can be used before the repo is loaded to get also filelists for pkg in query: print(pkg.get_nevra()) query2 = libdnf5.rpm.PackageQuery(base) query2.filter_arch(["x86_64"]) query2.filter_file(["/ETC/ld.so.conf"], QueryCmp_IEXACT) query2.filter_installed() # NOTE: without filter_installed, there would be glibc twice; # the file is in primary, so available pkg in the repo is found, too for pkg in query2: print(pkg.get_nevra()) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ watermelon-3.0-1.fc29.x86_64 glibc-2.28-9.fc29.x86_64 """ ASSERT FAILED: Stdout is not: watermelon-3.0-1.fc29.x86_64 glibc-2.28-9.fc29.x86_64 ---- CAPTURED STDOUT: scenario expected | found watermelon-3.0-1.fc29.x86_64 |  glibc-2.28-9.fc29.x86_64 |   Last Command: /usr/bin/python3 -c " import libdnf5 import os def execute_transaction(goal,description): transaction = goal.resolve() for tspkg in transaction.get_transaction_packages(): print(tspkg.get_package().get_nevra(), \":\", libdnf5.base.transaction.transaction_item_action_to_string(tspkg.get_action())) downloader = libdnf5.repo.PackageDownloader(goal.get_base()) for tspkg in transaction.get_transaction_packages(): if libdnf5.base.transaction.transaction_item_action_is_inbound(tspkg.get_action()): downloader.add(tspkg.get_package()) downloader.download() transaction.set_description(description) transaction.run() def test_transaction(goal): transaction = goal.resolve() for tspkg in transaction.get_transaction_packages(): print(tspkg.get_package().get_nevra(), \":\", libdnf5.base.transaction.transaction_item_action_to_string(tspkg.get_action())) downloader = libdnf5.repo.PackageDownloader(goal.get_base()) for tspkg in transaction.get_transaction_packages(): if libdnf5.base.transaction.transaction_item_action_is_inbound(tspkg.get_action()): downloader.add(tspkg.get_package()) downloader.download() return transaction.test() base = libdnf5.base.Base() config = base.get_config() vars = base.get_vars() config.installroot = '/tmp/dnf_ci_installroot_6esypvoy' config.config_file_path = os.path.join(config.installroot, 'etc/dnf/dnf.conf') config.reposdir = os.path.join(config.installroot, 'etc/yum.repos.d') config.varsdir = os.path.join(config.installroot, 'etc/dnf/vars') config.cachedir = os.path.join(config.installroot, 'var/cache/yum') vars.set('releasever', '29') vars.set('basearch', 'x86_64') base.load_config() base.setup() repo_sack = base.get_repo_sack() repo_sack.create_repos_from_system_configuration() repo_sack.load_repos() from libdnf5.common import QueryCmp_IEXACT, QueryCmp_GLOB query = libdnf5.rpm.PackageQuery(base) query.filter_arch([\"x86_64\"]) query.filter_file([\"*dnf-plugin*\"], QueryCmp_GLOB) # NOTE: filtered files are not in primary, only in filelists, so # no available pkgs (3 versions of watermelon in the repo) are found. # config.get_optional_metadata_types_option().set(libdnf5.conf.METADATA_TYPE_FILELISTS) # can be used before the repo is loaded to get also filelists for pkg in query: print(pkg.get_nevra()) query2 = libdnf5.rpm.PackageQuery(base) query2.filter_arch([\"x86_64\"]) query2.filter_file([\"/ETC/ld.so.conf\"], QueryCmp_IEXACT) query2.filter_installed() # NOTE: without filter_installed, there would be glibc twice; # the file is in primary, so available pkg in the repo is found, too for pkg in query2: print(pkg.get_nevra())"  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Construct queries and filter packages by epoch # dnf/api/package-query.feature:179 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_NEQ query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86_64"]) query.filter_epoch(["2"]) for pkg in query: print(pkg.get_nevra()) query2 = libdnf5.rpm.PackageQuery(base) query2.filter_epoch(["1","0"], QueryCmp_NEQ) for pkg in query2: print(pkg.get_nevra()) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ top-a-2:2.0-2.x86_64 top-a-2:2.0-2.src top-a-2:2.0-2.x86_64 """ Scenario: Construct queries and filter packages by repo_id # dnf/api/package-query.feature:203 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_GLOB query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86_64"]) query.filter_repo_id(["simple-base"]) pkgs = [pkg.get_name() for pkg in query] for pkg in sorted(pkgs): print(pkg) query2 = libdnf5.rpm.PackageQuery(base) query2.filter_repo_id(["*base"], QueryCmp_GLOB) pkgs2 = [pkg.get_nevra() for pkg in query2] for pkg in sorted(pkgs2): print(pkg) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ dedalo labirinto vagare dedalo-1.0-1.fc29.src dedalo-1.0-1.fc29.x86_64 labirinto-1.0-1.fc29.src labirinto-1.0-1.fc29.x86_64 vagare-1.0-1.fc29.src vagare-1.0-1.fc29.x86_64 """ Scenario: Construct queries and filter packages by sourcerpm # dnf/api/package-query.feature:236 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_GLOB query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86_64"]) query.filter_sourcerpm(["flac-1.3.3-2.fc29.src.rpm"]) pkgs = [pkg.get_nevra() for pkg in query] for pkg in sorted(pkgs): print(pkg) query2 = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86_64"]) query2.filter_sourcerpm(["flac*"], QueryCmp_GLOB) pkgs2 = [pkg.get_nevra() for pkg in query2] for pkg in sorted(pkgs2): print(pkg) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ flac-1.3.3-2.fc29.x86_64 flac-libs-1.3.3-2.fc29.x86_64 flac-1.3.3-1.fc29.x86_64 flac-1.3.3-2.fc29.x86_64 flac-1.3.3-3.fc29.x86_64 flac-libs-1.3.3-1.fc29.x86_64 flac-libs-1.3.3-2.fc29.x86_64 flac-libs-1.3.3-3.fc29.x86_64 """ Scenario: Construct queries and filter upgradable/upgrades # dnf/api/package-query.feature:268 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install flac dwm wget" # dnf/steps/cmd.py:110 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ query = libdnf5.rpm.PackageQuery(base) query.filter_arch(["x86_64"]) query.filter_upgradable() pkgs = [pkg.get_nevra() for pkg in query] for pkg in sorted(pkgs): print(pkg) query2 = libdnf5.rpm.PackageQuery(base) query2.filter_upgrades() pkgs2 = [pkg.get_nevra() for pkg in query2] for pkg in sorted(pkgs2): print(pkg) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ flac-1.3.2-8.fc29.x86_64 wget-1.19.5-5.fc29.x86_64 flac-1.3.3-1.fc29.x86_64 flac-1.3.3-2.fc29.x86_64 flac-1.3.3-3.fc29.x86_64 wget-1.19.6-5.fc29.x86_64 """ ASSERT FAILED: Stdout is not: flac-1.3.2-8.fc29.x86_64 wget-1.19.5-5.fc29.x86_64 flac-1.3.3-1.fc29.x86_64 flac-1.3.3-2.fc29.x86_64 flac-1.3.3-3.fc29.x86_64 wget-1.19.6-5.fc29.x86_64 ---- CAPTURED STDOUT: scenario expected | found flac-1.3.2-8.fc29.x86_64 |  wget-1.19.5-5.fc29.x86_64 |  flac-1.3.3-1.fc29.x86_64 |  flac-1.3.3-2.fc29.x86_64 |  flac-1.3.3-3.fc29.x86_64 |  wget-1.19.6-5.fc29.x86_64 |   Last Command: /usr/bin/python3 -c " import libdnf5 import os def execute_transaction(goal,description): transaction = goal.resolve() for tspkg in transaction.get_transaction_packages(): print(tspkg.get_package().get_nevra(), \":\", libdnf5.base.transaction.transaction_item_action_to_string(tspkg.get_action())) downloader = libdnf5.repo.PackageDownloader(goal.get_base()) for tspkg in transaction.get_transaction_packages(): if libdnf5.base.transaction.transaction_item_action_is_inbound(tspkg.get_action()): downloader.add(tspkg.get_package()) downloader.download() transaction.set_description(description) transaction.run() def test_transaction(goal): transaction = goal.resolve() for tspkg in transaction.get_transaction_packages(): print(tspkg.get_package().get_nevra(), \":\", libdnf5.base.transaction.transaction_item_action_to_string(tspkg.get_action())) downloader = libdnf5.repo.PackageDownloader(goal.get_base()) for tspkg in transaction.get_transaction_packages(): if libdnf5.base.transaction.transaction_item_action_is_inbound(tspkg.get_action()): downloader.add(tspkg.get_package()) downloader.download() return transaction.test() base = libdnf5.base.Base() config = base.get_config() vars = base.get_vars() config.installroot = '/tmp/dnf_ci_installroot_s_ki1fyc' config.config_file_path = os.path.join(config.installroot, 'etc/dnf/dnf.conf') config.reposdir = os.path.join(config.installroot, 'etc/yum.repos.d') config.varsdir = os.path.join(config.installroot, 'etc/dnf/vars') config.cachedir = os.path.join(config.installroot, 'var/cache/yum') vars.set('releasever', '29') vars.set('basearch', 'x86_64') base.load_config() base.setup() repo_sack = base.get_repo_sack() repo_sack.create_repos_from_system_configuration() repo_sack.load_repos() query = libdnf5.rpm.PackageQuery(base) query.filter_arch([\"x86_64\"]) query.filter_upgradable() pkgs = [pkg.get_nevra() for pkg in query] for pkg in sorted(pkgs): print(pkg) query2 = libdnf5.rpm.PackageQuery(base) query2.filter_upgrades() pkgs2 = [pkg.get_nevra() for pkg in query2] for pkg in sorted(pkgs2): print(pkg)"  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/api/package-query.feature:146 Construct queries and filter packages by files dnf/api/package-query.feature:268 Construct queries and filter upgradable/upgrades 0 features passed, 1 failed, 0 skipped 8 scenarios passed, 2 failed, 0 skipped 44 steps passed, 2 failed, 0 skipped Took 0min 1.514s USING RUNNER: behave.runner:Runner Feature: api: package # dnf/api/package.feature:1 Scenario: Filter one package and get various info about it # dnf/api/package.feature:4 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ query = libdnf5.rpm.PackageQuery(base) query.filter_nevra(["vagare-1.0-1.fc29.x86_64"]) for pkg in query: print(pkg.get_name()) print(pkg.get_epoch()) print(pkg.get_version()) print(pkg.get_release()) print(pkg.get_evr()) print(pkg.get_full_nevra()) print(pkg.get_na()) print(pkg.get_license()) print(pkg.get_sourcerpm()) print(pkg.get_summary()) provs = [prov.get_name() for prov in pkg.get_provides()] for prov in sorted(provs): print(prov) reqs = pkg.get_requires() for req in reqs: print(req.get_name()) print(pkg.is_installed()) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ vagare 0 1.0 1.fc29 1.0-1.fc29 vagare-0:1.0-1.fc29.x86_64 vagare.x86_64 GPLv3+ vagare-1.0-1.fc29.src.rpm Made up package vagare vagare(x86-64) labirinto False """ Scenario: Try to get info about a non-existent package # dnf/api/package.feature:49 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ query = libdnf5.rpm.PackageQuery(base) query.filter_name(["nosuchpackage"]) for pkg in query: print(pkg.get_name()) """ Then the exit code is 0 # common/output.py:55 And stdout is empty # common/output.py:60 1 feature passed, 0 failed, 0 skipped 2 scenarios passed, 0 failed, 0 skipped 7 steps passed, 0 failed, 0 skipped Took 0min 0.221s USING RUNNER: behave.runner:Runner Feature: api: query repos # dnf/api/repo-query.feature:1 Feature: api: query repos # dnf/api/repo-query.feature:1 Scenario: Construct query and filter dnf-ci-fedora repo # dnf/api/repo-query.feature:10 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ query = libdnf5.repo.RepoQuery(base) query.filter_id("dnf-ci-fedora") for repo in query: print(repo.get_id()) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ dnf-ci-fedora """ Scenario: Construct query and filter fails due to bad argument type # dnf/api/repo-query.feature:25 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ query = libdnf5.repo.RepoQuery(base) query.filter_id(123) for repo in query: print(repo.get_id()) """ Then the exit code is 1 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr contains "TypeError: Wrong number or type of arguments for overloaded function 'RepoQuery_filter_id'." # dnf/steps/cmd.py:290 Scenario: Construct query and filter using QueryCmp_ICONTAINS # dnf/api/repo-query.feature:38 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_ICONTAINS query = libdnf5.repo.RepoQuery(base) query.filter_id("CI", QueryCmp_ICONTAINS) repo_ids = [repo.get_id() for repo in query] for repo_id in sorted(repo_ids): print(repo_id) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ dnf-ci-fedora dnf-ci-fedora-updates """ Scenario: Construct query and filter using QueryCmp_IGLOB # dnf/api/repo-query.feature:56 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_IGLOB query = libdnf5.repo.RepoQuery(base) query.filter_id(["*BASE*", "*updates*"], QueryCmp_IGLOB) repo_ids = [repo.get_id() for repo in query] for repo_id in sorted(repo_ids): print(repo_id) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ dnf-ci-fedora-updates simple-base """ Scenario: Construct query and filter using QueryCmp_NOT_IGLOB # dnf/api/repo-query.feature:74 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ from libdnf5.common import QueryCmp_NOT_IGLOB query = libdnf5.repo.RepoQuery(base) query.filter_id("*UPDATES*", QueryCmp_NOT_IGLOB) query.filter_id("*system*", QueryCmp_NOT_IGLOB) repo_ids = [repo.get_id() for repo in query] for repo_id in sorted(repo_ids): print(repo_id) """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ dnf-ci-fedora simple-base """ 1 feature passed, 0 failed, 0 skipped 5 scenarios passed, 0 failed, 0 skipped 31 steps passed, 0 failed, 0 skipped Took 0min 0.859s USING RUNNER: behave.runner:Runner @not.with_dnf=4 Feature: transaction: remove a package with dependency, then install the dependency again # dnf/api/transaction-remove-install.feature:2 Scenario: Construct query, remove vagare, then install labirinto # dnf/api/transaction-remove-install.feature:5 Given I use repository "simple-base" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install vagare" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vm_bzbii --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vm_bzbii/var/cache/dnf install vagare When I execute python libdnf5 api script with setup # None """ goal = libdnf5.base.Goal(base) goal.add_rpm_remove("vagare") goal.add_rpm_install("labirinto") execute_transaction(goal, "remove and install") """ Then the exit code is 0 # None And stdout is # None """ vagare-1.0-1.fc29.x86_64 : Remove """ And RPMDB Transaction is following # None | Action | Package | | remove | vagare-0:1.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vm_bzbii --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vm_bzbii/var/cache/dnf install vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/api/transaction-remove-install.feature:5 Construct query, remove vagare, then install labirinto 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 1 step passed, 1 failed, 4 skipped Took 0min 0.101s USING RUNNER: behave.runner:Runner @not.with_dnf=4 Feature: transaction: install a package without dependencies # dnf/api/transaction-simple-install.feature:2 Scenario: Construct query and install labirinto package # dnf/api/transaction-simple-install.feature:5 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ goal = libdnf5.base.Goal(base) goal.add_rpm_install("labirinto") execute_transaction(goal, "install a package without dependencies") """ Then the exit code is 0 # common/output.py:55 And stdout is # common/output.py:67 """ labirinto-1.0-1.fc29.x86_64 : Install """ And RPMDB Transaction is following # dnf/steps/transaction.py:164 | Action | Package | | install | labirinto-0:1.0-1.fc29.x86_64 | 1 feature passed, 0 failed, 0 skipped 1 scenario passed, 0 failed, 0 skipped 5 steps passed, 0 failed, 0 skipped Took 0min 0.168s USING RUNNER: behave.runner:Runner Feature: transaction: dry-run a transaction # dnf/api/transaction-test.feature:1 Feature: transaction: dry-run a transaction # dnf/api/transaction-test.feature:1 @bz2109660 Scenario: Test labirinto install transaction when it should succeed # dnf/api/transaction-test.feature:9 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ goal = libdnf5.base.Goal(base) goal.add_rpm_install("labirinto") assert test_transaction(goal) == libdnf5.base.Transaction.TransactionRunResult_SUCCESS """ Then the exit code is 0 # common/output.py:55 And stderr is empty # common/output.py:130 @bz2109660 Scenario: Test labirinto install transaction when it should fail # dnf/api/transaction-test.feature:21 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ goal = libdnf5.base.Goal(base) goal.add_rpm_install("labirinto") execute_transaction(goal, "install a package") # We have already run the transaction, so test_transaction should return a failing status assert test_transaction(goal) == libdnf5.base.Transaction.TransactionRunResult_ERROR_SYSTEM_CHANGED """ Then the exit code is 0 # common/output.py:55 And stderr is empty # common/output.py:130 Scenario: Test transaction that removes not installed labirinto package # dnf/api/transaction-test.feature:35 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ goal = libdnf5.base.Goal(base) goal.add_rpm_remove("labirinto") # it is supposed to be OK assert test_transaction(goal) == libdnf5.base.Transaction.TransactionRunResult_SUCCESS """ Then the exit code is 0 # common/output.py:55 And stderr is empty # common/output.py:130 Scenario: Test transaction installing labirinto and a non-existent package # dnf/api/transaction-test.feature:47 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ goal = libdnf5.base.Goal(base) goal.add_rpm_install("non-existent-install") goal.add_rpm_install("labirinto") assert test_transaction(goal) == libdnf5.base.Transaction.TransactionRunResult_ERROR_RESOLVE """ Then the exit code is 0 # common/output.py:55 And stderr is empty # common/output.py:130 Scenario: Test transaction containing improper argument # dnf/api/transaction-test.feature:59 Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute python libdnf5 api script with setup # dnf/steps/cmd.py:354 """ goal = libdnf5.base.Goal(base) goal.add_rpm_install(99) # traceback is expected test_transaction(goal) """ Then the exit code is 1 # common/output.py:55 And stderr contains "TypeError: Wrong number or type of arguments for overloaded function 'Goal_add_rpm_install'." # dnf/steps/cmd.py:290 1 feature passed, 0 failed, 0 skipped 5 scenarios passed, 0 failed, 0 skipped 20 steps passed, 0 failed, 0 skipped Took 0min 0.546s USING RUNNER: behave.runner:Runner Feature: transaction: upgrades and downgrades # dnf/api/transaction-upgrade-downgrade.feature:1 Feature: transaction: upgrades and downgrades # dnf/api/transaction-upgrade-downgrade.feature:1 Scenario: Construct query and upgrade flac package # dnf/api/transaction-upgrade-downgrade.feature:18 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i9mnmtmh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i9mnmtmh/var/cache/dnf install glibc flac And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute python libdnf5 api script with setup # None """ goal = libdnf5.base.Goal(base) goal.add_rpm_upgrade("flac") execute_transaction(goal, "upgrade a package without dependencies") """ Then the exit code is 0 # None And stdout is # None """ flac-1.3.3-3.fc29.x86_64 : Upgrade flac-1.3.2-8.fc29.x86_64 : Replaced """ And RPMDB Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i9mnmtmh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i9mnmtmh/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Construct query and upgrade multiple packages and their dependencies # dnf/api/transaction-upgrade-downgrade.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_phgv40hf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_phgv40hf/var/cache/dnf install glibc flac And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None When I execute python libdnf5 api script with setup # None """ goal = libdnf5.base.Goal(base) goal.add_rpm_upgrade("glibc") goal.add_rpm_upgrade("flac") execute_transaction(goal, "upgrade packages and their dependencies") """ Then the exit code is 0 # None And stdout is # None """ flac-1.3.3-3.fc29.x86_64 : Upgrade glibc-2.28-26.fc29.x86_64 : Upgrade glibc-common-2.28-26.fc29.x86_64 : Upgrade glibc-all-langpacks-2.28-26.fc29.x86_64 : Upgrade flac-1.3.2-8.fc29.x86_64 : Replaced glibc-2.28-9.fc29.x86_64 : Replaced glibc-all-langpacks-2.28-9.fc29.x86_64 : Replaced glibc-common-2.28-9.fc29.x86_64 : Replaced """ And RPMDB Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_phgv40hf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_phgv40hf/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Construct query and downgrade flac package # dnf/api/transaction-upgrade-downgrade.feature:66 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xk7lgv5q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xk7lgv5q/var/cache/dnf install glibc flac And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora" # None And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade flac" # None Then the exit code is 0 # None When I execute python libdnf5 api script with setup # None """ goal = libdnf5.base.Goal(base) goal.add_rpm_downgrade("flac") execute_transaction(goal, "downgrade a package without dependencies") """ Then the exit code is 0 # None And stdout is # None """ flac-1.3.3-2.fc29.x86_64 : Downgrade flac-1.3.3-3.fc29.x86_64 : Replaced """ And RPMDB Transaction is following # None | Action | Package | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xk7lgv5q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xk7lgv5q/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Construct query and downgrade multiple packages and their dependencies # dnf/api/transaction-upgrade-downgrade.feature:88 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iph1i5mh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iph1i5mh/var/cache/dnf install glibc flac And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | Given I use repository "dnf-ci-fedora" # None And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "upgrade glibc flac" # None Then the exit code is 0 # None When I execute python libdnf5 api script with setup # None """ goal = libdnf5.base.Goal(base) goal.add_rpm_downgrade("flac") goal.add_rpm_downgrade("glibc") execute_transaction(goal, "downgrade packages and their dependencies") """ Then the exit code is 0 # None And stdout is # None """ glibc-2.28-9.fc29.x86_64 : Downgrade flac-1.3.3-2.fc29.x86_64 : Downgrade glibc-common-2.28-9.fc29.x86_64 : Downgrade glibc-all-langpacks-2.28-9.fc29.x86_64 : Downgrade flac-1.3.3-3.fc29.x86_64 : Replaced glibc-2.28-26.fc29.x86_64 : Replaced glibc-all-langpacks-2.28-26.fc29.x86_64 : Replaced glibc-common-2.28-26.fc29.x86_64 : Replaced """ And RPMDB Transaction is following # None | Action | Package | | downgrade | glibc-0:2.28-9.fc29.x86_64 | | downgrade | glibc-common-0:2.28-9.fc29.x86_64 | | downgrade | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | downgrade | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iph1i5mh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iph1i5mh/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/api/transaction-upgrade-downgrade.feature:18 Construct query and upgrade flac package dnf/api/transaction-upgrade-downgrade.feature:37 Construct query and upgrade multiple packages and their dependencies dnf/api/transaction-upgrade-downgrade.feature:66 Construct query and downgrade flac package dnf/api/transaction-upgrade-downgrade.feature:88 Construct query and downgrade multiple packages and their dependencies 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 30 skipped Took 0min 0.245s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm distro-sync # dnf/api/dbus/distro-sync.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm distro-sync # dnf/api/dbus/distro-sync.feature:3 Scenario: Distro-sync an installed package # dnf/api/dbus/distro-sync.feature:11 Scenario: Distro-sync restricted to a repository that does not contain the package # dnf/api/dbus/distro-sync.feature:21 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 18 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm downgrade # dnf/api/dbus/downgrade.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm downgrade # dnf/api/dbus/downgrade.feature:3 Scenario: Downgrade an installed package # dnf/api/dbus/downgrade.feature:11 Scenario: Downgrade restricted to a repository that does not contain the package # dnf/api/dbus/downgrade.feature:21 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 18 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: goal # dnf/api/dbus/goal.feature:3 Scenario: Running a transaction before it is resolved raises an error # dnf/api/dbus/goal.feature:5 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 3 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_mode=dnf5 @dnf5daemon Feature: D-Bus api: group translated names and descriptions # dnf/api/dbus/group-translated.feature:3 @not.with_mode=dnf5 @dnf5daemon Feature: D-Bus api: group translated names and descriptions # dnf/api/dbus/group-translated.feature:3 Scenario: Group list returns translated_name and translated_description when lang is specified # dnf/api/dbus/group-translated.feature:9 Scenario: Group list returns default name and description when lang is not specified # dnf/api/dbus/group-translated.feature:35 Scenario: Group list returns translated_name and translated_description when only these attributes are requested # dnf/api/dbus/group-translated.feature:54 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 12 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_mode=dnf5 @dnf5daemon Feature: D-Bus api: history # dnf/api/dbus/history.feature:3 @not.with_mode=dnf5 @dnf5daemon Feature: D-Bus api: history # dnf/api/dbus/history.feature:3 Scenario Outline: History::recent_changes() returns changeset according to options -- @1.1 # dnf/api/dbus/history.feature:41 Scenario Outline: History::recent_changes() returns changeset according to options -- @1.2 # dnf/api/dbus/history.feature:42 Scenario Outline: History::recent_changes() returns changeset according to options -- @1.3 # dnf/api/dbus/history.feature:43 Scenario Outline: History::recent_changes() returns changeset according to options -- @1.4 # dnf/api/dbus/history.feature:44 Scenario: History::recent_changes() uses the latest transaction if "since" option is not specified # dnf/api/dbus/history.feature:47 Scenario: History::recent_changes() returns changes since a point in time # dnf/api/dbus/history.feature:67 Scenario: History::recent_changes() accepts "include_advisory" option # dnf/api/dbus/history.feature:193 Scenario: History::recent_changes() accepts "all_advisories" option # dnf/api/dbus/history.feature:240 Scenario: History::list() all transactions by default # dnf/api/dbus/history.feature:267 Scenario: History::list() reversed with a limit # dnf/api/dbus/history.feature:289 Scenario: History::list() with specified package # dnf/api/dbus/history.feature:310 Scenario: History::list() since timestamp # dnf/api/dbus/history.feature:331 Scenario: History::list() without packages and limited transaction attributes # dnf/api/dbus/history.feature:350 Scenario: History::list() with limited package attributes and limited transaction attributes # dnf/api/dbus/history.feature:374 Scenario: History::recent_changes() reports arch-changing upgrade as upgrade not removal # dnf/api/dbus/history.feature:399 @gh-dnf5-2536 Scenario: recent_changes filters the available attributes of removed packages # dnf/api/dbus/history.feature:428 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 16 skipped 0 steps passed, 0 failed, 229 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm install # dnf/api/dbus/install.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm install # dnf/api/dbus/install.feature:3 Scenario: Install a package # dnf/api/dbus/install.feature:10 Scenario: Install of a nonexistent package without skip_unavailable # dnf/api/dbus/install.feature:19 Scenario: Install of a nonexistent package with skip_unavailable # dnf/api/dbus/install.feature:31 Scenario: Install restricted to a repository that does not contain the package # dnf/api/dbus/install.feature:43 Scenario: Install a package from an rpm file on disk # dnf/api/dbus/install.feature:55 Scenario: Resolve a file install multiple times in the same session # dnf/api/dbus/install.feature:64 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 6 skipped 0 steps passed, 0 failed, 45 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm reinstall # dnf/api/dbus/reinstall.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm reinstall # dnf/api/dbus/reinstall.feature:3 Scenario: Reinstall an installed package # dnf/api/dbus/reinstall.feature:11 Scenario: Reinstall restricted to a repository that does not contain the package # dnf/api/dbus/reinstall.feature:20 Scenario: Reinstall of a package that is available but not installed # dnf/api/dbus/reinstall.feature:32 Scenario: Reinstall of a nonexistent package # dnf/api/dbus/reinstall.feature:42 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 35 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm remove # dnf/api/dbus/remove.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm remove # dnf/api/dbus/remove.feature:3 Scenario: Remove an installed package # dnf/api/dbus/remove.feature:11 Scenario: Remove of a package that is not installed # dnf/api/dbus/remove.feature:21 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 19 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: repository list # dnf/api/dbus/repolist.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: repository list # dnf/api/dbus/repolist.feature:3 Scenario: List all repositories # dnf/api/dbus/repolist.feature:10 Scenario: List repositories matching a pattern # dnf/api/dbus/repolist.feature:17 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 10 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: package list # dnf/api/dbus/repoquery.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: package list # dnf/api/dbus/repoquery.feature:3 Scenario: List all available packages # dnf/api/dbus/repoquery.feature:10 Scenario: List available packages matching a pattern # dnf/api/dbus/repoquery.feature:21 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 10 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus session sender ownership # dnf/api/dbus/session-sender-ownership.feature:3 Scenario: Reject session method calls from a different D-Bus sender # dnf/api/dbus/session-sender-ownership.feature:5 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 2 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: session manager # dnf/api/dbus/session.feature:3 Scenario: Open and close a session # dnf/api/dbus/session.feature:5 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 6 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm upgrade # dnf/api/dbus/upgrade.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: D-Bus api: rpm upgrade # dnf/api/dbus/upgrade.feature:3 Scenario: Upgrade an installed package # dnf/api/dbus/upgrade.feature:11 Scenario: Upgrade restricted to a repository that does not contain the package # dnf/api/dbus/upgrade.feature:21 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 18 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: dnf-automatic command_email emitter # dnf/dnf-automatic/command_email.feature:1 Feature: dnf-automatic command_email emitter # dnf/dnf-automatic/command_email.feature:1 @gh-dnf5-2273 Scenario: dnf-automatic pass multiple recipients as separate arguments # dnf/dnf-automatic/command_email.feature:10 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3ehfindt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3ehfindt/var/cache/dnf install labirinto And I use repository "simple-updates" # None Given I create file "/etc/dnf/automatic.conf" with # None """ [commands] apply_updates = no reboot = never [emitters] emit_via = command_email [command_email] email_to = recipient1,recipient2 command_format = "printf '%s\n' {email_to}" """ When I execute dnf with args "automatic" # None Then the exit code is 0 # None And stdout contains lines # None """ recipient1 recipient2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3ehfindt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3ehfindt/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/dnf-automatic/command_email.feature:10 dnf-automatic pass multiple recipients as separate arguments 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 1 step passed, 1 failed, 5 skipped Took 0min 0.102s USING RUNNER: behave.runner:Runner Feature: dnf-automatic loads drop-in configuration files # dnf/dnf-automatic/drop-in-config.feature:1 Scenario: drop-in config files from /usr/share drop-in directory are loaded # dnf/dnf-automatic/drop-in-config.feature:4 Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf" with # common/file.py:36 """ [commands] download_updates = no apply_updates = no [emitters] emit_via = stdio emit_no_updates = yes """ Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf.d/10-test.conf" with # common/file.py:36 """ [commands] download_updates = yes """ When I execute dnf with args "automatic --timer" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_10egryjz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_10egryjz/var/cache/dnf automatic --timer And stdout contains "No new upgrades available" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_10egryjz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_10egryjz/var/cache/dnf automatic --timer  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: drop-in config files from /etc/dnf drop-in directory override system defaults # dnf/dnf-automatic/drop-in-config.feature:25 Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf" with # common/file.py:36 """ [commands] apply_updates = no [emitters] emit_via = stdio emit_no_updates = no """ Given I create file "/etc/dnf/automatic.conf.d/10-local.conf" with # common/file.py:36 """ [emitters] emit_no_updates = yes """ When I execute dnf with args "automatic --timer" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nyr5xky8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nyr5xky8/var/cache/dnf automatic --timer And stdout contains "No new upgrades available" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nyr5xky8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nyr5xky8/var/cache/dnf automatic --timer  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: drop-in config files are processed in alphabetical order # dnf/dnf-automatic/drop-in-config.feature:45 Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf" with # common/file.py:36 """ [emitters] emit_via = stdio emit_no_updates = no """ Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf.d/20-second.conf" with # common/file.py:36 """ [emitters] emit_no_updates = yes """ Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf.d/10-first.conf" with # common/file.py:36 """ [commands] download_updates = no apply_updates = no """ When I execute dnf with args "automatic --timer" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b6hfe4xc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b6hfe4xc/var/cache/dnf automatic --timer And stdout contains "No new upgrades available" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b6hfe4xc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b6hfe4xc/var/cache/dnf automatic --timer  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: later drop-in files override earlier values within same directory # dnf/dnf-automatic/drop-in-config.feature:68 Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf.d/10-first.conf" with # common/file.py:36 """ [emitters] emit_no_updates = no """ Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf.d/20-second.conf" with # common/file.py:36 """ [emitters] emit_no_updates = yes emit_via = stdio """ Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf.d/30-third.conf" with # common/file.py:36 """ [commands] download_updates = no apply_updates = no """ When I execute dnf with args "automatic --timer" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jdk3bd5c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jdk3bd5c/var/cache/dnf automatic --timer And stdout contains "No new upgrades available" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jdk3bd5c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jdk3bd5c/var/cache/dnf automatic --timer  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: /etc/dnf/automatic.conf.d overrides both main configs # dnf/dnf-automatic/drop-in-config.feature:91 Given I create file "/usr/share/dnf5/dnf5-plugins/automatic.conf" with # common/file.py:36 """ [commands] apply_updates = no [emitters] emit_via = stdio emit_no_updates = no """ Given I create file "/etc/dnf/automatic.conf.d/10-local.conf" with # common/file.py:36 """ [emitters] emit_no_updates = yes """ When I execute dnf with args "automatic --timer" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4hzl63fj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4hzl63fj/var/cache/dnf automatic --timer And stdout contains "No new upgrades available" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4hzl63fj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4hzl63fj/var/cache/dnf automatic --timer  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/dnf-automatic/drop-in-config.feature:4 drop-in config files from /usr/share drop-in directory are loaded dnf/dnf-automatic/drop-in-config.feature:25 drop-in config files from /etc/dnf drop-in directory override system defaults dnf/dnf-automatic/drop-in-config.feature:45 drop-in config files are processed in alphabetical order dnf/dnf-automatic/drop-in-config.feature:68 later drop-in files override earlier values within same directory dnf/dnf-automatic/drop-in-config.feature:91 /etc/dnf/automatic.conf.d overrides both main configs 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 17 steps passed, 5 failed, 5 skipped Took 0min 0.172s USING RUNNER: behave.runner:Runner Feature: dnf-automatic does not emit when no updates are available # dnf/dnf-automatic/emit-no-updates.feature:1 Scenario: dnf-automatic does not emit when no updates are available # dnf/dnf-automatic/emit-no-updates.feature:4 When I execute dnf with args "automatic --installupdates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xx8roiqn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xx8roiqn/var/cache/dnf automatic --installupdates And Transaction is empty # None And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xx8roiqn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xx8roiqn/var/cache/dnf automatic --installupdates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf-automatic emits message when no updates are available when emit_no_updates is on # dnf/dnf-automatic/emit-no-updates.feature:11 Given I create file "/etc/dnf/automatic.conf" with # common/file.py:36 """ [emitters] emit_no_updates = yes """ When I execute dnf with args "automatic --installupdates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q684zgaj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q684zgaj/var/cache/dnf automatic --installupdates And Transaction is empty # None And stdout contains "No new upgrades available." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q684zgaj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q684zgaj/var/cache/dnf automatic --installupdates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/dnf-automatic/emit-no-updates.feature:4 dnf-automatic does not emit when no updates are available dnf/dnf-automatic/emit-no-updates.feature:11 dnf-automatic emits message when no updates are available when emit_no_updates is on 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 3 steps passed, 2 failed, 4 skipped Took 0min 0.070s USING RUNNER: behave.runner:Runner Feature: dnf-automatic reports an error when transaction failed # dnf/dnf-automatic/error-report.feature:1 Feature: dnf-automatic reports an error when transaction failed # dnf/dnf-automatic/error-report.feature:1 @bz2170093 Scenario: dnf-automatic reports an error when package installation failed # dnf/dnf-automatic/error-report.feature:12 Given I use repository "dnf-ci-automatic-update" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install test-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f6ocazcu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f6ocazcu/var/cache/dnf install test-1.0 When I execute dnf with args "automatic --installupdates" # None Then the exit code is 1 # None And RPMDB Transaction is empty # None And stdout contains "Failed to install upgrades." # None And stdout contains "Error in %pre scriptlet" # None And stdout contains "Transaction failed: Rpm transaction failed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f6ocazcu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f6ocazcu/var/cache/dnf install test-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: emitters report errors by default # dnf/dnf-automatic/error-report.feature:23 Given I use repository "dnf-ci-automatic-update" # dnf/steps/repo.py:186 Given I create and substitute file "/etc/dnf/automatic.conf" with # common/file.py:43 """ [commands] download_updates = yes apply_updates = yes [emitters] emit_via = command_email [command_email] command_format = "echo {{body}} > {context.dnf.tempdir}/dnf_command_email_error" """ And I successfully execute dnf with args "install test-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qqvguxaf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qqvguxaf/var/cache/dnf install test-1.0 And file "/{context.dnf.tempdir}/dnf_command_email_error" does not exist # None When I execute dnf with args "automatic --installupdates" # None Then the exit code is 1 # None And RPMDB Transaction is empty # None And file "/{context.dnf.tempdir}/dnf_command_email_error" contains lines # None """ Transaction failed: Rpm transaction failed. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qqvguxaf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qqvguxaf/var/cache/dnf install test-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @gdb Scenario: {body} substituted in command_format for command emitter # dnf/dnf-automatic/error-report.feature:47 Given I use repository "dnf-ci-automatic-update" # dnf/steps/repo.py:186 Given I create and substitute file "/etc/dnf/automatic.conf" with # common/file.py:43 """ [commands] download_updates = yes apply_updates = yes [emitters] emit_via = command [command] command_format = "echo {{body}} > {context.dnf.tempdir}/dnf_command_error" """ And I successfully execute dnf with args "install test-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lr481eu8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lr481eu8/var/cache/dnf install test-1.0 And file "/{context.dnf.tempdir}/dnf_command_error" does not exist # None When I execute dnf with args "automatic --installupdates" # None Then the exit code is 1 # None And RPMDB Transaction is empty # None And file "/{context.dnf.tempdir}/dnf_command_error" contains lines # None """ Transaction failed: Rpm transaction failed. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lr481eu8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lr481eu8/var/cache/dnf install test-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/dnf-automatic/error-report.feature:12 dnf-automatic reports an error when package installation failed dnf/dnf-automatic/error-report.feature:23 emitters report errors by default dnf/dnf-automatic/error-report.feature:47 {body} substituted in command_format for command emitter 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 5 steps passed, 3 failed, 16 skipped Took 0min 0.169s USING RUNNER: behave.runner:Runner Feature: dnf-automatic reboots # dnf/dnf-automatic/reboot.feature:1 Feature: dnf-automatic reboots # dnf/dnf-automatic/reboot.feature:1 @bz2124793 Scenario: dnf-automatic does not reboot when reboot = never # dnf/dnf-automatic/reboot.feature:10 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y1uanlby --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y1uanlby/var/cache/dnf install labirinto And I use repository "simple-updates" # None Given I create file "/etc/dnf/dnf5-plugins/automatic.conf" with # None """ [commands] reboot = never reboot_command = "echo 'I LOVE REBOOTING'" [emitters] emit_via = stdio """ When I execute dnf with args "automatic --installupdates" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-0:2.0-1.fc29.x86_64 | And stdout does not contain lines # None """ I LOVE REBOOTING """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y1uanlby --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y1uanlby/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124793 Scenario: dnf-automatic reboots when packages changed and reboot = when-changed # dnf/dnf-automatic/reboot.feature:31 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kh7gegx4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kh7gegx4/var/cache/dnf install labirinto And I use repository "simple-updates" # None Given I create file "/etc/dnf/dnf5-plugins/automatic.conf" with # None """ [commands] reboot = when-changed reboot_command = "echo 'I LOVE REBOOTING'" [emitters] emit_via = stdio """ When I execute dnf with args "automatic --installupdates" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-0:2.0-1.fc29.x86_64 | And stdout contains lines # None """ I LOVE REBOOTING """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kh7gegx4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kh7gegx4/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124793 Scenario: dnf-automatic reboots when reboot = when-needed and important package changed # dnf/dnf-automatic/reboot.feature:52 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2c_91h2w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2c_91h2w/var/cache/dnf install labirinto And I use repository "simple-updates" # None Given I create file "/etc/dnf/dnf5-plugins/automatic.conf" with # None """ [commands] reboot = when-needed reboot_command = "echo 'I LOVE REBOOTING'" [emitters] emit_via = stdio """ And I use repository "dnf-ci-fedora" # None And I successfully execute dnf with args "install kernel" # None And I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "automatic --installupdates" # None Then the exit code is 0 # None And stdout contains lines # None """ I LOVE REBOOTING """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2c_91h2w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2c_91h2w/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124793 Scenario: dnf-automatic does not reboot when reboot = when-needed and nothing important changed # dnf/dnf-automatic/reboot.feature:73 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pr8lxhvx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pr8lxhvx/var/cache/dnf install labirinto And I use repository "simple-updates" # None Given I create file "/etc/dnf/dnf5-plugins/automatic.conf" with # None """ [commands] reboot = when-needed reboot_command = "echo 'I LOVE REBOOTING'" [emitters] emit_via = stdio """ When I execute dnf with args "automatic --installupdates" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-0:2.0-1.fc29.x86_64 | And stdout does not contain lines # None """ I LOVE REBOOTING """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pr8lxhvx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pr8lxhvx/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2124793 Scenario: dnf-automatic shows error message when reboot command failed # dnf/dnf-automatic/reboot.feature:94 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jc78rodq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jc78rodq/var/cache/dnf install labirinto And I use repository "simple-updates" # None Given I create file "/etc/dnf/dnf5-plugins/automatic.conf" with # None """ [commands] reboot = when-changed reboot_command = "false" [emitters] emit_via = stdio """ When I execute dnf with args "automatic --installupdates" # None Then the exit code is 1 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-0:2.0-1.fc29.x86_64 | And stderr contains lines # None """ Error: reboot command returned nonzero exit code: 1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jc78rodq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jc78rodq/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/dnf-automatic/reboot.feature:10 dnf-automatic does not reboot when reboot = never dnf/dnf-automatic/reboot.feature:31 dnf-automatic reboots when packages changed and reboot = when-changed dnf/dnf-automatic/reboot.feature:52 dnf-automatic reboots when reboot = when-needed and important package changed dnf/dnf-automatic/reboot.feature:73 dnf-automatic does not reboot when reboot = when-needed and nothing important changed dnf/dnf-automatic/reboot.feature:94 dnf-automatic shows error message when reboot command failed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 5 steps passed, 5 failed, 32 skipped Took 0min 0.238s USING RUNNER: behave.runner:Runner Feature: dnf-automatic performs update # dnf/dnf-automatic/update.feature:1 Scenario: dnf-automatic can update package # dnf/dnf-automatic/update.feature:4 Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aat4jutf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aat4jutf/var/cache/dnf install labirinto And I use repository "simple-updates" # None When I execute dnf with args "automatic --installupdates" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | labirinto-0:2.0-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aat4jutf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aat4jutf/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1793298 Scenario: dnf-automatic fails to update when the update package is not signed # dnf/dnf-automatic/update.feature:16 Given I use repository "unsigned" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install --nogpgcheck sarcina-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p33ovbd6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p33ovbd6/var/cache/dnf install --nogpgcheck sarcina-1.0 When I execute dnf with args "automatic --installupdates" # None Then the exit code is 1 # None And RPMDB Transaction is empty # None And stdout contains "OpenPGP check for package \"sarcina-2.0-1.fc29.x86_64\" \(.*\) from repo \"unsigned\" has failed: The package is not signed." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p33ovbd6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p33ovbd6/var/cache/dnf install --nogpgcheck sarcina-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1793298 Scenario: dnf-automatic fails to update when the public gpg key is not installed # dnf/dnf-automatic/update.feature:26 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7iagpka4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7iagpka4/var/cache/dnf install wget And I use repository "dnf-ci-gpg-updates" with configuration # None | key | value | | gpgcheck | 1 | When I execute dnf with args "automatic --installupdates" # None Then the exit code is 1 # None And stdout contains "OpenPGP check for package \"wget-2.0.0-1.fc29.x86_64\" \(.*\) from repo \"dnf-ci-gpg-updates\" has failed: Problem occurred when opening the package." # None And stderr is empty # None And RPMDB Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7iagpka4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7iagpka4/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/dnf-automatic/update.feature:4 dnf-automatic can update package dnf/dnf-automatic/update.feature:16 dnf-automatic fails to update when the update package is not signed dnf/dnf-automatic/update.feature:26 dnf-automatic fails to update when the public gpg key is not installed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 3 steps passed, 3 failed, 14 skipped Took 0min 0.373s USING RUNNER: behave.runner:Runner @dnf5daemon @destructive @not.with_mode=dnf5 Feature: Test dnf5daemon-client initialization # dnf/dnf5daemon/no-dnfdaemon-server.feature:4 @xfail Scenario: Run dnf5daemon-client install when dbus is stopped # dnf/dnf5daemon/no-dnfdaemon-server.feature:11 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 14 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @destructive @not.with_mode=dnf5 Feature: Test dnf5daemon-client initialization # dnf/dnf5daemon/no-dnfdaemon-server.feature:4 Scenario: Run dnf5daemon-client with no args when dbus is stopped # dnf/dnf5daemon/no-dnfdaemon-server.feature:22 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 14 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @destructive @not.with_mode=dnf5 Feature: Test dnf5daemon-client initialization # dnf/dnf5daemon/no-dnfdaemon-server.feature:4 @xfail Scenario: Run dnf5daemon-client install when polkitd is stopped # dnf/dnf5daemon/no-dnfdaemon-server.feature:32 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 14 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @destructive @not.with_mode=dnf5 Feature: Test dnf5daemon-client initialization # dnf/dnf5daemon/no-dnfdaemon-server.feature:4 Scenario: Run dnf5daemon-client with no args when polkitd is stopped # dnf/dnf5daemon/no-dnfdaemon-server.feature:43 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 14 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @dnf5daemon @not.with_mode=dnf5 Feature: Enable/disable repo functionality for dnf5daemon # dnf/dnf5daemon/repo-enable-disable.feature:3 @dnf5daemon @not.with_mode=dnf5 Feature: Enable/disable repo functionality for dnf5daemon # dnf/dnf5daemon/repo-enable-disable.feature:3 Scenario: Disable existing repositories # dnf/dnf5daemon/repo-enable-disable.feature:11 Scenario: Enable disabled repositories # dnf/dnf5daemon/repo-enable-disable.feature:18 Scenario: Enable non-existing repositories # dnf/dnf5daemon/repo-enable-disable.feature:31 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 19 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail @not.with_os=rhel__eq__8 Feature: Handling new stream with multicontext modules # dnf/module/add-new-stream-static-context.feature:7 @not.with_os=rhel__ge__11 @xfail @not.with_os=rhel__eq__8 Feature: Handling new stream with multicontext modules # dnf/module/add-new-stream-static-context.feature:7 Scenario: Enable new stream with multicontext stream enabled # dnf/module/add-new-stream-static-context.feature:13 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 10 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Not fail if conflicts in module metadata. # dnf/module/defaults-conflict.feature:3 @bz1656019 Scenario: Enabling two repository with conflicting defaults - only remove defaults # dnf/module/defaults-conflict.feature:6 Given I use repository "dnf-ci-thirdparty-modular-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-modular-updates-conflict" # dnf/steps/repo.py:186 When I execute dnf with args "module list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5wbem15l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5wbem15l/var/cache/dnf module list And module list is # None | Name | Stream | Profiles | | cookbook | 1 | ham-and-eggs, orange-juice, axe-soup | | ingredience | chicken | default | | ingredience | egg | default | | ingredience | orange | default | | ingredience | strawberry | default | When I execute dnf with args "module list --disablerepo=dnf-ci-thirdparty-modular-updates-conflict" # None Then the exit code is 0 # None And module list is # None | Name | Stream | Profiles | | cookbook | 1 | ham-and-eggs, orange-juice, axe-soup | | ingredience | chicken | default | | ingredience | egg | default | | ingredience | orange [d] | default | | ingredience | strawberry | default | When I execute dnf with args "module list --disablerepo=dnf-ci-thirdparty-modular-updates" # None Then the exit code is 0 # None And module list is # None | Name | Stream | Profiles | | ingredience | chicken [d] | default | | ingredience | egg | default | | ingredience | orange | default | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5wbem15l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5wbem15l/var/cache/dnf module list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Two streams that have matching NSVCA but different content (conflict) are dropped by libmodulemd, but defaults are unaffected # dnf/module/defaults-conflict.feature:38 Given I use repository "dnf-ci-thirdparty-modular-updates" # dnf/steps/repo.py:186 And I use repository "dnf-ci-thirdparty-modular-updates-duplicate" # dnf/steps/repo.py:186 When I execute dnf with args "module list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t9qslprq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t9qslprq/var/cache/dnf module list And module list is # None | Name | Stream | Profiles | | cookbook | 1 | ham-and-eggs, orange-juice, axe-soup | | ingredience | chicken | default | | ingredience | egg | default | | ingredience | orange [d] | default | | ingredience | strawberry | default | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t9qslprq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t9qslprq/var/cache/dnf module list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/defaults-conflict.feature:6 Enabling two repository with conflicting defaults - only remove defaults dnf/module/defaults-conflict.feature:38 Two streams that have matching NSVCA but different content (conflict) are dropped by libmodulemd, but defaults are unaffected 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 6 steps passed, 2 failed, 8 skipped Took 0min 0.345s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: On-disk modulemd data are preferred over repodata in case of a conflict # dnf/module/defaults-from-config-file.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: On-disk modulemd data are preferred over repodata in case of a conflict # dnf/module/defaults-from-config-file.feature:6 Scenario: Local system modulemd defaults are merged and override repo defaults # dnf/module/defaults-from-config-file.feature:49 Scenario: Local system modulemd defaults are merged and provide profile for additional stream # dnf/module/defaults-from-config-file.feature:57 Scenario: No local system modulemd defaults to override repo defaults # dnf/module/defaults-from-config-file.feature:65 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 21 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Non-default profiles can be installed when explicitly specified on command line # dnf/module/defaults-profiles.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Non-default profiles can be installed when explicitly specified on command line # dnf/module/defaults-profiles.feature:6 Scenario: I can install a non-default profile using dnf module install module:stream/profile # dnf/module/defaults-profiles.feature:17 @bz1573831 Scenario: I can install a non-default profile from a default stream using dnf module install module/profile # dnf/module/defaults-profiles.feature:31 Scenario: I can install a non-default profile from an enabled stream using dnf module install module/profile # dnf/module/defaults-profiles.feature:44 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 3 skipped 0 steps passed, 0 failed, 21 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Default streams are properly switched to enabled # dnf/module/defaults-streams.feature:3 @not.with_os=rhel__ge__11 Feature: Default streams are properly switched to enabled # dnf/module/defaults-streams.feature:3 @bz1657213 Scenario: The default stream is enabled when requiring module is enabled # dnf/module/defaults-streams.feature:11 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable meson:master" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t54ob4od --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t54ob4od/var/cache/dnf module enable meson:master And modules state is following # None | Module | State | Stream | Profiles | | meson | enabled | master | | | ninja | enabled | master | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t54ob4od --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t54ob4od/var/cache/dnf module enable meson:master  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario Outline: The default stream is enabled when its package is required by installed package of another module (no module deps) -- @1.1 # dnf/module/defaults-streams.feature:44 @xfail Scenario Outline: The default stream is enabled when its package is required by installed package of another module (module deps set) -- @1.2 # dnf/module/defaults-streams.feature:45 @xfail Scenario: The default stream is enabled when its package is required by installed non-modular package # dnf/module/defaults-streams.feature:50 Failing scenarios: dnf/module/defaults-streams.feature:11 The default stream is enabled when requiring module is enabled 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 3 skipped 3 steps passed, 1 failed, 26 skipped Took 0min 0.245s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Modulemd defaults are followed by dnf module commands # dnf/module/defaults.feature:3 @not.with_os=rhel__ge__11 Feature: Modulemd defaults are followed by dnf module commands # dnf/module/defaults.feature:3 Scenario: The default stream is used when enabling a module # dnf/module/defaults.feature:10 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gwubzv9p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gwubzv9p/var/cache/dnf module enable nodejs And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gwubzv9p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gwubzv9p/var/cache/dnf module enable nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1629702 Scenario: The default streams are identified in the output of module list # dnf/module/defaults.feature:19 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module list nodejs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t_tpckm8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t_tpckm8/var/cache/dnf module list nodejs And module list is # None | Name | Stream | Profiles | | nodejs | 5 | development, minimal, default | | nodejs | 8 [d] | development, minimal, default [d] | | nodejs | 10 | development, minimal, default [d] | | nodejs | 11 | development, minimal, default | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t_tpckm8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t_tpckm8/var/cache/dnf module list nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1618553 Scenario: Default profiles are identified in the output of dnf info # dnf/module/defaults.feature:31 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module info nodejs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_edbh_gfp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_edbh_gfp/var/cache/dnf module info nodejs And stdout contains "Default profiles : default" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_edbh_gfp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_edbh_gfp/var/cache/dnf module info nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Default stream and profile are used when installing a module with no enabled profile # dnf/module/defaults.feature:40 @xfail @bz1582450 Scenario: Default profile(s) is used when installing a module with enabled stream # dnf/module/defaults.feature:52 @xfail Scenario: Default profile is installed when installing a non-default stream with dnf module install module:stream # dnf/module/defaults.feature:68 Failing scenarios: dnf/module/defaults.feature:10 The default stream is used when enabling a module dnf/module/defaults.feature:19 The default streams are identified in the output of module list dnf/module/defaults.feature:31 Default profiles are identified in the output of dnf info 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 3 skipped 9 steps passed, 3 failed, 21 skipped Took 0min 0.313s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Modular filtering must ignore demodularized rpms # dnf/module/demodularization.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Modular filtering must ignore demodularized rpms # dnf/module/demodularization.feature:6 @bz1805260 Scenario: Ensuring visibility of non modular rpm in presence of demodularization rpm name in latest module # dnf/module/demodularization.feature:13 @bz1805260 Scenario: Test module info contains Demodularized rpms when defined # dnf/module/demodularization.feature:36 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 19 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Disabling module - error handling # dnf/module/disable-errors.feature:3 @not.with_os=rhel__ge__11 Feature: Disabling module - error handling # dnf/module/disable-errors.feature:3 Scenario Outline: Disabling a module by referring the wrong version should fail -- @1.1 # dnf/module/disable-errors.feature:24 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_apybg1ty --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_apybg1ty/var/cache/dnf module enable nodejs:8 When I execute dnf with args "module disable nodeje:8:999" # None Then the exit code is 1 # None And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nodeje:8:999 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_apybg1ty --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_apybg1ty/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Disabling a module by referring the wrong stream should fail -- @1.2 # dnf/module/disable-errors.feature:25 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_myton4v7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_myton4v7/var/cache/dnf module enable nodejs:8 When I execute dnf with args "module disable nodejs:_no_stream" # None Then the exit code is 1 # None And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nodejs:_no_stream """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_myton4v7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_myton4v7/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Disabling a module by referring the wrong name should fail -- @1.3 # dnf/module/disable-errors.feature:26 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h84mmthw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h84mmthw/var/cache/dnf module enable nodejs:8 When I execute dnf with args "module disable nodejs_no_name" # None Then the exit code is 1 # None And stderr contains lines # None """ Failed to resolve the transaction: No match for argument: nodejs_no_name """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h84mmthw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h84mmthw/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/disable-errors.feature:24 Disabling a module by referring the wrong version should fail -- @1.1 dnf/module/disable-errors.feature:25 Disabling a module by referring the wrong stream should fail -- @1.2 dnf/module/disable-errors.feature:26 Disabling a module by referring the wrong name should fail -- @1.3 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 9 steps passed, 3 failed, 9 skipped Took 0min 0.311s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Disabling module stream # dnf/module/disable.feature:3 @not.with_os=rhel__ge__11 Feature: Disabling module stream # dnf/module/disable.feature:3 @bz1677640 Scenario: I can disable a module when specifying module name # dnf/module/disable.feature:12 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_igk7n4ag --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_igk7n4ag/var/cache/dnf module enable nodejs:8 When I execute dnf with args "module disable nodejs" # None Then the exit code is 0 # None And stdout contains "Disabling modules:" # None And Transaction is following # None | Action | Package | | module-disable | nodejs | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | disabled | | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_igk7n4ag --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_igk7n4ag/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Disabling an already disabled module should pass # dnf/module/disable.feature:27 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_16v320oc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_16v320oc/var/cache/dnf module enable nodejs:8 When I execute dnf with args "module disable nodejs" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | module-disable | nodejs | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | disabled | | | When I execute dnf with args "module disable nodejs" # None Then the exit code is 0 # None And stdout contains "Nothing to do." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_16v320oc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_16v320oc/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1649261 Scenario Outline: I can disable a module when specifying stream -- @1.1 # dnf/module/disable.feature:62 @xfail @bz1649261 Scenario Outline: I can disable a module when specifying version -- @1.2 # dnf/module/disable.feature:63 @xfail @bz1649261 Scenario Outline: I can disable a module with installed profile when specifying stream -- @1.1 # dnf/module/disable.feature:88 @xfail @bz1649261 Scenario Outline: I can disable a module with installed profile when specifying other stream -- @1.2 # dnf/module/disable.feature:89 @xfail @bz1649261 Scenario Outline: I can disable a module with installed profile when specifying version -- @1.3 # dnf/module/disable.feature:90 @bz1613910 Scenario: It is possible to disable an enabled default stream # dnf/module/disable.feature:94 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9vbpanic --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9vbpanic/var/cache/dnf module enable nodejs And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | When I execute dnf with args "module disable nodejs" # None Then the exit code is 0 # None And modules state is following # None | Module | State | Stream | Profiles | | nodejs | disabled | | | When I execute dnf with args "module list nodejs" # None Then the exit code is 0 # None And module list contains # None | Name | Stream | Profiles | | nodejs | 8 [d][x] | development, minimal, default [d] | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9vbpanic --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9vbpanic/var/cache/dnf module enable nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1653623 @bz1583596 Scenario: User is informed about disabling installed profiles when disabling a module # dnf/module/disable.feature:117 Failing scenarios: dnf/module/disable.feature:12 I can disable a module when specifying module name dnf/module/disable.feature:27 Disabling an already disabled module should pass dnf/module/disable.feature:94 It is possible to disable an enabled default stream 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 6 skipped 9 steps passed, 3 failed, 79 skipped Took 0min 0.310s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Enable module requires confirmation # dnf/module/enable-confirmation.feature:3 @not.with_os=rhel__ge__11 Feature: Enable module requires confirmation # dnf/module/enable-confirmation.feature:3 Scenario: Enable a module stream with --assumeyes # dnf/module/enable-confirmation.feature:11 Given I do not assume yes # dnf/steps/cmd.py:164 And I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8 --assumeyes" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 --installroot=/tmp/dnf_ci_installroot_lved0khh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lved0khh/var/cache/dnf module enable nodejs:8 --assumeyes And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 --installroot=/tmp/dnf_ci_installroot_lved0khh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lved0khh/var/cache/dnf module enable nodejs:8 --assumeyes  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enable a module stream with -y # dnf/module/enable-confirmation.feature:22 Given I do not assume yes # dnf/steps/cmd.py:164 And I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8 -y" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 --installroot=/tmp/dnf_ci_installroot_tc1rlsu4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tc1rlsu4/var/cache/dnf module enable nodejs:8 -y And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 --installroot=/tmp/dnf_ci_installroot_tc1rlsu4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tc1rlsu4/var/cache/dnf module enable nodejs:8 -y  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Abort enabling of a module stream with --assumeno # dnf/module/enable-confirmation.feature:33 Given I do not assume yes # dnf/steps/cmd.py:164 And I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8 --assumeno" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 --installroot=/tmp/dnf_ci_installroot_fmld_qfg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fmld_qfg/var/cache/dnf module enable nodejs:8 --assumeno And modules state is following # None | Module | State | Stream | Profiles | | nodejs | | | | And stderr contains "Operation aborted." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 --installroot=/tmp/dnf_ci_installroot_fmld_qfg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fmld_qfg/var/cache/dnf module enable nodejs:8 --assumeno  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/enable-confirmation.feature:11 Enable a module stream with --assumeyes dnf/module/enable-confirmation.feature:22 Enable a module stream with -y dnf/module/enable-confirmation.feature:33 Abort enabling of a module stream with --assumeno 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 9 steps passed, 3 failed, 6 skipped Took 0min 0.203s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Dependency resolution must occur to determine the appropriate dependent stream+context to use # dnf/module/enable-contexts.feature:3 @not.with_os=rhel__ge__11 Feature: Dependency resolution must occur to determine the appropriate dependent stream+context to use # dnf/module/enable-contexts.feature:3 @xfail Scenario: Appropriate context is selected depending on the enabled required module stream # dnf/module/enable-contexts.feature:11 @xfail Scenario: Appropriate context is selected depending on the enabled required module stream - cross check # dnf/module/enable-contexts.feature:29 @xfail Scenario: Any suitable context is selected when more options are possible # dnf/module/enable-contexts.feature:47 @not.with_os=rhel__eq__8 Scenario: An error is printed with no stream and context is possible to enable # dnf/module/enable-contexts.feature:59 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable biotope:pond" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tgfbklad --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tgfbklad/var/cache/dnf module enable biotope:pond When I execute dnf with args "module enable berry:raspberry" # None Then the exit code is 1 # None And stderr contains "Modular dependency problems:" # None And stderr contains "module biotope:pond.* conflicts with module\(biotope\) provided by biotope:wood:1:\.x86_64" # None And stderr contains "module biotope:wood:1:\.x86_64 conflicts with module\(biotope\) provided by biotope:pond:1:\.x86_64" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tgfbklad --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tgfbklad/var/cache/dnf module enable biotope:pond  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @not.with_os=rhel__eq__8 @bz1670496 Scenario: An error is printed when trying to install different context # dnf/module/enable-contexts.feature:74 Failing scenarios: dnf/module/enable-contexts.feature:59 An error is printed with no stream and context is possible to enable 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 4 skipped 2 steps passed, 1 failed, 33 skipped Took 0min 0.132s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Enable module streams with modular dependencies # dnf/module/enable-dependencies.feature:3 @not.with_os=rhel__ge__11 Feature: Enable module streams with modular dependencies # dnf/module/enable-dependencies.feature:3 @xfail Scenario: Enabling a default stream depending on a default stream # dnf/module/enable-dependencies.feature:13 @xfail @bz1648839 Scenario: Enabling a default stream depending on a non-default stream # dnf/module/enable-dependencies.feature:51 Scenario: Enabling a non-default stream depending on a default stream # dnf/module/enable-dependencies.feature:84 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 Given I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with # common/file.py:36 """ --- document: modulemd-defaults version: 1 data: module: beverage stream: beer profiles: default: [default] ... --- document: modulemd-defaults version: 1 data: module: fluid stream: water profiles: default: [default] ... """ When I execute dnf with args "module enable beverage:soda" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q9xukbox --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q9xukbox/var/cache/dnf module enable beverage:soda And Transaction is following # None | Action | Package | | module-stream-enable | beverage:soda | | module-stream-enable | fluid:water | And modules state is following # None | Module | State | Stream | Profiles | | beverage | enabled | soda | | | fluid | enabled | water | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q9xukbox --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q9xukbox/var/cache/dnf module enable beverage:soda  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enabling a disabled stream depending on a default stream # dnf/module/enable-dependencies.feature:119 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 Given I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with # common/file.py:36 """ --- document: modulemd-defaults version: 1 data: module: beverage stream: soda profiles: default: [default] ... --- document: modulemd-defaults version: 1 data: module: fluid stream: water profiles: default: [default] ... """ When I execute dnf with args "module disable beverage" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yscnqqec --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yscnqqec/var/cache/dnf module disable beverage And Transaction is following # None | Action | Package | | module-disable | beverage | When I execute dnf with args "module enable beverage:soda" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | module-stream-enable | beverage:soda | | module-stream-enable | fluid:water | And modules state is following # None | Module | State | Stream | Profiles | | beverage | enabled | soda | | | fluid | enabled | water | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yscnqqec --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yscnqqec/var/cache/dnf module disable beverage  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enabling a disabled stream depending on a non-default stream # dnf/module/enable-dependencies.feature:159 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 Given I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with # common/file.py:36 """ --- document: modulemd-defaults version: 1 data: module: beverage stream: beer profiles: default: [default] ... --- document: modulemd-defaults version: 1 data: module: fluid stream: oil profiles: default: [default] ... """ When I execute dnf with args "module disable beverage" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0cfmwqpc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0cfmwqpc/var/cache/dnf module disable beverage And Transaction is following # None | Action | Package | | module-disable | beverage | When I execute dnf with args "module enable beverage:soda" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | module-stream-enable | beverage:soda | | module-stream-enable | fluid:water | And modules state is following # None | Module | State | Stream | Profiles | | beverage | enabled | soda | | | fluid | enabled | water | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0cfmwqpc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0cfmwqpc/var/cache/dnf module disable beverage  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1622566 Scenario: Enabling a non-default stream depending on a non-default stream # dnf/module/enable-dependencies.feature:199 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable food-type:meat" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3lw9u0js --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3lw9u0js/var/cache/dnf module enable food-type:meat And Transaction is following # None | Action | Package | | module-stream-enable | food-type:meat | | module-stream-enable | ingredience:chicken | And modules state is following # None | Module | State | Stream | Profiles | | food-type | enabled | meat | | | ingredience | enabled | chicken | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3lw9u0js --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3lw9u0js/var/cache/dnf module enable food-type:meat  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enable a module and its dependencies by specifying profile # dnf/module/enable-dependencies.feature:212 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable food-type:meat/default" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2gngeqej --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2gngeqej/var/cache/dnf module enable food-type:meat/default And Transaction is following # None | Action | Package | | module-stream-enable | food-type:meat | | module-stream-enable | ingredience:chicken | And modules state is following # None | Module | State | Stream | Profiles | | food-type | enabled | meat | | | ingredience | enabled | chicken | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2gngeqej --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2gngeqej/var/cache/dnf module enable food-type:meat/default  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__eq__8 Scenario: Module cannot be disabled if there are other enabled streams requiring it # dnf/module/enable-dependencies.feature:251 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable food-type:meat" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_efnsxv9g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_efnsxv9g/var/cache/dnf module enable food-type:meat And Transaction is following # None | Action | Package | | module-stream-enable | food-type:meat | | module-stream-enable | ingredience:chicken | And modules state is following # None | Module | State | Stream | Profiles | | food-type | enabled | meat | | | ingredience | enabled | chicken | | When I execute dnf with args "module disable ingredience:chicken" # None Then the exit code is 1 # None And stderr contains "Failed to resolve the transaction:" # None And stderr contains "Modular dependency problems:" # None And stderr contains "Problem: module food-type:meat:1:.x86_64 requires module\(ingredience:chicken\)" # None And modules state is following # None | Module | State | Stream | Profiles | | food-type | enabled | meat | | | ingredience | enabled | chicken | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_efnsxv9g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_efnsxv9g/var/cache/dnf module enable food-type:meat  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enable the default stream of a module and its dependencies # dnf/module/enable-dependencies.feature:273 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable food-type" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dw4wepzp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dw4wepzp/var/cache/dnf module enable food-type And Transaction is following # None | Action | Package | | module-stream-enable | food-type:fruit | | module-stream-enable | ingredience:orange | And modules state is following # None | Module | State | Stream | Profiles | | food-type | enabled | fruit | | | ingredience | enabled | orange | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dw4wepzp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dw4wepzp/var/cache/dnf module enable food-type  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__eq__8 Scenario: Cannot enable a stream depending on a disabled module # dnf/module/enable-dependencies.feature:313 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module disable food-type:meat ingredience:chicken" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lp4xiwx7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lp4xiwx7/var/cache/dnf module disable food-type:meat ingredience:chicken And Transaction is following # None | Action | Package | | module-disable | food-type | | module-disable | ingredience | And modules state is following # None | Module | State | Stream | Profiles | | food-type | disabled | | | | ingredience | disabled | | | When I execute dnf with args "module enable food-type:meat" # None Then the exit code is 1 # None And stderr contains "Failed to resolve the transaction:" # None And stderr contains "Modular dependency problems:" # None And stderr contains "module ingredience:chicken:1:.x86_64 is disabled" # None And modules state is following # None | Module | State | Stream | Profiles | | food-type | disabled | | | | ingredience | disabled | | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lp4xiwx7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lp4xiwx7/var/cache/dnf module disable food-type:meat ingredience:chicken  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enable a module stream dependent on a module with a default stream # dnf/module/enable-dependencies.feature:335 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable food-type:edible" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_84px_kbs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_84px_kbs/var/cache/dnf module enable food-type:edible And Transaction is following # None | Action | Package | | module-stream-enable | food-type:edible | | module-stream-enable | ingredience:orange | And modules state is following # None | Module | State | Stream | Profiles | | food-type | enabled | edible | | | ingredience | enabled | orange | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_84px_kbs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_84px_kbs/var/cache/dnf module enable food-type:edible  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enable a module stream dependent on a module without default stream # dnf/module/enable-dependencies.feature:348 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:12" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n7rlooi1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n7rlooi1/var/cache/dnf module enable nodejs:12 And Transaction contains # None | Action | Package | | module-stream-enable | nodejs:12 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 12 | | | postgresql | enabled | ? | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n7rlooi1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n7rlooi1/var/cache/dnf module enable nodejs:12  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/enable-dependencies.feature:84 Enabling a non-default stream depending on a default stream dnf/module/enable-dependencies.feature:119 Enabling a disabled stream depending on a default stream dnf/module/enable-dependencies.feature:159 Enabling a disabled stream depending on a non-default stream dnf/module/enable-dependencies.feature:199 Enabling a non-default stream depending on a non-default stream dnf/module/enable-dependencies.feature:212 Enable a module and its dependencies by specifying profile dnf/module/enable-dependencies.feature:251 Module cannot be disabled if there are other enabled streams requiring it dnf/module/enable-dependencies.feature:273 Enable the default stream of a module and its dependencies dnf/module/enable-dependencies.feature:313 Cannot enable a stream depending on a disabled module dnf/module/enable-dependencies.feature:335 Enable a module stream dependent on a module with a default stream dnf/module/enable-dependencies.feature:348 Enable a module stream dependent on a module without default stream 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 10 failed, 2 skipped 24 steps passed, 10 failed, 50 skipped Took 0min 0.554s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Enabling module streams - error handling # dnf/module/enable-errors.feature:3 @not.with_os=rhel__ge__11 Feature: Enabling module streams - error handling # dnf/module/enable-errors.feature:3 Scenario: Fail to enable a different stream of an already enabled module # dnf/module/enable-errors.feature:10 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y7pjtxvs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y7pjtxvs/var/cache/dnf module enable nodejs:8 And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | When I execute dnf with args "module enable nodejs:10" # None Then the exit code is 1 # None And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | And stderr is # None """ Failed to resolve the transaction: The operation would result in switching of module 'nodejs' stream '8' to stream '10' Error: It is not possible to switch enabled streams of a module unless explicitly enabled via configuration option module_stream_switch. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y7pjtxvs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y7pjtxvs/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Fail to install a different stream of an already enabled module # dnf/module/enable-errors.feature:36 @xfail @bz1706215 Scenario: Fail to install a different stream of an already enabled module using @module:stream syntax # dnf/module/enable-errors.feature:63 @bz1814831 Scenario: Fail to enable a module stream when specifying only module # dnf/module/enable-errors.feature:87 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s714mua5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s714mua5/var/cache/dnf module enable nodejs And Transaction is empty # None And modules state is following # None | Module | State | Stream | Profiles | And stderr is # None """ Failed to resolve the transaction: Unable to resolve argument 'nodejs': - Argument 'nodejs' matches 4 streams ('10', '11', '12', '8') of module 'nodejs', but none of the streams are enabled or default. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s714mua5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s714mua5/var/cache/dnf module enable nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1629655 Scenario: Fail to enable a module stream when specifying wrong version # dnf/module/enable-errors.feature:103 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8:99" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5edgtdyh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5edgtdyh/var/cache/dnf module enable nodejs:8:99 And Transaction is empty # None And modules state is following # None | Module | State | Stream | Profiles | And stderr is # None """ Failed to resolve the transaction: No match for argument: nodejs:8:99 You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5edgtdyh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5edgtdyh/var/cache/dnf module enable nodejs:8:99  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1629655 Scenario: Fail to enable a non-existent module stream # dnf/module/enable-errors.feature:120 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y43un565 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y43un565/var/cache/dnf module enable nodejs:1 And Transaction is empty # None And modules state is following # None | Module | State | Stream | Profiles | And stderr is # None """ Failed to resolve the transaction: No match for argument: nodejs:1 You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y43un565 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y43un565/var/cache/dnf module enable nodejs:1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Fail to enable a module stream when not specifying anything # dnf/module/enable-errors.feature:136 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 When I execute dnf with args "module enable" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And Transaction is empty # dnf/steps/transaction.py:206 And modules state is following # dnf/steps/module.py:90 | Module | State | Stream | Profiles | And stderr is # common/output.py:137 """ Missing positional argument "specs" for command "enable". Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: Missing positional argument "specs" for command "enable". Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found Missing positional argument "specs" for command "enable". Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hj34zfh7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hj34zfh7/var/cache/dnf module enable  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1581267 Scenario: Fail to enable a module stream when specifying more streams of the same module # dnf/module/enable-errors.feature:149 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8 nodejs:10" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ssueb016 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ssueb016/var/cache/dnf module enable nodejs:8 nodejs:10 And Transaction is empty # None And modules state is following # None | Module | State | Stream | Profiles | And stderr is # None """ Cannot enable multiple streams for module 'nodejs' """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ssueb016 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ssueb016/var/cache/dnf module enable nodejs:8 nodejs:10  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @not.with_os=rhel__eq__8 Scenario: Enabling a stream depending on other than enabled stream should fail # dnf/module/enable-errors.feature:166 @not.with_os=rhel__eq__8 Scenario: Enabling a stream depending on a disabled stream should fail # dnf/module/enable-errors.feature:201 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 And I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with # common/file.py:36 """ --- document: modulemd-defaults version: 1 data: module: beverage stream: soda profiles: default: [default] ... --- document: modulemd-defaults version: 1 data: module: fluid stream: water profiles: default: [default] ... """ When I execute dnf with args "module disable fluid" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4jj85xnv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4jj85xnv/var/cache/dnf module disable fluid And Transaction is following # None | Action | Package | | module-disable | fluid | When I execute dnf with args "module enable beverage:soda" # None Then the exit code is 1 # None And stderr contains "Modular dependency problems:" # None And stderr contains "module beverage:soda:1:.x86_64 requires module\(fluid:water\), but none of the providers can be installed" # None And stderr contains "module fluid:water:1:.x86_64 is disabled" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4jj85xnv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4jj85xnv/var/cache/dnf module disable fluid  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__eq__8 Scenario: Enabling two modules both requiring different streams of another module # dnf/module/enable-errors.feature:239 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable side-dish:chips beverage:beer" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uv2dwt7g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uv2dwt7g/var/cache/dnf module enable side-dish:chips beverage:beer And stderr contains "Modular dependency problems:" # None And stderr contains "module side-dish:chips:1:.x86_64 requires module\(fluid:oil\), but none of the providers can be installed" # None And stderr contains "module beverage:beer:1:.x86_64 requires module\(fluid:water\), but none of the providers can be installed" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uv2dwt7g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uv2dwt7g/var/cache/dnf module enable side-dish:chips beverage:beer  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1651280 @not.with_os=rhel__eq__8 Scenario: Enabling module stream and another module requiring another stream # dnf/module/enable-errors.feature:251 Given I use repository "dnf-ci-fedora-modular-updates" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable fluid:oil beverage:beer" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ryujhy23 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ryujhy23/var/cache/dnf module enable fluid:oil beverage:beer And stderr contains "Modular dependency problems:" # None And stderr contains "module beverage:beer:1:.x86_64 requires module\(fluid:water\), but none of the providers can be installed" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ryujhy23 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ryujhy23/var/cache/dnf module enable fluid:oil beverage:beer  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/enable-errors.feature:10 Fail to enable a different stream of an already enabled module dnf/module/enable-errors.feature:87 Fail to enable a module stream when specifying only module dnf/module/enable-errors.feature:103 Fail to enable a module stream when specifying wrong version dnf/module/enable-errors.feature:120 Fail to enable a non-existent module stream dnf/module/enable-errors.feature:136 Fail to enable a module stream when not specifying anything dnf/module/enable-errors.feature:149 Fail to enable a module stream when specifying more streams of the same module dnf/module/enable-errors.feature:201 Enabling a stream depending on a disabled stream should fail dnf/module/enable-errors.feature:239 Enabling two modules both requiring different streams of another module dnf/module/enable-errors.feature:251 Enabling module stream and another module requiring another stream 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 9 failed, 3 skipped 25 steps passed, 9 failed, 59 skipped Took 0min 0.526s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Enabling module streams that are not latest # dnf/module/enable-latest.feature:3 @not.with_os=rhel__ge__11 Feature: Enabling module streams that are not latest # dnf/module/enable-latest.feature:3 Scenario: Enable a module stream that is not latest fails with --best # dnf/module/enable-latest.feature:10 Given I use repository "module-problem-latest" # dnf/steps/repo.py:186 When I execute dnf with args "module enable berries:main --best" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ouzu71j5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ouzu71j5/var/cache/dnf module enable berries:main --best And modules state is following # None | Module | State | Stream | Profiles | And stderr is # None """ Failed to resolve the transaction: Modular dependency problems with the latest modules: Problem: cannot install the best candidate for the job - nothing provides module(gooseberry:5.5) needed by module berries:main:5:6c81f848.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ouzu71j5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ouzu71j5/var/cache/dnf module enable berries:main --best  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enable a module stream that is not latest doesn't fail with --nobest # dnf/module/enable-latest.feature:25 Given I use repository "module-problem-latest" # dnf/steps/repo.py:186 When I execute dnf with args "module enable berries:main --nobest" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q5n7dggg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q5n7dggg/var/cache/dnf module enable berries:main --nobest And Transaction is following # None | Action | Package | | module-stream-enable | berries:main | And modules state is following # None | Module | State | Stream | Profiles | | berries | enabled | main | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q5n7dggg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q5n7dggg/var/cache/dnf module enable berries:main --nobest  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/enable-latest.feature:10 Enable a module stream that is not latest fails with --best dnf/module/enable-latest.feature:25 Enable a module stream that is not latest doesn't fail with --nobest 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 4 skipped Took 0min 0.144s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Enabling module streams # dnf/module/enable.feature:3 @not.with_os=rhel__ge__11 Feature: Enabling module streams # dnf/module/enable.feature:3 Scenario Outline: Enable a module stream by module:stream -- @1.1 # dnf/module/enable.feature:22 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q9oohnh5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q9oohnh5/var/cache/dnf module enable nodejs:8 And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q9oohnh5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q9oohnh5/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Enable a module stream by module:stream:version -- @1.2 # dnf/module/enable.feature:23 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8:20180801080000" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ysjws1jj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ysjws1jj/var/cache/dnf module enable nodejs:8:20180801080000 And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ysjws1jj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ysjws1jj/var/cache/dnf module enable nodejs:8:20180801080000  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Enable a module stream by glob -- @1.3 # dnf/module/enable.feature:24 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable node*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ya6pchap --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ya6pchap/var/cache/dnf module enable node* And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ya6pchap --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ya6pchap/var/cache/dnf module enable node*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Enable a module stream by glob:glob -- @1.4 # dnf/module/enable.feature:25 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable node*:*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5ijru8ha --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5ijru8ha/var/cache/dnf module enable node*:* And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5ijru8ha --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5ijru8ha/var/cache/dnf module enable node*:*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Enable a module stream by glob:glob:glob -- @1.5 # dnf/module/enable.feature:26 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable node*:*:*0801*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2ukeuv_o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2ukeuv_o/var/cache/dnf module enable node*:*:*0801* And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2ukeuv_o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2ukeuv_o/var/cache/dnf module enable node*:*:*0801*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enable a module stream that was already enabled # dnf/module/enable.feature:29 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lr270bj3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lr270bj3/var/cache/dnf module enable nodejs:8 And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | When I execute dnf with args "module enable nodejs:8" # None Then the exit code is 0 # None And Transaction is empty # None And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lr270bj3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lr270bj3/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Enable a different stream of an already enabled module when module_stream_switch=true # dnf/module/enable.feature:46 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | module_stream_switch | True | When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bzg6bdbh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bzg6bdbh/var/cache/dnf module enable nodejs:8 And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | When I execute dnf with args "module enable nodejs:10" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | module-stream-switch | nodejs:8 -> 10 | And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 10 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bzg6bdbh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bzg6bdbh/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/enable.feature:22 Enable a module stream by module:stream -- @1.1 dnf/module/enable.feature:23 Enable a module stream by module:stream:version -- @1.2 dnf/module/enable.feature:24 Enable a module stream by glob -- @1.3 dnf/module/enable.feature:25 Enable a module stream by glob:glob -- @1.4 dnf/module/enable.feature:26 Enable a module stream by glob:glob:glob -- @1.5 dnf/module/enable.feature:29 Enable a module stream that was already enabled dnf/module/enable.feature:46 Enable a different stream of an already enabled module when module_stream_switch=true 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 15 steps passed, 7 failed, 22 skipped Took 0min 0.330s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @jiraRHELPLAN-6073 Feature: Filter RPMs by enabled and default module streams # dnf/module/filter-rpms.feature:4 @not.with_os=rhel__ge__11 @jiraRHELPLAN-6073 Feature: Filter RPMs by enabled and default module streams # dnf/module/filter-rpms.feature:4 @xfail Scenario: default from module is preferred over ursine pkg # dnf/module/filter-rpms.feature:13 Scenario: enabled module is preferred over ursine pkg # dnf/module/filter-rpms.feature:29 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable ninja" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d5w_8o1c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d5w_8o1c/var/cache/dnf module enable ninja When I execute dnf with args "install ninja-build" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | ninja-build-0:1.8.2-4.module_1991+4e5efe2f.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | glibc-0:2.28-9.fc29.x86_64 | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d5w_8o1c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d5w_8o1c/var/cache/dnf module enable ninja  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: disabled module is not used # dnf/module/filter-rpms.feature:46 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module disable ninja" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5d4ovpw4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5d4ovpw4/var/cache/dnf module disable ninja When I execute dnf with args "install ninja-build" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | ninja-build-0:1.8.2-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5d4ovpw4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5d4ovpw4/var/cache/dnf module disable ninja  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: ursine pkg is preferred over module without default # dnf/module/filter-rpms.feature:57 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install dwm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1odn3qq9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1odn3qq9/var/cache/dnf install dwm And Transaction is following # None | Action | Package | | install | dwm-0:6.1-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1odn3qq9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1odn3qq9/var/cache/dnf install dwm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: RPMs from non-active streams are not available # dnf/module/filter-rpms.feature:66 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module disable nodejs:8" # dnf/steps/cmd.py:110 Then I execute dnf with args "list --available dwm.x86_64" # dnf/steps/cmd.py:110 And the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dmf1pltb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dmf1pltb/var/cache/dnf list --available dwm.x86_64 Then I execute dnf with args "list --available nodejs-devel-10.11.0" # None And the exit code is 1 # None Then I execute dnf with args "list --available nodejs-devel-11.0.0" # None And the exit code is 1 # None Then I execute dnf with args "list --available nodejs-10.11.0-1.module_2200+adbac02b.x86_64" # None And the exit code is 1 # None Then I execute dnf with args "list --available nodejs-8.11.4-1.module_2030+42747d40.x86_64" # None And the exit code is 1 # None Then I execute dnf with args "list --available dwm.x86_64" # None And the exit code is 1 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dmf1pltb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dmf1pltb/var/cache/dnf list --available dwm.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/filter-rpms.feature:29 enabled module is preferred over ursine pkg dnf/module/filter-rpms.feature:46 disabled module is not used dnf/module/filter-rpms.feature:57 ursine pkg is preferred over module without default dnf/module/filter-rpms.feature:66 RPMs from non-active streams are not available 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 1 skipped 12 steps passed, 4 failed, 22 skipped Took 0min 0.378s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Modular filtering must provide onlu relevant source packages # dnf/module/filtering.feature:3 @not.with_os=rhel__ge__11 Feature: Modular filtering must provide onlu relevant source packages # dnf/module/filtering.feature:3 @bz1702729 Scenario: Check that only module packages including src are available # dnf/module/filtering.feature:9 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable berry-source:wood" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xkemj4mu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xkemj4mu/var/cache/dnf module enable berry-source:wood And modules state is following # None | Module | State | Stream | Profiles | | berry-source | enabled | wood | | When I execute dnf with args "repoquery berry" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ berry-0:1.0-1.wood.src berry-0:1.0-1.wood.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xkemj4mu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xkemj4mu/var/cache/dnf module enable berry-source:wood  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1702729 Scenario: Check that only module packages including src are available # dnf/module/filtering.feature:28 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable berry-source:garden" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aagy7095 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aagy7095/var/cache/dnf module enable berry-source:garden And modules state is following # None | Module | State | Stream | Profiles | | berry-source | enabled | garden | | When I execute dnf with args "repoquery berry" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ berry-0:1.0-1.garden.src berry-0:1.0-1.garden.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aagy7095 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aagy7095/var/cache/dnf module enable berry-source:garden  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1809314 Scenario: Check that source packages do not filter binary rpms # dnf/module/filtering.feature:47 Given I use repository "dnf-ci-thirdparty-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable yum-source:1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cg6ilqb9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cg6ilqb9/var/cache/dnf module enable yum-source:1 And modules state is following # None | Module | State | Stream | Profiles | | yum-source | enabled | 1 | | When I execute dnf with args "repoquery yum" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ yum-0:3.4.3-0.x86_64 yum-0:3.8.3-0.f29.modular.src yum-0:3.8.3-0.f29.modular.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cg6ilqb9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cg6ilqb9/var/cache/dnf module enable yum-source:1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/filtering.feature:9 Check that only module packages including src are available dnf/module/filtering.feature:28 Check that only module packages including src are available dnf/module/filtering.feature:47 Check that source packages do not filter binary rpms 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 7 steps passed, 3 failed, 15 skipped Took 0min 0.309s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Module usage help # dnf/module/help.feature:3 Scenario: I can print help using dnf module --help # dnf/module/help.feature:5 When I execute dnf with args "module --help" # dnf/steps/cmd.py:110 Then stdout contains "Usage:" # dnf/steps/cmd.py:226 And stdout contains "dnf5 \[GLOBAL OPTIONS\] module " # dnf/steps/cmd.py:226 ASSERT FAILED: Stdout doesn't contain: dnf5 \[GLOBAL OPTIONS\] module ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sfj7utsj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sfj7utsj/var/cache/dnf module --help  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can print help using dnf module -h # dnf/module/help.feature:10 When I execute dnf with args "module -h" # dnf/steps/cmd.py:110 Then stdout contains "Usage:" # dnf/steps/cmd.py:226 And stdout contains "dnf5 \[GLOBAL OPTIONS\] module " # dnf/steps/cmd.py:226 ASSERT FAILED: Stdout doesn't contain: dnf5 \[GLOBAL OPTIONS\] module ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h3_thau3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h3_thau3/var/cache/dnf module -h  Last Command stdout: Usage: dnf5 [GLOBAL OPTIONS] ... Description: DNF5 is a program for maintaining packages. Software Management Commands: do Do transaction install Install software upgrade Upgrade software remove Remove (uninstall) software distro-sync Upgrade or downgrade installed software to the latest available versions downgrade Downgrade software reinstall Reinstall software debuginfo-install Install debuginfo packages. swap Remove software and install another in one transaction mark Change the reason of an installed package autoremove Remove all unneeded packages originally installed as dependencies. provides Find what package provides the given value replay Replay a transaction that was previously stored to a directory check-upgrade Check for available package upgrades check Check for problems in the packagedb manifest Operations for working with RPM package manifest files Query Commands: leaves List groups of installed packages not required by other installed packages repoquery Search for packages matching various criteria search Search for software matching all specified strings list Lists packages depending on the packages' relation to the system info Lists packages depending on the packages' relation to the system with additional details deptree Display package dependency trees. Subcommands: status Display summary statistics about installed and available packages, groups and repositories group Manage comps groups environment Manage comps environments history Manage transaction history repo Manage repositories advisory Manage advisories versionlock Manage versionlock configuration system-upgrade Prepare system for upgrade to a new release offline-distrosync Store a distro-sync transaction to be performed offline offline-upgrade Store an upgrade transaction to be performed offline offline Manage offline transactions config-manager Manage configuration Compatibility Aliases: check-update Alias for 'check-upgrade' dg Alias for 'downgrade' dsync Alias for 'distro-sync' grp Alias for 'group' if Alias for 'info' in Alias for 'install' ls Alias for 'list' mc Alias for 'makecache' rei Alias for 'reinstall' repoinfo Alias for 'repo info' repolist Alias for 'repo list' rm Alias for 'remove' rq Alias for 'repoquery' se Alias for 'search' up Alias for 'upgrade' update Alias for 'upgrade' updateinfo Alias for 'advisory' upgrade-minimal Alias for 'upgrade --minimal' whatprovides Alias for 'provides' Commands: clean Remove or expire cached data download Download software to the current directory makecache Generate the metadata cache automatic builddep Install build dependencies for package or spec file changelog Show package changelogs copr Manage Copr repositories (add-ons provided by users/community/third-party) needs-restarting Determine whether system or systemd services need restarting repoclosure Print list of unresolved dependencies for repositories repomanage Manage a directory with repodata or with rpm packages reposync Synchronize a remote DNF repository to a local directory. build-dep Compatibility alias for 'builddep' Global options: -h, --help Print help --config=CONFIG_FILE_PATH Configuration file location -q, --quiet In combination with a non-interactive command, shows just the relevant content. Suppresses messages notifying about the current state or actions of dnf5. -C, --cacheonly Run entirely from system cache, don't update the cache and use it even in case it is expired. --color=COLOR Control whether color is used. --refresh Force refreshing metadata before running the command. --repofrompath=REPO_ID,REPO_PATH create additional repository using id and path --setopt=[REPO_ID.]OPTION=VALUE set arbitrary config and repo options --setvar=VAR_NAME=VALUE set arbitrary variable -y, --assumeyes automatically answer yes for all questions --assumeno automatically answer no for all questions --best try the best available package versions in transactions --no-best do not limit the transaction to the best candidate --allow-vendor-change allow automatic package replacements from different vendors --no-allow-vendor-change do not allow automatic package replacements from different vendors --allow-vendor-change-to=VENDOR Allow switching packages from any vendor to packages from VENDOR. Supports globs, can be specified multiple times. --allow-vendor-change-from=VENDOR Allow replacing packages from VENDOR to packages from any vendor. Supports globs, can be specified multiple times. --allow-vendor-change-for-pkgs=PKG_NAME,... Allow vendor changes for packages matching PKG_NAME (bidirectional). List option. Supports globs, can be specified multiple times. --with-vendor-policy=POLICY Add a vendor change policy for this run. Can be specified multiple times. --clear-vendor-policies Remove all vendor change policies. Can be combined with --with-vendor-policy=POLICY to replace them. --disable-vendor-policy-source=SOURCE Disable vendor change policies whose source matches the specified pattern. Supports globs, can be specified multiple times. --no-docs Don't install files that are marked as documentation (which includes man pages and texinfo documents) -x package,..., --exclude=package,... exclude packages by name or glob --enable-repo=REPO_ID,... Enable additional repositories. List option. Supports globs, can be specified multiple times. --disable-repo=REPO_ID,... Disable repositories. List option. Supports globs, can be specified multiple times. --repo=REPO_ID,... Enable just specific repositories. List option. Supports globs, can be specified multiple times. --no-gpgchecks disable OpenPGP signature checking (if RPM policy allows) --no-plugins Disable all libdnf5 plugins --enable-plugin=PLUGIN_NAME,... Enable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --disable-plugin=PLUGIN_NAME,... Disable libdnf5 plugins by name. List option. Supports globs, can be specified multiple times. --comment=COMMENT add a comment to transaction --installroot=ABSOLUTE_PATH set install root --use-host-config use configuration, reposdir, and vars from the host system rather than the installroot --releasever=RELEASEVER override the value of $releasever in config and repo files --releasever-major=RELEASEVER_MAJOR override the value of $releasever_major in config and repo files --releasever-minor=RELEASEVER_MINOR override the value of $releasever_minor in config and repo files --show-new-leaves Show newly installed leaf packages and packages that became leaves after a transaction. --debugsolver Dump detailed solving results into files --dump-main-config Print main configuration values to stdout --dump-repo-config=REPO_ID,... Print repository configuration values to stdout. List option. Supports globs --dump-variables Print variable values to stdout --dump-vendor-policies Print loaded vendor change policies to stdout --version Show DNF5 version and exit --forcearch=FORCEARCH Force the use of a different architecture. --skip-file-locks Skip acquiring file locks, such as the lock on the system repository Options Compatibility aliases: -c CONFIG_FILE_PATH Alias for '--config' --nobest Alias for '--no-best' --nodocs Alias for '--no-docs' --enablerepo=REPO_ID,... Alias for '--enable-repo' --disablerepo=REPO_ID,... Alias for '--disable-repo' --repoid=REPO_ID,... Alias for '--repo' --nogpgcheck Alias for '--no-gpgchecks' --noplugins Alias for '--no-plugins' --enableplugin=PLUGIN_NAME,... Alias for '--enable-plugin' --disableplugin=PLUGIN_NAME,... Alias for '--disable-plugin'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/help.feature:5 I can print help using dnf module --help dnf/module/help.feature:10 I can print help using dnf module -h 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 0 skipped Took 0min 0.075s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: hotfix repo content is not masked by a modular content # dnf/module/hotfixes.feature:3 @not.with_os=rhel__ge__11 Feature: hotfix repo content is not masked by a modular content # dnf/module/hotfixes.feature:3 @xfail @bz1654738 Scenario: hotfix content updates are used when installing a module stream # dnf/module/hotfixes.feature:21 Scenario: hotfix content update is used when installing a package # dnf/module/hotfixes.feature:32 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I configure repository "dnf-ci-fedora-modular-hotfix" with # dnf/steps/repo.py:197 | key | value | | module_hotfixes | 1 | Given I use repository "dnf-ci-fedora-modular-hotfix" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iic921tm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iic921tm/var/cache/dnf module enable nodejs:8 And Transaction is following # None | Action | Package | | module-stream-enable | nodejs:8 | When I execute dnf with args "install nodejs" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | nodejs-1:8.11.5-1.module_2030+42747d40.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iic921tm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iic921tm/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: hotfix content updates are used for updating a module # dnf/module/hotfixes.feature:49 @xfail Scenario: hotfix content is used when listing available updates # dnf/module/hotfixes.feature:66 @xfail Scenario: hotfix content updates are used for updating a system # dnf/module/hotfixes.feature:78 Failing scenarios: dnf/module/hotfixes.feature:32 hotfix content update is used when installing a package 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 4 skipped 5 steps passed, 1 failed, 39 skipped Took 0min 0.303s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Module info without the install command implemented # dnf/module/info-without-install.feature:3 @not.with_os=rhel__ge__11 Feature: Module info without the install command implemented # dnf/module/info-without-install.feature:3 Scenario: Get info for a module, only module name specified # dnf/module/info-without-install.feature:22 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__le23qpi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__le23qpi/var/cache/dnf module enable nodejs:8 And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | Given I use repository "dnf-ci-fedora-modular-updates" # None When I execute dnf with args "module enable postgresql:11" # None Then the exit code is 0 # None And modules state is following # None | Module | State | Stream | Profiles | | postgresql | enabled | 11 | | When I execute dnf with args "module info nodejs" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name : nodejs Stream : 10 Version : 20180920144631 Context : 6c81f848 Architecture : x86_64 Profiles : default [d], development, minimal Default profiles : default Repo : dnf-ci-fedora-modular Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : nodejs-1:10.11.0-1.module_2200+adbac02b.src : nodejs-1:10.11.0-1.module_2200+adbac02b.x86_64 : nodejs-devel-1:10.11.0-1.module_2200+adbac02b.x86_64 : nodejs-docs-1:10.11.0-1.module_2200+adbac02b.noarch : npm-1:10.11.0-1.module_2200+adbac02b.x86_64 Name : nodejs Stream : 10 Version : 20190102201818 Context : 6c81f848 Architecture : x86_64 Profiles : default [d], development, minimal Default profiles : default Repo : dnf-ci-fedora-modular-updates Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : http-parser-0:2.9.0-1.module_2672+97d6a5e9.src : http-parser-0:2.9.0-1.module_2672+97d6a5e9.x86_64 : http-parser-devel-0:2.9.0-1.module_2672+97d6a5e9.x86_64 : libnghttp2-0:1.35.1-1.module_2672+97d6a5e9.x86_64 : libnghttp2-devel-0:1.35.1-1.module_2672+97d6a5e9.x86_64 : libuv-1:1.23.2-1.module_2302+4c6ccf2f.x86_64 : libuv-devel-1:1.23.2-1.module_2302+4c6ccf2f.x86_64 : libuv-static-1:1.23.2-1.module_2302+4c6ccf2f.x86_64 : nghttp2-0:1.35.1-1.module_2672+97d6a5e9.x86_64 : nodejs-1:10.14.1-1.module_2533+7361f245.src : nodejs-1:10.14.1-1.module_2533+7361f245.x86_64 : nodejs-devel-1:10.14.1-1.module_2533+7361f245.x86_64 : nodejs-docs-1:10.14.1-1.module_2533+7361f245.noarch : npm-1:10.14.1-1.module_2533+7361f245.x86_64 Name : nodejs Stream : 11 Version : 20180920144611 Context : 6c81f848 Architecture : x86_64 Profiles : default, development, minimal Default profiles : Repo : dnf-ci-fedora-modular Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] : postgresql:[9.6] Artifacts : nodejs-1:11.0.0-1.module_2311+8d497411.src : nodejs-1:11.0.0-1.module_2311+8d497411.x86_64 : nodejs-devel-1:11.0.0-1.module_2311+8d497411.x86_64 : nodejs-docs-1:11.0.0-1.module_2311+8d497411.noarch : npm-1:11.0.0-1.module_2311+8d497411.x86_64 Name : nodejs Stream : 11 Version : 20181102165620 Context : 6c81f848 Architecture : x86_64 Profiles : default, development, minimal Default profiles : Repo : dnf-ci-fedora-modular-updates Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] : postgresql:[9.6] Artifacts : libnghttp2-0:1.34.0-1.module_2365+652bf990.x86_64 : libnghttp2-devel-0:1.34.0-1.module_2365+652bf990.x86_64 : libuv-1:1.23.2-1.module_2365+652bf990.x86_64 : libuv-devel-1:1.23.2-1.module_2365+652bf990.x86_64 : libuv-static-1:1.23.2-1.module_2365+652bf990.x86_64 : nghttp2-0:1.34.0-1.module_2365+652bf990.x86_64 : nodejs-1:11.1.0-1.module_2379+8d497405.src : nodejs-1:11.1.0-1.module_2379+8d497405.x86_64 : nodejs-devel-1:11.1.0-1.module_2379+8d497405.x86_64 : nodejs-docs-1:11.1.0-1.module_2379+8d497405.noarch : npm-1:11.1.0-1.module_2379+8d497405.x86_64 Name : nodejs Stream : 12 Version : 20181102165620 Context : 6c81f848 Architecture : x86_64 Profiles : default, development, minimal Default profiles : Repo : dnf-ci-fedora-modular-updates Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] : postgresql:[] Artifacts : libnghttp2-0:1.34.0-1.module_2365+652bf990.x86_64 : libnghttp2-devel-0:1.34.0-1.module_2365+652bf990.x86_64 : libuv-1:1.23.2-1.module_2365+652bf990.x86_64 : libuv-devel-1:1.23.2-1.module_2365+652bf990.x86_64 : libuv-static-1:1.23.2-1.module_2365+652bf990.x86_64 : nghttp2-0:1.34.0-1.module_2365+652bf990.x86_64 : nodejs-1:12.1.0-1.module_2379+8d497405.src : nodejs-1:12.1.0-1.module_2379+8d497405.x86_64 : nodejs-devel-1:12.1.0-1.module_2379+8d497405.x86_64 : nodejs-docs-1:12.1.0-1.module_2379+8d497405.noarch : npm-1:12.1.0-1.module_2379+8d497405.x86_64 Name : nodejs Stream : 5 Version : 20150811143428 Context : 6c81f848 Architecture : x86_64 Profiles : default, development, minimal Default profiles : Repo : dnf-ci-fedora-modular Summary : Javascript runtime module with quite a long : summary that contains an empty line. Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : nodejs-1:5.3.1-1.module_2011+41787af0.src : nodejs-1:5.3.1-1.module_2011+41787af0.x86_64 : nodejs-devel-1:5.3.1-1.module_2011+41787af0.x86_64 : nodejs-docs-1:5.3.1-1.module_2011+41787af0.noarch : npm-1:5.3.1-1.module_2011+41787af0.x86_64 Name : nodejs Stream : 8 [d][e][a] Version : 20180801080000 Context : 6c81f848 Architecture : x86_64 Profiles : default [d], development, minimal Default profiles : default Repo : dnf-ci-fedora-modular Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : nodejs-1:8.11.4-1.module_2030+42747d40.src : nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-devel-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-docs-1:8.11.4-1.module_2030+42747d40.noarch : npm-1:8.11.4-1.module_2030+42747d40.x86_64 Name : nodejs Stream : 8 [d][e][a] Version : 20181216123422 Context : 7f892346 Architecture : x86_64 Profiles : default [d], development, minimal Default profiles : default Repo : dnf-ci-fedora-modular-updates Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : nodejs-1:8.11.4-1.module_2030+42747d40.src : nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-devel-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-docs-1:8.11.4-1.module_2030+42747d40.noarch : npm-1:8.14.0-1.module_2030+42747d41.x86_64 Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__le23qpi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__le23qpi/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Get info for an enabled stream, module name and stream specified # dnf/module/info-without-install.feature:196 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b_13550l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b_13550l/var/cache/dnf module enable nodejs:8 And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | Given I use repository "dnf-ci-fedora-modular-updates" # None When I execute dnf with args "module enable postgresql:11" # None Then the exit code is 0 # None And modules state is following # None | Module | State | Stream | Profiles | | postgresql | enabled | 11 | | When I execute dnf with args "module info nodejs:11" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name : nodejs Stream : 11 Version : 20180920144611 Context : 6c81f848 Architecture : x86_64 Profiles : default, development, minimal Default profiles : Repo : dnf-ci-fedora-modular Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] : postgresql:[9.6] Artifacts : nodejs-1:11.0.0-1.module_2311+8d497411.src : nodejs-1:11.0.0-1.module_2311+8d497411.x86_64 : nodejs-devel-1:11.0.0-1.module_2311+8d497411.x86_64 : nodejs-docs-1:11.0.0-1.module_2311+8d497411.noarch : npm-1:11.0.0-1.module_2311+8d497411.x86_64 Name : nodejs Stream : 11 Version : 20181102165620 Context : 6c81f848 Architecture : x86_64 Profiles : default, development, minimal Default profiles : Repo : dnf-ci-fedora-modular-updates Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] : postgresql:[9.6] Artifacts : libnghttp2-0:1.34.0-1.module_2365+652bf990.x86_64 : libnghttp2-devel-0:1.34.0-1.module_2365+652bf990.x86_64 : libuv-1:1.23.2-1.module_2365+652bf990.x86_64 : libuv-devel-1:1.23.2-1.module_2365+652bf990.x86_64 : libuv-static-1:1.23.2-1.module_2365+652bf990.x86_64 : nghttp2-0:1.34.0-1.module_2365+652bf990.x86_64 : nodejs-1:11.1.0-1.module_2379+8d497405.src : nodejs-1:11.1.0-1.module_2379+8d497405.x86_64 : nodejs-devel-1:11.1.0-1.module_2379+8d497405.x86_64 : nodejs-docs-1:11.1.0-1.module_2379+8d497405.noarch : npm-1:11.1.0-1.module_2379+8d497405.x86_64 Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b_13550l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b_13550l/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1623535 Scenario: Get error message when info for non-existent module is requested # dnf/module/info-without-install.feature:252 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3pnu_6wp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3pnu_6wp/var/cache/dnf module enable nodejs:8 And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | Given I use repository "dnf-ci-fedora-modular-updates" # None When I execute dnf with args "module enable postgresql:11" # None Then the exit code is 0 # None And modules state is following # None | Module | State | Stream | Profiles | | postgresql | enabled | 11 | | When I execute dnf with args "module info non-existing-module" # None Then the exit code is 0 # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3pnu_6wp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3pnu_6wp/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Get info for two enabled modules from different repos # dnf/module/info-without-install.feature:262 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g_2u_0p_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g_2u_0p_/var/cache/dnf module enable nodejs:8 And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | Given I use repository "dnf-ci-fedora-modular-updates" # None When I execute dnf with args "module enable postgresql:11" # None Then the exit code is 0 # None And modules state is following # None | Module | State | Stream | Profiles | | postgresql | enabled | 11 | | When I execute dnf with args "module info nodejs:8 postgresql:10" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name : nodejs Stream : 8 [d][e][a] Version : 20180801080000 Context : 6c81f848 Architecture : x86_64 Profiles : default [d], development, minimal Default profiles : default Repo : dnf-ci-fedora-modular Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : nodejs-1:8.11.4-1.module_2030+42747d40.src : nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-devel-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-docs-1:8.11.4-1.module_2030+42747d40.noarch : npm-1:8.11.4-1.module_2030+42747d40.x86_64 Name : nodejs Stream : 8 [d][e][a] Version : 20181216123422 Context : 7f892346 Architecture : x86_64 Profiles : default [d], development, minimal Default profiles : default Repo : dnf-ci-fedora-modular-updates Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : nodejs-1:8.11.4-1.module_2030+42747d40.src : nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-devel-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-docs-1:8.11.4-1.module_2030+42747d40.noarch : npm-1:8.14.0-1.module_2030+42747d41.x86_64 Name : postgresql Stream : 10 Version : 20181211125304 Context : 6c81f848 Architecture : x86_64 Profiles : client, default, server Default profiles : Repo : dnf-ci-fedora-modular-updates Summary : PostgreSQL module Description : PostgreSQL is an advanced Object-Relational database management system (DBMS). The PostgreSQL server can be found in the postgresql-server sub-package. Requires : platform:[f29] Artifacts : postgresql-0:10.6-1.module_2594+0c9aadc5.src : postgresql-0:10.6-1.module_2594+0c9aadc5.x86_64 : postgresql-libs-0:10.6-1.module_2594+0c9aadc5.x86_64 : postgresql-server-0:10.6-1.module_2594+0c9aadc5.x86_64 : postgresql-test-0:10.6-1.module_2594+0c9aadc5.x86_64 Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g_2u_0p_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g_2u_0p_/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1623535 Scenario: Get info for two modules, one of them non-existent # dnf/module/info-without-install.feature:329 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ucib62ln --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ucib62ln/var/cache/dnf module enable nodejs:8 And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | Given I use repository "dnf-ci-fedora-modular-updates" # None When I execute dnf with args "module enable postgresql:11" # None Then the exit code is 0 # None And modules state is following # None | Module | State | Stream | Profiles | | postgresql | enabled | 11 | | When I execute dnf with args "module info postgresql:10 non-existing-module" # None Then the exit code is 0 # None And stdout is # None """ Name : postgresql Stream : 10 Version : 20181211125304 Context : 6c81f848 Architecture : x86_64 Profiles : client, default, server Default profiles : Repo : dnf-ci-fedora-modular-updates Summary : PostgreSQL module Description : PostgreSQL is an advanced Object-Relational database management system (DBMS). The PostgreSQL server can be found in the postgresql-server sub-package. Requires : platform:[f29] Artifacts : postgresql-0:10.6-1.module_2594+0c9aadc5.src : postgresql-0:10.6-1.module_2594+0c9aadc5.x86_64 : postgresql-libs-0:10.6-1.module_2594+0c9aadc5.x86_64 : postgresql-server-0:10.6-1.module_2594+0c9aadc5.x86_64 : postgresql-test-0:10.6-1.module_2594+0c9aadc5.x86_64 Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive """ And stderr is # None """ No matches found for "non-existing-module". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ucib62ln --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ucib62ln/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1700250 @bz1636337 Scenario: I can get the module context of the active stream # dnf/module/info-without-install.feature:362 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_66rignc7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_66rignc7/var/cache/dnf module enable nodejs:8 And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | Given I use repository "dnf-ci-fedora-modular-updates" # None When I execute dnf with args "module enable postgresql:11" # None Then the exit code is 0 # None And modules state is following # None | Module | State | Stream | Profiles | | postgresql | enabled | 11 | | When I execute dnf with args "module info nodejs:8" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Name : nodejs Stream : 8 [d][e][a] Version : 20180801080000 Context : 6c81f848 Architecture : x86_64 Profiles : default [d], development, minimal Default profiles : default Repo : dnf-ci-fedora-modular Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : nodejs-1:8.11.4-1.module_2030+42747d40.src : nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-devel-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-docs-1:8.11.4-1.module_2030+42747d40.noarch : npm-1:8.11.4-1.module_2030+42747d40.x86_64 Name : nodejs Stream : 8 [d][e][a] Version : 20181216123422 Context : 7f892346 Architecture : x86_64 Profiles : default [d], development, minimal Default profiles : default Repo : dnf-ci-fedora-modular-updates Summary : Javascript runtime Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Requires : platform:[f29] Artifacts : nodejs-1:8.11.4-1.module_2030+42747d40.src : nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-devel-1:8.11.4-1.module_2030+42747d40.x86_64 : nodejs-docs-1:8.11.4-1.module_2030+42747d40.noarch : npm-1:8.14.0-1.module_2030+42747d41.x86_64 Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_66rignc7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_66rignc7/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/info-without-install.feature:22 Get info for a module, only module name specified dnf/module/info-without-install.feature:196 Get info for an enabled stream, module name and stream specified dnf/module/info-without-install.feature:252 Get error message when info for non-existent module is requested dnf/module/info-without-install.feature:262 Get info for two enabled modules from different repos dnf/module/info-without-install.feature:329 Get info for two modules, one of them non-existent dnf/module/info-without-install.feature:362 I can get the module context of the active stream 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 18 steps passed, 6 failed, 53 skipped Took 0min 0.415s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Module info # dnf/module/info.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Module info # dnf/module/info.feature:6 Scenario: Get info for a module, only module name specified # dnf/module/info.feature:38 Scenario: Get info for an enabled stream, module name and stream specified # dnf/module/info.feature:212 @bz1540189 Scenario: Get info for an installed profile, module name and profile specified # dnf/module/info.feature:268 @bz1540189 Scenario: Get info for an installed profile, module name, stream and profile specified # dnf/module/info.feature:444 @bz1540189 Scenario: Non-existent profile is ignored for dnf module info # dnf/module/info.feature:501 @bz1623535 Scenario: Get error message when info for non-existent module is requested # dnf/module/info.feature:558 Scenario: Get info for two enabled modules from different repos # dnf/module/info.feature:565 @bz1623535 Scenario: Get info for two modules, one of them non-existent # dnf/module/info.feature:632 Scenario: Run 'dnf module info' without further argument (dnf) # dnf/module/info.feature:663 Scenario: Run 'dnf module info' without further argument (yum) # dnf/module/info.feature:669 @bz1571214 Scenario Outline: I can get the info about content of existing module streams with module info --profile postgresql -- @1.1 # dnf/module/info.feature:713 @bz1571214 Scenario Outline: I can get the info about content of existing module streams with -q module info --profile postgresql -- @1.2 # dnf/module/info.feature:714 Scenario: Profile specification is ignored by dnf module info --profile # dnf/module/info.feature:718 Scenario: I can get the info about contents of more than one module profile streams # dnf/module/info.feature:755 Scenario: "dnf module profile" without any additional arguments should raise an error # dnf/module/info.feature:787 @bz1636091 Scenario: The module stream context information is present # dnf/module/info.feature:798 @bz1700250 @bz1636337 Scenario: I can get the module context of the active stream # dnf/module/info.feature:805 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 17 skipped 0 steps passed, 0 failed, 322 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Installing modules without profile specification using defaults from repo # dnf/module/install-default.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Installing modules without profile specification using defaults from repo # dnf/module/install-default.feature:6 @bz1724564 @bz1790967 Scenario: Install module, no default profile defined, expecting no profile selection # dnf/module/install-default.feature:15 @bz1814831 Scenario: Install module, no default stream or profile defined, expecting no profile selection # dnf/module/install-default.feature:30 Scenario: Install module, empty default profile exists, expecting default profile selection # dnf/module/install-default.feature:46 Scenario: Install module, populated default profile exists, expecting default profile selection # dnf/module/install-default.feature:57 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 21 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Installing modules with modular dependencies # dnf/module/install-dependency.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Installing modules with modular dependencies # dnf/module/install-dependency.feature:6 Scenario: Install a module that requires a module, specifying one stream in Requires # dnf/module/install-dependency.feature:13 @bz1651701 Scenario: Install a module that requires a module, specifying multiple streams in Requires # dnf/module/install-dependency.feature:28 Scenario: Install a module that requires a module, not specifying any stream in Requires # dnf/module/install-dependency.feature:41 Scenario: Install a module that requires a module, excluding one stream in Requires # dnf/module/install-dependency.feature:54 Scenario: Install a module that requires a module, excluding multiple streams in Requires # dnf/module/install-dependency.feature:67 Scenario: Install a module that requires a module, excluding all of the streams in Requires # dnf/module/install-dependency.feature:80 Scenario: Install a module that requires a module, specifying nonexisting stream in Requires # dnf/module/install-dependency.feature:87 Scenario: Install a module that requires a module, excluding nonexisting stream in Requires # dnf/module/install-dependency.feature:94 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 8 skipped 0 steps passed, 0 failed, 40 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Installing module profiles - error handling # dnf/module/install-errors.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Installing module profiles - error handling # dnf/module/install-errors.feature:6 Scenario: A proper error message is displayed when I try to install a non-existent module # dnf/module/install-errors.feature:14 Scenario: A proper error message is displayed when I try to install a non-existent module using group syntax # dnf/module/install-errors.feature:23 Scenario: I cannot install an RPM with same name as an RPM that belongs to enabled MODULE:STREAM # dnf/module/install-errors.feature:33 Scenario: A proper error message is displayed when I try to install a non-existent stream # dnf/module/install-errors.feature:56 @bz1724564 @bz1790967 Scenario: Install module without any profiles # dnf/module/install-errors.feature:68 @bz1645167 Scenario: A proper error message is displayed when I try to install a non-existent profile # dnf/module/install-errors.feature:84 Scenario: Install fails even when only one of the module specs cannot be installed # dnf/module/install-errors.feature:94 @bz1719679 Scenario: Profile is not installed after its artifact failed to get installed # dnf/module/install-errors.feature:108 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 8 skipped 0 steps passed, 0 failed, 66 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Installing module profiles with globs # dnf/module/install-globs.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Installing module profiles with globs # dnf/module/install-globs.feature:6 Scenario: Install a module profile with glob in name # dnf/module/install-globs.feature:14 Scenario: Install a module profile with glob in name and stream # dnf/module/install-globs.feature:24 Scenario: Install a module profile with glob in version # dnf/module/install-globs.feature:34 Scenario: Install a module profile with glob in arch # dnf/module/install-globs.feature:47 Scenario: Install a module profile with glob in profile # dnf/module/install-globs.feature:57 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 5 skipped 0 steps passed, 0 failed, 26 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Installing modules without profile specification using defaults from repo # dnf/module/install-latest.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Installing modules without profile specification using defaults from repo # dnf/module/install-latest.feature:6 @bz1781769 Scenario: Install module, profile from the latest module context # dnf/module/install-latest.feature:15 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 9 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: RPMs can be installed locally regardless the modular content # dnf/module/install-local-package.feature:3 @not.with_os=rhel__ge__11 Feature: RPMs can be installed locally regardless the modular content # dnf/module/install-local-package.feature:3 @bz1582105 Scenario: Install a local RPM with different version available in enabled stream # dnf/module/install-local-package.feature:12 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable postgresql" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ihqg5qh5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ihqg5qh5/var/cache/dnf module enable postgresql And Transaction is following # None | Action | Package | | module-stream-enable | postgresql:9.6 | And modules state is following # None | Module | State | Stream | Profiles | | postgresql | enabled | 9.6 | | When I execute dnf with args "install {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/postgresql-libs-9.6.5-1.fc29.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/postgresql-9.6.5-1.fc29.x86_64.rpm" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | postgresql-libs-0:9.6.5-1.fc29.x86_64 | | install | postgresql-0:9.6.5-1.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ihqg5qh5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ihqg5qh5/var/cache/dnf module enable postgresql  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1582105 Scenario: Install a local RPM that belongs to a disabled module # dnf/module/install-local-package.feature:31 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module disable postgresql" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__bbtfs62 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__bbtfs62/var/cache/dnf module disable postgresql And Transaction is following # None | Action | Package | | module-disable | postgresql | And modules state is following # None | Module | State | Stream | Profiles | | postgresql | disabled | | | When I execute dnf with args "install {context.dnf.fixturesdir}/repos/dnf-ci-fedora-modular/x86_64/postgresql-libs-9.6.8-1.module_1710+b535a823.x86_64.rpm {context.dnf.fixturesdir}/repos/dnf-ci-fedora-modular/x86_64/postgresql-9.6.8-1.module_1710+b535a823.x86_64.rpm" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | postgresql-libs-0:9.6.8-1.module_1710+b535a823.x86_64 | | install | postgresql-0:9.6.8-1.module_1710+b535a823.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__bbtfs62 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__bbtfs62/var/cache/dnf module disable postgresql  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/install-local-package.feature:12 Install a local RPM with different version available in enabled stream dnf/module/install-local-package.feature:31 Install a local RPM that belongs to a disabled module 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 6 steps passed, 2 failed, 10 skipped Took 0min 0.273s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Installing modules from MdDocuments with static_context=True # dnf/module/install-module-static-context.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Installing modules from MdDocuments with static_context=True # dnf/module/install-module-static-context.feature:6 @not.with_os=rhel__eq__8 Scenario: Install module, profile from the latest module context without static_context # dnf/module/install-module-static-context.feature:14 @not.with_os=rhel__eq__8 Scenario: Install module, profile from the latest module context with static_context-=true # dnf/module/install-module-static-context.feature:33 @not.with_os=rhel__eq__8 Scenario: Install module, profile and the latest package with static_context=true # dnf/module/install-module-static-context.feature:52 @not.with_os=rhel__eq__8 Scenario: Install and upgrade from context with broken dependencies => static_context=true # dnf/module/install-module-static-context.feature:71 @not.with_os=rhel__eq__8 Scenario: Install and upgrade from context with broken dependencies => static_context=true # dnf/module/install-module-static-context.feature:100 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 5 skipped 0 steps passed, 0 failed, 52 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Installing modules without profile specification using defaults from repo # dnf/module/install-multicontext.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Installing modules without profile specification using defaults from repo # dnf/module/install-multicontext.feature:6 Scenario: Install module, with specified profile and enabled dependencies # dnf/module/install-multicontext.feature:12 @bz1696204 Scenario: Install module, with specified context that is not active (unsatisfied require) # dnf/module/install-multicontext.feature:30 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 16 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Installing package from ursine repo # dnf/module/install-package-ursine.feature:3 @not.with_os=rhel__ge__11 Feature: Installing package from ursine repo # dnf/module/install-package-ursine.feature:3 @bz1636390 Scenario: I can install a package from ursine repo when the same pkg is available in non-enabled non-default module stream # dnf/module/install-package-ursine.feature:11 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gwz9w60p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gwz9w60p/var/cache/dnf install wget And Transaction contains # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gwz9w60p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gwz9w60p/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can see installed non-modular content listed in dnf list installed # dnf/module/install-package-ursine.feature:19 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rtou3wbq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rtou3wbq/var/cache/dnf install wget When I execute dnf with args "list --installed" # None Then the exit code is 0 # None And stdout contains "wget\.x86_64\s+1\.19\.5-5\.fc29\s+dnf-ci-fedora" # None When I execute dnf with args "module enable DnfCiModuleNoDefaults:stable" # None Then the exit code is 0 # None When I execute dnf with args "list --installed" # None Then the exit code is 0 # None And stdout contains "wget\.x86_64\s+1\.19\.5-5\.fc29\s+dnf-ci-fedora" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rtou3wbq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rtou3wbq/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can't reinstall installed non-modular content which is masked by active modular content # dnf/module/install-package-ursine.feature:31 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vbdfrptp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vbdfrptp/var/cache/dnf install wget And I successfully execute dnf with args "module enable DnfCiModuleNoDefaults:stable" # None When I execute dnf with args "reinstall wget" # None Then the exit code is 1 # None And stderr contains "Installed packages for argument 'wget' are not available in repositories in the same version, available versions: wget-0:1.18.5-5.module.x86_64, cannot reinstall." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vbdfrptp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vbdfrptp/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can remove installed non-modular content # dnf/module/install-package-ursine.feature:39 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ixp0cbf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ixp0cbf/var/cache/dnf install wget And I successfully execute dnf with args "module enable DnfCiModuleNoDefaults:stable" # None When I execute dnf with args "remove wget" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | remove | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ixp0cbf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ixp0cbf/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can't install a package from ursine repo when the same pkg is available in enabled non-default module stream # dnf/module/install-package-ursine.feature:49 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "module enable DnfCiModuleNoDefaults:stable" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4otfkcqh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4otfkcqh/var/cache/dnf module enable DnfCiModuleNoDefaults:stable When I execute dnf with args "install wget" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | wget-0:1.18.5-5.module.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4otfkcqh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4otfkcqh/var/cache/dnf module enable DnfCiModuleNoDefaults:stable  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install a package from ursine repo when the same pkg is available in disabled non-default module stream # dnf/module/install-package-ursine.feature:58 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "module disable DnfCiModuleNoDefaults:stable" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fdki7fgq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fdki7fgq/var/cache/dnf module disable DnfCiModuleNoDefaults:stable When I execute dnf with args "install wget" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fdki7fgq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fdki7fgq/var/cache/dnf module disable DnfCiModuleNoDefaults:stable  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can upgrade installed non-modular pkg by active modular content # dnf/module/install-package-ursine.feature:67 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hhh5odts --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hhh5odts/var/cache/dnf install wget And I successfully execute dnf with args "module enable DnfCiModuleNoDefaults:development" # None When I execute dnf with args "upgrade wget" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.20.5-5.module.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hhh5odts --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hhh5odts/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/install-package-ursine.feature:11 I can install a package from ursine repo when the same pkg is available in non-enabled non-default module stream dnf/module/install-package-ursine.feature:19 I can see installed non-modular content listed in dnf list installed dnf/module/install-package-ursine.feature:31 I can't reinstall installed non-modular content which is masked by active modular content dnf/module/install-package-ursine.feature:39 I can remove installed non-modular content dnf/module/install-package-ursine.feature:49 I can't install a package from ursine repo when the same pkg is available in enabled non-default module stream dnf/module/install-package-ursine.feature:58 I can install a package from ursine repo when the same pkg is available in disabled non-default module stream dnf/module/install-package-ursine.feature:67 I can upgrade installed non-modular pkg by active modular content 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 15 steps passed, 7 failed, 27 skipped Took 0min 0.454s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Installing package from module # dnf/module/install-package.feature:3 Scenario: I can install a specific package from a module # dnf/module/install-package.feature:6 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "module enable ninja:master" # dnf/steps/cmd.py:110 When I execute dnf with args "install ninja-build" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a63lid5o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a63lid5o/var/cache/dnf install ninja-build And Transaction contains # None | Action | Package | | install | ninja-build-0:1.8.2-4.module_1991+4e5efe2f.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a63lid5o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a63lid5o/var/cache/dnf install ninja-build  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can install a package from modular repo not belonging to a module # dnf/module/install-package.feature:17 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install solveigs-song" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ck776o3o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ck776o3o/var/cache/dnf install solveigs-song And Transaction is following # None | Action | Package | | install | solveigs-song-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ck776o3o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ck776o3o/var/cache/dnf install solveigs-song  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I cannot install a specific package from not enabled module when default stream is not defined # dnf/module/install-package.feature:26 Given I use repository "dnf-ci-thirdparty" # dnf/steps/repo.py:186 When I execute dnf with args "install arabian-dance" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ziairz1y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ziairz1y/var/cache/dnf install arabian-dance And stderr is # None """ Failed to resolve the transaction: Argument 'arabian-dance' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ziairz1y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ziairz1y/var/cache/dnf install arabian-dance  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1767351 Scenario: I cannot install a specific package from not enabled module after reset # dnf/module/install-package.feature:41 Scenario: module content masks ursine content - module not enabled, default stream exists # dnf/module/install-package.feature:77 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install ninja-build-0:1.8.2-5.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1imkh329 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1imkh329/var/cache/dnf install ninja-build-0:1.8.2-5.fc29.x86_64 And stderr is # None """ Failed to resolve the transaction: Argument 'ninja-build-0:1.8.2-5.fc29.x86_64' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1imkh329 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1imkh329/var/cache/dnf install ninja-build-0:1.8.2-5.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: module content masks ursine content - non-default stream enabled # dnf/module/install-package.feature:90 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable ninja:development" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y2qmf7q8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y2qmf7q8/var/cache/dnf module enable ninja:development When I execute dnf with args "install ninja-build-0:1.8.2-5.fc29.x86_64" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Argument 'ninja-build-0:1.8.2-5.fc29.x86_64' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y2qmf7q8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y2qmf7q8/var/cache/dnf module enable ninja:development  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: a package from a non-enabled module is preferred when default stream is defined # dnf/module/install-package.feature:107 Scenario: rpm from enabled stream is preferred regardless of NVRs # dnf/module/install-package.feature:121 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "module enable ninja:legacy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w_nw0jmb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w_nw0jmb/var/cache/dnf module enable ninja:legacy When I execute dnf with args "install ninja-build" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | ninja-build-0:1.5.2-1.module_1991+4e5efe2f.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w_nw0jmb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w_nw0jmb/var/cache/dnf module enable ninja:legacy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1762314 Scenario: I can install a specific package from a module and enable all module dependencies # dnf/module/install-package.feature:136 Failing scenarios: dnf/module/install-package.feature:6 I can install a specific package from a module dnf/module/install-package.feature:17 I can install a package from modular repo not belonging to a module dnf/module/install-package.feature:26 I cannot install a specific package from not enabled module when default stream is not defined dnf/module/install-package.feature:77 module content masks ursine content - module not enabled, default stream exists dnf/module/install-package.feature:90 module content masks ursine content - non-default stream enabled dnf/module/install-package.feature:121 rpm from enabled stream is preferred regardless of NVRs 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 3 skipped 17 steps passed, 6 failed, 39 skipped Took 0min 0.548s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Installing module profiles # dnf/module/install.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Installing module profiles # dnf/module/install.feature:6 Scenario: I can install a module profile for an enabled module stream # dnf/module/install.feature:13 @bz1609919 Scenario: I can install a module profile by name:stream/profile # dnf/module/install.feature:28 @bz1898548 Scenario: I cannot install source rpm # dnf/module/install.feature:39 Scenario: I can install multiple module profiles at the same time # dnf/module/install.feature:44 @bz1618421 Scenario: Installing a module and its dependencies, non-modular dependency available # dnf/module/install.feature:60 @bz1618421 Scenario: Installing a module and its dependencies, non-modular dependency is not available # dnf/module/install.feature:73 @bz1622599 @bz1566078 Scenario: Install a module of which all packages and requires are already installed # dnf/module/install.feature:86 @bz1592408 Scenario: Install a module of which all packages are non-modular # dnf/module/install.feature:107 Scenario: Install a module profile without any packages # dnf/module/install.feature:122 Scenario: I can install a module profile for a stream that was enabled as dependency # dnf/module/install.feature:136 Scenario: Install a module profile of a disabled module # dnf/module/install.feature:161 @bz1688823 Scenario: Installing module in presence of a modular error # dnf/module/install.feature:183 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 12 skipped 0 steps passed, 0 failed, 101 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Modules listing # dnf/module/list.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Modules listing # dnf/module/list.feature:6 Scenario: I can list all available modules # dnf/module/list.feature:17 Scenario: I can list modules by glob # dnf/module/list.feature:43 Scenario: I can list modules by glob:glob # dnf/module/list.feature:58 Scenario: I can list enabled modules # dnf/module/list.feature:67 Scenario: I can list installed modules # dnf/module/list.feature:77 @bz1647382 Scenario: I can list disabled modules (when there are no disabled modules) # dnf/module/list.feature:88 @bz1647382 Scenario: Get error message when list of non-existent module is requested # dnf/module/list.feature:95 Scenario: I can list disabled modules # dnf/module/list.feature:100 Scenario: I can limit the scope through providing specific module names # dnf/module/list.feature:113 Scenario: I can limit the scope of enabled modules through providing specific module names # dnf/module/list.feature:128 Scenario: I can limit the scope of installed modules through providing specific module names # dnf/module/list.feature:137 Scenario: I can limit the scope of disabled modules through providing specific module names # dnf/module/list.feature:146 @bz1590358 Scenario: Modules are ordered by repository then module name and stream name # dnf/module/list.feature:160 Scenario: Correctly display module summary that contains empty lines # dnf/module/list.feature:169 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 14 skipped 0 steps passed, 0 failed, 147 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Error reading modular metadata # dnf/module/metadata-errors.feature:5 @not.with_os=rhel__ge__11 @xfail Feature: Error reading modular metadata # dnf/module/metadata-errors.feature:5 @bz1771768 Scenario: Invalid gzip data in modules.yaml.gz # dnf/module/metadata-errors.feature:17 @bz1771768 Scenario: The end of modules.yaml.gz cut off # dnf/module/metadata-errors.feature:35 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 21 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: libmodulemd document format tests # dnf/module/metadata-format.feature:3 @bz2004853 @bz2007166 @bz2007167 Scenario: Metadata containing additional uknown field can be read (the field is ignored) # dnf/module/metadata-format.feature:9 Given I use repository "additional-field-modulemd" # dnf/steps/repo.py:186 When I execute dnf with args "module info nodejs" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout is # None """ Name : nodejs Stream : 5 Version : 20150811143428 Context : 6c81f848 Architecture : x86_64 Profiles : default, development, minimal Default profiles : Repo : additional-field-modulemd Summary : Javascript runtime Description : Node.js is a platform built on Chrome Requires : platform:[f29] Artifacts : nodejs-1:5.3.1-1.module_2011+41787af0.src : nodejs-1:5.3.1-1.module_2011+41787af0.x86_64 : nodejs-devel-1:5.3.1-1.module_2011+41787af0.x86_64 : nodejs-docs-1:5.3.1-1.module_2011+41787af0.noarch : npm-1:5.3.1-1.module_2011+41787af0.x86_64 Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive """ ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1vnb9xom --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1vnb9xom/var/cache/dnf module info nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2004853 @bz2007166 @bz2007167 Scenario: Metadata containing additional uknown field can be used for modular filtering # dnf/module/metadata-format.feature:42 Given I use repository "additional-field-modulemd" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I execute dnf with args "module enable nodejs:5" # dnf/steps/cmd.py:110 When I execute dnf with args "repoquery nodejs" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout is # None """ nodejs-1:5.3.1-1.module_2011+41787af0.src nodejs-1:5.3.1-1.module_2011+41787af0.x86_64 """ ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r0rexo22 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r0rexo22/var/cache/dnf repoquery nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/metadata-format.feature:9 Metadata containing additional uknown field can be read (the field is ignored) dnf/module/metadata-format.feature:42 Metadata containing additional uknown field can be used for modular filtering 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 6 steps passed, 2 failed, 2 skipped Took 0min 0.302s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: obsoletes reset/change streams in any transaction according to metadata # dnf/module/obsoletes.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: obsoletes reset/change streams in any transaction according to metadata # dnf/module/obsoletes.feature:6 Scenario: stream is not switched according to obsoletes if options not enabled # dnf/module/obsoletes.feature:18 Scenario: stream is switched according to obsoletes in new metadata # dnf/module/obsoletes.feature:32 Scenario: two stream changes, one of which is obsoletes, do not throw exception # dnf/module/obsoletes.feature:42 Scenario: stream is resetted according to obsoletes in new metadata # dnf/module/obsoletes.feature:52 Scenario: stream is not resetted before the obsoletes_date in new metadata # dnf/module/obsoletes.feature:62 Scenario: stream with context is affected by general obsoletes without context specified # dnf/module/obsoletes.feature:72 Scenario: stream with two obsoletes is switched according to the newer one and switching to a different module resets the original one # dnf/module/obsoletes.feature:82 Scenario: obsoletes is applied before the current transaction is resolved (effects from obsoletes switch affect the current transaction) # dnf/module/obsoletes.feature:94 Scenario: stream is not affected if a valid obsoletes is superseded by a newer one which resets obsoletes # dnf/module/obsoletes.feature:106 Scenario: stream is affected if a valid obsoletes with reset is superseded by a newer obsoletes # dnf/module/obsoletes.feature:117 Scenario: active obsoletes isn't affected by future obsoletes (with eol_date) # dnf/module/obsoletes.feature:128 Scenario: obsoletes with obsoleted_by and passed eol_date works # dnf/module/obsoletes.feature:139 Scenario: setting reset into the future (with eol_date) is an error (invalid metadata) # dnf/module/obsoletes.feature:151 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 13 skipped 0 steps passed, 0 failed, 112 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @bz1688462 Feature: Detecting proper modular platform # dnf/module/platform-detection.feature:4 @not.with_os=rhel__ge__11 @bz1688462 Feature: Detecting proper modular platform # dnf/module/platform-detection.feature:4 Scenario: Platform pseudo module name:stream is created based on /usr/lib/os-release # dnf/module/platform-detection.feature:10 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I do not set default module platformid # dnf/steps/module.py:63 And I create file "/usr/lib/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ When I execute dnf with args "module enable dwm:6.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9m2l7var --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9m2l7var/var/cache/dnf module enable dwm:6.0 And modules state is following # None | Module | State | Stream | Profiles | | dwm | enabled | 6.0 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9m2l7var --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9m2l7var/var/cache/dnf module enable dwm:6.0  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @jiraRHELPLAN-6083 Scenario: Platform pseudo module name:stream is created based on /etc/os-release # dnf/module/platform-detection.feature:29 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I do not set default module platformid # dnf/steps/module.py:63 And I create file "/usr/lib/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="not_to_be_used_pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ And I create file "/etc/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ When I execute dnf with args "module enable dwm:6.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_24e8pfa1 --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_24e8pfa1/var/cache/dnf module enable dwm:6.0 And modules state is following # None | Module | State | Stream | Profiles | | dwm | enabled | 6.0 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_24e8pfa1 --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_24e8pfa1/var/cache/dnf module enable dwm:6.0  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Platform is detected using virtual provide of installed os-release package # dnf/module/platform-detection.feature:57 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I do not set default module platformid # dnf/steps/module.py:63 And I create file "/etc/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="not_to_be_used_pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ When I execute dnf with args "install {context.dnf.fixturesdir}/repos/dnf-ci-pseudo-platform/noarch/fedora-release-29-1.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 And Transaction is following # dnf/steps/transaction.py:159 | Action | Package | | install | fedora-release-0:29-1.noarch | When I execute dnf with args "module enable dwm:6.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tw_nu8__ --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tw_nu8__/var/cache/dnf module enable dwm:6.0 And modules state is following # None | Module | State | Stream | Profiles | | dwm | enabled | 6.0 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tw_nu8__ --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tw_nu8__/var/cache/dnf module enable dwm:6.0  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1709453 Scenario: Platform is detected using virtual provide of os-release package in enabled repo but not from excluded package # dnf/module/platform-detection.feature:80 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I do not set default module platformid # dnf/steps/module.py:63 And I use repository "dnf-ci-pseudo-platform" # dnf/steps/repo.py:186 And I use repository "module-platform-detection-excluded" with configuration # dnf/steps/repo.py:212 | key | value | | includepkgs | xget | And I create file "/etc/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="not_to_be_used_pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ When I execute dnf with args "module enable dwm:6.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pi2lpbco --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pi2lpbco/var/cache/dnf module enable dwm:6.0 And modules state is following # None | Module | State | Stream | Profiles | | dwm | enabled | 6.0 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pi2lpbco --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pi2lpbco/var/cache/dnf module enable dwm:6.0  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Platform is detected from command line --setopt option # dnf/module/platform-detection.feature:102 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-pseudo-platform" # dnf/steps/repo.py:186 And I set default module platformid to "cmdline_pseudoplatform:6.0" # dnf/steps/module.py:58 When I execute dnf with args "module enable dwm:6.0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wwx7tk8x --releasever=29 --setopt=module_platform_id=cmdline_pseudoplatform:6.0 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wwx7tk8x/var/cache/dnf module enable dwm:6.0 And stderr contains "nothing provides module\(pseudoplatform:6\.0\) needed by module dwm" # None Given I set default module platformid to "pseudoplatform:6.0" # None When I execute dnf with args "module enable dwm:6.0" # None Then the exit code is 0 # None And modules state is following # None | Module | State | Stream | Profiles | | dwm | enabled | 6.0 | | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wwx7tk8x --releasever=29 --setopt=module_platform_id=cmdline_pseudoplatform:6.0 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wwx7tk8x/var/cache/dnf module enable dwm:6.0  Last Command stderr: setopt: "module_platform_id=cmdline_pseudoplatform:6.0": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/platform-detection.feature:10 Platform pseudo module name:stream is created based on /usr/lib/os-release dnf/module/platform-detection.feature:29 Platform pseudo module name:stream is created based on /etc/os-release dnf/module/platform-detection.feature:57 Platform is detected using virtual provide of installed os-release package dnf/module/platform-detection.feature:80 Platform is detected using virtual provide of os-release package in enabled repo but not from excluded package dnf/module/platform-detection.feature:102 Platform is detected from command line --setopt option 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 26 steps passed, 5 failed, 9 skipped Took 0min 0.443s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @jiraRHELPLAN-6083 Feature: platform pseudo-module based on /etc/os-release # dnf/module/platform.feature:4 @not.with_os=rhel__ge__11 @jiraRHELPLAN-6083 Feature: platform pseudo-module based on /etc/os-release # dnf/module/platform.feature:4 @not.with_os=rhel__eq__8 Scenario: I can't enable module requiring different platform pseudo module # dnf/module/platform.feature:22 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I create file "/etc/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ And I do not set default module platformid # dnf/steps/module.py:63 Given I delete file "/etc/os-release" # common/file.py:58 When I execute dnf with args "module enable dwm:6.0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h_r9vrf5 --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h_r9vrf5/var/cache/dnf module enable dwm:6.0 And stderr contains "nothing provides module\(pseudoplatform:6.0\) needed by module dwm:6.0:20180813144159:.x86_64" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h_r9vrf5 --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h_r9vrf5/var/cache/dnf module enable dwm:6.0  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can't see pseudo-module in module listing # dnf/module/platform.feature:29 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I create file "/etc/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ And I do not set default module platformid # dnf/steps/module.py:63 When I execute dnf with args "module enable dwm:6.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h22dj_ag --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h22dj_ag/var/cache/dnf module enable dwm:6.0 And modules state is following # None | Module | State | Stream | Profiles | | dwm | enabled | 6.0 | | When I execute dnf with args "module list --enabled" # None Then stdout does not contain "pseudoplatform" # None When I execute dnf with args "module list --installed" # None Then stdout does not contain "pseudoplatform" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h22dj_ag --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h22dj_ag/var/cache/dnf module enable dwm:6.0  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can't list info for the pseudo-module # dnf/module/platform.feature:41 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I create file "/etc/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ And I do not set default module platformid # dnf/steps/module.py:63 When I execute dnf with args "module info pseudoplatform" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ev9qfwn_ --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ev9qfwn_/var/cache/dnf module info pseudoplatform And stdout is empty # None And stderr is # None """ No matches found. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ev9qfwn_ --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ev9qfwn_/var/cache/dnf module info pseudoplatform  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can't enable pseudo-module # dnf/module/platform.feature:52 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I create file "/etc/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ And I do not set default module platformid # dnf/steps/module.py:63 When I execute dnf with args "module enable pseudoplatform:6.0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hl8sg0xx --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hl8sg0xx/var/cache/dnf module enable pseudoplatform:6.0 And stderr is # None """ Failed to resolve the transaction: No match for argument: pseudoplatform:6.0 You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hl8sg0xx --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hl8sg0xx/var/cache/dnf module enable pseudoplatform:6.0  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: I can't install pseudo-module # dnf/module/platform.feature:68 Scenario: I can't disable pseudo-module # dnf/module/platform.feature:78 Given I use repository "dnf-ci-pseudo-platform-modular" # dnf/steps/repo.py:186 Given I create file "/etc/os-release" with # common/file.py:36 """ NAME=PsedoDistro VERSION="6 (dwm-team)" ID=pseudo VERSION_ID=6 PLATFORM_ID="pseudoplatform:6.0" PRETTY_NAME="PseudoDistro 6 (dwm-team)" """ And I do not set default module platformid # dnf/steps/module.py:63 When I execute dnf with args "module disable pseudoplatform:6.0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l1o3h7pl --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l1o3h7pl/var/cache/dnf module disable pseudoplatform:6.0 And stderr is # None """ Failed to resolve the transaction: No match for argument: pseudoplatform:6.0 You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l1o3h7pl --releasever=29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l1o3h7pl/var/cache/dnf module disable pseudoplatform:6.0  Last Command stderr: Unknown argument "module" for command "dnf5". Add "--help" for more information about the arguments. It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(module)'  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: I can't update pseudo-module # dnf/module/platform.feature:94 @xfail Scenario: I can't remove pseudo-module # dnf/module/platform.feature:106 Failing scenarios: dnf/module/platform.feature:22 I can't enable module requiring different platform pseudo module dnf/module/platform.feature:29 I can't see pseudo-module in module listing dnf/module/platform.feature:41 I can't list info for the pseudo-module dnf/module/platform.feature:52 I can't enable pseudo-module dnf/module/platform.feature:78 I can't disable pseudo-module 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 3 skipped 21 steps passed, 5 failed, 30 skipped Took 0min 0.262s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Module provides command # dnf/module/provides.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Module provides command # dnf/module/provides.feature:6 @bz1629667 Scenario: I can get list of all modules providing specific package # dnf/module/provides.feature:15 @bz1623866 Scenario: I can get list of enabled modules providing specific package # dnf/module/provides.feature:52 @bz1633151 Scenario: I see packages only once when they are availiable and installed # dnf/module/provides.feature:90 Scenario: There is not output when no module provides the package # dnf/module/provides.feature:166 Scenario: An error is printed when no arguments are provided (dnf) # dnf/module/provides.feature:176 Scenario: An error is printed when no arguments are provided (yum) # dnf/module/provides.feature:185 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 6 skipped 0 steps passed, 0 failed, 45 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Module profile removal # dnf/module/remove.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Module profile removal # dnf/module/remove.feature:6 @bz1581609 @bz1583596 Scenario: I can remove an installed module profile specifying stream name # dnf/module/remove.feature:29 @bz1583596 @bz1629841 @bz1581624 Scenario: I can remove an installed module profile using "module remove " # dnf/module/remove.feature:49 @bz1629848 Scenario: Removing of a non-installed profiles would pass # dnf/module/remove.feature:74 @bz1583596 Scenario: I can remove multiple profiles # dnf/module/remove.feature:89 @bz1583596 @bz1648264 Scenario: I can remove an installed module profile using "remove @" # dnf/module/remove.feature:117 @bz1700529 Scenario: Remove module profile when userinstalled package requires its package # dnf/module/remove.feature:141 Scenario: Remove command respects --all switch to remove all packages # dnf/module/remove.feature:175 Scenario: Packages belonging to multiple modules are not removed with --all # dnf/module/remove.feature:196 @bz1904490 Scenario: module removed with --all and not existing module argument - no traceback # dnf/module/remove.feature:216 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 9 skipped 0 steps passed, 0 failed, 145 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Modular repoquery # dnf/module/repoquery.feature:6 Scenario Outline: repoquery returns packages from both default and enabled streams -- @1.1 # dnf/module/repoquery.feature:31 Scenario Outline: repoquery --available returns packages from both default and enabled streams -- @1.2 # dnf/module/repoquery.feature:32 Scenario: module repoquery --installed lists only installed modular packages # dnf/module/repoquery.feature:35 Scenario: module repoquery --installed returns also packages not available any more # dnf/module/repoquery.feature:52 Scenario: module repoquery can be used with both --installed and --available together # dnf/module/repoquery.feature:71 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 5 skipped 0 steps passed, 0 failed, 37 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Reset modules # dnf/module/reset.feature:3 @not.with_os=rhel__ge__11 Feature: Reset modules # dnf/module/reset.feature:3 @bz1827424 Scenario: I can reset a disabled default stream back to its default state # dnf/module/reset.feature:11 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module disable nodejs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qpj7wb3w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qpj7wb3w/var/cache/dnf module disable nodejs And modules state is following # None | Module | State | Stream | Profiles | | nodejs | disabled | | | When I execute dnf with args "module list" # None Then module list contains # None | Name | Stream | Profiles | | nodejs | 8 [d][x] | default [d], development, minimal | | nodejs | 10 [x] | default [d], development, minimal | | nodejs | 11 [x] | default, development, minimal | When I execute dnf with args "module reset nodejs" # None Then the exit code is 0 # None And stdout contains "Resetting modules:" # None And stdout contains "nodejs" # None And modules state is following # None | Module | State | Stream | Profiles | | nodejs | available | | | When I execute dnf with args "module list nodejs" # None Then module list contains # None | Name | Stream | Profiles | | nodejs | 8 [d] | default [d], development, minimal | | nodejs | 10 | default [d], development, minimal | | nodejs | 11 | default, development, minimal | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qpj7wb3w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qpj7wb3w/var/cache/dnf module disable nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1827424 Scenario: I can reset a disabled non-default stream back to a non-default state # dnf/module/reset.feature:39 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module disable dwm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o5evri5m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o5evri5m/var/cache/dnf module disable dwm And modules state is following # None | Module | State | Stream | Profiles | | dwm | disabled | | | When I execute dnf with args "module list" # None Then module list contains # None | Name | Stream | Profiles | | dwm | 6.0 [x] | default | When I execute dnf with args "module reset dwm" # None Then the exit code is 0 # None And stdout contains "Resetting modules:" # None And stdout contains "dwm" # None And modules state is following # None | Module | State | Stream | Profiles | | dwm | available | | | When I execute dnf with args "module list" # None Then module list contains # None | Name | Stream | Profiles | | dwm | 6.0 | default | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o5evri5m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o5evri5m/var/cache/dnf module disable dwm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1827424 Scenario: Resetting of a default stream does nothing # dnf/module/reset.feature:63 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module list nodejs" # dnf/steps/cmd.py:110 Then module list contains # dnf/steps/module.py:75 | Name | Stream | Profiles | | nodejs | 8 [d] | default [d], development, minimal | | nodejs | 10 | default [d], development, minimal | | nodejs | 11 | default, development, minimal | ASSERT FAILED: Module 'nodejs:8 [d]' with profiles 'default [d], development, minimal' not found. When I execute dnf with args "module reset nodejs" # None Then the exit code is 0 # None And stdout contains "Nothing to do" # None And modules state is following # None | Module | State | Stream | Profiles | | nodejs | | | | When I execute dnf with args "module list nodejs" # None Then module list contains # None | Name | Stream | Profiles | | nodejs | 8 [d] | default [d], development, minimal | | nodejs | 10 | default [d], development, minimal | | nodejs | 11 | default, development, minimal | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b_y0mgs2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b_y0mgs2/var/cache/dnf module list nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1827424 Scenario: Resetting of a non-default non-enabled stream does nothing # dnf/module/reset.feature:85 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module list dwm" # dnf/steps/cmd.py:110 Then module list contains # dnf/steps/module.py:75 | Name | Stream | Profiles | | dwm | 6.0 | default | ASSERT FAILED: Module 'dwm:6.0' with profiles 'default' not found. Then I execute dnf with args "module reset dwm" # None Then the exit code is 0 # None And stdout contains "Nothing to do" # None And modules state is following # None | Module | State | Stream | Profiles | | dwm | | | | When I execute dnf with args "module list dwm" # None Then module list contains # None | Name | Stream | Profiles | | dwm | 6.0 | default | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ust75_gn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ust75_gn/var/cache/dnf module list dwm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1827424 @bz1677640 Scenario: I can reset an enabled default stream back to its non-enabled default state # dnf/module/reset.feature:104 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable nodejs:8" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7e4vhbkm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7e4vhbkm/var/cache/dnf module enable nodejs:8 And modules state is following # None | Module | State | Stream | Profiles | | nodejs | enabled | 8 | | When I execute dnf with args "module list nodejs" # None Then module list contains # None | Name | Stream | Profiles | | nodejs | 8 [d][e] | default [d], development, minimal | | nodejs | 10 | default [d], development, minimal | | nodejs | 11 | default, development, minimal | When I execute dnf with args "module reset nodejs" # None Then the exit code is 0 # None And stdout contains "Resetting modules:" # None And stdout contains "nodejs" # None And modules state is following # None | Module | State | Stream | Profiles | | nodejs | available | | | When I execute dnf with args "module list nodejs" # None Then module list contains # None | Name | Stream | Profiles | | nodejs | 8 [d] | default [d], development, minimal | | nodejs | 10 | default [d], development, minimal | | nodejs | 11 | default, development, minimal | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7e4vhbkm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7e4vhbkm/var/cache/dnf module enable nodejs:8  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1827424 Scenario: I can reset an enabled non-default stream back to a non-enabled state # dnf/module/reset.feature:132 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable dwm:6.0/default" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h5zg_z06 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h5zg_z06/var/cache/dnf module enable dwm:6.0/default And modules state is following # None | Module | State | Stream | Profiles | | dwm | enabled | 6.0 | | When I execute dnf with args "module list dwm" # None Then module list contains # None | Name | Stream | Profiles | | dwm | 6.0 [e] | default | When I execute dnf with args "module reset dwm" # None Then the exit code is 0 # None And stdout contains "Resetting modules:" # None And stdout contains "dwm" # None And modules state is following # None | Module | State | Stream | Profiles | | dwm | available | | | When I execute dnf with args "module list dwm" # None Then module list contains # None | Name | Stream | Profiles | | dwm | 6.0 | default | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h5zg_z06 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h5zg_z06/var/cache/dnf module enable dwm:6.0/default  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/module/reset.feature:11 I can reset a disabled default stream back to its default state dnf/module/reset.feature:39 I can reset a disabled non-default stream back to a non-default state dnf/module/reset.feature:63 Resetting of a default stream does nothing dnf/module/reset.feature:85 Resetting of a non-default non-enabled stream does nothing dnf/module/reset.feature:104 I can reset an enabled default stream back to its non-enabled default state dnf/module/reset.feature:132 I can reset an enabled non-default stream back to a non-enabled state 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 12 steps passed, 6 failed, 52 skipped Took 0min 0.300s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Switch module to streams # dnf/module/switch.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Switch module to streams # dnf/module/switch.feature:6 Scenario Outline: Enable a module stream by module:stream using switch-to subcommand -- @1.1 # dnf/module/switch.feature:23 Scenario Outline: Enable a module stream by module:stream:version using switch-to subcommand -- @1.2 # dnf/module/switch.feature:24 Scenario Outline: Enable a module stream by glob using switch-to subcommand -- @1.3 # dnf/module/switch.feature:25 Scenario Outline: Enable a module stream by glob:glob using switch-to subcommand -- @1.4 # dnf/module/switch.feature:26 Scenario Outline: Enable a module stream by glob:glob:glob using switch-to subcommand -- @1.5 # dnf/module/switch.feature:27 @bz1792020 @bz1809314 Scenario: Switch a module to stream that was only enabled # dnf/module/switch.feature:31 @bz1792020 @bz1809314 Scenario: I can switch a module to stream, install packages from a new module and keep installed profile # dnf/module/switch.feature:51 @bz1792020 Scenario: Reject switch a module stream, when stream does not exist # dnf/module/switch.feature:84 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 8 skipped 0 steps passed, 0 failed, 59 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 @xfail Feature: Updating module profiles # dnf/module/update.feature:6 @not.with_os=rhel__ge__11 @xfail Feature: Updating module profiles # dnf/module/update.feature:6 Scenario: I can update a module profile to a newer version # dnf/module/update.feature:14 Scenario: Disabled but installed profile should not be receiving updates # dnf/module/update.feature:36 Scenario: I try to update a module when no update is available # dnf/module/update.feature:47 @xfail Scenario: I can update a module profile with package changes # dnf/module/update.feature:69 @bz1582548 @bz1582546 Scenario: default stream is used for new deps during an update # dnf/module/update.feature:93 Scenario: Both ursine packages and modules are updated during dnf update # dnf/module/update.feature:123 @bz1647429 Scenario: Update module packages even if no profiles are installed # dnf/module/update.feature:156 @bz1647429 Scenario: Update module packages and dependent packages when no profiles are installed # dnf/module/update.feature:179 @bz1647429 Scenario: Update module packages and dependent packages when some profiles are installed # dnf/module/update.feature:209 @bz1647429 Scenario: Update module profiles that contains non-modular packages and packages from different modules # dnf/module/update.feature:251 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 10 skipped 0 steps passed, 0 failed, 140 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Advisory aplicability on a modular system # dnf/module/updateinfo.feature:3 @xfail @bz1622614 Scenario: List available updates for installed streams (updates available) # dnf/module/updateinfo.feature:10 @xfail @bz1622614 Scenario: Updates for non enabled streams are hidden # dnf/module/updateinfo.feature:43 @xfail @bz1804234 Scenario: having installed packages from one collection and enabled all modules from another doesn't activate advisory # dnf/module/updateinfo.feature:67 @xfail @bz1804234 Scenario: having installed packages from all collections but enabled modules only for one shows just the one # dnf/module/updateinfo.feature:84 @xfail Scenario: having two active collections shows packages from both # dnf/module/updateinfo.feature:106 @xfail @bz1804234 Scenario: Show applicable advisories only from active contexts # dnf/module/updateinfo.feature:129 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 6 skipped 0 steps passed, 0 failed, 70 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_dnf=4 Feature: Tests for libdnf5 actions plugin - json communication mode # dnf/plugins-core/actions-json_mode.feature:2 @not.with_dnf=4 Feature: Tests for libdnf5 actions plugin - json communication mode # dnf/plugins-core/actions-json_mode.feature:2 Scenario: Test actions_attrs, variables, actions_variables, configuration options, repos options, defining new repository, logging # dnf/plugins-core/actions-json_mode.feature:72 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | countme | false | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_test_utils.py" with # common/file.py:36 """ import json import os import sys sys.path.append('dnf/steps') from lib.json import diff_json_pattern_values def send_request(request: dict): print(json.dumps(request), flush=True) def send_request_string(request: str): print(request, flush=True) return def check_reply(descr: str, expected: dict): reply_line = sys.stdin.readline() with open(sys.argv[1], 'a') as f: print(descr, end="", file=f) if not reply_line: if expected: print(': Error: No reply', file=f) else: print(': OK', file=f) return reply = json.loads(reply_line) diff = diff_json_pattern_values('', expected, reply) if diff: print(': Error:', diff, file=f) #print(reply_line, file=f) else: print(': OK', file=f) """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ post_base_setup:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_post_base_setup.py {context.dnf.installroot}/actions.log repos_configured:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_repos_configured.py {context.dnf.installroot}/actions.log """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_post_base_setup.py" with # common/file.py:36 """ from json_test_utils import * send_request({"op": "get", "domain": "actions_attrs", "args": {"key": "*"}}) check_reply( 'Get the values of all action plugin attributes', {"op": "reply", "requested_op": "get", "domain": "actions_attrs", "status": "OK", "return": { "actions_attrs": [{"key": "pid", "value": "*"}, {"key": "version", "value": "1.*"}]}}) send_request({"op": "get", "domain": "actions_attrs", "args": {"key": "nonexist_attribute"}}) check_reply( 'Requesting the value of a non-existent actions plugin attribute returns empty list', {"op": "reply", "requested_op": "get", "domain": "actions_attrs", "status": "OK", "return": {"actions_attrs": []}}) send_request({"op": "set", "domain": "vars", "args": {"name": "test_var1", "value": "value1"}}) check_reply( 'Set new variable "test_var1"', {"op": "reply", "requested_op": "set", "domain": "vars", "status": "OK", "return": {"vars": [{"name": "test_var1", "value": "value1"}]}}) send_request({"op": "set", "domain": "vars", "args": {"name": "test_var2", "value": "value2"}}) check_reply( 'Set new variable "test_var2"', {"op": "reply", "requested_op": "set", "domain": "vars", "status": "OK", "return": {"vars": [{"name": "test_var2", "value": "value2"}]}}) send_request({"op": "set", "domain": "vars", "args": {"name": "test_var1", "value": "new_value1"}}) check_reply( 'Change value of variable "test_var1"', {"op": "reply", "requested_op": "set", "domain": "vars", "status": "OK", "return": {"vars": [{"name": "test_var1", "value": "new_value1"}]}}) send_request({"op": "get", "domain": "vars", "args": {"name": "test_var*"}}) check_reply( 'Get the values of all variables with the name matching "test_var*"', {"op": "reply", "requested_op": "get", "domain": "vars", "status": "OK", "return": { "vars": [{"name": "test_var1", "value": "new_value1"}, {"name": "test_var2", "value": "value2"}]}}) send_request({"op": "set", "domain": "vars", "args": {"name": "test_var2"}}) check_reply( 'Remove (unset) variable "test_var2"', {"op": "reply", "requested_op": "set", "domain": "vars", "status": "OK", "return": {"vars": [{"name": "test_var2"}]}}) send_request({"op": "get", "domain": "vars", "args": {"name": "test_var*"}}) check_reply( 'Get the values of all variables with the name matching "test_var*"', {"op": "reply", "requested_op": "get", "domain": "vars", "status": "OK", "return": {"vars": [{"name": "test_var1", "value": "new_value1"}]}}) send_request({"op": "get", "domain": "vars", "args": {"name": "nonexist_var"}}) check_reply( 'Requesting the value of a non-existent variable returns empty list', {"op": "reply", "requested_op": "get", "domain": "vars", "status": "OK", "return": {"vars": []}}) send_request({"op": "set", "domain": "actions_vars", "args": {"name": "test_actions_var1", "value": "value1"}}) check_reply( 'Set new actions variable "test_actions_var1"', {"op": "reply", "requested_op": "set", "domain": "actions_vars", "status": "OK", "return": {"actions_vars": [{"name": "test_actions_var1", "value": "value1"}]}}) send_request({"op": "set", "domain": "actions_vars", "args": {"name": "test_actions_var2", "value": "value2"}}) check_reply( 'Set new actions variable "test_actions_var2"', {"op": "reply", "requested_op": "set", "domain": "actions_vars", "status": "OK", "return": {"actions_vars": [{"name": "test_actions_var2", "value": "value2"}]}}) send_request({"op": "set", "domain": "actions_vars", "args": {"name": "test_actions_var1", "value": "new_value1"}}) check_reply( 'Change value of actions variable "test_actions_var1"', {"op": "reply", "requested_op": "set", "domain": "actions_vars", "status": "OK", "return": {"actions_vars": [{"name": "test_actions_var1", "value": "new_value1"}]}}) send_request({"op": "get", "domain": "actions_vars", "args": {"name": "test_actions_var*"}}) check_reply( 'Get the values of all actions variables with the name matching "test_actions_var*"', {"op": "reply", "requested_op": "get", "domain": "actions_vars", "status": "OK", "return": { "actions_vars": [{"name": "test_actions_var1", "value": "new_value1"}, {"name": "test_actions_var2", "value": "value2"}]}}) send_request({"op": "set", "domain": "actions_vars", "args": {"name": "test_actions_var2"}}) check_reply( 'Remove (unset) actions variable "test_actions_var2"', {"op": "reply", "requested_op": "set", "domain": "actions_vars", "status": "OK", "return": {"actions_vars": [{"name": "test_actions_var2"}]}}) send_request({"op": "get", "domain": "actions_vars", "args": {"name": "test_actions_var*"}}) check_reply( 'Get the values of all actions variables with the name matching "test_actions_var*"', {"op": "reply", "requested_op": "get", "domain": "actions_vars", "status": "OK", "return": {"actions_vars": [{"name": "test_actions_var1", "value": "new_value1"}]}}) send_request({"op": "get", "domain": "actions_vars", "args": {"name": "nonexist_var"}}) check_reply( 'Requesting the value of a non-existent actions variable returns empty list', {"op": "reply", "requested_op": "get", "domain": "actions_vars", "status": "OK", "return": {"actions_vars": []}}) send_request({"op": "get", "domain": "conf", "args": {"key": "countme"}}) check_reply( 'Get value of "countme" option', {"op": "reply", "requested_op": "get", "domain": "conf", "status": "OK", "return": {"keys_val": [{"key": "countme", "value": "0"}]}}) send_request({"op": "set", "domain": "conf", "args": {"key": "countme", "value": "1"}}) check_reply( 'Enable "countme" option', {"op": "reply", "requested_op": "set", "domain": "conf", "status": "OK", "return": {"keys_val": [{"key": "countme", "value": "1"}]}}) send_request({"op": "get", "domain": "conf", "args": {"key": "countme"}}) check_reply( 'Get value of "countme" option', {"op": "reply", "requested_op": "get", "domain": "conf", "status": "OK", "return": {"keys_val": [{"key": "countme", "value": "1"}]}}) """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_repos_configured.py" with # common/file.py:36 """ from json_test_utils import * send_request({"op": "get", "domain": "actions_vars", "args": {"name": "test_actions_var*"}}) check_reply( 'Get the values of all actions variables with the name matching "test_actions_var*" in next hook', {"op": "reply", "requested_op": "get", "domain": "actions_vars", "status": "OK", "return": {"actions_vars": [{"name": "test_actions_var1", "value": "new_value1"}]}}) send_request({"op": "set", "domain": "conf", "args": {"key": "dnf-ci-fedora*.enabled", "value": "1"}}) check_reply( 'Enable "dnf-ci-fedora*" repos', {"op": "reply", "requested_op": "set", "domain": "conf", "status": "OK", "return": { "keys_val": [{"key": "dnf-ci-fedora.enabled", "value": "1"}, {"key": "dnf-ci-fedora-updates.enabled", "value": "1"}]}}) send_request( {"op": "new", "domain": "repoconf", "args": { "keys_val": [{"key": "repo_id", "value": "test-repo"}, {"key": "name", "value": "Test repository"}, {"key": "enabled", "value": "false"}, {"key": "baseurl", "value": "https://xyz.com/rpm"}]}}) check_reply( 'Define new repo', {"op": "reply", "requested_op": "new", "domain": "repoconf", "status": "OK", "return": { "keys_val": [{"key": "repo_id", "value": "test-repo"}, {"key": "name", "value": "Test repository"}, {"key": "enabled", "value": "0"}, {"key": "baseurl", "value": "https://xyz.com/rpm"}]}}) send_request({"op": "get", "domain": "conf", "args": {"key": "*.enabled"}}) check_reply( 'Get "enable" for all repos', {"op": "reply", "requested_op": "get", "domain": "conf", "status": "OK", "return": { "keys_val": [{"key": "dnf-ci-fedora.enabled", "value": "1"}, {"key": "dnf-ci-fedora-updates.enabled", "value": "1"}, {"key": "dnf-ci-thirdparty.enabled", "value": "0"}, {"key": "test-repo.enabled", "value": "0"}]}}) send_request({"op": "log", "args": {"level": "TRACE", "message": "Test log message 1"}}) check_reply( 'Write TRACE to LOG', {"op": "reply", "requested_op": "log", "domain": "log", "status": "OK"}) send_request({"op": "log", "args": {"level": "DEBUG", "message": "Test log message 2"}}) check_reply( 'Write DEBUG to LOG', {"op": "reply", "requested_op": "log", "domain": "log", "status": "OK"}) send_request({"op": "log", "args": {"level": "INFO", "message": "Test log message 3"}}) check_reply( 'Write INFO to LOG', {"op": "reply", "requested_op": "log", "domain": "log", "status": "OK"}) send_request({"op": "log", "args": {"level": "NOTICE", "message": "Test log message 4"}}) check_reply( 'Write NOTICE to LOG', {"op": "reply", "requested_op": "log", "domain": "log", "status": "OK"}) send_request({"op": "log", "args": {"level": "WARNING", "message": "Test log message 5"}}) check_reply( 'Write WARNING to LOG', {"op": "reply", "requested_op": "log", "domain": "log", "status": "OK"}) send_request({"op": "log", "args": {"level": "ERROR", "message": "Test log message 6"}}) check_reply( 'Write ERROR to LOG', {"op": "reply", "requested_op": "log", "domain": "log", "status": "OK"}) send_request({"op": "log", "args": {"level": "CRITICAL", "message": "Test log message 7"}}) check_reply( 'Write CRITICAL to LOG', {"op": "reply", "requested_op": "log", "domain": "log", "status": "OK"}) send_request({"op": "log", "args": {"level": "BAD_LEVEL", "message": "Test log INFO message"}}) check_reply( 'Write BAD_LEVEL to LOG', {"op": "reply", "requested_op": "log", "domain": "log", "status": "ERROR", "message": "Unknown log level \"BAD_LEVEL\""}) send_request({"op": "bad_op", "domain": "conf", "args": {"key": "*.enabled"}}) check_reply( 'Request an unknown op', {"op": "reply", "requested_op": "bad_op", "status": "ERROR", "message": "Unknown operation \"bad_op\""}) send_request({"op": "get", "domain": "bad_domain", "args": {"key": "*.enabled"}}) check_reply( 'Request an unknown domain for \"get\" op', {"op": "reply", "requested_op": "get", "domain":"bad_domain", "status": "ERROR", "message": "Unknown domain \"bad_domain\" for operation \"get\""}) send_request({"op": "set", "domain": "bad_domain", "args": {"key": "*.enabled"}}) check_reply( 'Request an unknown domain for \"set\" op', {"op": "reply", "requested_op": "set", "domain":"bad_domain", "status": "ERROR", "message": "Unknown domain \"bad_domain\" for operation \"set\""}) send_request({"op": "new", "domain": "bad_domain", "args": {"key": "*.enabled"}}) check_reply( 'Request an unknown domain for \"new\" op', {"op": "reply", "requested_op": "new", "domain":"bad_domain", "status": "ERROR", "message": "Unknown domain \"bad_domain\" for operation \"new\""}) """ When I execute dnf with args "repo list --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ndr_5jwg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_ndr_5jwg/var/cache/dnf repo list --all And stdout is # None """ repo id repo name status dnf-ci-fedora DNF CI fedora base repository enabled dnf-ci-fedora-updates DNF CI fedora updates repository enabled dnf-ci-thirdparty DNF CI thirdparty repo, test disabled test-repo Test repository disabled """ And file "/actions.log" contents is # None """ Get the values of all action plugin attributes: OK Requesting the value of a non-existent actions plugin attribute returns empty list: OK Set new variable "test_var1": OK Set new variable "test_var2": OK Change value of variable "test_var1": OK Get the values of all variables with the name matching "test_var*": OK Remove (unset) variable "test_var2": OK Get the values of all variables with the name matching "test_var*": OK Requesting the value of a non-existent variable returns empty list: OK Set new actions variable "test_actions_var1": OK Set new actions variable "test_actions_var2": OK Change value of actions variable "test_actions_var1": OK Get the values of all actions variables with the name matching "test_actions_var*": OK Remove (unset) actions variable "test_actions_var2": OK Get the values of all actions variables with the name matching "test_actions_var*": OK Requesting the value of a non-existent actions variable returns empty list: OK Get value of "countme" option: OK Enable "countme" option: OK Get value of "countme" option: OK Get the values of all actions variables with the name matching "test_actions_var*" in next hook: OK Enable "dnf-ci-fedora*" repos: OK Define new repo: OK Get "enable" for all repos: OK Write TRACE to LOG: OK Write DEBUG to LOG: OK Write INFO to LOG: OK Write NOTICE to LOG: OK Write WARNING to LOG: OK Write ERROR to LOG: OK Write CRITICAL to LOG: OK Write BAD_LEVEL to LOG: OK Request an unknown op: OK Request an unknown domain for "get" op: OK Request an unknown domain for "set" op: OK Request an unknown domain for "new" op: OK """ And file "/var/log/dnf5.log" contains lines # None """ TRACE Actions plugin: .* Test log message 1 DEBUG Actions plugin: .* Test log message 2 INFO Actions plugin: .* Test log message 3 NOTICE Actions plugin: .* Test log message 4 WARNING Actions plugin: .* Test log message 5 ERROR Actions plugin: .* Test log message 6 CRITICAL Actions plugin: .* Test log message 7 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ndr_5jwg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_ndr_5jwg/var/cache/dnf repo list --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test get packages and get trans_packages # dnf/plugins-core/actions-json_mode.feature:382 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | countme | false | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_test_utils.py" with # common/file.py:36 """ import json import os import sys sys.path.append('dnf/steps') from lib.json import diff_json_pattern_values def send_request(request: dict): print(json.dumps(request), flush=True) def send_request_string(request: str): print(request, flush=True) return def check_reply(descr: str, expected: dict): reply_line = sys.stdin.readline() with open(sys.argv[1], 'a') as f: print(descr, end="", file=f) if not reply_line: if expected: print(': Error: No reply', file=f) else: print(': OK', file=f) return reply = json.loads(reply_line) diff = diff_json_pattern_values('', expected, reply) if diff: print(': Error:', diff, file=f) #print(reply_line, file=f) else: print(': OK', file=f) """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ repos_configured:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_repos_configured.py {context.dnf.installroot}/actions.log repos_loaded:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_repos_loaded.py {context.dnf.installroot}/actions.log pre_transaction:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_pre_trans.py {context.dnf.installroot}/actions.log """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_repos_configured.py" with # common/file.py:36 """ from json_test_utils import * send_request({"op": "set", "domain": "conf", "args": {"key": "dnf-ci-fedora-updates.enabled", "value": "1"}}) check_reply( 'Enable dnf-ci-fedora-updates repo', {"op": "reply", "requested_op": "set", "domain": "conf", "status": "OK", "return": { "keys_val": [{"key": "dnf-ci-fedora-updates.enabled", "value": "1"}]}}) """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_repos_loaded.py" with # common/file.py:36 """ from json_test_utils import * send_request( {"op": "get", "domain": "packages", "args": { "filters": [{"key": "name", "value": "f*", "operator": "GLOB"}, {"key": "version", "value": "1.3.3", "operator": "GTE"}], "output": ["name", "version", "arch", "release", "repo_id"]}}) check_reply( 'Get packages with name "f*" and version >= "1.3.3"', {"op": "reply", "requested_op": "get", "domain": "packages", "status": "OK", "return": {"packages": [ {"name": "flac", "arch": "src", "version": "1.3.3", "release": "1.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "flac", "arch": "x86_64", "version": "1.3.3", "release": "1.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "flac", "arch": "src", "version": "1.3.3", "release": "2.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "flac", "arch": "x86_64", "version": "1.3.3", "release": "2.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "flac", "arch": "src", "version": "1.3.3", "release": "3.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "flac", "arch": "x86_64", "version": "1.3.3", "release": "3.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "flac-libs", "arch": "x86_64", "version": "1.3.3", "release": "1.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "flac-libs", "arch": "x86_64", "version": "1.3.3", "release": "2.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "flac-libs", "arch": "x86_64", "version": "1.3.3", "release": "3.fc29", "repo_id": "dnf-ci-fedora-updates"}, {"name": "fedora-release", "arch": "noarch", "version": "29", "release": "1", "repo_id": "dnf-ci-fedora"}, {"name": "fedora-release", "arch": "src", "version": "29", "release": "1", "repo_id": "dnf-ci-fedora"}, {"name": "filesystem", "arch": "src", "version": "3.9", "release": "2.fc29", "repo_id": "dnf-ci-fedora"}, {"name": "filesystem", "arch": "x86_64", "version": "3.9", "release": "2.fc29", "repo_id": "dnf-ci-fedora"}, {"name": "filesystem-content", "arch": "x86_64", "version": "3.9", "release": "2.fc29", "repo_id": "dnf-ci-fedora"}]}}) send_request( {"op": "get", "domain": "packages", "args": { "filters": [{"key": "name", "value": "lame*", "operator": "GLOB"}], "output": ["nevra"]}}) check_reply( 'Get packages with name "lame*"', {"op": "reply", "requested_op": "get", "domain": "packages", "status": "OK", "return": {"packages": [ {"nevra": "lame-libs-3.100-5.fc29.x86_64"}, {"nevra": "lame-libs-3.100-4.fc29.x86_64"}]}}) send_request( {"op": "get", "domain": "packages", "args": { "params": [{"key": "IGNORE_EXCLUDES"}], "filters": [{"key": "name", "value": "lame*", "operator": "GLOB"}], "output": ["nevra"]}}) check_reply( 'Get packages with name "lame*", ignore excludes', {"op": "reply", "requested_op": "get", "domain": "packages", "status": "OK", "return": {"packages": [ { "nevra": "lame-3.100-5.fc29.src" }, { "nevra": "lame-3.100-5.fc29.x86_64" }, { "nevra": "lame-libs-3.100-5.fc29.x86_64" }, { "nevra": "lame-3.100-4.fc29.src" }, { "nevra": "lame-3.100-4.fc29.x86_64" }, { "nevra": "lame-libs-3.100-4.fc29.x86_64"}]}}) send_request( {"op": "get", "domain": "packages", "args": { "params": [{"key": "UNKNOWN"}], "filters": [{"key": "name", "value": "lame*", "operator": "GLOB"}], "output": ["nevra"]}}) check_reply( 'Get packages with name "lame*", use unknown key in params', {"op": "reply", "requested_op": "get", "domain": "packages", "status": "ERROR", "message": "Bad key \"UNKNOWN\" for params"}) send_request( {"op": "get", "domain": "packages", "args": { "filters": [{"key": "direction", "value": "IN"}], "output": ["nevra", "direction"]}}) check_reply( 'Get packages, use "direction" output outside "trans_packages" domain', {"op": "reply", "requested_op": "get", "domain": "packages", "status": "ERROR", "message": "Requested output \"direction\" outside the domain \"trans_packages\""}) send_request( {"op": "get", "domain": "packages", "args": { "filters": [{"key": "direction", "value": "IN"}], "output": ["nevra", "action"]}}) check_reply( 'Get packages, use "action" output outside "trans_packages" domain', {"op": "reply", "requested_op": "get", "domain": "packages", "status": "ERROR", "message": "Requested output \"action\" outside the domain \"trans_packages\""}) send_request( {"op": "get", "domain": "packages", "args": { "filters": [{"key": "direction", "value": "IN"}], "output": ["name"]}}) check_reply( 'Get packages, use "direction" filter outside "trans_packages" domain', {"op": "reply", "requested_op": "get", "domain": "packages", "status": "ERROR", "message": "Used \"direction\" filter outside the \"trans_packages\" domain"}) send_request( {"op": "get", "domain": "trans_packages", "args": { "filters": [{"key": "direction", "value": "IN"}], "output": ["nevra"]}}) check_reply( 'Get trans_packages outside "goal_resolved", "pre_transaction" and "post_transaction" hooks', {"op": "reply", "requested_op": "get", "domain": "trans_packages", "status": "ERROR", "message": "Domain \"trans_packages\" used outside the hooks \"goal_resolved\", \"pre_transaction\" and \"post_transaction\""}) """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_pre_trans.py" with # common/file.py:36 """ from json_test_utils import * send_request( {"op": "get", "domain": "trans_packages", "args": { "filters": [{"key": "direction", "value": "IN"}, {"key": "arch", "value": "x86_64"}], "output": ["action", "name", "version", "repo_id"]}}) check_reply( 'Get "IN" trans_packages with arch == "x86_64"', {"op": "reply", "requested_op": "get", "domain": "trans_packages", "status": "OK", "return": { "trans_packages": [ {"action": "I", "name": "glibc", "version": "2.28", "repo_id": "dnf-ci-fedora-updates"}, {"action": "I", "name": "glibc-all-langpacks", "version": "2.28", "repo_id": "dnf-ci-fedora-updates"}, {"action": "I", "name": "glibc-common", "version": "2.28", "repo_id": "dnf-ci-fedora-updates"}, {"action": "I", "name": "filesystem", "version": "3.9", "repo_id": "dnf-ci-fedora"}]}}) send_request( {"op": "get", "domain": "trans_packages", "args": { "filters": [{"key": "direction", "value": "OUT"}], "output": ["action", "name", "version", "repo_id"]}}) check_reply( 'Get "OUT" trans_packages', {"op": "reply", "requested_op": "get", "domain": "trans_packages", "status": "OK", "return": {"trans_packages": []}}) send_request( {"op": "get", "domain": "trans_packages", "args": { "filters": [{"key": "direction", "value": "UNKNOWN"}], "output": ["action", "name", "version", "repo_id"]}}) check_reply( 'Get trans_packages, unknown value for direction filter', {"op": "reply", "requested_op": "get", "domain": "trans_packages", "status": "ERROR", "message": "Bad \"UNKNOWN\" value for \"direction\" filter"}) send_request( {"op": "get", "domain": "trans_packages", "args": { "filters": [ {"key": "name", "value": "glibc"}, {"key": "arch", "value": "x86_64"}, {"key": "version", "value": "2.28"}, {"key": "release", "value": "26.fc29"}, {"key": "epoch", "value": "0"}, {"key": "nevra", "value": "glibc-0:2.28-26.fc29.x86_64"}, {"key": "repo_id", "value": "dnf-ci-fedora-updates"}], "output": ["action", "name", "version", "repo_id"]}}) check_reply( 'Get trans_packages, test filters', {"op": "reply", "requested_op": "get", "domain": "trans_packages", "status": "OK", "return": { "trans_packages": [ {"action": "I", "name": "glibc", "version": "2.28", "repo_id": "dnf-ci-fedora-updates"}]}}) send_request( {"op": "get", "domain": "trans_packages", "args": { "filters": [{"key": "name", "value": "glibc"}], "output": [ "direction", "action", "name", "arch", "unknown", "version", "release", "epoch", "na", "evr", "nevra", "full_nevra", "download_size", "install_size", "repo_id", "license", "location", "vendor"]}}) check_reply( 'Get attributes of "glibc" trans_package, unknown attribute is ignored', {"op": "reply", "requested_op": "get", "domain": "trans_packages", "status": "OK", "return": { "trans_packages": [ {"direction":"IN", "action": "I", "name": "glibc", "arch":"x86_64", "version": "2.28", "release":"26.fc29", "epoch":"0", "na":"glibc.x86_64", "evr":"2.28-26.fc29", "nevra":"glibc-2.28-26.fc29.x86_64", "full_nevra":"glibc-0:2.28-26.fc29.x86_64", "download_size":"*", "install_size":"*", "repo_id":"dnf-ci-fedora-updates", "license":"LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL", "location":"x86_64/glibc-2.28-26.fc29.x86_64.rpm", "vendor":""}]}}) send_request( {"op": "get", "domain": "trans_packages", "args": { "filters": [{"key": "unknown_key", "value": "x86_64"}], "output": ["action", "name", "version", "repo_id"]}}) check_reply( 'Get trans_packages, use unknown key in filters', {"op": "reply", "requested_op": "get", "domain": "trans_packages", "status": "ERROR", "message": "Unknown package filter key \"unknown_key\""}) send_request( {"op": "get", "domain": "trans_packages", "args": { "filters": [{"key": "name", "value": "glibc", "operator":"UNKNOWN_OPERATOR"}], "output": ["action", "name", "version", "repo_id"]}}) check_reply( 'Get trans_packages, use unknown compare operator in filters', {"op": "reply", "requested_op": "get", "domain": "trans_packages", "status": "ERROR", "message": "Bad compare operator \"UNKNOWN_OPERATOR\""}) """ When I execute dnf with args "--exclude=lame install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0t8_y_af --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_0t8_y_af/var/cache/dnf --exclude=lame install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-26.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | install-dep | glibc-common-0:2.28-26.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | And file "/actions.log" contents is # None """ Enable dnf-ci-fedora-updates repo: OK Get packages with name "f*" and version >= "1.3.3": OK Get packages with name "lame*": OK Get packages with name "lame*", ignore excludes: OK Get packages with name "lame*", use unknown key in params: OK Get packages, use "direction" output outside "trans_packages" domain: OK Get packages, use "action" output outside "trans_packages" domain: OK Get packages, use "direction" filter outside "trans_packages" domain: OK Get trans_packages outside "goal_resolved", "pre_transaction" and "post_transaction" hooks: OK Get "IN" trans_packages with arch == "x86_64": OK Get "OUT" trans_packages: OK Get trans_packages, unknown value for direction filter: OK Get trans_packages, test filters: OK Get attributes of "glibc" trans_package, unknown attribute is ignored: OK Get trans_packages, use unknown key in filters: OK Get trans_packages, use unknown compare operator in filters: OK """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0t8_y_af --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_0t8_y_af/var/cache/dnf --exclude=lame install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test get paths of command line packages # dnf/plugins-core/actions-json_mode.feature:635 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | countme | false | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_test_utils.py" with # common/file.py:36 """ import json import os import sys sys.path.append('dnf/steps') from lib.json import diff_json_pattern_values def send_request(request: dict): print(json.dumps(request), flush=True) def send_request_string(request: str): print(request, flush=True) return def check_reply(descr: str, expected: dict): reply_line = sys.stdin.readline() with open(sys.argv[1], 'a') as f: print(descr, end="", file=f) if not reply_line: if expected: print(': Error: No reply', file=f) else: print(': OK', file=f) return reply = json.loads(reply_line) diff = diff_json_pattern_values('', expected, reply) if diff: print(': Error:', diff, file=f) #print(reply_line, file=f) else: print(': OK', file=f) """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ pre_add_cmdline_packages:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_pre_add_cmdline_packages.py {context.dnf.installroot}/actions.log """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_pre_add_cmdline_packages.py" with # common/file.py:36 """ from json_test_utils import * send_request( {"op": "get", "domain": "cmdline_packages_paths", "args": {"filters": [{"key": "path", "value": "/local2/*", "operator": "GLOB"}]}}) check_reply( 'Get paths of all cmdline packages with the path matching "/local2/*"', {"op": "reply", "requested_op": "get", "domain": "cmdline_packages_paths", "status": "OK", "return": {"cmdline_packages_paths": ["/local2/packageB.rpm", "/local2/packageC.rpm"]}}) """ When I execute dnf with args "repoquery /local1/packageA.rpm /local2/packageB.rpm /local2/packageC.rpm" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6hykfn3x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_6hykfn3x/var/cache/dnf repoquery /local1/packageA.rpm /local2/packageB.rpm /local2/packageC.rpm And file "/actions.log" contents is # None """ Get paths of all cmdline packages with the path matching "/local2/*": OK """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6hykfn3x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_6hykfn3x/var/cache/dnf repoquery /local1/packageA.rpm /local2/packageB.rpm /local2/packageC.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test syntax errors (missing attributes, incorrect json, truncated - incomplete input) in json requests # dnf/plugins-core/actions-json_mode.feature:663 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | countme | false | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_test_utils.py" with # common/file.py:36 """ import json import os import sys sys.path.append('dnf/steps') from lib.json import diff_json_pattern_values def send_request(request: dict): print(json.dumps(request), flush=True) def send_request_string(request: str): print(request, flush=True) return def check_reply(descr: str, expected: dict): reply_line = sys.stdin.readline() with open(sys.argv[1], 'a') as f: print(descr, end="", file=f) if not reply_line: if expected: print(': Error: No reply', file=f) else: print(': OK', file=f) return reply = json.loads(reply_line) diff = diff_json_pattern_values('', expected, reply) if diff: print(': Error:', diff, file=f) #print(reply_line, file=f) else: print(': OK', file=f) """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ pre_base_setup:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_pre_base_setup.py {context.dnf.installroot}/actions.log post_base_setup:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_post_base_setup.py {context.dnf.installroot}/actions.log repos_configured:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_repos_configured.py {context.dnf.installroot}/actions.log """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_pre_base_setup.py" with # common/file.py:36 """ from json_test_utils import * send_request({"domain":"vars", "args": {"name": "test_var1", "value": "value1"}}) check_reply( 'Missing "op"', {"op": "reply", "status": "ERROR", "message": "Key \"op\" not found"}) send_request({"op": "set", "args": {"name": "test_var1", "value": "value1"}}) check_reply( 'Missing "domain" for "set" op', {"op": "reply", "requested_op": "set", "status": "ERROR", "message": "Key \"domain\" not found"}) # Send json structure with missing starting '{' send_request_string('"op": "set", "args": {"name": "test_var1", "value": "val') check_reply("Missing starting '{' char", {}) """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_post_base_setup.py" with # common/file.py:36 """ from json_test_utils import * # Send invalid json structure send_request_string('{"op": "set", "", "args": {"name": "test_var1", "value": "val') check_reply("Invalid json structure", {}) """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_repos_configured.py" with # common/file.py:36 """ from json_test_utils import * # Send incomplete json structure and close output send_request_string('{"op": "set", "args": {"name": "test_var1", "value": "val') os.close(1) check_reply("Incomplete input", {}) """ When I execute dnf with args "repoquery dwm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dkybfcvc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_dkybfcvc/var/cache/dnf repoquery dwm And file "/actions.log" contents is # None """ Missing "op": OK Missing "domain" for "set" op: OK Missing starting '{' char: OK Invalid json structure: OK Incomplete input: OK """ And file "/var/log/dnf5.log" contains lines # None """ Syntax error in json request .* Missing starting '{' char Syntax error in json request .* expected Syntax error in json request .* Incomplete input """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dkybfcvc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_dkybfcvc/var/cache/dnf repoquery dwm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "error" action message (JSON mode) # dnf/plugins-core/actions-json_mode.feature:731 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | countme | false | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_test_utils.py" with # common/file.py:36 """ import json import os import sys sys.path.append('dnf/steps') from lib.json import diff_json_pattern_values def send_request(request: dict): print(json.dumps(request), flush=True) def send_request_string(request: str): print(request, flush=True) return def check_reply(descr: str, expected: dict): reply_line = sys.stdin.readline() with open(sys.argv[1], 'a') as f: print(descr, end="", file=f) if not reply_line: if expected: print(': Error: No reply', file=f) else: print(': OK', file=f) return reply = json.loads(reply_line) diff = diff_json_pattern_values('', expected, reply) if diff: print(': Error:', diff, file=f) #print(reply_line, file=f) else: print(': OK', file=f) """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ repos_configured:::mode=json:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_error1.py {context.dnf.installroot}/actions.log repos_configured:::mode=json raise_error=0:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_error2.py {context.dnf.installroot}/actions.log repos_configured:::mode=json raise_error=1:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_error3.py {context.dnf.installroot}/actions.log """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_error1.py" with # common/file.py:36 """ from json_test_utils import * send_request({"op": "error", "args": {"message": "Error in action process 1"}}) check_reply( 'Sent "error" message, no "raise_error" defined', {"op": "reply", "requested_op": "error", "domain": "error", "status": "OK"}) """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_error2.py" with # common/file.py:36 """ from json_test_utils import * send_request({"op": "error", "args": {"message": "Error in action process 2"}}) check_reply( 'Sent "error" message, "raise_error=0"', {"op": "reply", "requested_op": "error", "domain": "error", "status": "OK"}) """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_error3.py" with # common/file.py:36 """ from json_test_utils import * send_request({"op": "error", "args": {"message": "Error in action process 3"}}) check_reply( 'Sent "error" message, "raise_error=1"', {"op": "reply", "requested_op": "error", "domain": "error", "status": "OK"}) """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yb4_88uw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_yb4_88uw/var/cache/dnf repo list And file "/actions.log" contents is # None """ Sent "error" message, no "raise_error" defined: OK Sent "error" message, "raise_error=0": OK Sent "error" message, "raise_error=1": Error: No reply """ And stderr contains "Action sent error message: Error in action process 3" # None And file "/var/log/dnf5.log" contains lines # None """ ERROR Actions plugin: .* Action sent error message: Error in action process 1 ERROR Actions plugin: .* Action sent error message: Error in action process 2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yb4_88uw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_yb4_88uw/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "stop" action request (JSON mode) # dnf/plugins-core/actions-json_mode.feature:788 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | countme | false | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_test_utils.py" with # common/file.py:36 """ import json import os import sys sys.path.append('dnf/steps') from lib.json import diff_json_pattern_values def send_request(request: dict): print(json.dumps(request), flush=True) def send_request_string(request: str): print(request, flush=True) return def check_reply(descr: str, expected: dict): reply_line = sys.stdin.readline() with open(sys.argv[1], 'a') as f: print(descr, end="", file=f) if not reply_line: if expected: print(': Error: No reply', file=f) else: print(': OK', file=f) return reply = json.loads(reply_line) diff = diff_json_pattern_values('', expected, reply) if diff: print(': Error:', diff, file=f) #print(reply_line, file=f) else: print(': OK', file=f) """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ repos_configured:::mode=json raise_error=1:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_stop.py {context.dnf.installroot}/actions.log """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_stop.py" with # common/file.py:36 """ from json_test_utils import * send_request({"op": "stop", "args": {"message": "I want to stop the task"}}) check_reply( 'Sent "stop" request', {"op": "reply", "requested_op": "stop", "domain": "stop", "status": "OK"}) """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yrbe_rpy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_yrbe_rpy/var/cache/dnf repo list And file "/actions.log" contents is # None """ Sent "stop" request: Error: No reply """ And stderr contains "Action calls for stop: I want to stop the task" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yrbe_rpy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_yrbe_rpy/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "stop" action request (JSON mode), must thrown exception even with "raise_error=0" # dnf/plugins-core/actions-json_mode.feature:815 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | countme | false | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_test_utils.py" with # common/file.py:36 """ import json import os import sys sys.path.append('dnf/steps') from lib.json import diff_json_pattern_values def send_request(request: dict): print(json.dumps(request), flush=True) def send_request_string(request: str): print(request, flush=True) return def check_reply(descr: str, expected: dict): reply_line = sys.stdin.readline() with open(sys.argv[1], 'a') as f: print(descr, end="", file=f) if not reply_line: if expected: print(': Error: No reply', file=f) else: print(': OK', file=f) return reply = json.loads(reply_line) diff = diff_json_pattern_values('', expected, reply) if diff: print(': Error:', diff, file=f) #print(reply_line, file=f) else: print(': OK', file=f) """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ repos_configured:::mode=json raise_error=0:/bin/python3 {context.dnf.installroot}/etc/dnf/libdnf5-plugins/actions.d/json_hook_stop.py {context.dnf.installroot}/actions.log """ And I create file "/etc/dnf/libdnf5-plugins/actions.d/json_hook_stop.py" with # common/file.py:36 """ from json_test_utils import * send_request({"op": "stop", "args": {"message": "I want to stop the task"}}) check_reply( 'Sent "stop" request', {"op": "reply", "requested_op": "stop", "domain": "stop", "status": "OK"}) """ When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e8bi_gj2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_e8bi_gj2/var/cache/dnf repo list And file "/actions.log" contents is # None """ Sent "stop" request: Error: No reply """ And stderr contains "Action calls for stop: I want to stop the task" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e8bi_gj2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_e8bi_gj2/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/actions-json_mode.feature:72 Test actions_attrs, variables, actions_variables, configuration options, repos options, defining new repository, logging dnf/plugins-core/actions-json_mode.feature:382 Test get packages and get trans_packages dnf/plugins-core/actions-json_mode.feature:635 Test get paths of command line packages dnf/plugins-core/actions-json_mode.feature:663 Test syntax errors (missing attributes, incorrect json, truncated - incomplete input) in json requests dnf/plugins-core/actions-json_mode.feature:731 Testing the "error" action message (JSON mode) dnf/plugins-core/actions-json_mode.feature:788 Testing the "stop" action request (JSON mode) dnf/plugins-core/actions-json_mode.feature:815 Testing the "stop" action request (JSON mode), must thrown exception even with "raise_error=0" 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 77 steps passed, 7 failed, 15 skipped Took 0min 0.614s USING RUNNER: behave.runner:Runner @not.with_dnf=4 Feature: Tests for actions plugin # dnf/plugins-core/actions.feature:2 @not.with_dnf=4 Feature: Tests for actions plugin # dnf/plugins-core/actions.feature:2 Scenario: Test substitutions and settings of libdnf variables, configuration options and actions plugin temporary variables # dnf/plugins-core/actions.feature:28 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Print the value of the configuration option "defaultyes" pre_base_setup::::/bin/sh -c echo\ 'pre_base_setup:\ conf.defaultyes=${{conf.defaultyes}}'\ >>\ {context.dnf.installroot}/actions.log # A substitution will take place. The resulting action is the same as the previous one, it is filtered out. pre_base_setup::::/bin/sh -c echo\ 'pre_base_setup:\ conf.defaultyes=${{conf.defaultyes}}'\ >>\ {context.dnf.installroot}/actions.log # Create libdnf variable "test1" with value "Value1", # set configuration option "defaultyes" to 'true', # create temporary actions plugin variable "test_variable" with value "Value2" pre_base_setup::::/bin/sh -c echo\ -e\ "var.test1=Value1\\nconf.defaultyes=true\\ntmp.test_variable=Value2" # Print value of: libdnf variable "test1", configuration option "defaultyes", plugin temporary variable "test_variable" post_base_setup::::/bin/sh -c echo\ 'post_base_setup:\ var.test1=${{var.test1}}\ conf.defaultyes=${{conf.defaultyes}}\ tmp.test_variable=${{tmp.test_variable}}'\ >>\ {context.dnf.installroot}/actions.log # Delete temporary plugin variable "test_variable" post_base_setup::::/bin/sh -c echo\ -e\ "tmp.test_variable" # Nothing will be done. We cannot print the value of the plugin's temporary variable "test_variable" because it does not exist - it was deleted by a previous action. post_base_setup::::/bin/sh -c echo\ 'post_base_setup:\ tmp.test_variable=${{tmp.test_variable}}'\ >>\ {context.dnf.installroot}/actions.log # Print the value of the libdnf variable "releasever" post_base_setup::::/bin/sh -c echo\ 'post_base_setup:\ var.releasever=${{var.releasever}}'\ >>\ {context.dnf.installroot}/actions.log # Create temporary actions plugin variable "test_variable" with value "Value_set_in_pre_transaction" pre_transaction::::/bin/sh -c echo\ -e\ "tmp.test_variable=Value_set_in_pre_transaction" # Print a line for each package in the transaction - before executing the transaction pre_transaction:*:::/bin/sh -c echo\ 'pre_transaction:\ ${{pkg.action}}\ ${{pkg.name}}-${{pkg.epoch}}:${{pkg.version}}-${{pkg.release}}.${{pkg.arch}}\ repo\ ${{pkg.repo_id}}'\ >>\ {context.dnf.installroot}/actions.log # Print a line for each package in the transaction - after the transaction post_transaction:*:::/bin/sh -c echo\ 'post_transaction:\ ${{pkg.action}}\ ${{pkg.full_nevra}}\ repo\ ${{pkg.repo_id}}'\ >>\ {context.dnf.installroot}/actions.log # Print value of the temporary plugin variable "test_variable" post_transaction::::/bin/sh -c echo\ 'post_transaction:\ tmp.test_variable=${{tmp.test_variable}}'\ >>\ {context.dnf.installroot}/actions.log """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n5pxr4hm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_n5pxr4hm/var/cache/dnf install setup And Transaction is following # None | Action | Package | | install | setup-0:2.12.1-1.fc29.noarch | And file "/actions.log" contents is # None """ pre_base_setup: conf.defaultyes=0 post_base_setup: var.test1=Value1 conf.defaultyes=1 tmp.test_variable=Value2 post_base_setup: var.releasever=29 pre_transaction: I setup-0:2.12.1-1.fc29.noarch repo dnf-ci-fedora post_transaction: I setup-0:2.12.1-1.fc29.noarch repo dnf-ci-fedora post_transaction: tmp.test_variable=Value_set_in_pre_transaction """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n5pxr4hm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_n5pxr4hm/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test substitutions and settings of repository options - the order of repositories in the list corresponds to their load order (random) # dnf/plugins-core/actions.feature:82 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Prints name of dnf-ci-fedora repository. repos_configured::::/usr/bin/sh -c echo\ 'pre_base_setup:\ "dnf-ci-fedora"\ repository\ name\ is:\ ${{conf.dnf-ci-fedora.name}}'\ >>\ {context.dnf.installroot}/actions.log # Prints a list of all configured repositories with their enable state. repos_configured::::/usr/bin/sh -c echo\ 'pre_base_setup:\ repositories:\ ${{conf.*.enabled}}'\ >>\ {context.dnf.installroot}/actions.log # Prints a list of configured repositories with "fedora" substring in the repository id with their enable state. repos_configured::::/usr/bin/sh -c echo\ 'pre_base_setup:\ repositories\ with\ "fedora"\ in\ id:\ ${{conf.*fedora*.enabled}}'\ >>\ {context.dnf.installroot}/actions.log # Prints a list of enabled repositories. repos_configured::::/usr/bin/sh -c echo\ 'pre_base_setup:\ enabled\ repositories:\ ${{conf.*.enabled=1}}'\ >>\ {context.dnf.installroot}/actions.log # Prints a list of enabled repositories with "fedora" substring in the repository id with their enable state. repos_configured::::/usr/bin/sh -c echo\ 'pre_base_setup:\ enabled\ repositories\ with\ "fedora"\ in\ id:\ ${{conf.*fedora*.enabled=1}}'\ >>\ {context.dnf.installroot}/actions.log # Prints a list of configured repositories with "thirdparty" substring in the repository name with their name. Escaped char in name ','. repos_configured::::/usr/bin/sh -c echo\ 'pre_base_setup:\ repositories\ with\ "thirdparty"\ in\ name:\ ${{conf.*.name=*thirdparty*}}'\ >>\ {context.dnf.installroot}/actions.log # Prints a list of configured repositories with "CI fedora" substring in the repository name with their name. repos_configured::::/usr/bin/sh -c echo\ 'pre_base_setup:\ repositories\ with\ "CI\ fedora"\ in\ name:\ ${{conf.*.name=*CI\ fedora*}}'\ >>\ {context.dnf.installroot}/actions.log # Disable all repositories repos_configured::::/usr/bin/sh -c echo\ 'conf.*.enabled=0' # Enable repository "dnf-ci-thirdparty" repos_configured::::/usr/bin/sh -c echo\ 'conf.dnf-ci-thirdparty.enabled=1' # Prints a list of enabled repositories. repos_configured::::/usr/bin/sh -c echo\ 'pre_base_setup:\ enabled\ repositories:\ ${{conf.*.enabled=1}}'\ >>\ {context.dnf.installroot}/actions.log """ When I execute dnf with args "repo list --all" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bm1vx62s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_bm1vx62s/var/cache/dnf repo list --all And stdout is # None """ repo id repo name status dnf-ci-fedora DNF CI fedora base repository disabled dnf-ci-fedora-updates DNF CI fedora updates repository disabled dnf-ci-thirdparty DNF CI thirdparty repo, test enabled """ And file "/actions.log" matches line by line # None """ pre_base_setup: "dnf-ci-fedora" repository name is: dnf-ci-fedora.name=DNF CI fedora base repository ?pre_base_setup: repositories: dnf-ci-fedora.enabled=1,dnf-ci-fedora-updates.enabled=0,dnf-ci-thirdparty.enabled=0 ?pre_base_setup: repositories: dnf-ci-fedora-updates.enabled=0,dnf-ci-fedora.enabled=1,dnf-ci-thirdparty.enabled=0 ?pre_base_setup: repositories: dnf-ci-fedora.enabled=1,dnf-ci-thirdparty.enabled=0,dnf-ci-fedora-updates.enabled=0 ?pre_base_setup: repositories: dnf-ci-fedora-updates.enabled=0,dnf-ci-thirdparty.enabled=0,dnf-ci-fedora.enabled=1 ?pre_base_setup: repositories: dnf-ci-thirdparty.enabled=0,dnf-ci-fedora.enabled=1,dnf-ci-fedora-updates.enabled=0 ?pre_base_setup: repositories: dnf-ci-thirdparty.enabled=0,dnf-ci-fedora-updates.enabled=0,dnf-ci-fedora.enabled=1 ?pre_base_setup: repositories with "fedora" in id: dnf-ci-fedora.enabled=1,dnf-ci-fedora-updates.enabled=0 ?pre_base_setup: repositories with "fedora" in id: dnf-ci-fedora-updates.enabled=0,dnf-ci-fedora.enabled=1 pre_base_setup: enabled repositories: dnf-ci-fedora.enabled=1 pre_base_setup: enabled repositories with "fedora" in id: dnf-ci-fedora.enabled=1 pre_base_setup: repositories with "thirdparty" in name: dnf-ci-thirdparty.name=DNF CI thirdparty repo\\x2C test ?pre_base_setup: repositories with "CI fedora" in name: dnf-ci-fedora.name=DNF CI fedora base repository,dnf-ci-fedora-updates.name=DNF CI fedora updates repository ?pre_base_setup: repositories with "CI fedora" in name: dnf-ci-fedora-updates.name=DNF CI fedora updates repository,dnf-ci-fedora.name=DNF CI fedora base repository pre_base_setup: enabled repositories: dnf-ci-thirdparty.enabled=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bm1vx62s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_bm1vx62s/var/cache/dnf repo list --all  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can filter on package or file: "/etc/ld.so.conf" -- @1.1 # dnf/plugins-core/actions.feature:166 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ pre_transaction:/etc/ld.so.conf:::/bin/sh -c echo\ '${{pkg.action}}\ ${{pkg.full_nevra}}\ repo\ ${{pkg.repo_id}}'\ >>\ {context.dnf.installroot}/actions.log """ When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ev6xnh5f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_ev6xnh5f/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | And file "/actions.log" contents is # None """ I glibc-0:2.28-9.fc29.x86_64 repo dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ev6xnh5f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_ev6xnh5f/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can filter on package or file: "/etc/ld*conf" -- @1.2 # dnf/plugins-core/actions.feature:167 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ pre_transaction:/etc/ld*conf:::/bin/sh -c echo\ '${{pkg.action}}\ ${{pkg.full_nevra}}\ repo\ ${{pkg.repo_id}}'\ >>\ {context.dnf.installroot}/actions.log """ When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1k6nu9gn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_1k6nu9gn/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | And file "/actions.log" contents is # None """ I glibc-0:2.28-9.fc29.x86_64 repo dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1k6nu9gn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_1k6nu9gn/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can filter on package or file: "glibc" -- @1.3 # dnf/plugins-core/actions.feature:168 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ pre_transaction:glibc:::/bin/sh -c echo\ '${{pkg.action}}\ ${{pkg.full_nevra}}\ repo\ ${{pkg.repo_id}}'\ >>\ {context.dnf.installroot}/actions.log """ When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n1s40dpg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_n1s40dpg/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | And file "/actions.log" contents is # None """ I glibc-0:2.28-9.fc29.x86_64 repo dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n1s40dpg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_n1s40dpg/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can filter on package or file: "g*c" -- @1.4 # dnf/plugins-core/actions.feature:169 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ pre_transaction:g*c:::/bin/sh -c echo\ '${{pkg.action}}\ ${{pkg.full_nevra}}\ repo\ ${{pkg.repo_id}}'\ >>\ {context.dnf.installroot}/actions.log """ When I execute dnf with args "install glibc" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_le6dmvfx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_le6dmvfx/var/cache/dnf install glibc And Transaction is following # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | | install-dep | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install-dep | glibc-common-0:2.28-9.fc29.x86_64 | | install-dep | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | basesystem-0:11-6.fc29.noarch | And file "/actions.log" contents is # None """ I glibc-0:2.28-9.fc29.x86_64 repo dnf-ci-fedora """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_le6dmvfx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_le6dmvfx/var/cache/dnf install glibc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can filter on transaction direction - inbound/outbound -- @1.1 # dnf/plugins-core/actions.feature:189 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ post_transaction:*:::/bin/sh -c echo\ '${{pkg.action}}\ ${{pkg.name}}'\ >>\ {context.dnf.installroot}/actions.log """ And I create file "/actions.log" with # common/file.py:36 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kkvj2tzg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_kkvj2tzg/var/cache/dnf install setup And file "/actions.log" contents is # None """ I setup """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kkvj2tzg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_kkvj2tzg/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can filter on transaction direction - inbound/outbound -- @1.2 # dnf/plugins-core/actions.feature:190 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ post_transaction:*:in::/bin/sh -c echo\ '${{pkg.action}}\ ${{pkg.name}}'\ >>\ {context.dnf.installroot}/actions.log """ And I create file "/actions.log" with # common/file.py:36 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0tnks0li --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_0tnks0li/var/cache/dnf install setup And file "/actions.log" contents is # None """ I setup """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0tnks0li --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_0tnks0li/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: I can filter on transaction direction - inbound/outbound -- @1.3 # dnf/plugins-core/actions.feature:191 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ post_transaction:*:out::/bin/sh -c echo\ '${{pkg.action}}\ ${{pkg.name}}'\ >>\ {context.dnf.installroot}/actions.log """ And I create file "/actions.log" with # common/file.py:36 When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i5rb75c1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_i5rb75c1/var/cache/dnf install setup And file "/actions.log" contents is # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i5rb75c1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_i5rb75c1/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reason change is in transaction # dnf/plugins-core/actions.feature:194 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ pre_transaction:*:::/bin/sh -c echo\ '${{pkg.action}}\ ${{pkg.full_nevra}}\ repo\ ${{pkg.repo_id}}'\ >>\ {context.dnf.installroot}/actions.log """ And I use repository "installonly" # dnf/steps/repo.py:186 And I configure dnf with # dnf/steps/config.py:12 | key | value | | installonlypkgs | installonlyA | | installonly_limit | 2 | When I execute dnf with args "install installonlyA-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3vwe05rb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_3vwe05rb/var/cache/dnf install installonlyA-1.0 And Transaction is following # None | Action | Package | | install | installonlyA-1.0-1.x86_64 | And file "/actions.log" contents is # None """ I installonlyA-0:1.0-1.x86_64 repo installonly """ Given I delete file "/actions.log" # None And I execute dnf with args "install installonlyA-2.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyA-2.0-1.x86_64 | And file "/actions.log" contents is # None """ I installonlyA-0:2.0-1.x86_64 repo installonly """ Given I delete file "/actions.log" # None And I execute dnf with args "mark dependency installonlyA-2.0" # None And I execute dnf with args "install installonlyA-2.2" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonlyA-2.2-1.x86_64 | | remove | installonlyA-1.0-1.x86_64 | And file "/actions.log" contains lines # None """ E installonlyA-0:1.0-1.x86_64 repo @System C installonlyA-0:2.0-1.x86_64 repo @System I installonlyA-0:2.2-1.x86_64 repo installonly """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3vwe05rb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_3vwe05rb/var/cache/dnf install installonlyA-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "raise_error" and a non-existent action process file # dnf/plugins-core/actions.feature:239 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Error logged. repos_configured::::/bin/non-existed ab c repos_configured:::raise_error=0:/bin/non-existed d ef # Exception thrown. repos_configured:::raise_error=1:/bin/non-existed xy z """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q3m_vptx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_q3m_vptx/var/cache/dnf install setup And stderr contains "Cannot execute action, command \"/bin/non-existed\" arguments \"xy z\"" # None And file "/var/log/dnf5.log" contains lines # None """ ERROR Actions plugin: .* Cannot execute action, command "/bin/non-existed" arguments "ab c" ERROR Actions plugin: .* Cannot execute action, command "/bin/non-existed" arguments "d ef" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q3m_vptx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_q3m_vptx/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "raise_error" option and exit codes # dnf/plugins-core/actions.feature:259 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Zero exit code. Success. No error was logged and no exception was thrown. repos_configured::::/bin/sh -c exit\ 0 repos_configured:::raise_error=0:/bin/sh -c exit\ 0 repos_configured:::raise_error=1:/bin/sh -c exit\ 0 # Non-zero exit code. Error logged. repos_configured::::/bin/sh -c exit\ 1 repos_configured:::raise_error=0:/bin/sh -c exit\ 2 # Non-zero exit code. Exception thrown. repos_configured:::raise_error=1:/bin/sh -c exit\ 3 """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cg70fo1w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_cg70fo1w/var/cache/dnf install setup And stderr contains "Exit code: 3" # None And file "/var/log/dnf5.log" does not contain lines # None """ ERROR Actions plugin: .* Exit code: 0 """ And file "/var/log/dnf5.log" contains lines # None """ ERROR Actions plugin: .* Exit code: 1 ERROR Actions plugin: .* Exit code: 2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cg70fo1w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_cg70fo1w/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "raise_error" option and failed to process the output line in plain communication mode # dnf/plugins-core/actions.feature:288 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Error logged. repos_configured::::/bin/sh -c echo\ "conf.nonexist_option=1" repos_configured:::raise_error=0:/bin/sh -c echo\ "conf.nonexist_option=2" # Exception thrown. repos_configured:::raise_error=1:/bin/sh -c echo\ "conf.nonexist_option=3" """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fwub9g18 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_fwub9g18/var/cache/dnf install setup And stderr contains "Cannot set option: Action output line: conf.nonexist_option=3" # None And file "/var/log/dnf5.log" contains lines # None """ ERROR Actions plugin: .* Cannot set option: Action output line: conf.nonexist_option=1 ERROR Actions plugin: .* Cannot set option: Action output line: conf.nonexist_option=2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fwub9g18 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_fwub9g18/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "error" action message # dnf/plugins-core/actions.feature:308 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Error logged. repos_configured::::/bin/sh -c echo\ "error=Error\ in\ action\ process\ 1" repos_configured:::raise_error=0:/bin/sh -c echo\ "error=Error\ in\ action\ process\ 2" # Exception thrown. repos_configured:::raise_error=1:/bin/sh -c echo\ "error=Error\ in\ action\ process\ 3" """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aqtzi495 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_aqtzi495/var/cache/dnf install setup And stderr contains "Action sent error message: Error in action process 3" # None And file "/var/log/dnf5.log" contains lines # None """ ERROR Actions plugin: .* Action sent error message: Error in action process 1 ERROR Actions plugin: .* Action sent error message: Error in action process 2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aqtzi495 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_aqtzi495/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "stop" action request # dnf/plugins-core/actions.feature:328 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Exception thrown. repos_configured:::raise_error=1:/bin/sh -c echo\ "stop=I\ want\ to\ stop\ the\ task" """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3cfbolu3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_3cfbolu3/var/cache/dnf install setup And stderr contains "Action calls for stop: I want to stop the task" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3cfbolu3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_3cfbolu3/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "stop" action request, must thrown exception even with "raise_error=0" # dnf/plugins-core/actions.feature:339 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Exception thrown. repos_configured:::raise_error=0:/bin/sh -c echo\ "stop=I\ want\ to\ stop\ the\ task" """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ulr95ex9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_ulr95ex9/var/cache/dnf install setup And stderr contains "Action calls for stop: I want to stop the task" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ulr95ex9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_ulr95ex9/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Testing the "log" action request # dnf/plugins-core/actions.feature:350 Given I enable plugin "actions" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/actions.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I use repository "dnf-ci-fedora" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora base repository | | enabled | 1 | And I use repository "dnf-ci-fedora-updates" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI fedora updates repository | | enabled | 0 | And I use repository "dnf-ci-thirdparty" with configuration # dnf/steps/repo.py:212 | key | value | | name | DNF CI thirdparty repo, test | | enabled | 0 | Given I create and substitute file "/etc/dnf/libdnf5-plugins/actions.d/test.actions" with # common/file.py:43 """ # Error logged. repos_configured::::/bin/sh -c echo\ "log.TRACE=Test\ log\ message\ 1" repos_configured::::/bin/sh -c echo\ "log.DEBUG=Test\ log\ message\ 2" repos_configured::::/bin/sh -c echo\ "log.INFO=Test\ log\ message\ 3" repos_configured::::/bin/sh -c echo\ "log.NOTICE=Test\ log\ message\ 4" repos_configured::::/bin/sh -c echo\ "log.WARNING=Test\ log\ message\ 5" repos_configured::::/bin/sh -c echo\ "log.ERROR=Test\ log\ message\ 6" repos_configured::::/bin/sh -c echo\ "log.CRITICAL=Test\ log\ message\ 7" repos_configured:::raise_error=0:/bin/sh -c echo\ "log.BAD_LEVEL=Test\ log\ message\ 8" # Exception thrown. repos_configured:::raise_error=1:/bin/sh -c echo\ "log.BAD_LEVEL=Test\ log\ message\ 9" """ When I execute dnf with args "install setup" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w3f89bnc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_w3f89bnc/var/cache/dnf install setup And stderr contains "Action sent the wrong log level: log.BAD_LEVEL=Test log message 9" # None And file "/var/log/dnf5.log" contains lines # None """ TRACE Actions plugin: .* Test log message 1 DEBUG Actions plugin: .* Test log message 2 INFO Actions plugin: .* Test log message 3 NOTICE Actions plugin: .* Test log message 4 WARNING Actions plugin: .* Test log message 5 ERROR Actions plugin: .* Test log message 6 CRITICAL Actions plugin: .* Test log message 7 ERROR Actions plugin: .* Action sent the wrong log level: log.BAD_LEVEL=Test log message 8 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w3f89bnc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='actions' --setopt=cachedir=/tmp/dnf_ci_installroot_w3f89bnc/var/cache/dnf install setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/actions.feature:28 Test substitutions and settings of libdnf variables, configuration options and actions plugin temporary variables dnf/plugins-core/actions.feature:82 Test substitutions and settings of repository options - the order of repositories in the list corresponds to their load order (random) dnf/plugins-core/actions.feature:166 I can filter on package or file: "/etc/ld.so.conf" -- @1.1 dnf/plugins-core/actions.feature:167 I can filter on package or file: "/etc/ld*conf" -- @1.2 dnf/plugins-core/actions.feature:168 I can filter on package or file: "glibc" -- @1.3 dnf/plugins-core/actions.feature:169 I can filter on package or file: "g*c" -- @1.4 dnf/plugins-core/actions.feature:189 I can filter on transaction direction - inbound/outbound -- @1.1 dnf/plugins-core/actions.feature:190 I can filter on transaction direction - inbound/outbound -- @1.2 dnf/plugins-core/actions.feature:191 I can filter on transaction direction - inbound/outbound -- @1.3 dnf/plugins-core/actions.feature:194 Reason change is in transaction dnf/plugins-core/actions.feature:239 Testing the "raise_error" and a non-existent action process file dnf/plugins-core/actions.feature:259 Testing the "raise_error" option and exit codes dnf/plugins-core/actions.feature:288 Testing the "raise_error" option and failed to process the output line in plain communication mode dnf/plugins-core/actions.feature:308 Testing the "error" action message dnf/plugins-core/actions.feature:328 Testing the "stop" action request dnf/plugins-core/actions.feature:339 Testing the "stop" action request, must thrown exception even with "raise_error=0" dnf/plugins-core/actions.feature:350 Testing the "log" action request 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 17 failed, 0 skipped 141 steps passed, 17 failed, 41 skipped Took 0min 1.012s USING RUNNER: behave.runner:Runner @not.with_dnf=4 Feature: Tests for BuildConflicts support in builddep command # dnf/plugins-core/builddep-conflicts.feature:2 Scenario Outline: Builddep command does not install conflicting weak dependency using spec -- @1.1 # dnf/plugins-core/builddep-conflicts.feature:18 Given I use repository "dnf-ci-builddep" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/specs/dnf-ci-builddep/with-build-conflict-1.0-1.spec" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vrpmmbfy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vrpmmbfy/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-builddep/with-build-conflict-1.0-1.spec And Transaction is following # None | Action | Package | | install | build-requirement-a-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vrpmmbfy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vrpmmbfy/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-builddep/with-build-conflict-1.0-1.spec  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Builddep command does not install conflicting weak dependency using srpm -- @1.2 # dnf/plugins-core/builddep-conflicts.feature:19 Given I use repository "dnf-ci-builddep" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/repos/dnf-ci-builddep/src/with-build-conflict-1.0-1.src.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__hqwib7i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__hqwib7i/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-builddep/src/with-build-conflict-1.0-1.src.rpm And Transaction is following # None | Action | Package | | install | build-requirement-a-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__hqwib7i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__hqwib7i/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-builddep/src/with-build-conflict-1.0-1.src.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Builddep command does not install conflicting weak dependency using package -- @1.3 # dnf/plugins-core/builddep-conflicts.feature:20 Given I use repository "dnf-ci-builddep" # dnf/steps/repo.py:186 When I execute dnf with args "builddep with-build-conflict" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_szn5o_qx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_szn5o_qx/var/cache/dnf builddep with-build-conflict And Transaction is following # None | Action | Package | | install | build-requirement-a-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_szn5o_qx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_szn5o_qx/var/cache/dnf builddep with-build-conflict  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Builddep command remove conflicting package using spec -- @1.1 # dnf/plugins-core/builddep-conflicts.feature:36 Given I use repository "dnf-ci-builddep" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install weak-dependency" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cy8sopau --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cy8sopau/var/cache/dnf install weak-dependency When I execute dnf with args "builddep {context.dnf.fixturesdir}/specs/dnf-ci-builddep/with-build-conflict-1.0-1.spec" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | build-requirement-a-0:1.0-1.x86_64 | | remove | weak-dependency-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cy8sopau --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cy8sopau/var/cache/dnf install weak-dependency  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Builddep command remove conflicting package using srpm -- @1.2 # dnf/plugins-core/builddep-conflicts.feature:37 Given I use repository "dnf-ci-builddep" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install weak-dependency" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_64zdv6g9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_64zdv6g9/var/cache/dnf install weak-dependency When I execute dnf with args "builddep {context.dnf.fixturesdir}/repos/dnf-ci-builddep/src/with-build-conflict-1.0-1.src.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | build-requirement-a-0:1.0-1.x86_64 | | remove | weak-dependency-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_64zdv6g9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_64zdv6g9/var/cache/dnf install weak-dependency  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Builddep command remove conflicting package using package -- @1.3 # dnf/plugins-core/builddep-conflicts.feature:38 Given I use repository "dnf-ci-builddep" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install weak-dependency" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hvdt_s5t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hvdt_s5t/var/cache/dnf install weak-dependency When I execute dnf with args "builddep with-build-conflict" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | build-requirement-a-0:1.0-1.x86_64 | | remove | weak-dependency-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hvdt_s5t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hvdt_s5t/var/cache/dnf install weak-dependency  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/builddep-conflicts.feature:18 Builddep command does not install conflicting weak dependency using spec -- @1.1 dnf/plugins-core/builddep-conflicts.feature:19 Builddep command does not install conflicting weak dependency using srpm -- @1.2 dnf/plugins-core/builddep-conflicts.feature:20 Builddep command does not install conflicting weak dependency using package -- @1.3 dnf/plugins-core/builddep-conflicts.feature:36 Builddep command remove conflicting package using spec -- @1.1 dnf/plugins-core/builddep-conflicts.feature:37 Builddep command remove conflicting package using srpm -- @1.2 dnf/plugins-core/builddep-conflicts.feature:38 Builddep command remove conflicting package using package -- @1.3 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 9 steps passed, 6 failed, 12 skipped Took 0min 0.272s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: Tests for builddep command on modular system # dnf/plugins-core/builddep-modularity.feature:3 @not.with_os=rhel__ge__11 Feature: Tests for builddep command on modular system # dnf/plugins-core/builddep-modularity.feature:3 Scenario: Builddep installs non-modular build requirements # dnf/plugins-core/builddep-modularity.feature:15 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/repos/dnf-ci-builddep/src/build-requires-ninja-build-1.0-1.src.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kozkq1pj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kozkq1pj/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-builddep/src/build-requires-ninja-build-1.0-1.src.rpm And Transaction is following # None | Action | Package | | install | ninja-build-0:1.8.2-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kozkq1pj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kozkq1pj/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-builddep/src/build-requires-ninja-build-1.0-1.src.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1677583 Scenario: Builddep preferes default stream over other streams / non-modular content even though the version is older # dnf/plugins-core/builddep-modularity.feature:26 @bz1677583 Scenario: Builddep preferes enabled stream over other streams / non-modular content even though the version is older # dnf/plugins-core/builddep-modularity.feature:37 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "module enable ninja:legacy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk8b502m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk8b502m/var/cache/dnf module enable ninja:legacy When I execute dnf with args "builddep {context.dnf.fixturesdir}/repos/dnf-ci-builddep/src/build-requires-ninja-build-1.0-1.src.rpm" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | ninja-build-0:1.5.2-1.module_1991+4e5efe2f.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk8b502m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk8b502m/var/cache/dnf module enable ninja:legacy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @1677583 Scenario: Builddep reports error where required package is available only in non-enabled non-default stream # dnf/plugins-core/builddep-modularity.feature:50 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-modular" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/repos/dnf-ci-builddep/src/build-requires-ninja-build-0.5-1.src.rpm" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9mdu9o_g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9mdu9o_g/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-builddep/src/build-requires-ninja-build-0.5-1.src.rpm And stderr is # None """ Failed to resolve the transaction: Argument 'ninja-build < 1.6' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9mdu9o_g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9mdu9o_g/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-builddep/src/build-requires-ninja-build-0.5-1.src.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1677583 Scenario: Builddep preferes hotfix repo over the default stream # dnf/plugins-core/builddep-modularity.feature:67 @xfail @bz1677583 Scenario: Builddep preferes hotfix repo over the enabled stream # dnf/plugins-core/builddep-modularity.feature:84 @xfail @bz1758459 Scenario: I call dnf builddep with --best on a spec file with a modular dependency (tests handling modular excludes) # dnf/plugins-core/builddep-modularity.feature:103 Failing scenarios: dnf/plugins-core/builddep-modularity.feature:15 Builddep installs non-modular build requirements dnf/plugins-core/builddep-modularity.feature:37 Builddep preferes enabled stream over other streams / non-modular content even though the version is older dnf/plugins-core/builddep-modularity.feature:50 Builddep reports error where required package is available only in non-enabled non-default stream 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 4 skipped 8 steps passed, 3 failed, 31 skipped Took 0min 0.315s USING RUNNER: behave.runner:Runner Feature: dnf builddep command # dnf/plugins-core/builddep.feature:1 Scenario: Dnf builddep can use spec file from a remote location # dnf/plugins-core/builddep.feature:4 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create directory "/remotedir" # common/file.py:30 And I create file "/remotedir/pkg.spec" with # common/file.py:36 """ Name: pkg Version: 1 Release: 1 Summary: summary License: license BuildRequires: filesystem %description desc """ And I set up a http server for directory "/remotedir" # dnf/steps/cmd.py:219 When I execute dnf with args "builddep http://localhost:{context.dnf.ports[/remotedir]}/pkg.spec" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ebsdamng --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ebsdamng/var/cache/dnf builddep http://localhost:46255/pkg.spec And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ebsdamng --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ebsdamng/var/cache/dnf builddep http://localhost:46255/pkg.spec  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep with simple dependency (spec) # dnf/plugins-core/builddep.feature:29 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vdyecjc2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vdyecjc2/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec And Transaction is following # None | Action | Package | | install | lame-libs-0:3.100-4.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vdyecjc2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vdyecjc2/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep with simple dependency (spec) + define # dnf/plugins-core/builddep.feature:38 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires flac'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u8r57f8r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u8r57f8r/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires flac' And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u8r57f8r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u8r57f8r/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires flac'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep with simple dependency (srpm) # dnf/plugins-core/builddep.feature:47 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/src/SuperRipper-1.0-1.src.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7eo63fw2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7eo63fw2/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-thirdparty/src/SuperRipper-1.0-1.src.rpm And Transaction is following # None | Action | Package | | install | lame-libs-0:3.100-4.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7eo63fw2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7eo63fw2/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-thirdparty/src/SuperRipper-1.0-1.src.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__eq__7 Scenario: Builddep with rich dependency # dnf/plugins-core/builddep.feature:57 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires (flac and lame-libs)'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ernxw5sd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ernxw5sd/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires (flac and lame-libs)' And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | lame-libs-0:3.100-4.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ernxw5sd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ernxw5sd/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires (flac and lame-libs)'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep with simple dependency (files-like provide) # dnf/plugins-core/builddep.feature:67 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires /etc/ld.so.conf'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9l8r03dw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9l8r03dw/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires /etc/ld.so.conf' And Transaction contains # None | Action | Package | | install | glibc-0:2.28-9.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9l8r03dw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9l8r03dw/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires /etc/ld.so.conf'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep with simple dependency (non-existent) # dnf/plugins-core/builddep.feature:76 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires flac = 15'" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_px_8i6f0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_px_8i6f0/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires flac = 15' And stderr is # None """ Failed to resolve the transaction: No match for argument: flac = 15 You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_px_8i6f0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_px_8i6f0/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/specs/dnf-ci-thirdparty/SuperRipper-1.0-1.spec --define 'buildrequires flac = 15'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1724668 Scenario: Builddep on SPEC with non-available Source0 # dnf/plugins-core/builddep.feature:91 Given I create file "{context.dnf.installroot}/missingSource.spec" with # common/file.py:36 """ Name: dummy-pkg Summary: dummy-pkg summary Version: 1.0 Release: 1 License: GPL Source0: no-such-archive.tar.gz %description This is a dummy-pkg description %build %files %changelog """ When I execute dnf with args "builddep {context.dnf.installroot}/missingSource.spec" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_54ib5qzd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_54ib5qzd/var/cache/dnf builddep /tmp/dnf_ci_installroot_54ib5qzd/missingSource.spec And stderr matches line by line # None """ error: Unable to open .*/missingSource.spec: No such file or directory Failed to parse spec file ".*/missingSource.spec". Failed to parse some inputs. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_54ib5qzd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_54ib5qzd/var/cache/dnf builddep /tmp/dnf_ci_installroot_54ib5qzd/missingSource.spec  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1758459 Scenario: I exclude the highest verion of a package and call dnf builddep with --best # dnf/plugins-core/builddep.feature:118 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I create file "dummy-pkg.spec" with # common/file.py:36 """ Name: dummy-pkg Summary: dummy-pkg summary Version: 1.0 Release: 1 License: GPL BuildRequires: flac %description This is a dummy-pkg description %build %files %changelog """ When I execute dnf with args "builddep {context.dnf.installroot}/dummy-pkg.spec --exclude flac-1.3.3-3.fc29 --best" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0h8sa8mx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0h8sa8mx/var/cache/dnf builddep /tmp/dnf_ci_installroot_0h8sa8mx/dummy-pkg.spec --exclude flac-1.3.3-3.fc29 --best And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-2.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0h8sa8mx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0h8sa8mx/var/cache/dnf builddep /tmp/dnf_ci_installroot_0h8sa8mx/dummy-pkg.spec --exclude flac-1.3.3-3.fc29 --best  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1628634 Scenario: Builddep with unavailable build dependency # dnf/plugins-core/builddep.feature:142 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep {context.dnf.fixturesdir}/repos/dnf-ci-builddep/src/unavailable-requirement-1.0-1.src.rpm" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ulphh0g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ulphh0g/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-builddep/src/unavailable-requirement-1.0-1.src.rpm And stderr is # None """ Failed to resolve the transaction: No match for argument: this-lib-is-not-available You can try to add to command line: --skip-unavailable to skip unavailable packages """ When I execute dnf with args "builddep --skip-unavailable {context.dnf.fixturesdir}/repos/dnf-ci-builddep/src/unavailable-requirement-1.0-1.src.rpm" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | lame-libs-0:3.100-4.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ulphh0g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ulphh0g/var/cache/dnf builddep /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-builddep/src/unavailable-requirement-1.0-1.src.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2077820 Scenario: Builddep using macros with source rpm # dnf/plugins-core/builddep.feature:162 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "builddep -D 'dummy_param 1' {context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/src/SuperRipper-1.0-1.src.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wjh95c82 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wjh95c82/var/cache/dnf builddep -D 'dummy_param 1' /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-thirdparty/src/SuperRipper-1.0-1.src.rpm And stderr contains lines # None """ Warning: -D/--define/--with/--without arguments have no effect on source rpm packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wjh95c82 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wjh95c82/var/cache/dnf builddep -D 'dummy_param 1' /opt/ci/dnf-behave-tests/fixtures/repos/dnf-ci-thirdparty/src/SuperRipper-1.0-1.src.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep where package BuildRequires a pkg spec that contains glob characters # dnf/plugins-core/builddep.feature:172 Given I use repository "builddep" # dnf/steps/repo.py:186 When I execute dnf with args "builddep requires-glob" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sgyrd7tm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sgyrd7tm/var/cache/dnf builddep requires-glob And Transaction is following # None | Action | Package | | install | provides-glob-0:1-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sgyrd7tm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sgyrd7tm/var/cache/dnf builddep requires-glob  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep respects --with option # dnf/plugins-core/builddep.feature:181 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/pkg.spec" with # common/file.py:36 """ # disabled foo %bcond_with foo Name: pkg Version: 1 Release: 1 Summary: summary License: license %if %{with foo} BuildRequires: filesystem %endif %description desc """ When I execute dnf with args "builddep {context.dnf.installroot}/pkg.spec" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sojwldyg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sojwldyg/var/cache/dnf builddep /tmp/dnf_ci_installroot_sojwldyg/pkg.spec And Transaction is empty # None When I execute dnf with args "builddep {context.dnf.installroot}/pkg.spec --with foo" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sojwldyg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sojwldyg/var/cache/dnf builddep /tmp/dnf_ci_installroot_sojwldyg/pkg.spec  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep respects --without option # dnf/plugins-core/builddep.feature:212 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/pkg.spec" with # common/file.py:36 """ # enabled foo %bcond_without foo Name: pkg Version: 1 Release: 1 Summary: summary License: license %if %{without foo} BuildRequires: filesystem %endif %description desc """ When I execute dnf with args "builddep {context.dnf.installroot}/pkg.spec" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk0jfa37 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk0jfa37/var/cache/dnf builddep /tmp/dnf_ci_installroot_qk0jfa37/pkg.spec And Transaction is empty # None When I execute dnf with args "builddep {context.dnf.installroot}/pkg.spec --without foo" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk0jfa37 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk0jfa37/var/cache/dnf builddep /tmp/dnf_ci_installroot_qk0jfa37/pkg.spec  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Builddep respects both --with and --without option # dnf/plugins-core/builddep.feature:243 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/pkg.spec" with # common/file.py:36 """ # enabled foo %bcond_without foo # disabled bar %bcond_with bar Name: pkg Version: 1 Release: 1 Summary: summary License: license %if %{without foo} BuildRequires: dwm %endif %if %{with bar} BuildRequires: wget %endif %description desc """ When I execute dnf with args "builddep {context.dnf.installroot}/pkg.spec" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e7r8fyng --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e7r8fyng/var/cache/dnf builddep /tmp/dnf_ci_installroot_e7r8fyng/pkg.spec And Transaction is empty # None When I execute dnf with args "builddep {context.dnf.installroot}/pkg.spec --without foo --with bar " # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | dwm-0:6.1-1.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e7r8fyng --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e7r8fyng/var/cache/dnf builddep /tmp/dnf_ci_installroot_e7r8fyng/pkg.spec  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: User can specify parameter type using --spec option # dnf/plugins-core/builddep.feature:280 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I create file "/pkg.spec.in" with # common/file.py:36 """ Name: pkg Version: 1 Release: 1 Summary: summary License: license BuildRequires: filesystem %description desc """ When I execute dnf with args "builddep --spec {context.dnf.installroot}/pkg.spec.in" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wez_62tx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wez_62tx/var/cache/dnf builddep --spec /tmp/dnf_ci_installroot_wez_62tx/pkg.spec.in And Transaction is following # None | Action | Package | | install | filesystem-0:3.9-2.fc29.x86_64 | | install-dep | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wez_62tx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wez_62tx/var/cache/dnf builddep --spec /tmp/dnf_ci_installroot_wez_62tx/pkg.spec.in  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: User can specify parameter type using --srpm option # dnf/plugins-core/builddep.feature:303 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I copy file "{context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/src/SuperRipper-1.0-1.src.rpm" to "/SuperRipper-1.0-1.src.rpm.unknown.extension" # common/file.py:157 When I execute dnf with args "builddep --srpm {context.dnf.installroot}/SuperRipper-1.0-1.src.rpm.unknown.extension" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xlv0b7p4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xlv0b7p4/var/cache/dnf builddep --srpm /tmp/dnf_ci_installroot_xlv0b7p4/SuperRipper-1.0-1.src.rpm.unknown.extension And Transaction is following # None | Action | Package | | install | lame-libs-0:3.100-4.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xlv0b7p4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xlv0b7p4/var/cache/dnf builddep --srpm /tmp/dnf_ci_installroot_xlv0b7p4/SuperRipper-1.0-1.src.rpm.unknown.extension  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/builddep.feature:4 Dnf builddep can use spec file from a remote location dnf/plugins-core/builddep.feature:29 Builddep with simple dependency (spec) dnf/plugins-core/builddep.feature:38 Builddep with simple dependency (spec) + define dnf/plugins-core/builddep.feature:47 Builddep with simple dependency (srpm) dnf/plugins-core/builddep.feature:57 Builddep with rich dependency dnf/plugins-core/builddep.feature:67 Builddep with simple dependency (files-like provide) dnf/plugins-core/builddep.feature:76 Builddep with simple dependency (non-existent) dnf/plugins-core/builddep.feature:91 Builddep on SPEC with non-available Source0 dnf/plugins-core/builddep.feature:118 I exclude the highest verion of a package and call dnf builddep with --best dnf/plugins-core/builddep.feature:142 Builddep with unavailable build dependency dnf/plugins-core/builddep.feature:162 Builddep using macros with source rpm dnf/plugins-core/builddep.feature:172 Builddep where package BuildRequires a pkg spec that contains glob characters dnf/plugins-core/builddep.feature:181 Builddep respects --with option dnf/plugins-core/builddep.feature:212 Builddep respects --without option dnf/plugins-core/builddep.feature:243 Builddep respects both --with and --without option dnf/plugins-core/builddep.feature:280 User can specify parameter type using --spec option dnf/plugins-core/builddep.feature:303 User can specify parameter type using --srpm option 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 17 failed, 0 skipped 43 steps passed, 17 failed, 29 skipped Took 0min 1.091s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-7zb5rwxb', '/mp-2f5eudvl', '/mp-g7fngb9x', '/mp-bv4r_g89', '/mp-kk368_7j', '/mp-sddfucwy'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: dnf changelog command # dnf/plugins-core/changelog.feature:1 Feature: dnf changelog command # dnf/plugins-core/changelog.feature:1 Scenario: Listing changelogs since given date # dnf/plugins-core/changelog.feature:8 Given I use repository "dnf-ci-changelog" # dnf/steps/repo.py:186 When I execute dnf with args "changelog pkg-with-changelogs --since 2023-01-01" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bwunn_dm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bwunn_dm/var/cache/dnf changelog pkg-with-changelogs --since 2023-01-01 And stderr is # None """ """ And stdout is # None """ Listing changelogs since Sun Jan 1 00:00:00 2023 Changelogs for pkg-with-changelogs-1.0-3.src, pkg-with-changelogs-1.0-3.x86_64 * Mon May 01 12:00:00 2023 DNF5 Team - 1.0-3 - New downstream release 1.0-3 * Fri Jan 20 12:00:00 2023 DNF5 Team - 1.0-2 - New downstream release 1.0-2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bwunn_dm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bwunn_dm/var/cache/dnf changelog pkg-with-changelogs --since 2023-01-01  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Passing invalid format to the --since option # dnf/plugins-core/changelog.feature:27 Given I use repository "dnf-ci-changelog" # dnf/steps/repo.py:186 When I execute dnf with args "changelog pkg-with-changelogs --since ABCDE" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ Invalid date passed: "ABCDE". Dates in "YYYY-MM-DD" format are expected. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: Invalid date passed: "ABCDE". Dates in "YYYY-MM-DD" format are expected. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found Invalid date passed: "ABCDE". Dates in "YYYY-MM-DD" format are expected. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b3_uucu8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b3_uucu8/var/cache/dnf changelog pkg-with-changelogs --since ABCDE  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/changelog.feature:8 Listing changelogs since given date dnf/plugins-core/changelog.feature:27 Passing invalid format to the --since option 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 5 steps passed, 2 failed, 2 skipped Took 0min 0.134s USING RUNNER: behave.runner:Runner Feature: dnf "config-manager" command - test "add-vendor-policy" subcommand # dnf/plugins-core/config-manager-add-vendor-policy.feature:1 Scenario: test "add-vendor-policy" from --policy, destination directory exists # dnf/plugins-core/config-manager-add-vendor-policy.feature:4 Given I create directory "/etc/dnf/vendors.d/" # common/file.py:30 When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\"" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jas3ww7r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jas3ww7r/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" And stderr is # None """ Created vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jas3ww7r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jas3ww7r/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy" from --policy, with --create-missing-dir, destination directory exists # dnf/plugins-core/config-manager-add-vendor-policy.feature:24 Given I create directory "/etc/dnf/vendors.d/" # common/file.py:30 When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xv54nvc7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xv54nvc7/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir And stderr is # None """ Created vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xv54nvc7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xv54nvc7/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy" from --policy, destination directory does not exist # dnf/plugins-core/config-manager-add-vendor-policy.feature:44 When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\"" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0wngmwia --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0wngmwia/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" And stderr contains "No such file or directory" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0wngmwia --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0wngmwia/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\"  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy" from --policy, with --create-missing-dir, destination directory does not exist # dnf/plugins-core/config-manager-add-vendor-policy.feature:50 When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b__zd4ab --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b__zd4ab/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir And stderr is # None """ Created vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b__zd4ab --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b__zd4ab/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy" from local file, with --create-missing-dir, destination directory does not exist # dnf/plugins-core/config-manager-add-vendor-policy.feature:69 Given I create file "/{context.dnf.tempdir}/tmp/vpolicy.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --from-tomlfile={context.dnf.tempdir}/tmp/vpolicy.conf --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_csic3q9m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_csic3q9m/var/cache/dnf config-manager add-vendor-policy --name=test --from-tomlfile=/tmp/dnf_ci_tempdir__p8xgtqi/tmp/vpolicy.conf --create-missing-dir And stderr is # None """ Saved vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_csic3q9m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_csic3q9m/var/cache/dnf config-manager add-vendor-policy --name=test --from-tomlfile=/tmp/dnf_ci_tempdir__p8xgtqi/tmp/vpolicy.conf --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy" from local file via file:///, with --create-missing-dir, destination directory does not exist # dnf/plugins-core/config-manager-add-vendor-policy.feature:98 Given I create file "/{context.dnf.tempdir}/tmp/vpolicy.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --from-tomlfile=file://{context.dnf.tempdir}/tmp/vpolicy.conf --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ewn85snf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ewn85snf/var/cache/dnf config-manager add-vendor-policy --name=test --from-tomlfile=file:///tmp/dnf_ci_tempdir_pzpx1jtm/tmp/vpolicy.conf --create-missing-dir And stderr contains "Saved vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf" # None And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ewn85snf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ewn85snf/var/cache/dnf config-manager add-vendor-policy --name=test --from-tomlfile=file:///tmp/dnf_ci_tempdir_pzpx1jtm/tmp/vpolicy.conf --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy" from remote file via http://, with --create-missing-dir, destination directory does not exist # dnf/plugins-core/config-manager-add-vendor-policy.feature:124 Given I create directory "/remotedir" # common/file.py:30 And I create file "/remotedir/vpolicy.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ And I set up a http server for directory "/remotedir" # dnf/steps/cmd.py:219 When I execute dnf with args "config-manager add-vendor-policy --name=test --from-tomlfile=http://localhost:{context.dnf.ports[/remotedir]}/vpolicy.conf --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8alto3w1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8alto3w1/var/cache/dnf config-manager add-vendor-policy --name=test --from-tomlfile=http://localhost:35639/vpolicy.conf --create-missing-dir And stderr contains "Saved vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf" # None And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8alto3w1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8alto3w1/var/cache/dnf config-manager add-vendor-policy --name=test --from-tomlfile=http://localhost:35639/vpolicy.conf --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", fail because distribution policy exists # dnf/plugins-core/config-manager-add-vendor-policy.feature:152 Given I create file "/usr/share/dnf5/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "distrib_new_vendor" [[outgoing_vendors]] vendor = "distrib_old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5sl5fvil --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5sl5fvil/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir And stderr contains "Distribution policy "test" already exists. Use \"--allow-mask\" to allow masking it." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5sl5fvil --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5sl5fvil/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", use --allow-mask, distribution policy exists # dnf/plugins-core/config-manager-add-vendor-policy.feature:168 Given I create file "/usr/share/dnf5/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "distrib_new_vendor" [[outgoing_vendors]] vendor = "distrib_old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-mask --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a_s_n8_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a_s_n8_0/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-mask --create-missing-dir And stderr is # None """ Created vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf Masked distribution policy file: {context.dnf.installroot}/usr/share/dnf5/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a_s_n8_0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a_s_n8_0/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-mask --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", use --mask, distribution policy exists # dnf/plugins-core/config-manager-add-vendor-policy.feature:198 Given I create file "/usr/share/dnf5/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "distrib_new_vendor" [[outgoing_vendors]] vendor = "distrib_old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --mask --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dcprnmev --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dcprnmev/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --mask --create-missing-dir And stderr is # None """ Created vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf Masked distribution policy file: {context.dnf.installroot}/usr/share/dnf5/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dcprnmev --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dcprnmev/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --mask --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", use --mask, fail because distribution policy does not exist # dnf/plugins-core/config-manager-add-vendor-policy.feature:228 When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --mask --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f1wurx8m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f1wurx8m/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --mask --create-missing-dir And stderr contains "Cannot add policy: option "--mask" requires masking a distribution policy, but no distribution policy named "test" exists." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f1wurx8m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f1wurx8m/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --mask --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", fail because policy exists # dnf/plugins-core/config-manager-add-vendor-policy.feature:234 Given I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "distrib_new_vendor" [[outgoing_vendors]] vendor = "distrib_old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ezb9qfsw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ezb9qfsw/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir And stderr contains "{context.dnf.installroot}/etc/dnf/vendors.d/test.conf\" already exists. Use \"--allow-replace\" to allow replacing it." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ezb9qfsw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ezb9qfsw/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", use --allow-replace, policy exists # dnf/plugins-core/config-manager-add-vendor-policy.feature:250 Given I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "distrib_new_vendor" [[outgoing_vendors]] vendor = "distrib_old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-replace --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wcn3txdb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wcn3txdb/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-replace --create-missing-dir And stderr is # None """ Replaced vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wcn3txdb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wcn3txdb/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-replace --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", use --replace, policy exists # dnf/plugins-core/config-manager-add-vendor-policy.feature:279 Given I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "distrib_new_vendor" [[outgoing_vendors]] vendor = "distrib_old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --replace --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2___rmwb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2___rmwb/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --replace --create-missing-dir And stderr is # None """ Replaced vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2___rmwb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2___rmwb/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --replace --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", use --replace, fail because policy does not exist # dnf/plugins-core/config-manager-add-vendor-policy.feature:308 When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --replace --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_83hbfili --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_83hbfili/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --replace --create-missing-dir And stderr contains "Cannot add policy: option "--replace" requires replacing an existing system policy, but no system policy file named "test" exists." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_83hbfili --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_83hbfili/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --replace --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy", use --allow-replace, distribution and system policies exist # dnf/plugins-core/config-manager-add-vendor-policy.feature:314 Given I create file "/usr/share/dnf5/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "distrib_new_vendor" [[outgoing_vendors]] vendor = "distrib_old_vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "distrib_new_vendor" [[outgoing_vendors]] vendor = "distrib_old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-replace --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l33d_zb2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l33d_zb2/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-replace --create-missing-dir And stderr is # None """ Replaced vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf Masked distribution policy file: {context.dnf.installroot}/usr/share/dnf5/vendors.d/test.conf """ And file "/etc/dnf/vendors.d/test.conf" contents is # None """ version = '1.2' [[incoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l33d_zb2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l33d_zb2/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",out:\"old_vendor\" --allow-replace --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy" from --policy, with invalid policy string # dnf/plugins-core/config-manager-add-vendor-policy.feature:354 When I execute dnf with args "config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",,out:\"old_vendor\" --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_zgdlwk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_zgdlwk/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",,out:\"old_vendor\" --create-missing-dir And stderr is # None """ Failed to add vendor policy Compact vendor change policy parse error in "text:COMMAND LINE" at position 16 Expected direction prefix 'in', 'out', or 'eq' """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z_zgdlwk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z_zgdlwk/var/cache/dnf config-manager add-vendor-policy --name=test --policy=in:\"new_vendor\",,out:\"old_vendor\" --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "add-vendor-policy" from local TOML file, with invalid content # dnf/plugins-core/config-manager-add-vendor-policy.feature:365 Given I create file "/{context.dnf.tempdir}/tmp/vpolicy.conf" with # common/file.py:36 """ version = '1.2' [[xincoming_vendors]] vendor = "new_vendor" [[outgoing_vendors]] vendor = "old_vendor" """ When I execute dnf with args "config-manager add-vendor-policy --name=test --from-tomlfile={context.dnf.tempdir}/tmp/vpolicy.conf --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6cxhdgf0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6cxhdgf0/var/cache/dnf config-manager add-vendor-policy --name=test --from-tomlfile=/tmp/dnf_ci_tempdir_f3bn1skl/tmp/vpolicy.conf --create-missing-dir And stderr is # None """ Failed to add vendor policy Unknown key 'xincoming_vendors' in "file://{context.dnf.tempdir}/tmp/vpolicy.conf" on line 3 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6cxhdgf0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6cxhdgf0/var/cache/dnf config-manager add-vendor-policy --name=test --from-tomlfile=/tmp/dnf_ci_tempdir_f3bn1skl/tmp/vpolicy.conf --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/config-manager-add-vendor-policy.feature:4 test "add-vendor-policy" from --policy, destination directory exists dnf/plugins-core/config-manager-add-vendor-policy.feature:24 test "add-vendor-policy" from --policy, with --create-missing-dir, destination directory exists dnf/plugins-core/config-manager-add-vendor-policy.feature:44 test "add-vendor-policy" from --policy, destination directory does not exist dnf/plugins-core/config-manager-add-vendor-policy.feature:50 test "add-vendor-policy" from --policy, with --create-missing-dir, destination directory does not exist dnf/plugins-core/config-manager-add-vendor-policy.feature:69 test "add-vendor-policy" from local file, with --create-missing-dir, destination directory does not exist dnf/plugins-core/config-manager-add-vendor-policy.feature:98 test "add-vendor-policy" from local file via file:///, with --create-missing-dir, destination directory does not exist dnf/plugins-core/config-manager-add-vendor-policy.feature:124 test "add-vendor-policy" from remote file via http://, with --create-missing-dir, destination directory does not exist dnf/plugins-core/config-manager-add-vendor-policy.feature:152 test "add-vendor-policy", fail because distribution policy exists dnf/plugins-core/config-manager-add-vendor-policy.feature:168 test "add-vendor-policy", use --allow-mask, distribution policy exists dnf/plugins-core/config-manager-add-vendor-policy.feature:198 test "add-vendor-policy", use --mask, distribution policy exists dnf/plugins-core/config-manager-add-vendor-policy.feature:228 test "add-vendor-policy", use --mask, fail because distribution policy does not exist dnf/plugins-core/config-manager-add-vendor-policy.feature:234 test "add-vendor-policy", fail because policy exists dnf/plugins-core/config-manager-add-vendor-policy.feature:250 test "add-vendor-policy", use --allow-replace, policy exists dnf/plugins-core/config-manager-add-vendor-policy.feature:279 test "add-vendor-policy", use --replace, policy exists dnf/plugins-core/config-manager-add-vendor-policy.feature:308 test "add-vendor-policy", use --replace, fail because policy does not exist dnf/plugins-core/config-manager-add-vendor-policy.feature:314 test "add-vendor-policy", use --allow-replace, distribution and system policies exist dnf/plugins-core/config-manager-add-vendor-policy.feature:354 test "add-vendor-policy" from --policy, with invalid policy string dnf/plugins-core/config-manager-add-vendor-policy.feature:365 test "add-vendor-policy" from local TOML file, with invalid content 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 18 failed, 0 skipped 34 steps passed, 18 failed, 29 skipped Took 0min 0.813s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-_dlx6exw', '/mp-4okibfmh', '/mp-tdeyy0t4', '/mp-a_tenj7g', '/mp-47_qiuzt', '/mp-0085n141'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: dnf "config-manager" command - test "addrepo" subcommand # dnf/plugins-core/config-manager-addrepo.feature:1 Feature: dnf "config-manager" command - test "addrepo" subcommand # dnf/plugins-core/config-manager-addrepo.feature:1 Scenario: test "addrepo" from "baseurl", "enabled=1" is set by default # dnf/plugins-core/config-manager-addrepo.feature:14 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --set=baseurl=http://something.com/os/" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fu1fg3sy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fu1fg3sy/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ And file "/etc/yum.repos.d/something.com_os_.repo" contents is # None """ [something.com_os_] name=something.com_os_ - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fu1fg3sy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fu1fg3sy/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl" with user defined repository id (--id=) # dnf/plugins-core/config-manager-addrepo.feature:26 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --id=test --set=baseurl=http://something.com/os/" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mnr0b7t2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mnr0b7t2/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/ And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=test - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mnr0b7t2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mnr0b7t2/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl" with user defined destination file name (--save-filename=) # dnf/plugins-core/config-manager-addrepo.feature:38 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --save-filename=test.repo --set=baseurl=http://something.com/os/" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zkiaudjo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zkiaudjo/var/cache/dnf config-manager addrepo --save-filename=test.repo --set=baseurl=http://something.com/os/ And file "/etc/yum.repos.d/test.repo" contents is # None """ [something.com_os_] name=something.com_os_ - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zkiaudjo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zkiaudjo/var/cache/dnf config-manager addrepo --save-filename=test.repo --set=baseurl=http://something.com/os/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: "addrepo" from "baseurl" with user defined destination file name, test adding the .repo extension to the filename # dnf/plugins-core/config-manager-addrepo.feature:50 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --save-filename=test --set=baseurl=http://something.com/os/" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dgcqgyli --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dgcqgyli/var/cache/dnf config-manager addrepo --save-filename=test --set=baseurl=http://something.com/os/ And file "/etc/yum.repos.d/test.repo" contents is # None """ [something.com_os_] name=something.com_os_ - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dgcqgyli --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dgcqgyli/var/cache/dnf config-manager addrepo --save-filename=test --set=baseurl=http://something.com/os/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: when run addrepo without URL # dnf/plugins-core/config-manager-addrepo.feature:62 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --id=test_repo --set=excludepkgs=iftop" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr contains "One of --from-repofile=, --set=baseurl=, --set=mirrorlist=, --set=metalink= must be set to a non-empty URL" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: One of --from-repofile=, --set=baseurl=, --set=mirrorlist=, --set=metalink= must be set to a non-empty URL ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oz1z6g8f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oz1z6g8f/var/cache/dnf config-manager addrepo --id=test_repo --set=excludepkgs=iftop  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", set more options # dnf/plugins-core/config-manager-addrepo.feature:68 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot___1mglhe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot___1mglhe/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d And file "/etc/yum.repos.d/something.com_os_.repo" contents is # None """ [something.com_os_] name=something.com_os_ - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ gpgcheck=1 metadata_expire=7d """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot___1mglhe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot___1mglhe/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", set option multiple times with the same value is OK # dnf/plugins-core/config-manager-addrepo.feature:82 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d --set=gpgcheck=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fucfpx4u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fucfpx4u/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d --set=gpgcheck=1 And file "/etc/yum.repos.d/something.com_os_.repo" contents is # None """ [something.com_os_] name=something.com_os_ - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ gpgcheck=1 metadata_expire=7d """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fucfpx4u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fucfpx4u/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d --set=gpgcheck=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", set option more times with different value # dnf/plugins-core/config-manager-addrepo.feature:96 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d --set=gpgcheck=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6rh3jbym --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6rh3jbym/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d --set=gpgcheck=0 And stderr contains "Sets the "gpgcheck" option again with a different value: "1" != "0"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6rh3jbym --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6rh3jbym/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=1 --set=metadata_expire=7d --set=gpgcheck=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test setting non-existent option # dnf/plugins-core/config-manager-addrepo.feature:102 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --set=baseurl=http://something.com/os/ --set=nonexistent=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zewmx1xa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zewmx1xa/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=nonexistent=1 And stderr contains "Cannot set repository option "nonexistent=1": Option "nonexistent" not found" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zewmx1xa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zewmx1xa/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=nonexistent=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: tests for setting an invalid value # dnf/plugins-core/config-manager-addrepo.feature:108 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=XX" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nu58f3o3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nu58f3o3/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=XX And stderr contains "Cannot set repository option "gpgcheck=XX": Invalid boolean value "XX"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nu58f3o3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nu58f3o3/var/cache/dnf config-manager addrepo --set=baseurl=http://something.com/os/ --set=gpgcheck=XX  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", destination directory does not exist # dnf/plugins-core/config-manager-addrepo.feature:114 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I delete directory "/etc/yum.repos.d/" # common/file.py:70 When I execute dnf with args "config-manager addrepo --id=test --set=baseurl=http://something.com/os/" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rh9vnrm8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rh9vnrm8/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/ And stderr contains "Directory ".*/etc/yum.repos.d" does not exist. Add "--create-missing-dir" to create missing directories" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rh9vnrm8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rh9vnrm8/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", destination directory does not exist, "--create-missing-dir" creates missing directory # dnf/plugins-core/config-manager-addrepo.feature:121 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I delete directory "/etc/yum.repos.d/" # common/file.py:70 When I execute dnf with args "config-manager addrepo --id=test --set=baseurl=http://something.com/os/ --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hz11nkaj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hz11nkaj/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/ --create-missing-dir And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=test - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hz11nkaj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hz11nkaj/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/ --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", a file was found instead of destination directory # dnf/plugins-core/config-manager-addrepo.feature:134 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I delete directory "/etc/yum.repos.d/" # common/file.py:70 And I create file "/etc/yum.repos.d" with # common/file.py:36 When I execute dnf with args "config-manager addrepo --id=test --set=baseurl=http://something.com/os/" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jr4zdmwq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jr4zdmwq/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/ And stderr contains "The path ".*/etc/yum.repos.d" exists, but it is not a directory or a symlink to a directory" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jr4zdmwq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jr4zdmwq/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", a symlink to non-existent object was found instead of destination directory # dnf/plugins-core/config-manager-addrepo.feature:144 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I delete directory "/etc/yum.repos.d/" # common/file.py:70 And I create symlink "/etc/yum.repos.d" to file "/non-exist" # common/file.py:50 When I execute dnf with args "config-manager addrepo --id=test --set=baseurl=http://something.com/os/" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bywqo_hi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bywqo_hi/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/ And stderr contains "The path ".*/etc/yum.repos.d" exists, but it is a symlink to a non-existent object" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bywqo_hi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bywqo_hi/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", destination repo file already exists # dnf/plugins-core/config-manager-addrepo.feature:153 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pdr9dhy1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pdr9dhy1/var/cache/dnf config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ And stderr contains "File \".*/etc/yum.repos.d/repo1.repo\" already exists and configures repositories with IDs \"repo1\". Add "--add-or-replace" or "--overwrite"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pdr9dhy1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pdr9dhy1/var/cache/dnf config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", repository id already exists # dnf/plugins-core/config-manager-addrepo.feature:160 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --save-filename=another_repo1.repo" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_diwj2ez1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_diwj2ez1/var/cache/dnf config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --save-filename=another_repo1.repo And stderr contains "A repository with id \"repo1\" already configured in file: .*/etc/yum.repos.d/repo1.repo" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_diwj2ez1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_diwj2ez1/var/cache/dnf config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --save-filename=another_repo1.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", overwrite existing repo file (--overwrite), the repo id already exists but in the overwritten file so no problem # dnf/plugins-core/config-manager-addrepo.feature:167 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --overwrite" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cpfpikqn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cpfpikqn/var/cache/dnf config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --overwrite And file "/etc/yum.repos.d/repo1.repo" contents is # None """ [repo1] name=repo1 - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cpfpikqn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cpfpikqn/var/cache/dnf config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --overwrite  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", add repo to existing file (--add-or-replace) # dnf/plugins-core/config-manager-addrepo.feature:180 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --id=test --set=baseurl=http://something.com/os/ --save-filename=repo1.repo --add-or-replace" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_90bamt2f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_90bamt2f/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/ --save-filename=repo1.repo --add-or-replace And file "/etc/yum.repos.d/repo1.repo" contents is # None """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ [test] name=test - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_90bamt2f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_90bamt2f/var/cache/dnf config-manager addrepo --id=test --set=baseurl=http://something.com/os/ --save-filename=repo1.repo --add-or-replace  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from "baseurl", replace repo in existing file (--add-or-replace), if the new repo has the same id, it will replace the existing repo # dnf/plugins-core/config-manager-addrepo.feature:197 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ When I execute dnf with args "config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --add-or-replace" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ogirlx2z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ogirlx2z/var/cache/dnf config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --add-or-replace And file "/etc/yum.repos.d/repo1.repo" contents is # None """ [repo1] name=repo1 - Created by dnf5 config-manager enabled=1 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ogirlx2z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ogirlx2z/var/cache/dnf config-manager addrepo --id=repo1 --set=baseurl=http://something.com/os/ --add-or-replace  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile # dnf/plugins-core/config-manager-addrepo.feature:209 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/test.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ And I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/test.repo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7qto9934 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7qto9934/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_26jxs6rb/tmp/test.repo And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7qto9934 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7qto9934/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_26jxs6rb/tmp/test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile with comments and empty line # dnf/plugins-core/config-manager-addrepo.feature:228 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/test.repo" with # common/file.py:36 """ # Repository configuration file [test] # Test repo name=repository file enabled=0 # URL to repository baseurl=http://something.com/os/ """ And I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/test.repo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xgetaw4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xgetaw4_/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_0wiq_3p0/tmp/test.repo And file "/etc/yum.repos.d/test.repo" contents is # None """ # Repository configuration file [test] # Test repo name=repository file enabled=0 # URL to repository baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xgetaw4_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xgetaw4_/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_0wiq_3p0/tmp/test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: "addrepo" from repofile, source file without .repo extension, adding the .repo extension to the destination filename # dnf/plugins-core/config-manager-addrepo.feature:253 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/test" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ And I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/test" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_72wea97n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_72wea97n/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_oejv6a__/tmp/test And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_72wea97n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_72wea97n/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_oejv6a__/tmp/test  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile with user defined destination file name (--save-filename=) # dnf/plugins-core/config-manager-addrepo.feature:272 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/original.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/original.repo --save-filename=test.repo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mq043516 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mq043516/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_1p1bznjc/tmp/original.repo --save-filename=test.repo And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mq043516 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mq043516/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_1p1bznjc/tmp/original.repo --save-filename=test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile with user defined destination file name (--save-filename=), adding the .repo extension to the destination filename # dnf/plugins-core/config-manager-addrepo.feature:291 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/original.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/original.repo --save-filename=test" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yjn64uf3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yjn64uf3/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_lqkii2b1/tmp/original.repo --save-filename=test And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yjn64uf3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yjn64uf3/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_lqkii2b1/tmp/original.repo --save-filename=test  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile, destination directory does not exist # dnf/plugins-core/config-manager-addrepo.feature:310 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I delete directory "/etc/yum.repos.d/" # common/file.py:70 And I create file "/{context.dnf.tempdir}/tmp/test.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/test.repo" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lsbnxv47 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lsbnxv47/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_u816xlyd/tmp/test.repo And stderr contains "Directory ".*/etc/yum.repos.d" does not exist. Add "--create-missing-dir" to create missing directories" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lsbnxv47 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lsbnxv47/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_u816xlyd/tmp/test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile, destination directory does not exist, "--create-missing-dir" creates missing directory # dnf/plugins-core/config-manager-addrepo.feature:324 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I delete directory "/etc/yum.repos.d/" # common/file.py:70 And I create file "/{context.dnf.tempdir}/tmp/test.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/test.repo --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7lvdc5t7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7lvdc5t7/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_d1dysesh/tmp/test.repo --create-missing-dir And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7lvdc5t7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7lvdc5t7/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_d1dysesh/tmp/test.repo --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile, a file was found instead of destination directory # dnf/plugins-core/config-manager-addrepo.feature:344 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I delete directory "/etc/yum.repos.d/" # common/file.py:70 And I create file "/etc/yum.repos.d" with # common/file.py:36 And I create file "/{context.dnf.tempdir}/tmp/test.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/test.repo" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_olthbtjd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_olthbtjd/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_lp15l8tt/tmp/test.repo And stderr contains "The path ".*/etc/yum.repos.d" exists, but it is not a directory or a symlink to a directory" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_olthbtjd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_olthbtjd/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_lp15l8tt/tmp/test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile, a symlink to non-existent object was found instead of destination directory # dnf/plugins-core/config-manager-addrepo.feature:361 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I delete directory "/etc/yum.repos.d/" # common/file.py:70 And I create symlink "/etc/yum.repos.d" to file "/non-exist" # common/file.py:50 And I create file "/{context.dnf.tempdir}/tmp/test.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/test.repo" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ong_idtd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ong_idtd/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_1zoh3lwc/tmp/test.repo And stderr contains "The path ".*/etc/yum.repos.d" exists, but it is a symlink to a non-existent object" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ong_idtd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ong_idtd/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_1zoh3lwc/tmp/test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile, destination repo file already exists # dnf/plugins-core/config-manager-addrepo.feature:377 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/repo1.repo" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wibsvrzo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wibsvrzo/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_7fx2ho5a/tmp/repo1.repo And stderr contains "File \".*/etc/yum.repos.d/repo1.repo\" already exists and configures repositories with IDs \"repo1\". Add "--overwrite" to overwrite" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wibsvrzo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wibsvrzo/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_7fx2ho5a/tmp/repo1.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile, repository id already exists # dnf/plugins-core/config-manager-addrepo.feature:391 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/test.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/test.repo" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nt2h6919 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nt2h6919/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_m8j140id/tmp/test.repo And stderr contains "A repository with id \"repo1\" already configured in file: .*/etc/yum.repos.d/repo1.repo" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nt2h6919 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nt2h6919/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_m8j140id/tmp/test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile, overwrite existing repo file (--overwrite), the repo id already exists but in the overwritten file so no problem # dnf/plugins-core/config-manager-addrepo.feature:405 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=0 baseurl=http://something.com/os/ """ When I execute dnf with args "config-manager addrepo --from-repofile={context.dnf.tempdir}/tmp/repo1.repo --overwrite" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9__i5406 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9__i5406/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_h1ev4b9s/tmp/repo1.repo --overwrite And file "/etc/yum.repos.d/repo1.repo" contents is # None """ [repo1] name=repository file enabled=0 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9__i5406 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9__i5406/var/cache/dnf config-manager addrepo --from-repofile=/tmp/dnf_ci_tempdir_h1ev4b9s/tmp/repo1.repo --overwrite  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from repofile defined by file:/// URL # dnf/plugins-core/config-manager-addrepo.feature:424 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create file "/{context.dnf.tempdir}/tmp/test.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ And I execute dnf with args "config-manager addrepo --from-repofile=file:///{context.dnf.tempdir}/tmp/test.repo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_shwckp_q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_shwckp_q/var/cache/dnf config-manager addrepo --from-repofile=file:////tmp/dnf_ci_tempdir_bma5nx7g/tmp/test.repo And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_shwckp_q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_shwckp_q/var/cache/dnf config-manager addrepo --from-repofile=file:////tmp/dnf_ci_tempdir_bma5nx7g/tmp/test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "addrepo" from remote repofile (download from http) # dnf/plugins-core/config-manager-addrepo.feature:443 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repo1 test repository enabled=1 baseurl=http://something1.com/os/ """ Given I create directory "/remotedir" # common/file.py:30 And I create file "/remotedir/test.repo" with # common/file.py:36 """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ And I set up a http server for directory "/remotedir" # dnf/steps/cmd.py:219 When I execute dnf with args "config-manager addrepo --from-repofile=http://localhost:{context.dnf.ports[/remotedir]}/test.repo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bcgzxep8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bcgzxep8/var/cache/dnf config-manager addrepo --from-repofile=http://localhost:46047/test.repo And file "/etc/yum.repos.d/test.repo" contents is # None """ [test] name=repository file enabled=0 baseurl=http://something.com/os/ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bcgzxep8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bcgzxep8/var/cache/dnf config-manager addrepo --from-repofile=http://localhost:46047/test.repo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/config-manager-addrepo.feature:14 test "addrepo" from "baseurl", "enabled=1" is set by default dnf/plugins-core/config-manager-addrepo.feature:26 test "addrepo" from "baseurl" with user defined repository id (--id=) dnf/plugins-core/config-manager-addrepo.feature:38 test "addrepo" from "baseurl" with user defined destination file name (--save-filename=) dnf/plugins-core/config-manager-addrepo.feature:50 "addrepo" from "baseurl" with user defined destination file name, test adding the .repo extension to the filename dnf/plugins-core/config-manager-addrepo.feature:62 when run addrepo without URL dnf/plugins-core/config-manager-addrepo.feature:68 test "addrepo" from "baseurl", set more options dnf/plugins-core/config-manager-addrepo.feature:82 test "addrepo" from "baseurl", set option multiple times with the same value is OK dnf/plugins-core/config-manager-addrepo.feature:96 test "addrepo" from "baseurl", set option more times with different value dnf/plugins-core/config-manager-addrepo.feature:102 test setting non-existent option dnf/plugins-core/config-manager-addrepo.feature:108 tests for setting an invalid value dnf/plugins-core/config-manager-addrepo.feature:114 test "addrepo" from "baseurl", destination directory does not exist dnf/plugins-core/config-manager-addrepo.feature:121 test "addrepo" from "baseurl", destination directory does not exist, "--create-missing-dir" creates missing directory dnf/plugins-core/config-manager-addrepo.feature:134 test "addrepo" from "baseurl", a file was found instead of destination directory dnf/plugins-core/config-manager-addrepo.feature:144 test "addrepo" from "baseurl", a symlink to non-existent object was found instead of destination directory dnf/plugins-core/config-manager-addrepo.feature:153 test "addrepo" from "baseurl", destination repo file already exists dnf/plugins-core/config-manager-addrepo.feature:160 test "addrepo" from "baseurl", repository id already exists dnf/plugins-core/config-manager-addrepo.feature:167 test "addrepo" from "baseurl", overwrite existing repo file (--overwrite), the repo id already exists but in the overwritten file so no problem dnf/plugins-core/config-manager-addrepo.feature:180 test "addrepo" from "baseurl", add repo to existing file (--add-or-replace) dnf/plugins-core/config-manager-addrepo.feature:197 test "addrepo" from "baseurl", replace repo in existing file (--add-or-replace), if the new repo has the same id, it will replace the existing repo dnf/plugins-core/config-manager-addrepo.feature:209 test "addrepo" from repofile dnf/plugins-core/config-manager-addrepo.feature:228 test "addrepo" from repofile with comments and empty line dnf/plugins-core/config-manager-addrepo.feature:253 "addrepo" from repofile, source file without .repo extension, adding the .repo extension to the destination filename dnf/plugins-core/config-manager-addrepo.feature:272 test "addrepo" from repofile with user defined destination file name (--save-filename=) dnf/plugins-core/config-manager-addrepo.feature:291 test "addrepo" from repofile with user defined destination file name (--save-filename=), adding the .repo extension to the destination filename dnf/plugins-core/config-manager-addrepo.feature:310 test "addrepo" from repofile, destination directory does not exist dnf/plugins-core/config-manager-addrepo.feature:324 test "addrepo" from repofile, destination directory does not exist, "--create-missing-dir" creates missing directory dnf/plugins-core/config-manager-addrepo.feature:344 test "addrepo" from repofile, a file was found instead of destination directory dnf/plugins-core/config-manager-addrepo.feature:361 test "addrepo" from repofile, a symlink to non-existent object was found instead of destination directory dnf/plugins-core/config-manager-addrepo.feature:377 test "addrepo" from repofile, destination repo file already exists dnf/plugins-core/config-manager-addrepo.feature:391 test "addrepo" from repofile, repository id already exists dnf/plugins-core/config-manager-addrepo.feature:405 test "addrepo" from repofile, overwrite existing repo file (--overwrite), the repo id already exists but in the overwritten file so no problem dnf/plugins-core/config-manager-addrepo.feature:424 test "addrepo" from repofile defined by file:/// URL dnf/plugins-core/config-manager-addrepo.feature:443 test "addrepo" from remote repofile (download from http) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 33 failed, 0 skipped 95 steps passed, 33 failed, 32 skipped Took 0min 1.350s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-jvjcaem0', '/mp-zg11cc6t', '/mp-pgz5pzgu', '/mp-zeh8lsj7', '/mp-187csuen', '/mp-eqi8_9nh'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: dnf "config-manager" command - test "list-vendor-policies" subcommand # dnf/plugins-core/config-manager-list-vendor-policies.feature:1 Feature: dnf "config-manager" command - test "list-vendor-policies" subcommand # dnf/plugins-core/config-manager-list-vendor-policies.feature:1 Scenario: test "list-vendor-policies" # dnf/plugins-core/config-manager-list-vendor-policies.feature:67 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager list-vendor-policies" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nlqtz5n_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nlqtz5n_/var/cache/dnf config-manager list-vendor-policies And stdout is # None """ * {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-cmdline.conf + {context.dnf.installroot}/etc/dnf/vendors.d/allow-my_vendor.conf + {context.dnf.installroot}/etc/dnf/vendors.d/allow-test.conf - {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-test.conf + {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nlqtz5n_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nlqtz5n_/var/cache/dnf config-manager list-vendor-policies  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "list-vendor-policies" with --name='*test' # dnf/plugins-core/config-manager-list-vendor-policies.feature:80 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager list-vendor-policies --name='*test'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vb1zq2k7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vb1zq2k7/var/cache/dnf config-manager list-vendor-policies --name='*test' And stdout is # None """ + {context.dnf.installroot}/etc/dnf/vendors.d/allow-test.conf - {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-test.conf + {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vb1zq2k7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vb1zq2k7/var/cache/dnf config-manager list-vendor-policies --name='*test'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "list-vendor-policies" with --info # dnf/plugins-core/config-manager-list-vendor-policies.feature:91 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager list-vendor-policies --info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h_msh_x1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h_msh_x1/var/cache/dnf config-manager list-vendor-policies --info And stdout is # None """ Policy : allow-cmdline Source : {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-cmdline.conf Type : Distribution (read-only) Compact : @in:[cmdline_repo="1"] Policy : allow-my_vendor Source : {context.dnf.installroot}/etc/dnf/vendors.d/allow-my_vendor.conf Type : System (manageable) Compact : in:"My Vendor" Policy : allow-test Source : {context.dnf.installroot}/etc/dnf/vendors.d/allow-test.conf Type : System (manageable) Masks : {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-test.conf Compact : Policy : allow-test Source : {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-test.conf Type : Distribution (read-only) Masked by : {context.dnf.installroot}/etc/dnf/vendors.d/allow-test.conf Compact : in:"Test Vendor" Policy : test Source : {context.dnf.installroot}/etc/dnf/vendors.d/test.conf Type : System (manageable) Compact : in:=*"Enter*",in:=*"Original Co*",out:^"New Maintainer L",eq:"Fedora",eq:"CentOS"@in:[name="iftop",arch="x86_64"],out:[name="iftop"] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h_msh_x1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h_msh_x1/var/cache/dnf config-manager list-vendor-policies --info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "list-vendor-policies" with --info and name='*test' # dnf/plugins-core/config-manager-list-vendor-policies.feature:125 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager list-vendor-policies --info --name='*test'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_69zpyd49 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_69zpyd49/var/cache/dnf config-manager list-vendor-policies --info --name='*test' And stdout is # None """ Policy : allow-test Source : {context.dnf.installroot}/etc/dnf/vendors.d/allow-test.conf Type : System (manageable) Masks : {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-test.conf Compact : Policy : allow-test Source : {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-test.conf Type : Distribution (read-only) Masked by : {context.dnf.installroot}/etc/dnf/vendors.d/allow-test.conf Compact : in:"Test Vendor" Policy : test Source : {context.dnf.installroot}/etc/dnf/vendors.d/test.conf Type : System (manageable) Compact : in:=*"Enter*",in:=*"Original Co*",out:^"New Maintainer L",eq:"Fedora",eq:"CentOS"@in:[name="iftop",arch="x86_64"],out:[name="iftop"] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_69zpyd49 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_69zpyd49/var/cache/dnf config-manager list-vendor-policies --info --name='*test'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/config-manager-list-vendor-policies.feature:67 test "list-vendor-policies" dnf/plugins-core/config-manager-list-vendor-policies.feature:80 test "list-vendor-policies" with --name='*test' dnf/plugins-core/config-manager-list-vendor-policies.feature:91 test "list-vendor-policies" with --info dnf/plugins-core/config-manager-list-vendor-policies.feature:125 test "list-vendor-policies" with --info and name='*test' 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 24 steps passed, 4 failed, 4 skipped Took 0min 0.145s USING RUNNER: behave.runner:Runner Feature: dnf "config-manager" command - test missing subcommand, "setopt" and "unsetopt" subcommands # dnf/plugins-core/config-manager-opts.feature:1 Feature: dnf "config-manager" command - test missing subcommand, "setopt" and "unsetopt" subcommands # dnf/plugins-core/config-manager-opts.feature:1 Scenario: when run "config-manager" without subcommand # dnf/plugins-core/config-manager-opts.feature:28 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ When I execute dnf with args "config-manager" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr contains "Missing command" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: Missing command ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yni5hccu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yni5hccu/var/cache/dnf config-manager  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set new main option # dnf/plugins-core/config-manager-opts.feature:34 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True """ When I execute dnf with args "config-manager setopt skip_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x5lv5pmg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x5lv5pmg/var/cache/dnf config-manager setopt skip_unavailable=1 And file "/etc/dnf/dnf.conf" contents is # None """ [main] best=True skip_unavailable=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x5lv5pmg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x5lv5pmg/var/cache/dnf config-manager setopt skip_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set main option multiple times with the same value is OK # dnf/plugins-core/config-manager-opts.feature:50 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True """ When I execute dnf with args "config-manager setopt skip_unavailable=1 best=False skip_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ax4k1g6r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ax4k1g6r/var/cache/dnf config-manager setopt skip_unavailable=1 best=False skip_unavailable=1 And file "/etc/dnf/dnf.conf" contents is # None """ [main] best=False skip_unavailable=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ax4k1g6r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ax4k1g6r/var/cache/dnf config-manager setopt skip_unavailable=1 best=False skip_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set main option more times with different value # dnf/plugins-core/config-manager-opts.feature:66 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True """ When I execute dnf with args "config-manager setopt skip_unavailable=1 best=False skip_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8snuof8o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8snuof8o/var/cache/dnf config-manager setopt skip_unavailable=1 best=False skip_unavailable=0 And stderr contains "Sets the "skip_unavailable" option again with a different value: "1" != "0"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8snuof8o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8snuof8o/var/cache/dnf config-manager setopt skip_unavailable=1 best=False skip_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: setting non-existent main option # dnf/plugins-core/config-manager-opts.feature:77 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True """ When I execute dnf with args "config-manager setopt nonexistent=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tt2sz3h9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tt2sz3h9/var/cache/dnf config-manager setopt nonexistent=1 And stderr contains "Cannot set option: "nonexistent=1": Option "nonexistent" not found" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tt2sz3h9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tt2sz3h9/var/cache/dnf config-manager setopt nonexistent=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: main option - tests for setting an invalid value # dnf/plugins-core/config-manager-opts.feature:88 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True """ When I execute dnf with args "config-manager setopt best=XX" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oj3wckcl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oj3wckcl/var/cache/dnf config-manager setopt best=XX And stderr contains "Cannot set option: "best=XX": Invalid boolean value "XX"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oj3wckcl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oj3wckcl/var/cache/dnf config-manager setopt best=XX  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: change the value of main option # dnf/plugins-core/config-manager-opts.feature:99 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True skip_unavailable=True """ When I execute dnf with args "config-manager setopt best=False" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5r7dotpo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5r7dotpo/var/cache/dnf config-manager setopt best=False And file "/etc/dnf/dnf.conf" contents is # None """ [main] best=False skip_unavailable=True """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5r7dotpo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5r7dotpo/var/cache/dnf config-manager setopt best=False  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: unset/remove an main option # dnf/plugins-core/config-manager-opts.feature:116 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True skip_unavailable=True """ When I execute dnf with args "config-manager unsetopt best" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tu0n3utw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tu0n3utw/var/cache/dnf config-manager unsetopt best And file "/etc/dnf/dnf.conf" contents is # None """ [main] skip_unavailable=True """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tu0n3utw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tu0n3utw/var/cache/dnf config-manager unsetopt best  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: unset/remove unsupported main option is OK, but a warning is written # dnf/plugins-core/config-manager-opts.feature:132 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True unsupported=1 skip_unavailable=True """ When I execute dnf with args "config-manager unsetopt best unsupported" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_silhl1er --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_silhl1er/var/cache/dnf config-manager unsetopt best unsupported And file "/etc/dnf/dnf.conf" contents is # None """ [main] skip_unavailable=True """ And stderr is # None """ config-manager: Request to remove unsupported main option: unsupported """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_silhl1er --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_silhl1er/var/cache/dnf config-manager unsetopt best unsupported  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: unset/remove an main option, trying to unset an not set option is OK, but a warning is written # dnf/plugins-core/config-manager-opts.feature:153 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/dnf.conf" with # common/file.py:36 """ [main] best=True skip_unavailable=True """ When I execute dnf with args "config-manager unsetopt best installroot" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_88fdofho --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_88fdofho/var/cache/dnf config-manager unsetopt best installroot And file "/etc/dnf/dnf.conf" contents is # None """ [main] skip_unavailable=True """ And stderr is # None """ config-manager: Request to remove main option but it is not present in the config file: installroot """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_88fdofho --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_88fdofho/var/cache/dnf config-manager unsetopt best installroot  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: trying to unset an not set main option (config file is not found) is OK, but a warning is written # dnf/plugins-core/config-manager-opts.feature:173 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I delete file "/etc/dnf/dnf.conf" # common/file.py:58 When I execute dnf with args "config-manager unsetopt best" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_327e7n2j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_327e7n2j/var/cache/dnf config-manager unsetopt best And stderr is # None """ config-manager: Request to remove main option but config file not found: {context.dnf.installroot}/etc/dnf/dnf.conf """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_327e7n2j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_327e7n2j/var/cache/dnf config-manager unsetopt best  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - new option to "repo1" # dnf/plugins-core/config-manager-opts.feature:183 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt repo1.skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ow1fef4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ow1fef4/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] skip_if_unavailable=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ow1fef4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ow1fef4/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - set option multiple times with the same value is OK # dnf/plugins-core/config-manager-opts.feature:196 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt repo1.skip_if_unavailable=1 repo1.priority=50 repo1.skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] priority=50 skip_if_unavailable=1 """ ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9z4pvr3a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9z4pvr3a/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 repo1.priority=50 repo1.skip_if_unavailable=1 ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9z4pvr3a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9z4pvr3a/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 repo1.priority=50 repo1.skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - set option more times with different value # dnf/plugins-core/config-manager-opts.feature:209 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt repo1.skip_if_unavailable=1 repo1.priority=50 repo1.skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2pa9qv1v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2pa9qv1v/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 repo1.priority=50 repo1.skip_if_unavailable=0 And stderr contains "Sets the "skip_if_unavailable" option of the repository "repo1" again with a different value: "1" != "0"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2pa9qv1v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2pa9qv1v/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 repo1.priority=50 repo1.skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: setting non-existent repo option # dnf/plugins-core/config-manager-opts.feature:216 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt repo1.nonexistent=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a489r96k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a489r96k/var/cache/dnf config-manager setopt repo1.nonexistent=1 And stderr contains "Cannot set repository option "repo1.nonexistent=1": Option "nonexistent" not found" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a489r96k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a489r96k/var/cache/dnf config-manager setopt repo1.nonexistent=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repo option - tests for setting an invalid value # dnf/plugins-core/config-manager-opts.feature:223 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt repo1.skip_if_unavailable=XX" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8qp7avk6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8qp7avk6/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=XX And stderr contains "Cannot set repository option "repo1.skip_if_unavailable=XX": Invalid boolean value "XX"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8qp7avk6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8qp7avk6/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=XX  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides, "id" of non-existent repo # dnf/plugins-core/config-manager-opts.feature:230 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt non-exist-repo.skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3r_88zph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3r_88zph/var/cache/dnf config-manager setopt non-exist-repo.skip_if_unavailable=1 And stderr contains "No matching repository to modify: non-exist-repo" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3r_88zph --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3r_88zph/var/cache/dnf config-manager setopt non-exist-repo.skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - new option, globs in repo id # dnf/plugins-core/config-manager-opts.feature:237 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt r?p*.skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2m0xzaxd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2m0xzaxd/var/cache/dnf config-manager setopt r?p*.skip_if_unavailable=1 And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] skip_if_unavailable=1 [repo2] skip_if_unavailable=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2m0xzaxd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2m0xzaxd/var/cache/dnf config-manager setopt r?p*.skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - globs in repo id, set option more times with different value # dnf/plugins-core/config-manager-opts.feature:251 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt r?p*.skip_if_unavailable=1 repo1.priority=50 repo2.skip_if_unavailable=0" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gc1ds73m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gc1ds73m/var/cache/dnf config-manager setopt r?p*.skip_if_unavailable=1 repo1.priority=50 repo2.skip_if_unavailable=0 And stderr contains "Sets the "skip_if_unavailable" option of the repository "repo2" again with a different value: "1" != "0"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gc1ds73m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gc1ds73m/var/cache/dnf config-manager setopt r?p*.skip_if_unavailable=1 repo1.priority=50 repo2.skip_if_unavailable=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides, glob does not match any repo "id" # dnf/plugins-core/config-manager-opts.feature:258 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt non*repo.skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tsfph90h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tsfph90h/var/cache/dnf config-manager setopt non*repo.skip_if_unavailable=1 And stderr contains "No matching repository to modify: non\*repo" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tsfph90h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tsfph90h/var/cache/dnf config-manager setopt non*repo.skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - new option, missing destination directory # dnf/plugins-core/config-manager-opts.feature:265 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ When I execute dnf with args "config-manager setopt repo1.skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qs0gy90y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qs0gy90y/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 And stderr contains "Directory ".*/etc/dnf/repos.override.d" does not exist. Add "--create-missing-dir" to create missing directories" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qs0gy90y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qs0gy90y/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - new option, "--create-missing-dir" creates missing destination directory # dnf/plugins-core/config-manager-opts.feature:271 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ When I execute dnf with args "config-manager setopt repo1.skip_if_unavailable=1 --create-missing-dir" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_16zwexea --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_16zwexea/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 --create-missing-dir And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] skip_if_unavailable=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_16zwexea --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_16zwexea/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 --create-missing-dir  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - new option, a file was found instead of destination directory # dnf/plugins-core/config-manager-opts.feature:283 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/repos.override.d" with # common/file.py:36 When I execute dnf with args "config-manager setopt repo1.skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iguu8u5y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iguu8u5y/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 And stderr contains "The path ".*/etc/dnf/repos.override.d" exists, but it is not a directory or a symlink to a directory" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iguu8u5y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iguu8u5y/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - new option, a symlink to non-existent object was found instead of destination directory # dnf/plugins-core/config-manager-opts.feature:292 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create symlink "/etc/dnf/repos.override.d" to file "/non-exist" # common/file.py:50 When I execute dnf with args "config-manager setopt repo1.skip_if_unavailable=1" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uk7e15qa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uk7e15qa/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1 And stderr contains "The path ".*/etc/dnf/repos.override.d" exists, but it is a symlink to a non-existent object" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uk7e15qa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uk7e15qa/var/cache/dnf config-manager setopt repo1.skip_if_unavailable=1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - unset/remove option # dnf/plugins-core/config-manager-opts.feature:299 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/repos.override.d/99-config_manager.repo" with # common/file.py:36 """ [repo1] enabled=0 priority=40 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ When I execute dnf with args "config-manager unsetopt repo1.priority" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0lw_qs5e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0lw_qs5e/var/cache/dnf config-manager unsetopt repo1.priority And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] enabled=0 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0lw_qs5e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0lw_qs5e/var/cache/dnf config-manager unsetopt repo1.priority  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - unset/remove option, globs in repo id # dnf/plugins-core/config-manager-opts.feature:327 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/repos.override.d/99-config_manager.repo" with # common/file.py:36 """ [repo1] enabled=0 priority=40 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 [test_repo] enabled=1 priotity=80 skip_if_unavailable=0 """ When I execute dnf with args "config-manager unsetopt r*o?.priority" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__xstfv_q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__xstfv_q/var/cache/dnf config-manager unsetopt r*o?.priority And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] enabled=0 skip_if_unavailable=1 [repo2] enabled=1 skip_if_unavailable=0 [test_repo] enabled=1 priotity=80 skip_if_unavailable=0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__xstfv_q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__xstfv_q/var/cache/dnf config-manager unsetopt r*o?.priority  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - unset/remove unsupported option is OK, but a warning is written # dnf/plugins-core/config-manager-opts.feature:362 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/repos.override.d/99-config_manager.repo" with # common/file.py:36 """ [repo1] enabled=0 unsupported=1 priority=40 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ When I execute dnf with args "config-manager unsetopt repo1.unsupported repo1.priority" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i40ubdda --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i40ubdda/var/cache/dnf config-manager unsetopt repo1.unsupported repo1.priority And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] enabled=0 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ And stderr is # None """ config-manager: Request to remove unsupported repository option: repo1.unsupported """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i40ubdda --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i40ubdda/var/cache/dnf config-manager unsetopt repo1.unsupported repo1.priority  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - unset/remove option, repoid not in overrides is OK, but a warning is written # dnf/plugins-core/config-manager-opts.feature:395 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/repos.override.d/99-config_manager.repo" with # common/file.py:36 """ [repo1] enabled=0 priority=40 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ When I execute dnf with args "config-manager unsetopt test_repo.priority repo1.priority" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_npd_ukk8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_npd_ukk8/var/cache/dnf config-manager unsetopt test_repo.priority repo1.priority And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] enabled=0 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ And stderr is # None """ config-manager: Request to remove repository option but repoid is not present in the overrides: test_repo """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_npd_ukk8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_npd_ukk8/var/cache/dnf config-manager unsetopt test_repo.priority repo1.priority  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - unset/remove option, trying to unset an not set option is OK, but a warning is written # dnf/plugins-core/config-manager-opts.feature:427 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/repos.override.d/99-config_manager.repo" with # common/file.py:36 """ [repo1] enabled=0 priority=40 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ When I execute dnf with args "config-manager unsetopt repo1.cost repo1.priority" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wahfq48s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wahfq48s/var/cache/dnf config-manager unsetopt repo1.cost repo1.priority And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo1] enabled=0 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ And stderr is # None """ config-manager: Request to remove repository option but it is not present in the overrides: repo1.cost """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wahfq48s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wahfq48s/var/cache/dnf config-manager unsetopt repo1.cost repo1.priority  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - unset/remove option, no file with overrides found is OK, but a warning is written # dnf/plugins-core/config-manager-opts.feature:459 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ When I execute dnf with args "config-manager unsetopt repo1.cost" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yk55gi9v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yk55gi9v/var/cache/dnf config-manager unsetopt repo1.cost And stderr is # None """ config-manager: Request to remove repository option but file with overrides not found: {context.dnf.installroot}/etc/dnf/repos.override.d/99-config_manager.repo """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yk55gi9v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yk55gi9v/var/cache/dnf config-manager unsetopt repo1.cost  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repository configuration overrides - unset/remove option, empty section is removed # dnf/plugins-core/config-manager-opts.feature:468 Given I create file "/etc/yum.repos.d/repo1.repo" with # common/file.py:36 """ [repo1] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/repo2.repo" with # common/file.py:36 """ [repo2] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/test_repo.repo" with # common/file.py:36 """ [test_repo] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create file "/etc/dnf/repos.override.d/99-config_manager.repo" with # common/file.py:36 """ [repo1] enabled=0 priority=40 skip_if_unavailable=1 [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ When I execute dnf with args "config-manager unsetopt repo1.enabled repo1.priority repo1.skip_if_unavailable" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ol0uddif --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ol0uddif/var/cache/dnf config-manager unsetopt repo1.enabled repo1.priority repo1.skip_if_unavailable And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [repo2] enabled=1 priority=50 skip_if_unavailable=0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ol0uddif --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ol0uddif/var/cache/dnf config-manager unsetopt repo1.enabled repo1.priority repo1.skip_if_unavailable  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/config-manager-opts.feature:28 when run "config-manager" without subcommand dnf/plugins-core/config-manager-opts.feature:34 set new main option dnf/plugins-core/config-manager-opts.feature:50 set main option multiple times with the same value is OK dnf/plugins-core/config-manager-opts.feature:66 set main option more times with different value dnf/plugins-core/config-manager-opts.feature:77 setting non-existent main option dnf/plugins-core/config-manager-opts.feature:88 main option - tests for setting an invalid value dnf/plugins-core/config-manager-opts.feature:99 change the value of main option dnf/plugins-core/config-manager-opts.feature:116 unset/remove an main option dnf/plugins-core/config-manager-opts.feature:132 unset/remove unsupported main option is OK, but a warning is written dnf/plugins-core/config-manager-opts.feature:153 unset/remove an main option, trying to unset an not set option is OK, but a warning is written dnf/plugins-core/config-manager-opts.feature:173 trying to unset an not set main option (config file is not found) is OK, but a warning is written dnf/plugins-core/config-manager-opts.feature:183 repository configuration overrides - new option to "repo1" dnf/plugins-core/config-manager-opts.feature:196 repository configuration overrides - set option multiple times with the same value is OK dnf/plugins-core/config-manager-opts.feature:209 repository configuration overrides - set option more times with different value dnf/plugins-core/config-manager-opts.feature:216 setting non-existent repo option dnf/plugins-core/config-manager-opts.feature:223 repo option - tests for setting an invalid value dnf/plugins-core/config-manager-opts.feature:230 repository configuration overrides, "id" of non-existent repo dnf/plugins-core/config-manager-opts.feature:237 repository configuration overrides - new option, globs in repo id dnf/plugins-core/config-manager-opts.feature:251 repository configuration overrides - globs in repo id, set option more times with different value dnf/plugins-core/config-manager-opts.feature:258 repository configuration overrides, glob does not match any repo "id" dnf/plugins-core/config-manager-opts.feature:265 repository configuration overrides - new option, missing destination directory dnf/plugins-core/config-manager-opts.feature:271 repository configuration overrides - new option, "--create-missing-dir" creates missing destination directory dnf/plugins-core/config-manager-opts.feature:283 repository configuration overrides - new option, a file was found instead of destination directory dnf/plugins-core/config-manager-opts.feature:292 repository configuration overrides - new option, a symlink to non-existent object was found instead of destination directory dnf/plugins-core/config-manager-opts.feature:299 repository configuration overrides - unset/remove option dnf/plugins-core/config-manager-opts.feature:327 repository configuration overrides - unset/remove option, globs in repo id dnf/plugins-core/config-manager-opts.feature:362 repository configuration overrides - unset/remove unsupported option is OK, but a warning is written dnf/plugins-core/config-manager-opts.feature:395 repository configuration overrides - unset/remove option, repoid not in overrides is OK, but a warning is written dnf/plugins-core/config-manager-opts.feature:427 repository configuration overrides - unset/remove option, trying to unset an not set option is OK, but a warning is written dnf/plugins-core/config-manager-opts.feature:459 repository configuration overrides - unset/remove option, no file with overrides found is OK, but a warning is written dnf/plugins-core/config-manager-opts.feature:468 repository configuration overrides - unset/remove option, empty section is removed 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 31 failed, 0 skipped 152 steps passed, 31 failed, 34 skipped Took 0min 1.078s USING RUNNER: behave.runner:Runner Feature: dnf "config-manager" command - test "remove-vendor-policy" subcommand # dnf/plugins-core/config-manager-remove-vendor-policy.feature:1 Feature: dnf "config-manager" command - test "remove-vendor-policy" subcommand # dnf/plugins-core/config-manager-remove-vendor-policy.feature:1 Scenario: test "remove-vendor-policy" with --name=test # dnf/plugins-core/config-manager-remove-vendor-policy.feature:67 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager remove-vendor-policy --name=test" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6co75jlm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6co75jlm/var/cache/dnf config-manager remove-vendor-policy --name=test And stderr is # None """ Removed vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6co75jlm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6co75jlm/var/cache/dnf config-manager remove-vendor-policy --name=test  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "remove-vendor-policy" with --name='*test' # dnf/plugins-core/config-manager-remove-vendor-policy.feature:76 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager remove-vendor-policy --name='*test'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xh8s_kdz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xh8s_kdz/var/cache/dnf config-manager remove-vendor-policy --name='*test' And stderr is # None """ Removed vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/allow-test.conf Unmasked distribution policy file: {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-test.conf Removed vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/test.conf """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xh8s_kdz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xh8s_kdz/var/cache/dnf config-manager remove-vendor-policy --name='*test'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "remove-vendor-policy", cannot remove distribution policy # dnf/plugins-core/config-manager-remove-vendor-policy.feature:87 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager remove-vendor-policy --name=allow-cmdline" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_745d7b7q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_745d7b7q/var/cache/dnf config-manager remove-vendor-policy --name=allow-cmdline And stderr is # None """ Cannot remove distribution policy file "{context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-cmdline.conf". To mask it, use: dnf5 config-manager add-vendor-policy --name='allow-cmdline' --mask --policy= """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_745d7b7q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_745d7b7q/var/cache/dnf config-manager remove-vendor-policy --name=allow-cmdline  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "remove-vendor-policy", with --name='allow*' # dnf/plugins-core/config-manager-remove-vendor-policy.feature:96 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager remove-vendor-policy --name='allow*'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7y7aalux --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7y7aalux/var/cache/dnf config-manager remove-vendor-policy --name='allow*' And stderr is # None """ Cannot remove distribution policy file "{context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-cmdline.conf". To mask it, use: dnf5 config-manager add-vendor-policy --name='allow-cmdline' --mask --policy= Removed vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/allow-my_vendor.conf Removed vendor policy file: {context.dnf.installroot}/etc/dnf/vendors.d/allow-test.conf Unmasked distribution policy file: {context.dnf.installroot}/usr/share/dnf5/vendors.d/allow-test.conf """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7y7aalux --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7y7aalux/var/cache/dnf config-manager remove-vendor-policy --name='allow*'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "remove-vendor-policy", with name=nonexist # dnf/plugins-core/config-manager-remove-vendor-policy.feature:108 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager remove-vendor-policy --name=nonexist" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mlpgi757 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mlpgi757/var/cache/dnf config-manager remove-vendor-policy --name=nonexist And stderr is # None """ No matching vendor policy files found for pattern: nonexist """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mlpgi757 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mlpgi757/var/cache/dnf config-manager remove-vendor-policy --name=nonexist  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: test "remove-vendor-policy", with name='nonexist*' # dnf/plugins-core/config-manager-remove-vendor-policy.feature:117 Given I create file "/usr/share/dnf5/vendors.d/allow-cmdline.conf" with # common/file.py:36 """ version = '1.2' [[incoming_packages]] filters = [ { filter = 'cmdline_repo', value = 'true' } ] """ And I create file "/etc/dnf/vendors.d/allow-my_vendor.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "My Vendor" """ And I create file "/etc/dnf/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' """ And I create file "/usr/share/dnf5/vendors.d/allow-test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Test Vendor" """ And I create file "/etc/dnf/vendors.d/test.conf" with # common/file.py:36 """ version = '1.2' [[incoming_vendors]] vendor = "Enter*" comparator = 'GLOB' [[incoming_vendors]] vendor = "Original Co*" comparator = 'GLOB' [[outgoing_vendors]] vendor = "New Maintainer L" comparator = 'STARTSWITH' [[equivalent_vendors]] vendor = "Fedora" [[equivalent_vendors]] vendor = "CentOS" [[incoming_packages]] filters = [ { filter = 'name', value = "iftop" }, { filter = 'arch', value = "x86_64" } ] [[outgoing_packages]] filters = [ { filter = 'name', value = "iftop" } ] """ When I execute dnf with args "config-manager remove-vendor-policy --name='nonexist*'" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_11r3e7j0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_11r3e7j0/var/cache/dnf config-manager remove-vendor-policy --name='nonexist*' And stderr is # None """ No matching vendor policy files found for pattern: nonexist* """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_11r3e7j0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_11r3e7j0/var/cache/dnf config-manager remove-vendor-policy --name='nonexist*'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/config-manager-remove-vendor-policy.feature:67 test "remove-vendor-policy" with --name=test dnf/plugins-core/config-manager-remove-vendor-policy.feature:76 test "remove-vendor-policy" with --name='*test' dnf/plugins-core/config-manager-remove-vendor-policy.feature:87 test "remove-vendor-policy", cannot remove distribution policy dnf/plugins-core/config-manager-remove-vendor-policy.feature:96 test "remove-vendor-policy", with --name='allow*' dnf/plugins-core/config-manager-remove-vendor-policy.feature:108 test "remove-vendor-policy", with name=nonexist dnf/plugins-core/config-manager-remove-vendor-policy.feature:117 test "remove-vendor-policy", with name='nonexist*' 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 36 steps passed, 6 failed, 6 skipped Took 0min 0.217s USING RUNNER: behave.runner:Runner Feature: dnf "config-manager" command — test "enable" and "disable" subcommands # dnf/plugins-core/config-manager-repos.feature:1 Feature: dnf "config-manager" command — test "enable" and "disable" subcommands # dnf/plugins-core/config-manager-repos.feature:1 Scenario: specific repository gets enabled # dnf/plugins-core/config-manager-repos.feature:26 Given I create file "/etc/yum.repos.d/base-oss.repo" with # common/file.py:36 """ [base-oss] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/base-nonoss.repo" with # common/file.py:36 """ [base-non-oss] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/updates-oss.repo" with # common/file.py:36 """ [updates-oss] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager enable base-oss" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x7f77icl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x7f77icl/var/cache/dnf config-manager enable base-oss And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [base-oss] enabled=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x7f77icl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x7f77icl/var/cache/dnf config-manager enable base-oss  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: specific repository gets disabled # dnf/plugins-core/config-manager-repos.feature:38 Given I create file "/etc/yum.repos.d/base-oss.repo" with # common/file.py:36 """ [base-oss] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/base-nonoss.repo" with # common/file.py:36 """ [base-non-oss] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/updates-oss.repo" with # common/file.py:36 """ [updates-oss] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager disable base-oss" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wiy80eb8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wiy80eb8/var/cache/dnf config-manager disable base-oss And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [base-oss] enabled=0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wiy80eb8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wiy80eb8/var/cache/dnf config-manager disable base-oss  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: specific repository gets disabled and then re-enabled # dnf/plugins-core/config-manager-repos.feature:50 Given I create file "/etc/yum.repos.d/base-oss.repo" with # common/file.py:36 """ [base-oss] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/base-nonoss.repo" with # common/file.py:36 """ [base-non-oss] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/updates-oss.repo" with # common/file.py:36 """ [updates-oss] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager disable base-oss" # dnf/steps/cmd.py:110 And I execute dnf with args "config-manager enable base-oss" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iiiv084a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iiiv084a/var/cache/dnf config-manager enable base-oss And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [base-oss] enabled=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iiiv084a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iiiv084a/var/cache/dnf config-manager enable base-oss  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: pattern is used for enabling repositories # dnf/plugins-core/config-manager-repos.feature:63 Given I create file "/etc/yum.repos.d/base-oss.repo" with # common/file.py:36 """ [base-oss] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/base-nonoss.repo" with # common/file.py:36 """ [base-non-oss] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/updates-oss.repo" with # common/file.py:36 """ [updates-oss] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager enable *-oss" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wr0tk4b5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wr0tk4b5/var/cache/dnf config-manager enable *-oss And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [base-non-oss] enabled=1 [base-oss] enabled=1 [updates-oss] enabled=1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wr0tk4b5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wr0tk4b5/var/cache/dnf config-manager enable *-oss  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: invalid pattern is used # dnf/plugins-core/config-manager-repos.feature:79 Given I create file "/etc/yum.repos.d/base-oss.repo" with # common/file.py:36 """ [base-oss] name=repository file enabled=1 baseurl=http://something1.com/os/ """ And I create file "/etc/yum.repos.d/base-nonoss.repo" with # common/file.py:36 """ [base-non-oss] name=repository file enabled=0 baseurl=http://something2.com/os/ """ And I create file "/etc/yum.repos.d/updates-oss.repo" with # common/file.py:36 """ [updates-oss] name=repository file enabled=1 baseurl=http://something3.com/os/ """ Given I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager enable *-proprietary" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fy9o2ja4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fy9o2ja4/var/cache/dnf config-manager enable *-proprietary And stderr contains "No matching repository to modify: \*-proprietary" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fy9o2ja4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fy9o2ja4/var/cache/dnf config-manager enable *-proprietary  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/config-manager-repos.feature:26 specific repository gets enabled dnf/plugins-core/config-manager-repos.feature:38 specific repository gets disabled dnf/plugins-core/config-manager-repos.feature:50 specific repository gets disabled and then re-enabled dnf/plugins-core/config-manager-repos.feature:63 pattern is used for enabling repositories dnf/plugins-core/config-manager-repos.feature:79 invalid pattern is used 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 5 failed, 0 skipped 26 steps passed, 5 failed, 5 skipped Took 0min 0.210s USING RUNNER: behave.runner:Runner Feature: dnf "config-manager" command - test "setvar" and "unsetvar" subcommands # dnf/plugins-core/config-manager-vars.feature:1 Scenario: set new variables # dnf/plugins-core/config-manager-vars.feature:4 Given I create directory "/etc/dnf/vars/" # common/file.py:30 When I execute dnf with args "config-manager setvar mvar1=value1 mvar2=value2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6b6th28i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6b6th28i/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2 And file "/etc/dnf/vars/mvar1" contents is # None """ value1 """ And file "/etc/dnf/vars/mvar2" contents is # None """ value2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6b6th28i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6b6th28i/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set variable multiple times times with the same value is OK # dnf/plugins-core/config-manager-vars.feature:18 Given I create directory "/etc/dnf/vars/" # common/file.py:30 When I execute dnf with args "config-manager setvar mvar1=value1 mvar2=value2 mvar1=value1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n0c_atm0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n0c_atm0/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2 mvar1=value1 And file "/etc/dnf/vars/mvar1" contents is # None """ value1 """ And file "/etc/dnf/vars/mvar2" contents is # None """ value2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n0c_atm0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n0c_atm0/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2 mvar1=value1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set variable more times with different value # dnf/plugins-core/config-manager-vars.feature:32 Given I create directory "/etc/dnf/vars/" # common/file.py:30 When I execute dnf with args "config-manager setvar mvar1=value1 mvar2=value2 mvar1=other_value" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uitlup2x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uitlup2x/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2 mvar1=other_value And stderr contains "Sets the "mvar1" variable again with a different value: "value1" != "other_value"" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uitlup2x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uitlup2x/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2 mvar1=other_value  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set new variables, missing destination directory # dnf/plugins-core/config-manager-vars.feature:39 When I execute dnf with args "config-manager setvar mvar1=value1 mvar2=value2" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rgkbudmi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rgkbudmi/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2 And stderr contains "Directory ".*/etc/dnf/vars" does not exist. Add "--create-missing-dir" to create missing directories" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rgkbudmi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rgkbudmi/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set new variables, "--create-missing-dir" creates missing destination directory # dnf/plugins-core/config-manager-vars.feature:45 When I execute dnf with args "config-manager setvar --create-missing-dir mvar1=value1 mvar2=value2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kc5jx997 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kc5jx997/var/cache/dnf config-manager setvar --create-missing-dir mvar1=value1 mvar2=value2 And file "/etc/dnf/vars/mvar1" contents is # None """ value1 """ And file "/etc/dnf/vars/mvar2" contents is # None """ value2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kc5jx997 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kc5jx997/var/cache/dnf config-manager setvar --create-missing-dir mvar1=value1 mvar2=value2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set new variables, a file was found instead of a directory # dnf/plugins-core/config-manager-vars.feature:58 Given I create file "/etc/dnf/vars" with # common/file.py:36 When I execute dnf with args "config-manager setvar mvar1=value1 mvar2=value2" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nvultsma --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nvultsma/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2 And stderr contains "The path ".*/etc/dnf/vars" exists, but it is not a directory or a symlink to a directory" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nvultsma --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nvultsma/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: set new variables, a symlink to non-existent object was found instead of a directory # dnf/plugins-core/config-manager-vars.feature:67 Given I create symlink "/etc/dnf/vars" to file "/non-exist" # common/file.py:50 When I execute dnf with args "config-manager setvar mvar1=value1 mvar2=value2" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0i7d7ftr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0i7d7ftr/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2 And stderr contains "The path ".*/etc/dnf/vars" exists, but it is a symlink to a non-existent object" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0i7d7ftr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0i7d7ftr/var/cache/dnf config-manager setvar mvar1=value1 mvar2=value2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: change the value of an existing variable # dnf/plugins-core/config-manager-vars.feature:74 Given I create file "/etc/dnf/vars/mvar1" with # common/file.py:36 """ orig_value1 """ And I execute dnf with args "config-manager setvar mvar1=value1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ci0fz7s9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ci0fz7s9/var/cache/dnf config-manager setvar mvar1=value1 And file "/etc/dnf/vars/mvar1" contents is # None """ value1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ci0fz7s9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ci0fz7s9/var/cache/dnf config-manager setvar mvar1=value1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: unset/remove an existing variable # dnf/plugins-core/config-manager-vars.feature:87 Given I create file "/etc/dnf/vars/mvar1" with # common/file.py:36 """ orig_value1 """ And I create file "/etc/dnf/vars/mvar2" with # common/file.py:36 """ orig_value2 """ And I execute dnf with args "config-manager unsetvar mvar1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e_y8flve --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e_y8flve/var/cache/dnf config-manager unsetvar mvar1 And file "/etc/dnf/vars/mvar1" does not exist # None And file "/etc/dnf/vars/mvar2" contents is # None """ orig_value2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e_y8flve --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e_y8flve/var/cache/dnf config-manager unsetvar mvar1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: unset/remove an existing variable, removing non-existent variable is OK, but a warning is written # dnf/plugins-core/config-manager-vars.feature:105 Given I create file "/etc/dnf/vars/mvar1" with # common/file.py:36 """ orig_value1 """ And I create file "/etc/dnf/vars/mvar2" with # common/file.py:36 """ orig_value2 """ And I execute dnf with args "config-manager unsetvar mvar1 nonexistvar" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8oxwdtj0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8oxwdtj0/var/cache/dnf config-manager unsetvar mvar1 nonexistvar And file "/etc/dnf/vars/mvar1" does not exist # None And file "/etc/dnf/vars/mvar2" contents is # None """ orig_value2 """ And stderr is # None """ config-manager: Request to remove variable but it is not present in the vars directory: nonexistvar """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8oxwdtj0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8oxwdtj0/var/cache/dnf config-manager unsetvar mvar1 nonexistvar  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: removing non-existent variable (directory with variables not found) is OK, but a warning is written # dnf/plugins-core/config-manager-vars.feature:127 When I execute dnf with args "config-manager unsetvar nonexistvar" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_135an7qt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_135an7qt/var/cache/dnf config-manager unsetvar nonexistvar And stderr is # None """ config-manager: Request to remove variable but vars directory was not found: {context.dnf.installroot}/etc/dnf/vars """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_135an7qt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_135an7qt/var/cache/dnf config-manager unsetvar nonexistvar  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/config-manager-vars.feature:4 set new variables dnf/plugins-core/config-manager-vars.feature:18 set variable multiple times times with the same value is OK dnf/plugins-core/config-manager-vars.feature:32 set variable more times with different value dnf/plugins-core/config-manager-vars.feature:39 set new variables, missing destination directory dnf/plugins-core/config-manager-vars.feature:45 set new variables, "--create-missing-dir" creates missing destination directory dnf/plugins-core/config-manager-vars.feature:58 set new variables, a file was found instead of a directory dnf/plugins-core/config-manager-vars.feature:67 set new variables, a symlink to non-existent object was found instead of a directory dnf/plugins-core/config-manager-vars.feature:74 change the value of an existing variable dnf/plugins-core/config-manager-vars.feature:87 unset/remove an existing variable dnf/plugins-core/config-manager-vars.feature:105 unset/remove an existing variable, removing non-existent variable is OK, but a warning is written dnf/plugins-core/config-manager-vars.feature:127 removing non-existent variable (directory with variables not found) is OK, but a warning is written 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 11 failed, 0 skipped 21 steps passed, 11 failed, 17 skipped Took 0min 0.381s USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin chroot argument # dnf/plugins-core/copr-chroot.feature:5 @destructive Feature: Test the COPR plugin chroot argument # dnf/plugins-core/copr-chroot.feature:5 Scenario: Test enabling a repo which doesn't have current default chroot available # dnf/plugins-core/copr-chroot.feature:44 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 31 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-31/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-32": {{ "arch": {{ "x86_64": {{ "opts": {{ "id": "f32" }} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ When I execute dnf with args "copr enable testhub/testuser/testproject" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_78rvbvcg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_78rvbvcg/var/cache/dnf copr enable testhub/testuser/testproject And stdout is empty # None And stderr is # None """ Chroot not found in the given Copr project (Fedora-31-x86_64). You can choose one of the available chroots explicitly: Fedora-32-x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_78rvbvcg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_78rvbvcg/var/cache/dnf copr enable testhub/testuser/testproject  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr-chroot.feature:44 Test enabling a repo which doesn't have current default chroot available 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 2 skipped 5 steps passed, 1 failed, 22 skipped Took 0min 0.237s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-78tgvdba', '/mp-1k_84idk', '/mp-8kmse539', '/mp-zbiw3xcg', '/mp-__w4twwi', '/mp-mkragufn'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin chroot argument # dnf/plugins-core/copr-chroot.feature:5 @destructive Feature: Test the COPR plugin chroot argument # dnf/plugins-core/copr-chroot.feature:5 Scenario: Test enabling repo with specified missing chroot # dnf/plugins-core/copr-chroot.feature:57 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 31 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-31/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-32": {{ "arch": {{ "x86_64": {{ "opts": {{ "id": "f32" }} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ When I execute dnf with args "copr enable testhub/testuser/testproject Fedora-30-x86_64" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w_0c4o3o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w_0c4o3o/var/cache/dnf copr enable testhub/testuser/testproject Fedora-30-x86_64 And stdout is empty # None And stderr is # None """ Chroot not found in the given Copr project (Fedora-30-x86_64). You can choose one of the available chroots explicitly: Fedora-32-x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w_0c4o3o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w_0c4o3o/var/cache/dnf copr enable testhub/testuser/testproject Fedora-30-x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr-chroot.feature:57 Test enabling repo with specified missing chroot 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 2 skipped 5 steps passed, 1 failed, 22 skipped Took 0min 0.240s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-ve8i280u', '/mp-ygowz6nb', '/mp-tst_v656', '/mp-ywh_14ee', '/mp-vgfxwazu', '/mp-lvfqtavc'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin chroot argument # dnf/plugins-core/copr-chroot.feature:5 @destructive Feature: Test the COPR plugin chroot argument # dnf/plugins-core/copr-chroot.feature:5 Scenario: Test enabling a repo with manually specified chroot (different to current) uses opts # dnf/plugins-core/copr-chroot.feature:70 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 31 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-31/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-32": {{ "arch": {{ "x86_64": {{ "opts": {{ "id": "f32" }} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ When I execute dnf with args "copr enable testhub/testuser/testproject Fedora-32-x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fy1plf45 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fy1plf45/var/cache/dnf copr enable testhub/testuser/testproject Fedora-32-x86_64 And stdout is empty # None And stderr is # None """ Enabling a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary. The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at , and packages are not held to any quality or security level. Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. """ When I execute dnf with args "repo list f32 --use-host-config" # None Then the exit code is 0 # None And stdout is # None """ repo id repo name f32 Copr repo for testproject owned by testuser """ And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fy1plf45 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fy1plf45/var/cache/dnf copr enable testhub/testuser/testproject Fedora-32-x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr-chroot.feature:70 Test enabling a repo with manually specified chroot (different to current) uses opts 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 2 skipped 5 steps passed, 1 failed, 22 skipped Took 0min 0.240s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-rvja8qx3', '/mp-y0ft_eie', '/mp-0bk3ukjq', '/mp-ey2qbfab', '/mp-ju6ie9c9', '/mp-6_x2bnfz'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 Scenario: Test enabling and disabling a project # dnf/plugins-core/copr.feature:41 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 30 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-30/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-30": {{ "arch": {{ "x86_64": {{ "opts": {{}} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ When I execute dnf with args "copr enable testhub/testuser/testproject" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7o7088up --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7o7088up/var/cache/dnf copr enable testhub/testuser/testproject And stdout is empty # None And stderr is # None """ Enabling a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary. The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at , and packages are not held to any quality or security level. Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. """ When I execute dnf with args "--use-host-config copr disable testhub/testuser/testproject" # None Then the exit code is 0 # None And stdout is # None """ Copr repository 'localhost/testuser/testproject' in '/etc/yum.repos.d/_copr:localhost:testuser:testproject.repo' disabled. """ And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7o7088up --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7o7088up/var/cache/dnf copr enable testhub/testuser/testproject  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr.feature:41 Test enabling and disabling a project 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 5 steps passed, 1 failed, 49 skipped Took 0min 0.238s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-ugvt4vpw', '/mp-s4cr4vj5', '/mp-9gnt6aiy', '/mp-c45djztn', '/mp-b8ickzjv', '/mp-u60df1ey'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 Scenario: Test disabling a project that is not enabled # dnf/plugins-core/copr.feature:68 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 30 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-30/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-30": {{ "arch": {{ "x86_64": {{ "opts": {{}} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ When I execute dnf with args "copr disable testhub/testuser/testproject" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w9onx834 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w9onx834/var/cache/dnf copr disable testhub/testuser/testproject And stderr is # None """ Repository 'localhost/testuser/testproject' not found on this system """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w9onx834 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w9onx834/var/cache/dnf copr disable testhub/testuser/testproject  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr.feature:68 Test disabling a project that is not enabled 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 5 steps passed, 1 failed, 49 skipped Took 0min 0.239s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-gna1auyf', '/mp-8gct_wpx', '/mp-_dljmrc2', '/mp-_vnxg3rj', '/mp-jyfzn6b1', '/mp-sy8r_21b'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 Scenario: Test enabling a non-existent repo # dnf/plugins-core/copr.feature:77 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 30 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-30/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-30": {{ "arch": {{ "x86_64": {{ "opts": {{}} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ When I execute dnf with args "copr enable testhub/testuser/nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rhethc3q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rhethc3q/var/cache/dnf copr enable testhub/testuser/nonexistent And stderr is # None """ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ (IP: 127.0.0.1) - http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ (IP: 127.0.0.1) - http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ (IP: 127.0.0.1) - http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ (IP: 127.0.0.1) - http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ (IP: 127.0.0.1) Failed to download files Librepo error: Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/nonexistent/Fedora-30/ (IP: 127.0.0.1) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rhethc3q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rhethc3q/var/cache/dnf copr enable testhub/testuser/nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr.feature:77 Test enabling a non-existent repo 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 5 steps passed, 1 failed, 49 skipped Took 0min 0.235s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-7zb_98zy', '/mp-rvby5_cg', '/mp-we_sot4n', '/mp-46h1cjje', '/mp-jz5ktgd6', '/mp-ermrot8u'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 @use.with_os=fedora__ge__41 Scenario: Test enabling a repo with invalid copr configuration # dnf/plugins-core/copr.feature:95 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 30 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-30/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-30": {{ "arch": {{ "x86_64": {{ "opts": {{}} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ Given I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 30 [testhub] hostname = localhost protocol = http # hopefully nothing is ever listening on this port port = 2 """ When I execute dnf with args "copr enable testhub/testuser/testproject" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_st_8e8r6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_st_8e8r6/var/cache/dnf copr enable testhub/testuser/testproject And stderr matches line by line # None """ >>> Curl error \(7\): Could not connect to server for http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ \[Failed to connect to localhost(:| port )2 after 0 ms: Could not connect to server\] - http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ >>> Curl error \(7\): Could not connect to server for http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ \[Failed to connect to localhost(:| port )2 after 0 ms: Could not connect to server\] - http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ >>> Curl error \(7\): Could not connect to server for http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ \[Failed to connect to localhost(:| port )2 after 0 ms: Could not connect to server\] - http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ >>> Curl error \(7\): Could not connect to server for http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ \[Failed to connect to localhost(:| port )2 after 0 ms: Could not connect to server\] - http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ >>> Curl error \(7\): Could not connect to server for http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ \[Failed to connect to localhost(:| port )2 after 0 ms: Could not connect to server\] Failed to download files Librepo error: Curl error \(7\): Could not connect to server for http://localhost:2/api_3/rpmrepo/testuser/testproject/Fedora-30/ \[Failed to connect to localhost(:| port )2 after 0 ms: Could not connect to server\] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_st_8e8r6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_st_8e8r6/var/cache/dnf copr enable testhub/testuser/testproject  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr.feature:95 Test enabling a repo with invalid copr configuration 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 6 steps passed, 1 failed, 48 skipped Took 0min 0.238s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-adybh9mq', '/mp-813vfaw1', '/mp-fz084i0c', '/mp-91jb6srw', '/mp-vaxa2cay', '/mp-nrn_m7tn'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 Scenario: Test enabling a repo without any builds for the distribution # dnf/plugins-core/copr.feature:122 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 30 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-30/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-30": {{ "arch": {{ "x86_64": {{ "opts": {{}} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ Given I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 31 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ When I execute dnf with args "copr enable testhub/testuser/testproject" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0w801vzd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0w801vzd/var/cache/dnf copr enable testhub/testuser/testproject And stderr is # None """ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ (IP: 127.0.0.1) - http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ (IP: 127.0.0.1) - http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ (IP: 127.0.0.1) - http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ (IP: 127.0.0.1) - http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ >>> Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ (IP: 127.0.0.1) Failed to download files Librepo error: Status code: 404 for http://localhost:{context.dnf.ports[copr]}/api_3/rpmrepo/testuser/testproject/Fedora-31/ (IP: 127.0.0.1) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0w801vzd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0w801vzd/var/cache/dnf copr enable testhub/testuser/testproject  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr.feature:122 Test enabling a repo without any builds for the distribution 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 6 steps passed, 1 failed, 48 skipped Took 0min 0.240s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-x4kyu5xz', '/mp-c3hihmov', '/mp-ljcrwsvo', '/mp-9pbe11wd', '/mp-nylj9rpt', '/mp-bzju1fl4'} warnings.warn( USING RUNNER: behave.runner:Runner @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 @destructive Feature: Test the COPR plugin # dnf/plugins-core/copr.feature:5 Scenario: Test enabling and disabling a repository with dependencies # dnf/plugins-core/copr.feature:148 Given I create directory "/{context.dnf.tempdir}/copr" # common/file.py:30 And I start http server "copr" at "{context.dnf.tempdir}/copr" # dnf/steps/server.py:26 And I create and substitute file "//etc/dnf/plugins/copr.conf" with # common/file.py:43 """ [main] distribution = Fedora releasever = 30 [testhub] hostname = localhost protocol = http port = {context.dnf.ports[copr]} """ And I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/testproject/Fedora-30/index.html" with # common/file.py:43 """ {{ "dependencies": [], "directories": {{ "testproject": {{}} }}, "repos": {{ "Fedora-30": {{ "arch": {{ "x86_64": {{ "opts": {{}} }} }} }}, }}, "results_url": "http://project_base_url/" }} """ Given I create and substitute file "/{context.dnf.tempdir}/copr/api_3/rpmrepo/testuser/depproject/Fedora-30/index.html" with # common/file.py:43 """ {{ "dependencies": [ {{ "data": {{ "owner": "@copr", "projectname": "copr-dev" }}, "opts": {{ "id": "coprdep:localhost:testuser:dep1", "name": "Copr copr.fedorainfracloud.org/testuser/ping runtime dependency #1 - @copr/copr-dev" }}, "type": "copr" }}, {{ "data": {{ "pattern": "https://download.copr.fedorainfracloud.org/results/@copr/copr-devl/$chroot/" }}, "opts": {{ "id": "coprdep:some-external-repo", "name": "Copr copr.fedorainfracloud.org/testuser/ping runtime dependency #2 - https_download_copr_fedorainfracloud_org_result_copr_copr_dev_chroot" }}, "type": "external_baseurl" }} ], "directories": {{ "depproject": {{ "ping:custom:11": {{}} }} }}, "repos": {{ "Fedora-30": {{ "arch": {{ "x86_64": {{ "delete_after_days": 68, "opts": {{}} }} }} }}, }}, "results_url": "http://repo_base_url" }} """ When I execute dnf with args "copr enable testhub/testuser/depproject" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sw8ysoaa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sw8ysoaa/var/cache/dnf copr enable testhub/testuser/depproject And stdout is empty # None And stderr is # None """ Enabling a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary. The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at , and packages are not held to any quality or security level. Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. Maintainer of the enabled Copr repository decided to make it dependent on other repositories. Such repositories are usually necessary for successful installation of RPMs from the main Copr repository (they provide runtime dependencies). Be aware that the note about quality and bug-reporting above applies here too, Fedora Project doesn't control the content. Please review the list: 1. [coprdep:localhost:testuser:dep1] baseurl=http://repo_base_url/@copr/copr-dev/Fedora-30-$basearch/ 2. [coprdep:some-external-repo] baseurl=https://download.copr.fedorainfracloud.org/results/@copr/copr-devl/Fedora-30-$basearch/ These repositories are being enabled together with the main repository. """ When I execute dnf with args "copr disable testhub/testuser/depproject --use-host-config" # None Then the exit code is 0 # None And stdout is # None """ Copr repository 'localhost/testuser/depproject' in '/etc/yum.repos.d/_copr:localhost:testuser:depproject.repo' disabled. """ And stderr is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sw8ysoaa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sw8ysoaa/var/cache/dnf copr enable testhub/testuser/depproject  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/copr.feature:148 Test enabling and disabling a repository with dependencies 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 5 skipped 6 steps passed, 1 failed, 48 skipped Took 0min 0.262s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-r_b93bi1', '/mp-zrck6jeb', '/mp-gt19wxe0', '/mp-l4iarrow', '/mp-ir37_37j', '/mp-kmtk4w80'} warnings.warn( USING RUNNER: behave.runner:Runner @xfail Feature: Test for debug plugin - dumping # dnf/plugins-core/debug-dump.feature:3 Scenario: dnf debug-dump dumps file with configuration # dnf/plugins-core/debug-dump.feature:6 Scenario: dnf debug-dump with --norepos skips dumping repositories contents # dnf/plugins-core/debug-dump.feature:55 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 2 skipped 0 steps passed, 0 failed, 10 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Test for debug plugin - restoring obsoleted package # dnf/plugins-core/debug-restore-obsoletes.feature:3 Scenario: Restoring obsoleted package # dnf/plugins-core/debug-restore-obsoletes.feature:6 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 9 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Test for debug plugin - restoring # dnf/plugins-core/debug-restore.feature:3 @xfail Feature: Test for debug plugin - restoring # dnf/plugins-core/debug-restore.feature:3 @bz1844533 @no_installroot Scenario: debug-restore --remove-installonly fails to remove running kernel # dnf/plugins-core/debug-restore.feature:151 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 14 skipped 0 steps passed, 0 failed, 131 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Test for debug plugin - restoring # dnf/plugins-core/debug-restore.feature:3 @xfail Feature: Test for debug plugin - restoring # dnf/plugins-core/debug-restore.feature:3 @bz1844533 Scenario: debug-restore does not do anything if there is no package set change # dnf/plugins-core/debug-restore.feature:14 Scenario: debug-restore can install missing packages in correct versions # dnf/plugins-core/debug-restore.feature:30 Scenario: debug-restore --install-latest installs the latest version of missing package # dnf/plugins-core/debug-restore.feature:39 Scenario: debug-restore does not install missing packages if 'install' not in filter-types # dnf/plugins-core/debug-restore.feature:48 Scenario: debug-restore can remove extra packages # dnf/plugins-core/debug-restore.feature:65 Scenario: debug-restore does not remove packages if 'remove' not in filter-types # dnf/plugins-core/debug-restore.feature:74 Scenario: debug-restore can upgrade packages # dnf/plugins-core/debug-restore.feature:91 Scenario: debug-restore can downgrade packages # dnf/plugins-core/debug-restore.feature:100 Scenario: debug-restore does not replace packages if 'replace' not in filter-types # dnf/plugins-core/debug-restore.feature:109 @bz1844533 Scenario: debug-restore does not remove install-only packages # dnf/plugins-core/debug-restore.feature:127 @bz1844533 Scenario: debug-restore --remove-installonly does remove install-only packages # dnf/plugins-core/debug-restore.feature:138 Scenario: debug-restore --output only prints what would be changed # dnf/plugins-core/debug-restore.feature:164 Scenario: debug-restore --output only prints what would be changed (with --remove-installonly) # dnf/plugins-core/debug-restore.feature:182 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 14 skipped 0 steps passed, 0 failed, 131 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Tests for the debuginfo-install plugin # dnf/plugins-core/debuginfo-install.feature:1 Feature: Tests for the debuginfo-install plugin # dnf/plugins-core/debuginfo-install.feature:1 @bz1585137 Scenario: reports an error for a non-existent package # dnf/plugins-core/debuginfo-install.feature:7 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 When I execute dnf with args "debuginfo-install non-existent-package" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ypd7_guk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ypd7_guk/var/cache/dnf debuginfo-install non-existent-package And stderr is # None """ Failed to resolve the transaction: No match for argument: non-existent-package You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ypd7_guk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ypd7_guk/var/cache/dnf debuginfo-install non-existent-package  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: reports an error for a package without debuginfo # dnf/plugins-core/debuginfo-install.feature:19 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 When I execute dnf with args "debuginfo-install nodebug" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vpqrehty --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vpqrehty/var/cache/dnf debuginfo-install nodebug And stderr is # None """ Could not find debuginfo package for the following packages resolved from the argument 'nodebug': nodebug-0:1.0-1.x86_64 Could not find debugsource package for the following packages resolved from the argument 'nodebug': nodebug-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vpqrehty --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vpqrehty/var/cache/dnf debuginfo-install nodebug  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: installs latest version debuginfo for a not-installed package # dnf/plugins-core/debuginfo-install.feature:29 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 When I execute dnf with args "debuginfo-install foo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kkfwtyit --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kkfwtyit/var/cache/dnf debuginfo-install foo And Transaction is following # None | Action | Package | | install | foo-debuginfo-0:2.0-1.x86_64 | | install | foo-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kkfwtyit --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kkfwtyit/var/cache/dnf debuginfo-install foo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1586059 @bz1629412 Scenario: installs the same version of debuginfo for an installed package # dnf/plugins-core/debuginfo-install.feature:38 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install foo-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nuvbs7dk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nuvbs7dk/var/cache/dnf install foo-1.0 When I execute dnf with args "debuginfo-install foo" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | foo-debuginfo-0:1.0-1.x86_64 | | install | foo-debugsource-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nuvbs7dk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nuvbs7dk/var/cache/dnf install foo-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: with a -debugsource (or -debuginfo) package as an argument, installed version is not respected # dnf/plugins-core/debuginfo-install.feature:47 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install foo-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e4wuiklm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e4wuiklm/var/cache/dnf install foo-1.0 When I execute dnf with args "debuginfo-install foo-debugsource" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | foo-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e4wuiklm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e4wuiklm/var/cache/dnf install foo-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1586059 @bz1629412 Scenario: installs the requested version of debuginfo even if a different base package is installed # dnf/plugins-core/debuginfo-install.feature:56 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install foo-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iw9u1rvb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iw9u1rvb/var/cache/dnf install foo-2.0 When I execute dnf with args "debuginfo-install foo-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | foo-debuginfo-0:1.0-1.x86_64 | | install | foo-debugsource-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iw9u1rvb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iw9u1rvb/var/cache/dnf install foo-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1586059 @bz1629412 Scenario: installs the requested version of debuginfo (through a provide) even if a different base package is installed # dnf/plugins-core/debuginfo-install.feature:66 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install baz-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tu9r6mx9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tu9r6mx9/var/cache/dnf install baz-1.0 When I execute dnf with args "debuginfo-install baz-2.0-provide" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | baz-debuginfo-0:2.0-1.x86_64 | | install | baz-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tu9r6mx9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tu9r6mx9/var/cache/dnf install baz-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: installs debuginfo when a -debuginfo package is provided # dnf/plugins-core/debuginfo-install.feature:75 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 When I execute dnf with args "debuginfo-install foo-debuginfo" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vq0s_nnz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vq0s_nnz/var/cache/dnf debuginfo-install foo-debuginfo And Transaction is following # None | Action | Package | | install | foo-debuginfo-0:2.0-1.x86_64 | | install-weak | foo-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vq0s_nnz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vq0s_nnz/var/cache/dnf debuginfo-install foo-debuginfo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1586059 @bz1629412 Scenario: can't find the version of debuginfo for an installed package # dnf/plugins-core/debuginfo-install.feature:84 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bar-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fonyvhxp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fonyvhxp/var/cache/dnf install bar-2.0 When I execute dnf with args "debuginfo-install bar" # None Then the exit code is 0 # None And stderr is # None """ Could not find debuginfo package for the following packages resolved from the argument 'bar': bar-0:2.0-1.x86_64 Could not find debugsource package for the following packages resolved from the argument 'bar': bar-0:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fonyvhxp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fonyvhxp/var/cache/dnf install bar-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: can't find the requested version of debuginfo (multilib package, architectures can be mixed up) # dnf/plugins-core/debuginfo-install.feature:95 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 When I execute dnf with args "debuginfo-install baz-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_txmiythq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_txmiythq/var/cache/dnf debuginfo-install baz-1.0 And stderr is # None """ Could not find debuginfo package for the following packages resolved from the argument 'baz-1.0': baz-0:1.0-1.i686, baz-0:1.0-1.x86_64 Could not find debugsource package for the following packages resolved from the argument 'baz-1.0': baz-0:1.0-1.i686, baz-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_txmiythq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_txmiythq/var/cache/dnf debuginfo-install baz-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: installs debuginfo with the same (secondary) architecture as the installed package # dnf/plugins-core/debuginfo-install.feature:105 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install baz.i686" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mocyjhir --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mocyjhir/var/cache/dnf install baz.i686 When I execute dnf with args "debuginfo-install baz" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | baz-debuginfo-0:2.0-1.i686 | | install | baz-debugsource-0:2.0-1.i686 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mocyjhir --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mocyjhir/var/cache/dnf install baz.i686  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: installs debuginfo for multiple installed architectures # dnf/plugins-core/debuginfo-install.feature:114 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install baz.i686 baz.x86_64" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zi3alngq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zi3alngq/var/cache/dnf install baz.i686 baz.x86_64 When I execute dnf with args "debuginfo-install baz" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | baz-debuginfo-0:2.0-1.i686 | | install | baz-debuginfo-0:2.0-1.x86_64 | | install | baz-debugsource-0:2.0-1.i686 | | install | baz-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zi3alngq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zi3alngq/var/cache/dnf install baz.i686 baz.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: installs debuginfo for the latest version of multiple install-only packages # dnf/plugins-core/debuginfo-install.feature:125 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install kernel-1.0 kernel-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_btf6792g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_btf6792g/var/cache/dnf install kernel-1.0 kernel-2.0 When I execute dnf with args "debuginfo-install kernel" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | kernel-debuginfo-0:2.0-1.x86_64 | | install | kernel-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_btf6792g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_btf6792g/var/cache/dnf install kernel-1.0 kernel-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: multiple packages, a glob that doesn't find debuginfo for the installed version # dnf/plugins-core/debuginfo-install.feature:134 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install foo-1.0 bar-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y7hjzz0l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y7hjzz0l/var/cache/dnf install foo-1.0 bar-2.0 When I execute dnf with args "debuginfo-install foo ba* nodebug" # None Then the exit code is 0 # None And stderr contains "Could not find debuginfo package for the following packages resolved from the argument 'ba\*': bar-0:2\.0-1\.x86_64" # None And stderr contains "Could not find debugsource package for the following packages resolved from the argument 'ba\*': bar-0:2\.0-1\.x86_64" # None And stderr contains "Could not find debuginfo package for the following packages resolved from the argument 'nodebug': nodebug-0:1\.0-1\.x86_64" # None And stderr contains "Could not find debugsource package for the following packages resolved from the argument 'nodebug': nodebug-0:1\.0-1\.x86_64" # None And Transaction is following # None | Action | Package | | install | baz-debuginfo-0:2.0-1.x86_64 | | install | baz-debugsource-0:2.0-1.x86_64 | | install | foo-debuginfo-0:1.0-1.x86_64 | | install | foo-debugsource-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y7hjzz0l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y7hjzz0l/var/cache/dnf install foo-1.0 bar-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: a glob with version that overrides what is installed # dnf/plugins-core/debuginfo-install.feature:149 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install foo-1.0 bar-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5qd8jat2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5qd8jat2/var/cache/dnf install foo-1.0 bar-2.0 When I execute dnf with args "debuginfo-install foo ba*-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | bar-debuginfo-0:1.0-1.x86_64 | | install | bar-debugsource-0:1.0-1.x86_64 | | install | foo-debuginfo-0:1.0-1.x86_64 | | install | foo-debugsource-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5qd8jat2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5qd8jat2/var/cache/dnf install foo-1.0 bar-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: a package with a glob in version that overrides what is installed # dnf/plugins-core/debuginfo-install.feature:160 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bar-2.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ufv773ge --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ufv773ge/var/cache/dnf install bar-2.0 When I execute dnf with args "debuginfo-install bar-1.*" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | bar-debuginfo-0:1.0-1.x86_64 | | install | bar-debugsource-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ufv773ge --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ufv773ge/var/cache/dnf install bar-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1586084 Scenario: packages are upgraded according to the installed version of the base package # dnf/plugins-core/debuginfo-install.feature:170 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bar-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_48qmyfaf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_48qmyfaf/var/cache/dnf install bar-1.0 Given I successfully execute dnf with args "debuginfo-install bar" # None Then Transaction is following # None | Action | Package | | install | bar-debuginfo-0:1.0-1.x86_64 | | install | bar-debugsource-0:1.0-1.x86_64 | Given I successfully execute dnf with args "install bar-3.0" # None When I execute dnf with args "debuginfo-install bar" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | bar-debuginfo-0:3.0-1.x86_64 | | upgrade | bar-debugsource-0:3.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_48qmyfaf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_48qmyfaf/var/cache/dnf install bar-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1586084 Scenario: debuginfo is upgraded according to the installed version of the base package, debugsource is not found # dnf/plugins-core/debuginfo-install.feature:186 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bar-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_up66w_jl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_up66w_jl/var/cache/dnf install bar-1.0 Given I successfully execute dnf with args "debuginfo-install bar" # None Then Transaction is following # None | Action | Package | | install | bar-debuginfo-0:1.0-1.x86_64 | | install | bar-debugsource-0:1.0-1.x86_64 | Given I successfully execute dnf with args "install bar-4.0" # None When I execute dnf with args "debuginfo-install bar" # None Then the exit code is 0 # None And stderr contains "Could not find debugsource package for the following packages resolved from the argument 'bar': bar-0:4.0-1.x86_64" # None And Transaction is following # None | Action | Package | | upgrade | bar-debuginfo-0:4.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_up66w_jl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_up66w_jl/var/cache/dnf install bar-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1532378 Scenario: debugsource is installed even if debuginfo is present on the system # dnf/plugins-core/debuginfo-install.feature:202 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install --setopt=install_weak_deps=False foo-debuginfo" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eqptf_k5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eqptf_k5/var/cache/dnf install --setopt=install_weak_deps=False foo-debuginfo When I execute dnf with args "debuginfo-install foo" # None Then the exit code is 0 # None Then Transaction is following # None | Action | Package | | install | foo-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eqptf_k5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eqptf_k5/var/cache/dnf install --setopt=install_weak_deps=False foo-debuginfo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: installs latest version debuginfo of parent package for a subpackage # dnf/plugins-core/debuginfo-install.feature:210 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 When I execute dnf with args "debuginfo-install foo-subpackage" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dj2nrtoy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dj2nrtoy/var/cache/dnf debuginfo-install foo-subpackage And Transaction is following # None | Action | Package | | install | foo-debuginfo-0:2.0-1.x86_64 | | install | foo-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dj2nrtoy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dj2nrtoy/var/cache/dnf debuginfo-install foo-subpackage  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1586059 @bz1629412 Scenario: installs version of debuginfo for parent package of an installed subpackage # dnf/plugins-core/debuginfo-install.feature:219 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install foo-subpackage-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o53dna7t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o53dna7t/var/cache/dnf install foo-subpackage-1.0 When I execute dnf with args "debuginfo-install foo-subpackage" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | foo-debuginfo-0:1.0-1.x86_64 | | install | foo-debugsource-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o53dna7t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o53dna7t/var/cache/dnf install foo-subpackage-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1586059 @bz1629412 Scenario: installs version of debuginfo for parent package of an installed subpackage # dnf/plugins-core/debuginfo-install.feature:229 Given I use repository "debuginfo-install" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install foo-subpackage-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_740bz9j0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_740bz9j0/var/cache/dnf install foo-subpackage-1.0 When I execute dnf with args "debuginfo-install foo-subpackage-2.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | foo-debuginfo-0:2.0-1.x86_64 | | install | foo-debugsource-0:2.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_740bz9j0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_740bz9j0/var/cache/dnf install foo-subpackage-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/debuginfo-install.feature:7 reports an error for a non-existent package dnf/plugins-core/debuginfo-install.feature:19 reports an error for a package without debuginfo dnf/plugins-core/debuginfo-install.feature:29 installs latest version debuginfo for a not-installed package dnf/plugins-core/debuginfo-install.feature:38 installs the same version of debuginfo for an installed package dnf/plugins-core/debuginfo-install.feature:47 with a -debugsource (or -debuginfo) package as an argument, installed version is not respected dnf/plugins-core/debuginfo-install.feature:56 installs the requested version of debuginfo even if a different base package is installed dnf/plugins-core/debuginfo-install.feature:66 installs the requested version of debuginfo (through a provide) even if a different base package is installed dnf/plugins-core/debuginfo-install.feature:75 installs debuginfo when a -debuginfo package is provided dnf/plugins-core/debuginfo-install.feature:84 can't find the version of debuginfo for an installed package dnf/plugins-core/debuginfo-install.feature:95 can't find the requested version of debuginfo (multilib package, architectures can be mixed up) dnf/plugins-core/debuginfo-install.feature:105 installs debuginfo with the same (secondary) architecture as the installed package dnf/plugins-core/debuginfo-install.feature:114 installs debuginfo for multiple installed architectures dnf/plugins-core/debuginfo-install.feature:125 installs debuginfo for the latest version of multiple install-only packages dnf/plugins-core/debuginfo-install.feature:134 multiple packages, a glob that doesn't find debuginfo for the installed version dnf/plugins-core/debuginfo-install.feature:149 a glob with version that overrides what is installed dnf/plugins-core/debuginfo-install.feature:160 a package with a glob in version that overrides what is installed dnf/plugins-core/debuginfo-install.feature:170 packages are upgraded according to the installed version of the base package dnf/plugins-core/debuginfo-install.feature:186 debuginfo is upgraded according to the installed version of the base package, debugsource is not found dnf/plugins-core/debuginfo-install.feature:202 debugsource is installed even if debuginfo is present on the system dnf/plugins-core/debuginfo-install.feature:210 installs latest version debuginfo of parent package for a subpackage dnf/plugins-core/debuginfo-install.feature:219 installs version of debuginfo for parent package of an installed subpackage dnf/plugins-core/debuginfo-install.feature:229 installs version of debuginfo for parent package of an installed subpackage 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 22 failed, 0 skipped 28 steps passed, 22 failed, 65 skipped Took 0min 0.822s USING RUNNER: behave.runner:Runner Feature: Deptree command tests # dnf/plugins-core/deptree.feature:1 Scenario: Forward tree uses the latest provider version # dnf/plugins-core/deptree.feature:6 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree trailhead --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kkzjyaai --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kkzjyaai/var/cache/dnf deptree trailhead --arch=x86_64 And stderr is # None """ """ And stdout is # None """ trailhead-1-1.fc29.x86_64 └─ waypost-2-1.fc29.x86_64 └─ campsite-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kkzjyaai --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kkzjyaai/var/cache/dnf deptree trailhead --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Depth limits forward traversal # dnf/plugins-core/deptree.feature:24 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --depth=1 trailhead --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k54_slyr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k54_slyr/var/cache/dnf deptree --depth=1 trailhead --arch=x86_64 And stdout is # None """ trailhead-1-1.fc29.x86_64 └─ waypost-2-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k54_slyr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k54_slyr/var/cache/dnf deptree --depth=1 trailhead --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Depth-limited traversal expands shared nodes at their shallowest package depth # dnf/plugins-core/deptree.feature:40 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends --depth=3 --flat --show-requires basecamp --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u5llrry_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u5llrry_/var/cache/dnf deptree --types=requires,recommends --depth=3 --flat --show-requires basecamp --arch=x86_64 And stdout is # None """ approach-1-1.fc29.x86_64 basecamp-1-1.fc29.x86_64 campsite-1-1.fc29.x86_64 trailhead-1-1.fc29.x86_64 waypost-2-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u5llrry_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u5llrry_/var/cache/dnf deptree --types=requires,recommends --depth=3 --flat --show-requires basecamp --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Shared subtrees expand at their minimum depth even when a longer path is printed first # dnf/plugins-core/deptree.feature:56 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends --depth=3 basecamp --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c40gzfmn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c40gzfmn/var/cache/dnf deptree --types=requires,recommends --depth=3 basecamp --arch=x86_64 And stdout is # None """ basecamp-1-1.fc29.x86_64 ├─ approach-1-1.fc29.x86_64 │ └─ trailhead-1-1.fc29.x86_64 [expanded elsewhere] └─ trailhead-1-1.fc29.x86_64 └─ waypost-2-1.fc29.x86_64 └─ campsite-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c40gzfmn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c40gzfmn/var/cache/dnf deptree --types=requires,recommends --depth=3 basecamp --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Requirement nodes do not affect minimum package depth during rendering # dnf/plugins-core/deptree.feature:73 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends --show-requires --depth=3 basecamp --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ribejj94 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ribejj94/var/cache/dnf deptree --types=requires,recommends --show-requires --depth=3 basecamp --arch=x86_64 And stdout is # None """ basecamp-1-1.fc29.x86_64 ├─ requirement: approach │ └─ approach-1-1.fc29.x86_64 │ └─ requirement: trailhead │ └─ trailhead-1-1.fc29.x86_64 [expanded elsewhere] └─ requirement: trailhead └─ trailhead-1-1.fc29.x86_64 └─ requirement: waypost └─ waypost-2-1.fc29.x86_64 └─ requirement: campsite └─ campsite-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ribejj94 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ribejj94/var/cache/dnf deptree --types=requires,recommends --show-requires --depth=3 basecamp --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Package expansion can be deferred to a later selected root # dnf/plugins-core/deptree.feature:97 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends --depth=2 basecamp trailhead --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_850za4hd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_850za4hd/var/cache/dnf deptree --types=requires,recommends --depth=2 basecamp trailhead --arch=x86_64 And stdout is # None """ basecamp-1-1.fc29.x86_64 ├─ approach-1-1.fc29.x86_64 │ └─ trailhead-1-1.fc29.x86_64 [expanded elsewhere] └─ trailhead-1-1.fc29.x86_64 [expanded elsewhere] trailhead-1-1.fc29.x86_64 └─ waypost-2-1.fc29.x86_64 └─ campsite-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_850za4hd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_850za4hd/var/cache/dnf deptree --types=requires,recommends --depth=2 basecamp trailhead --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Equally short occurrences share expansion across selected roots # dnf/plugins-core/deptree.feature:118 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends --depth=3 approach basecamp --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1q3izfkg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1q3izfkg/var/cache/dnf deptree --types=requires,recommends --depth=3 approach basecamp --arch=x86_64 And stdout is # None """ approach-1-1.fc29.x86_64 └─ trailhead-1-1.fc29.x86_64 └─ waypost-2-1.fc29.x86_64 └─ campsite-1-1.fc29.x86_64 basecamp-1-1.fc29.x86_64 ├─ approach-1-1.fc29.x86_64 [expanded elsewhere] └─ trailhead-1-1.fc29.x86_64 [expanded elsewhere] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1q3izfkg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1q3izfkg/var/cache/dnf deptree --types=requires,recommends --depth=3 approach basecamp --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reverse trees share expansion across selected roots # dnf/plugins-core/deptree.feature:139 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends --reverse --depth=2 campsite waypost --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_87lyqwk8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_87lyqwk8/var/cache/dnf deptree --types=requires,recommends --reverse --depth=2 campsite waypost --arch=x86_64 And stdout is # None """ campsite-1-1.fc29.x86_64 └─ waypost-2-1.fc29.x86_64 [expanded elsewhere] waypost-2-1.fc29.x86_64 └─ trailhead-1-1.fc29.x86_64 ├─ approach-1-1.fc29.x86_64 └─ basecamp-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_87lyqwk8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_87lyqwk8/var/cache/dnf deptree --types=requires,recommends --reverse --depth=2 campsite waypost --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Cycles render references to package subtrees expanded at a shorter depth # dnf/plugins-core/deptree.feature:157 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=recommends loop-a --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gjpxfwde --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gjpxfwde/var/cache/dnf deptree --types=recommends loop-a --arch=x86_64 And stdout is # None """ loop-a-1-1.fc29.x86_64 └─ loop-b-1-1.fc29.x86_64 └─ loop-a-1-1.fc29.x86_64 [expanded elsewhere] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gjpxfwde --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gjpxfwde/var/cache/dnf deptree --types=recommends loop-a --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Pruned graphs retain minimum-depth expansion paths # dnf/plugins-core/deptree.feature:172 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends --contains-pkgs=campsite --depth=3 basecamp --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4gliahxe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4gliahxe/var/cache/dnf deptree --types=requires,recommends --contains-pkgs=campsite --depth=3 basecamp --arch=x86_64 And stdout is # None """ basecamp-1-1.fc29.x86_64 └─ trailhead-1-1.fc29.x86_64 └─ waypost-2-1.fc29.x86_64 └─ campsite-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4gliahxe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4gliahxe/var/cache/dnf deptree --types=requires,recommends --contains-pkgs=campsite --depth=3 basecamp --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reverse tree uses the latest dependent version # dnf/plugins-core/deptree.feature:188 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --reverse campsite --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qu1vh6n8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qu1vh6n8/var/cache/dnf deptree --reverse campsite --arch=x86_64 And stdout is # None """ campsite-1-1.fc29.x86_64 └─ waypost-2-1.fc29.x86_64 └─ trailhead-1-1.fc29.x86_64 └─ basecamp-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qu1vh6n8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qu1vh6n8/var/cache/dnf deptree --reverse campsite --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Rich OR requirements produce a choice node # dnf/plugins-core/deptree.feature:203 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree junction --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wykx7n3r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wykx7n3r/var/cache/dnf deptree junction --arch=x86_64 And stdout is # None """ junction-1-1.fc29.x86_64 └─ choice: (north-trail or south-trail) ├─ north-trail-1-1.fc29.x86_64 └─ south-trail-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wykx7n3r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wykx7n3r/var/cache/dnf deptree junction --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Nested rich OR requirements retain every operand branch # dnf/plugins-core/deptree.feature:219 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree nested-choice --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3s049ilk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3s049ilk/var/cache/dnf deptree nested-choice --arch=x86_64 And stdout is # None """ nested-choice-1-1.fc29.x86_64 └─ choice: ((rope and tent) or map) ├─ rope-1-1.fc29.x86_64 ├─ tent-1-1.fc29.x86_64 └─ map-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3s049ilk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3s049ilk/var/cache/dnf deptree nested-choice --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Showduplicates includes all provider versions # dnf/plugins-core/deptree.feature:236 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --showduplicates --flat trailhead" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n7clm94e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n7clm94e/var/cache/dnf deptree --showduplicates --flat trailhead And stdout is # None """ campsite-1-1.fc29.x86_64 trailhead-1-1.fc29.src trailhead-1-1.fc29.x86_64 waypost-1-1.fc29.x86_64 waypost-2-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n7clm94e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n7clm94e/var/cache/dnf deptree --showduplicates --flat trailhead  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Arch limits roots and traversal candidates # dnf/plugins-core/deptree.feature:252 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --arch=x86_64 viewpoint" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cg1tfmf0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cg1tfmf0/var/cache/dnf deptree --arch=x86_64 viewpoint And stdout is # None """ viewpoint-1-1.fc29.x86_64 └─ binoculars-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cg1tfmf0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cg1tfmf0/var/cache/dnf deptree --arch=x86_64 viewpoint  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Installed limits the tree to installed packages # dnf/plugins-core/deptree.feature:266 Given I use repository "deptree" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install trailhead --exclude=waypost-2" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nw0q4v8g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nw0q4v8g/var/cache/dnf install trailhead --exclude=waypost-2 When I execute dnf with args "deptree --installed trailhead" # None Then the exit code is 0 # None And stdout is # None """ trailhead-1-1.fc29.x86_64 └─ waypost-1-1.fc29.x86_64 └─ campsite-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nw0q4v8g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nw0q4v8g/var/cache/dnf install trailhead --exclude=waypost-2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Flat JSON output lists package NEVRAs # dnf/plugins-core/deptree.feature:281 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --flat --json trailhead --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5h898b3t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5h898b3t/var/cache/dnf deptree --flat --json trailhead --arch=x86_64 And stdout json matches # None """ [ "campsite-1-1.fc29.x86_64", "waypost-2-1.fc29.x86_64", "trailhead-1-1.fc29.x86_64" ] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5h898b3t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5h898b3t/var/cache/dnf deptree --flat --json trailhead --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: JSON output describes the dependency graph # dnf/plugins-core/deptree.feature:298 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --json --depth=1 trailhead --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fwx85a8z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fwx85a8z/var/cache/dnf deptree --json --depth=1 trailhead --arch=x86_64 And stdout json matches # None """ { "roots": ["pkg:trailhead-1-1.fc29.x86_64"], "nodes": [ { "id": "pkg:waypost-2-1.fc29.x86_64", "type": "package", "name": "waypost", "epoch": "0", "version": "2", "release": "1.fc29", "arch": "x86_64" }, { "id": "pkg:trailhead-1-1.fc29.x86_64", "type": "package", "name": "trailhead", "epoch": "0", "version": "1", "release": "1.fc29", "arch": "x86_64" } ], "edges": [ { "source": "pkg:trailhead-1-1.fc29.x86_64", "target": "pkg:waypost-2-1.fc29.x86_64", "requirements": ["waypost"] } ] } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fwx85a8z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fwx85a8z/var/cache/dnf deptree --json --depth=1 trailhead --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Shared packages expand once across dependency types # dnf/plugins-core/deptree.feature:339 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends expedition --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kb1oyk98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kb1oyk98/var/cache/dnf deptree --types=requires,recommends expedition --arch=x86_64 And stdout is # None """ expedition-1-1.fc29.x86_64 ├─ compass-1-1.fc29.x86_64 │ └─ landmark-1-1.fc29.x86_64 └─ choice: (compass or map) ├─ compass-1-1.fc29.x86_64 [expanded elsewhere] └─ map-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kb1oyk98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kb1oyk98/var/cache/dnf deptree --types=requires,recommends expedition --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Depth-limited leaf packages are not marked as expanded elsewhere # dnf/plugins-core/deptree.feature:357 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=requires,recommends --depth=1 expedition --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s4r7hsgx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s4r7hsgx/var/cache/dnf deptree --types=requires,recommends --depth=1 expedition --arch=x86_64 And stdout is # None """ expedition-1-1.fc29.x86_64 ├─ compass-1-1.fc29.x86_64 └─ choice: (compass or map) ├─ compass-1-1.fc29.x86_64 └─ map-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s4r7hsgx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s4r7hsgx/var/cache/dnf deptree --types=requires,recommends --depth=1 expedition --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Conditional rich dependencies render an if node # dnf/plugins-core/deptree.feature:374 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree forecast --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d7povebf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d7povebf/var/cache/dnf deptree forecast --arch=x86_64 And stdout is # None """ forecast-1-1.fc29.x86_64 └─ if (sunrise or starlight): └─ tent-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d7povebf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d7povebf/var/cache/dnf deptree forecast --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Conditions with the same label retain their own branches # dnf/plugins-core/deptree.feature:391 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree route-plan outlook --types=requires,recommends --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dwq5xg1i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dwq5xg1i/var/cache/dnf deptree route-plan outlook --types=requires,recommends --arch=x86_64 And stdout is # None """ outlook-1-1.fc29.x86_64 └─ if weather: ├─ north-trail-1-1.fc29.x86_64 └─ else: └─ south-trail-1-1.fc29.x86_64 route-plan-1-1.fc29.x86_64 ├─ water-1-1.fc29.x86_64 └─ if weather: └─ tarp-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dwq5xg1i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dwq5xg1i/var/cache/dnf deptree route-plan outlook --types=requires,recommends --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: AND rich dependencies retain each branch # dnf/plugins-core/deptree.feature:412 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree packing-list --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cgpvvdq6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cgpvvdq6/var/cache/dnf deptree packing-list --arch=x86_64 And stdout is # None """ packing-list-1-1.fc29.x86_64 ├─ rope-1-1.fc29.x86_64 └─ tent-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cgpvvdq6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cgpvvdq6/var/cache/dnf deptree packing-list --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Unless rich dependencies treat their first operand as active # dnf/plugins-core/deptree.feature:427 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=enhances detour --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wj50egut --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wj50egut/var/cache/dnf deptree --types=enhances detour --arch=x86_64 And stdout is # None """ detour-1-1.fc29.x86_64 └─ bridge-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wj50egut --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wj50egut/var/cache/dnf deptree --types=enhances detour --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: UNLESS ELSE rich dependencies render both branches # dnf/plugins-core/deptree.feature:441 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=enhances crossroads --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zh3ad671 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zh3ad671/var/cache/dnf deptree --types=enhances crossroads --arch=x86_64 And stdout is # None """ crossroads-1-1.fc29.x86_64 └─ if storm: ├─ tunnel-1-1.fc29.x86_64 └─ else: └─ bridge-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zh3ad671 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zh3ad671/var/cache/dnf deptree --types=enhances crossroads --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: WITH and WITHOUT rich dependencies filter candidates # dnf/plugins-core/deptree.feature:461 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --show-requires river-crossing --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ekblxb2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ekblxb2/var/cache/dnf deptree --show-requires river-crossing --arch=x86_64 And stdout is # None """ river-crossing-1-1.fc29.x86_64 ├─ requirement: (bridge-pass without flood-pass) │ └─ bridge-pass-1-1.fc29.x86_64 └─ requirement: (gear-rope with gear-tarp) └─ gear-cache-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ekblxb2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ekblxb2/var/cache/dnf deptree --show-requires river-crossing --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Nested WITH and WITHOUT OR operands resolve providers # dnf/plugins-core/deptree.feature:480 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --show-requires nested-constraints --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x50ykgwd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x50ykgwd/var/cache/dnf deptree --show-requires nested-constraints --arch=x86_64 And stdout is # None """ nested-constraints-1-1.fc29.x86_64 ├─ requirement: (bridge-pass without (flood-pass or storm-pass)) │ └─ bridge-pass-1-1.fc29.x86_64 └─ requirement: (gear-rope with (gear-tarp or flood-pass)) └─ gear-cache-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x50ykgwd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x50ykgwd/var/cache/dnf deptree --show-requires nested-constraints --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Unsatisfied recommends remain a single terminal node with show requires # dnf/plugins-core/deptree.feature:495 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --show-requires --types=recommends lost-signal --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_00fzkttc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_00fzkttc/var/cache/dnf deptree --show-requires --types=recommends lost-signal --arch=x86_64 And stdout is # None """ lost-signal-1-1.fc29.x86_64 └─ unsatisfied: missing-signal """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_00fzkttc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_00fzkttc/var/cache/dnf deptree --show-requires --types=recommends lost-signal --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Ambiguous roots use the newest version by default # dnf/plugins-core/deptree.feature:507 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --depth=0 waypost" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7u2ywrj8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7u2ywrj8/var/cache/dnf deptree --depth=0 waypost And stdout is # None """ waypost-2-1.fc29.src waypost-2-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7u2ywrj8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7u2ywrj8/var/cache/dnf deptree --depth=0 waypost  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Showduplicates retains every matching root version # dnf/plugins-core/deptree.feature:521 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --showduplicates --depth=0 waypost" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ivic7iz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ivic7iz/var/cache/dnf deptree --showduplicates --depth=0 waypost And stdout is # None """ waypost-1-1.fc29.src waypost-1-1.fc29.x86_64 waypost-2-1.fc29.src waypost-2-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ivic7iz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ivic7iz/var/cache/dnf deptree --showduplicates --depth=0 waypost  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Types can select weak dependencies without requires # dnf/plugins-core/deptree.feature:540 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --types=recommends expedition --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b5exq2ej --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b5exq2ej/var/cache/dnf deptree --types=recommends expedition --arch=x86_64 And stdout is # None """ expedition-1-1.fc29.x86_64 └─ compass-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b5exq2ej --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b5exq2ej/var/cache/dnf deptree --types=recommends expedition --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Providers include every architecture by default # dnf/plugins-core/deptree.feature:554 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree viewpoint.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qlt4y41t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qlt4y41t/var/cache/dnf deptree viewpoint.x86_64 And stdout is # None """ viewpoint-1-1.fc29.x86_64 └─ choice: binoculars ├─ binoculars-1-1.fc29.i686 └─ binoculars-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qlt4y41t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qlt4y41t/var/cache/dnf deptree viewpoint.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Package globs select every matching root # dnf/plugins-core/deptree.feature:569 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --depth=0 --arch=x86_64 '*-trail'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fs_07sgb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fs_07sgb/var/cache/dnf deptree --depth=0 --arch=x86_64 '*-trail' And stdout is # None """ north-trail-1-1.fc29.x86_64 south-trail-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fs_07sgb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fs_07sgb/var/cache/dnf deptree --depth=0 --arch=x86_64 '*-trail'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Exact NEVRA selects an older package version # dnf/plugins-core/deptree.feature:583 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --depth=0 waypost-1-1.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u_9rf0lo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u_9rf0lo/var/cache/dnf deptree --depth=0 waypost-1-1.fc29.x86_64 And stdout is # None """ waypost-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u_9rf0lo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u_9rf0lo/var/cache/dnf deptree --depth=0 waypost-1-1.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Arch accepts a comma-separated list # dnf/plugins-core/deptree.feature:595 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --flat --showduplicates --arch=x86_64,i686 viewpoint" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r9v3cmef --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r9v3cmef/var/cache/dnf deptree --flat --showduplicates --arch=x86_64,i686 viewpoint And stdout is # None """ binoculars-1-1.fc29.i686 binoculars-1-1.fc29.x86_64 viewpoint-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r9v3cmef --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r9v3cmef/var/cache/dnf deptree --flat --showduplicates --arch=x86_64,i686 viewpoint  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Unmatched package specs are reported without suppressing matches # dnf/plugins-core/deptree.feature:609 Given I use repository "deptree" # dnf/steps/repo.py:186 When I execute dnf with args "deptree --depth=0 trailhead lost-trail --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9p4w21h3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9p4w21h3/var/cache/dnf deptree --depth=0 trailhead lost-trail --arch=x86_64 And stderr is # None """ No match for argument "lost-trail". """ And stdout is # None """ trailhead-1-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9p4w21h3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9p4w21h3/var/cache/dnf deptree --depth=0 trailhead lost-trail --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/deptree.feature:6 Forward tree uses the latest provider version dnf/plugins-core/deptree.feature:24 Depth limits forward traversal dnf/plugins-core/deptree.feature:40 Depth-limited traversal expands shared nodes at their shallowest package depth dnf/plugins-core/deptree.feature:56 Shared subtrees expand at their minimum depth even when a longer path is printed first dnf/plugins-core/deptree.feature:73 Requirement nodes do not affect minimum package depth during rendering dnf/plugins-core/deptree.feature:97 Package expansion can be deferred to a later selected root dnf/plugins-core/deptree.feature:118 Equally short occurrences share expansion across selected roots dnf/plugins-core/deptree.feature:139 Reverse trees share expansion across selected roots dnf/plugins-core/deptree.feature:157 Cycles render references to package subtrees expanded at a shorter depth dnf/plugins-core/deptree.feature:172 Pruned graphs retain minimum-depth expansion paths dnf/plugins-core/deptree.feature:188 Reverse tree uses the latest dependent version dnf/plugins-core/deptree.feature:203 Rich OR requirements produce a choice node dnf/plugins-core/deptree.feature:219 Nested rich OR requirements retain every operand branch dnf/plugins-core/deptree.feature:236 Showduplicates includes all provider versions dnf/plugins-core/deptree.feature:252 Arch limits roots and traversal candidates dnf/plugins-core/deptree.feature:266 Installed limits the tree to installed packages dnf/plugins-core/deptree.feature:281 Flat JSON output lists package NEVRAs dnf/plugins-core/deptree.feature:298 JSON output describes the dependency graph dnf/plugins-core/deptree.feature:339 Shared packages expand once across dependency types dnf/plugins-core/deptree.feature:357 Depth-limited leaf packages are not marked as expanded elsewhere dnf/plugins-core/deptree.feature:374 Conditional rich dependencies render an if node dnf/plugins-core/deptree.feature:391 Conditions with the same label retain their own branches dnf/plugins-core/deptree.feature:412 AND rich dependencies retain each branch dnf/plugins-core/deptree.feature:427 Unless rich dependencies treat their first operand as active dnf/plugins-core/deptree.feature:441 UNLESS ELSE rich dependencies render both branches dnf/plugins-core/deptree.feature:461 WITH and WITHOUT rich dependencies filter candidates dnf/plugins-core/deptree.feature:480 Nested WITH and WITHOUT OR operands resolve providers dnf/plugins-core/deptree.feature:495 Unsatisfied recommends remain a single terminal node with show requires dnf/plugins-core/deptree.feature:507 Ambiguous roots use the newest version by default dnf/plugins-core/deptree.feature:521 Showduplicates retains every matching root version dnf/plugins-core/deptree.feature:540 Types can select weak dependencies without requires dnf/plugins-core/deptree.feature:554 Providers include every architecture by default dnf/plugins-core/deptree.feature:569 Package globs select every matching root dnf/plugins-core/deptree.feature:583 Exact NEVRA selects an older package version dnf/plugins-core/deptree.feature:595 Arch accepts a comma-separated list dnf/plugins-core/deptree.feature:609 Unmatched package specs are reported without suppressing matches 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 36 failed, 0 skipped 71 steps passed, 36 failed, 40 skipped Took 0min 1.304s USING RUNNER: behave.runner:Runner Feature: dnf download --srpm command # dnf/plugins-core/download-source.feature:1 Feature: dnf download --srpm command # dnf/plugins-core/download-source.feature:1 @xfail Scenario: Download a source for an RPM that doesn't exist # dnf/plugins-core/download-source.feature:11 Scenario: Download a source for an existing RPM # dnf/plugins-core/download-source.feature:17 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --srpm setup" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sozu0g0h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sozu0g0h/var/cache/dnf download --srpm setup And stderr contains "setup-0:2.12.1-1.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/setup-2.12.1-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/src/setup-2.12.1-1.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sozu0g0h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sozu0g0h/var/cache/dnf download --srpm setup  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download a source for an existing RPM with a different name # dnf/plugins-core/download-source.feature:26 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --srpm nscd" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vr0fjvsi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vr0fjvsi/var/cache/dnf download --srpm nscd And stderr contains "glibc-0:2.28-9.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/glibc-2.28-9.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/src/glibc-2.28-9.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vr0fjvsi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vr0fjvsi/var/cache/dnf download --srpm nscd  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Download an existing --srpm RPM with --verbose option # dnf/plugins-core/download-source.feature:37 @bz1649627 Scenario: Download a specified source rpm # dnf/plugins-core/download-source.feature:47 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 When I execute dnf with args "download --destdir={context.dnf.tempdir}/downloaddir --srpm setup-2.12.1-1.fc29.src" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hmads808 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hmads808/var/cache/dnf download --destdir=/tmp/dnf_ci_tempdir_ar_xhjjc/downloaddir --srpm setup-2.12.1-1.fc29.src And stderr contains "setup-0:2.12.1-1.fc29.src" # None And stderr does not contain "setup-0:2.12.1-1.fc29.noarch" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/src/setup-2.12.1-1.fc29.src.rpm | | {context.dnf.tempdir}/downloaddir/setup-2.12.1-1.fc29.noarch.rpm | - | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hmads808 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hmads808/var/cache/dnf download --destdir=/tmp/dnf_ci_tempdir_ar_xhjjc/downloaddir --srpm setup-2.12.1-1.fc29.src  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1649627 Scenario Outline: Download a source RPM when there are more versions available -- @1.1 # dnf/plugins-core/download-source.feature:70 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ofz7ac4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ofz7ac4/var/cache/dnf download --srpm wget And stderr contains "wget-1:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ofz7ac4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ofz7ac4/var/cache/dnf download --srpm wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1649627 Scenario Outline: Download a source RPM when there are more versions available -- @1.2 # dnf/plugins-core/download-source.feature:71 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1.19.4-1.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k6z4xnrt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k6z4xnrt/var/cache/dnf download --srpm wget-1.19.4-1.fc29 And stderr contains "wget-1:1.19.4-1.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.4-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.4-1.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k6z4xnrt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k6z4xnrt/var/cache/dnf download --srpm wget-1.19.4-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1649627 Scenario Outline: Download a source RPM when there are more versions available -- @1.3 # dnf/plugins-core/download-source.feature:72 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1.19.5-5.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qm7azwd9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qm7azwd9/var/cache/dnf download --srpm wget-1.19.5-5.fc29 And stderr contains "wget-1:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qm7azwd9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qm7azwd9/var/cache/dnf download --srpm wget-1.19.5-5.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1649627 Scenario Outline: Download a source RPM when there are more versions available -- @1.4 # dnf/plugins-core/download-source.feature:73 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1.19.4-1.fc29.src" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udh_6b_k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udh_6b_k/var/cache/dnf download --srpm wget-1.19.4-1.fc29.src And stderr contains "wget-1:1.19.4-1.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.4-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.4-1.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udh_6b_k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udh_6b_k/var/cache/dnf download --srpm wget-1.19.4-1.fc29.src  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1649627 Scenario Outline: Download a source RPM when there are more versions available -- @1.5 # dnf/plugins-core/download-source.feature:74 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1.19.5-5.fc29.src" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cz671e_o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cz671e_o/var/cache/dnf download --srpm wget-1.19.5-5.fc29.src And stderr contains "wget-1:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cz671e_o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cz671e_o/var/cache/dnf download --srpm wget-1.19.5-5.fc29.src  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1649627 Scenario Outline: Download a source RPM when there are more versions available -- @1.6 # dnf/plugins-core/download-source.feature:75 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1.19.4-1.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qmvgqwji --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qmvgqwji/var/cache/dnf download --srpm wget-1.19.4-1.fc29.x86_64 And stderr contains "wget-1:1.19.4-1.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.4-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.4-1.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qmvgqwji --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qmvgqwji/var/cache/dnf download --srpm wget-1.19.4-1.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1649627 Scenario Outline: Download a source RPM when there are more versions available -- @1.7 # dnf/plugins-core/download-source.feature:76 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1.19.5-5.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4rp93mck --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4rp93mck/var/cache/dnf download --srpm wget-1.19.5-5.fc29.x86_64 And stderr contains "wget-1:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4rp93mck --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4rp93mck/var/cache/dnf download --srpm wget-1.19.5-5.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.1 # dnf/plugins-core/download-source.feature:90 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-0:1.19.5-5.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dkibaeeg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dkibaeeg/var/cache/dnf download --srpm wget-0:1.19.5-5.fc29 And stderr contains "wget-0:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dkibaeeg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dkibaeeg/var/cache/dnf download --srpm wget-0:1.19.5-5.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.2 # dnf/plugins-core/download-source.feature:91 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1:1.19.4-1.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_su1jy3cj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_su1jy3cj/var/cache/dnf download --srpm wget-1:1.19.4-1.fc29 And stderr contains "wget-1:1.19.4-1.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.4-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.4-1.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_su1jy3cj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_su1jy3cj/var/cache/dnf download --srpm wget-1:1.19.4-1.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.3 # dnf/plugins-core/download-source.feature:92 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1:1.19.5-5.fc29" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_odi6wz3l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_odi6wz3l/var/cache/dnf download --srpm wget-1:1.19.5-5.fc29 And stderr contains "wget-1:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_odi6wz3l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_odi6wz3l/var/cache/dnf download --srpm wget-1:1.19.5-5.fc29  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.4 # dnf/plugins-core/download-source.feature:93 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-0:1.19.5-5.fc29.src" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4n_04r7y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4n_04r7y/var/cache/dnf download --srpm wget-0:1.19.5-5.fc29.src And stderr contains "wget-0:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4n_04r7y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4n_04r7y/var/cache/dnf download --srpm wget-0:1.19.5-5.fc29.src  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.5 # dnf/plugins-core/download-source.feature:94 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1:1.19.4-1.fc29.src" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o2_od940 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o2_od940/var/cache/dnf download --srpm wget-1:1.19.4-1.fc29.src And stderr contains "wget-1:1.19.4-1.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.4-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.4-1.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o2_od940 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o2_od940/var/cache/dnf download --srpm wget-1:1.19.4-1.fc29.src  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.6 # dnf/plugins-core/download-source.feature:95 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1:1.19.5-5.fc29.src" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p3xrpq__ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p3xrpq__/var/cache/dnf download --srpm wget-1:1.19.5-5.fc29.src And stderr contains "wget-1:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p3xrpq__ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p3xrpq__/var/cache/dnf download --srpm wget-1:1.19.5-5.fc29.src  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.7 # dnf/plugins-core/download-source.feature:96 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-0:1.19.5-5.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rq8tqgem --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rq8tqgem/var/cache/dnf download --srpm wget-0:1.19.5-5.fc29.x86_64 And stderr contains "wget-0:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rq8tqgem --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rq8tqgem/var/cache/dnf download --srpm wget-0:1.19.5-5.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.8 # dnf/plugins-core/download-source.feature:97 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1:1.19.4-1.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ihu6n9_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ihu6n9_/var/cache/dnf download --srpm wget-1:1.19.4-1.fc29.x86_64 And stderr contains "wget-1:1.19.4-1.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.4-1.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.4-1.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ihu6n9_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ihu6n9_/var/cache/dnf download --srpm wget-1:1.19.4-1.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Download a source RPM when there are more epochs available -- @1.9 # dnf/plugins-core/download-source.feature:98 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 And I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "dnf-ci-fedora-updates-testing" as http # dnf/steps/repo.py:294 When I execute dnf with args "download --srpm wget-1:1.19.5-5.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_spdspv00 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_spdspv00/var/cache/dnf download --srpm wget-1:1.19.5-5.fc29.x86_64 And stderr contains "wget-1:1.19.5-5.fc29.src" # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/wget-1.19.5-5.fc29.src.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora-updates-testing/src/wget-1.19.5-5.fc29.src.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_spdspv00 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_spdspv00/var/cache/dnf download --srpm wget-1:1.19.5-5.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/download-source.feature:17 Download a source for an existing RPM dnf/plugins-core/download-source.feature:26 Download a source for an existing RPM with a different name dnf/plugins-core/download-source.feature:47 Download a specified source rpm dnf/plugins-core/download-source.feature:70 Download a source RPM when there are more versions available -- @1.1 dnf/plugins-core/download-source.feature:71 Download a source RPM when there are more versions available -- @1.2 dnf/plugins-core/download-source.feature:72 Download a source RPM when there are more versions available -- @1.3 dnf/plugins-core/download-source.feature:73 Download a source RPM when there are more versions available -- @1.4 dnf/plugins-core/download-source.feature:74 Download a source RPM when there are more versions available -- @1.5 dnf/plugins-core/download-source.feature:75 Download a source RPM when there are more versions available -- @1.6 dnf/plugins-core/download-source.feature:76 Download a source RPM when there are more versions available -- @1.7 dnf/plugins-core/download-source.feature:90 Download a source RPM when there are more epochs available -- @1.1 dnf/plugins-core/download-source.feature:91 Download a source RPM when there are more epochs available -- @1.2 dnf/plugins-core/download-source.feature:92 Download a source RPM when there are more epochs available -- @1.3 dnf/plugins-core/download-source.feature:93 Download a source RPM when there are more epochs available -- @1.4 dnf/plugins-core/download-source.feature:94 Download a source RPM when there are more epochs available -- @1.5 dnf/plugins-core/download-source.feature:95 Download a source RPM when there are more epochs available -- @1.6 dnf/plugins-core/download-source.feature:96 Download a source RPM when there are more epochs available -- @1.7 dnf/plugins-core/download-source.feature:97 Download a source RPM when there are more epochs available -- @1.8 dnf/plugins-core/download-source.feature:98 Download a source RPM when there are more epochs available -- @1.9 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 19 failed, 2 skipped 73 steps passed, 19 failed, 50 skipped Took 0min 3.640s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 210 leaked semaphore objects to clean up at shutdown: {'/mp-vtnd35_a', '/mp-at8bpuhz', '/mp-tmecc7pd', '/mp-iv31xk05', '/mp-6yo6mb7r', '/mp-3eqp16lb', '/mp-a7zc7esw', '/mp-mc98z46t', '/mp-lk7f1fip', '/mp-imxtpvg8', '/mp-bbjzg9b1', '/mp-69zu_jtb', '/mp-1kx3qnu4', '/mp-bz06drd4', '/mp-pp_jvvh9', '/mp-tzulz02q', '/mp-z476gcep', '/mp-xy7wfyrh', '/mp-lgzxixi4', '/mp-on67rwab', '/mp-etzphcus', '/mp-j3j8qtat', '/mp-gpg1559x', '/mp-dj8myxqm', '/mp-na2a_8d8', '/mp-tzh5i83l', '/mp-m53zlola', '/mp-ateq3jvq', '/mp-39o_zb_0', '/mp-u2fujm83', '/mp-wi3o8e7r', '/mp-j592p5s7', '/mp-7eeeb2wj', '/mp-mmk_eqop', '/mp-m4v3mra7', '/mp-9e3by77f', '/mp-1ulxasl0', '/mp-gkst3t1l', '/mp-zjepfk15', '/mp-6y86krik', '/mp-_60_xfms', '/mp-u5rusrj9', '/mp-f_0g6pbp', '/mp-jgso5hfd', '/mp-cj510ywu', '/mp-0dc2i2mq', '/mp-t8s1963n', '/mp-eygzzvp7', '/mp-ybq25ti6', '/mp-uqjduhx7', '/mp-dzcwwzk_', '/mp-5bi8t5ge', '/mp-vk783p5d', '/mp-jg1hlt15', '/mp-xizzspko', '/mp-pz0g3j8j', '/mp-yka9px5m', '/mp-epvcf11e', '/mp-upzhxn14', '/mp-lnf_rb39', '/mp-e5vyfl9m', '/mp-411apz9o', '/mp-5bnz36af', '/mp-0fwg2j70', '/mp-5903wn_3', '/mp-gnn2a7xk', '/mp-agms45tx', '/mp-lz9cxhdv', '/mp-zuw8cnrm', '/mp-xmgytgf5', '/mp-d9uqzxcw', '/mp-ca51u2nz', '/mp-6_9754z8', '/mp-k2zgr0az', '/mp-m40wu00z', '/mp-hew8uobf', '/mp-kkfmz2qx', '/mp-p86ygvgk', '/mp-rd11ddqj', '/mp-_my9pb80', '/mp-v8y9724j', '/mp-2mfdwjc8', '/mp-k6uz6i_k', '/mp-7y72c_gt', '/mp-1r8goelv', '/mp-rjdzkoz2', '/mp-hqbypsnq', '/mp-o7wcyo6r', '/mp-uoge0gjo', '/mp-owvs0ctm', '/mp-805jsz9o', '/mp-cg06h0y2', '/mp-jch01t0l', '/mp-b65ws372', '/mp-14df7n4e', '/mp-roz6hn0_', '/mp-7xhgrlno', '/mp-r94b0kgs', '/mp-ekvkxjdu', '/mp-rvse8n6t', '/mp-yhndl8vv', '/mp-4mxslg22', '/mp-em_fco1a', '/mp-1o0gwe_p', '/mp-u7vm6bex', '/mp-52ual7o9', '/mp-av0v5otp', '/mp-h6_zfgqv', '/mp-z1mn6l8x', '/mp-hg0cdc8x', '/mp-kfxjx7xt', '/mp-dnmi95pi', '/mp-h0kdv83b', '/mp-spijwk1a', '/mp-jvxdvvom', '/mp-8awxdch2', '/mp-6j49g4pq', '/mp-zycl0h2d', '/mp-l43j5rmf', '/mp-7p29ogn5', '/mp-_z98ce6d', '/mp-qz5c6y4u', '/mp-3a9ttij2', '/mp-jod9r357', '/mp-t33i7kdm', '/mp-q1f9d96a', '/mp-tz4a4g69', '/mp-y5njsdzh', '/mp-nyajn7io', '/mp-_spwa1tb', '/mp-1twtq3e2', '/mp-dn_3hl5i', '/mp-w20u243e', '/mp-5v4m3tnp', '/mp-_ls1tbhk', '/mp-0zju5rh8', '/mp-vqbrdikr', '/mp-lkiz__jn', '/mp-q2op6ei4', '/mp-ylvypnir', '/mp-k0_cak49', '/mp-drnttr73', '/mp-5955z8k8', '/mp-4gvt9ywd', '/mp-nvfbzriq', '/mp-hlhqcc17', '/mp-1bz44odb', '/mp-03e8b5yr', '/mp-udqmnbw7', '/mp-jr7uwm6d', '/mp-nmtsrwdf', '/mp-xpfm9d_b', '/mp-22619w_m', '/mp-94201de4', '/mp-lxfc6eae', '/mp-vlc1637m', '/mp-zx9m56or', '/mp-gupv497h', '/mp-wbs57yrd', '/mp-ptylaujo', '/mp-tz7y1d7s', '/mp-8srekedr', '/mp-ops06f4y', '/mp-5y9vzn5o', '/mp-oc_2j5iu', '/mp-i_gn0w4x', '/mp-yrdo0bln', '/mp-60iolh74', '/mp-qc2b0qtb', '/mp-8uymzl1o', '/mp-9ybuwt0x', '/mp-177jqoy0', '/mp-fmal0pv4', '/mp-9uag03mx', '/mp-h1r08zqb', '/mp-7b94c5k0', '/mp-17z2ns2y', '/mp-97m1v3w9', '/mp-4g8vjevn', '/mp-h4gj4vay', '/mp-ydxjaehr', '/mp-zz4mxi4r', '/mp-m_6nwz24', '/mp-v7ot1yt_', '/mp-il9rd600', '/mp-bgakqonr', '/mp-0xz3trz_', '/mp-t9ystgtx', '/mp-90rlkevq', '/mp-r5ufw6xd', '/mp-5o81pc18', '/mp-rz2whs6f', '/mp-y7_izlvt', '/mp-6s3l4ra9', '/mp-z3fctws5', '/mp-otc1v4g5', '/mp-qumyxecg', '/mp-0wshx21u', '/mp-ezdm9f1r', '/mp-jz2jbb4f', '/mp-mlybesiu', '/mp-ny300bqe', '/mp-ullh15is', '/mp-7qsnk_it', '/mp-9k7_xj8a', '/mp-079qto7l', '/mp-6pi58pts', '/mp-3vuwj6gg', '/mp-wh170qg5', '/mp-o1ehf8w_'} warnings.warn( USING RUNNER: behave.runner:Runner @xfail Feature: Tests for enabling plugins containing dashes in names # dnf/plugins-core/enable-plugins-dashes.feature:3 @xfail Feature: Tests for enabling plugins containing dashes in names # dnf/plugins-core/enable-plugins-dashes.feature:3 @bz1980712 Scenario: Existing plugin containing dashes in the name could be disabled # dnf/plugins-core/enable-plugins-dashes.feature:13 @bz1980712 Scenario: Existing plugin containing dashes in the name could be enabled # dnf/plugins-core/enable-plugins-dashes.feature:20 @bz1980712 Scenario: Existing plugin containing dashes in the name could be disabled using the underscored name # dnf/plugins-core/enable-plugins-dashes.feature:27 @bz1980712 Scenario: Existing plugin containing dashes in the name could be enabled using the underscored name # dnf/plugins-core/enable-plugins-dashes.feature:34 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 4 skipped 0 steps passed, 0 failed, 36 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Tests for report nonexisting plugin # dnf/plugins-core/enable-plugins.feature:1 Feature: Tests for report nonexisting plugin # dnf/plugins-core/enable-plugins.feature:1 @bz1673289 @bz1467304 Scenario: Report nonexisting plugin to disable # dnf/plugins-core/enable-plugins.feature:7 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery empty --disableplugin=NotExisting" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u29z9imo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u29z9imo/var/cache/dnf repoquery empty --disableplugin=NotExisting And stderr is # None """ No matches were found for the following plugin name patterns while disabling libdnf plugins: NotExisting """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u29z9imo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u29z9imo/var/cache/dnf repoquery empty --disableplugin=NotExisting  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1673289 @bz1467304 Scenario: Report nonexisting plugin to enable # dnf/plugins-core/enable-plugins.feature:17 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery empty --enableplugin=NotExisting" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1a6inbje --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1a6inbje/var/cache/dnf repoquery empty --enableplugin=NotExisting And stderr is # None """ No matches were found for the following plugin name patterns while enabling libdnf plugins: NotExisting """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1a6inbje --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1a6inbje/var/cache/dnf repoquery empty --enableplugin=NotExisting  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/enable-plugins.feature:7 Report nonexisting plugin to disable dnf/plugins-core/enable-plugins.feature:17 Report nonexisting plugin to enable 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 4 steps passed, 2 failed, 2 skipped Took 0min 0.188s USING RUNNER: behave.runner:Runner Feature: expired-pgp-keys plugin functionality # dnf/plugins-core/expired-pgp-keys.feature:1 Feature: expired-pgp-keys plugin functionality # dnf/plugins-core/expired-pgp-keys.feature:1 Scenario: When OpenPGP key is expired, its removal is triggered before transaction # dnf/plugins-core/expired-pgp-keys.feature:22 Given I enable plugin "expired-pgp-keys" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/expired-pgp-keys.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I use repository "dnf-ci-gpg-expiry" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-expiry/dnf-ci-gpg-expiry-public | And I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4rnfymt1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='expired-pgp-keys' --setopt=cachedir=/tmp/dnf_ci_installroot_4rnfymt1/var/cache/dnf install wget Given I move the clock forward to "2 years" # None And I successfully execute dnf with args "install vagare" # None Then stderr contains lines matching # None """ The following (Open)?PGP key \(0x.*\) is about to be removed: Reason : Expired on .* UserID : "dnf-ci-gpg-expiry" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4rnfymt1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='expired-pgp-keys' --setopt=cachedir=/tmp/dnf_ci_installroot_4rnfymt1/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: When OpenPGP key is expired, its removal is not triggered on non-transactional operations # dnf/plugins-core/expired-pgp-keys.feature:33 Given I enable plugin "expired-pgp-keys" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create file "/etc/dnf/libdnf5-plugins/expired-pgp-keys.conf" with # common/file.py:36 """ [main] enabled = 1 """ And I use repository "dnf-ci-gpg-expiry" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/dnf-ci-gpg-expiry/dnf-ci-gpg-expiry-public | And I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xslw0g_w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='expired-pgp-keys' --setopt=cachedir=/tmp/dnf_ci_installroot_xslw0g_w/var/cache/dnf install wget Given I move the clock forward to "2 years" # None And I successfully execute dnf with args "repoquery vagare" # None Then stderr does not contain "The following (Open)?PGP key \(0x.*\) is about to be removed:" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xslw0g_w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='expired-pgp-keys' --setopt=cachedir=/tmp/dnf_ci_installroot_xslw0g_w/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/expired-pgp-keys.feature:22 When OpenPGP key is expired, its removal is triggered before transaction dnf/plugins-core/expired-pgp-keys.feature:33 When OpenPGP key is expired, its removal is not triggered on non-transactional operations 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 10 steps passed, 2 failed, 6 skipped Took 0min 0.200s USING RUNNER: behave.runner:Runner @xfail Feature: dnf groups-manager command errors # dnf/plugins-core/groups-manager-errors.feature:3 Scenario: groups-manager reports xml parsing errors # dnf/plugins-core/groups-manager-errors.feature:6 Scenario: attempt to read non-existent file # dnf/plugins-core/groups-manager-errors.feature:21 Scenario: attempt to write to non-existent directory # dnf/plugins-core/groups-manager-errors.feature:31 Scenario: reading invalid gz file # dnf/plugins-core/groups-manager-errors.feature:43 Scenario: cannot remove package from non-existent group # dnf/plugins-core/groups-manager-errors.feature:56 Scenario: cannot edit group without specifying id or name # dnf/plugins-core/groups-manager-errors.feature:65 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 6 skipped 0 steps passed, 0 failed, 21 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: dnf groups-manager command # dnf/plugins-core/groups-manager.feature:3 Scenario Outline: groups-manager can read comps_a.xml file -- @1.1 # dnf/plugins-core/groups-manager.feature:40 Scenario Outline: groups-manager can read comps_a.xml.gz file -- @1.2 # dnf/plugins-core/groups-manager.feature:41 Scenario Outline: merging two comps files comps_a.xml, comps_b.xml -- @1.1 # dnf/plugins-core/groups-manager.feature:51 Scenario Outline: merging two comps files comps_b.xml, comps_a.xml -- @1.2 # dnf/plugins-core/groups-manager.feature:52 Scenario: edit group properties # dnf/plugins-core/groups-manager.feature:55 Scenario Outline: edit group filelists - add package of type "default" -- @1.1 # dnf/plugins-core/groups-manager.feature:126 Scenario Outline: edit group filelists - add package of type "mandatory" -- @1.2 # dnf/plugins-core/groups-manager.feature:127 Scenario Outline: edit group filelists - add package of type "optional" -- @1.3 # dnf/plugins-core/groups-manager.feature:128 @bz2013633 Scenario Outline: Package to add to a group can be specified by "NEVRA" -- @1.1 # dnf/plugins-core/groups-manager.feature:160 @bz2013633 Scenario Outline: Package to add to a group can be specified by "NVR" -- @1.2 # dnf/plugins-core/groups-manager.feature:161 @bz2013633 Scenario Outline: Package to add to a group can be specified by "NV" -- @1.3 # dnf/plugins-core/groups-manager.feature:162 @bz2013633 Scenario Outline: Package to add to a group can be specified by "NA" -- @1.4 # dnf/plugins-core/groups-manager.feature:163 @bz2013633 Scenario Outline: Package to add to a group can be specified by "N" -- @1.5 # dnf/plugins-core/groups-manager.feature:164 Scenario: edit group filelists - add package with dependencies # dnf/plugins-core/groups-manager.feature:167 Scenario: add a new group # dnf/plugins-core/groups-manager.feature:201 Scenario: groups-manager --print is working # dnf/plugins-core/groups-manager.feature:223 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 16 skipped 0 steps passed, 0 failed, 75 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__10 Feature: Tests for local plugin # dnf/plugins-core/local.feature:3 @not.with_os=rhel__ge__10 Feature: Tests for local plugin # dnf/plugins-core/local.feature:3 Scenario: installed package is added to the local repo with no createrepo_c output # dnf/plugins-core/local.feature:22 Given I enable plugin "local" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/local.conf" with # common/file.py:43 """ [main] name = local enabled = 1 repodir = {context.dnf.installroot}/repo [createrepo] enabled = 1 """ Given I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xs913vap --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_xs913vap/var/cache/dnf install labirinto When I execute dnf with args "rq --repo _dnf_local" # None Then the exit code is 0 # None And stdout is # None """ labirinto-0:1.0-1.fc29.x86_64 """ And stdout does not contain "local plugin: createrepo_c: Directory walk started" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xs913vap --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_xs913vap/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: local repo is preferred because it has lower than default cost # dnf/plugins-core/local.feature:35 Given I enable plugin "local" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/local.conf" with # common/file.py:43 """ [main] name = local enabled = 1 repodir = {context.dnf.installroot}/repo [createrepo] enabled = 1 """ Given I use repository "simple-base" with configuration # dnf/steps/repo.py:212 | key | value | | enabled | 1 | And I successfully execute dnf with args "install dedalo" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_61b09l64 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_61b09l64/var/cache/dnf install dedalo And I successfully execute dnf with args "remove dedalo" # None When I execute dnf with args "install dedalo" # None Then the exit code is 0 # None And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | dedalo-0:1.0-1.fc29.x86_64 | User | _dnf_local | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_61b09l64 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_61b09l64/var/cache/dnf install dedalo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: local repo is not cached # dnf/plugins-core/local.feature:48 Given I enable plugin "local" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/local.conf" with # common/file.py:43 """ [main] name = local enabled = 1 repodir = {context.dnf.installroot}/repo [createrepo] enabled = 1 """ Given I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install labirinto" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5ohwje73 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_5ohwje73/var/cache/dnf install labirinto When I execute dnf with args "rq --repo _dnf_local" # None Then the exit code is 0 # None And stdout is # None """ labirinto-0:1.0-1.fc29.x86_64 """ When I execute dnf with args "install vagare" # None Then the exit code is 0 # None When I execute dnf with args "rq --repo _dnf_local" # None Then the exit code is 0 # None And stdout is # None """ labirinto-0:1.0-1.fc29.x86_64 vagare-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5ohwje73 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_5ohwje73/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: with verbose enabled stdout contains both regular and debug createrepo_c output # dnf/plugins-core/local.feature:72 Given I enable plugin "local" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/local.conf" with # common/file.py:43 """ [main] name = local enabled = 1 repodir = {context.dnf.installroot}/repo [createrepo] enabled = 1 """ Given I create and substitute file "/etc/dnf/libdnf5-plugins/local.conf" with # common/file.py:43 """ [main] name = local enabled = 1 repodir = {context.dnf.installroot}/repo [createrepo] enabled = 1 verbose = true """ And I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "install labirinto" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nwfq5186 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_nwfq5186/var/cache/dnf install labirinto And stdout contains lines matching # None """ local plugin: createrepo_c: \d\d:\d\d:\d\d: Thread pool ready local plugin: createrepo_c: \d\d:\d\d:\d\d: Package count: 1 local plugin: createrepo_c: \d\d:\d\d:\d\d: Generating repomd.xml local plugin: createrepo_c: \d\d:\d\d:\d\d: All done local plugin: createrepo_c: Directory walk started local plugin: createrepo_c: Pool finished """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nwfq5186 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_nwfq5186/var/cache/dnf install labirinto  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: config-manager setopt and unsetopt modify the repository created by the local plugin # dnf/plugins-core/local.feature:98 Given I enable plugin "local" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/local.conf" with # common/file.py:43 """ [main] name = local enabled = 1 repodir = {context.dnf.installroot}/repo [createrepo] enabled = 1 """ Given I create directory "/repo" # common/file.py:30 And I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "repo list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0xqnmpid --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_0xqnmpid/var/cache/dnf repo list And stdout contains "_dnf_local\s+Local libdnf5 plugin repo" # None When I execute dnf with args "config-manager setopt _dnf_local.enabled=0" # None Then the exit code is 0 # None And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [_dnf_local] enabled=0 """ When I execute dnf with args "repo list" # None Then the exit code is 0 # None And stdout does not contain "_dnf_local" # None When I execute dnf with args "config-manager unsetopt _dnf_local.enabled" # None Then the exit code is 0 # None When I execute dnf with args "repo list" # None Then the exit code is 0 # None And stdout contains "_dnf_local\s+Local libdnf5 plugin repo" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0xqnmpid --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_0xqnmpid/var/cache/dnf repo list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: config-manager setopt with a glob matches the repository created by the local plugin # dnf/plugins-core/local.feature:125 Given I enable plugin "local" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/local.conf" with # common/file.py:43 """ [main] name = local enabled = 1 repodir = {context.dnf.installroot}/repo [createrepo] enabled = 1 """ Given I create directory "/repo" # common/file.py:30 And I create directory "/etc/dnf/repos.override.d/" # common/file.py:30 When I execute dnf with args "config-manager setopt _dnf_loc*.priority=10" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vd7kkj59 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_vd7kkj59/var/cache/dnf config-manager setopt _dnf_loc*.priority=10 And file "/etc/dnf/repos.override.d/99-config_manager.repo" contents is # None """ # Generated by libdnf5. # Do not modify this file manually, use dnf5 config-manager instead. [_dnf_local] priority=10 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vd7kkj59 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='local' --setopt=cachedir=/tmp/dnf_ci_installroot_vd7kkj59/var/cache/dnf config-manager setopt _dnf_loc*.priority=10  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/local.feature:22 installed package is added to the local repo with no createrepo_c output dnf/plugins-core/local.feature:35 local repo is preferred because it has lower than default cost dnf/plugins-core/local.feature:48 local repo is not cached dnf/plugins-core/local.feature:72 with verbose enabled stdout contains both regular and debug createrepo_c output dnf/plugins-core/local.feature:98 config-manager setopt and unsetopt modify the repository created by the local plugin dnf/plugins-core/local.feature:125 config-manager setopt with a glob matches the repository created by the local plugin 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 31 steps passed, 6 failed, 30 skipped Took 0min 0.275s USING RUNNER: behave.runner:Runner Feature: Tests for the manifest plugin # dnf/plugins-core/manifest.feature:1 Feature: Tests for the manifest plugin # dnf/plugins-core/manifest.feature:1 Scenario: Generate new manifest using specs # dnf/plugins-core/manifest.feature:10 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gpm5tytz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gpm5tytz/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None When I execute dnf with args "manifest new abcde http-parser" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: dnf-ci-fedora baseurl: * packages: noarch: - name: abcde repo_id: dnf-ci-fedora location: noarch/abcde-2.9.2-1.fc29.noarch.rpm checksum: sha256:* size: * evr: 2.9.2-1.fc29 x86_64: - name: flac repo_id: dnf-ci-fedora location: x86_64/flac-1.3.2-8.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.3.2-8.fc29 - name: http-parser repo_id: dnf-ci-fedora location: x86_64/http-parser-2.4.0-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.4.0-1.fc29 - name: wget repo_id: dnf-ci-fedora location: x86_64/wget-1.19.5-5.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.19.5-5.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gpm5tytz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gpm5tytz/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Non-installed package from manifest has matching checksum # dnf/plugins-core/manifest.feature:52 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pso85lhl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pso85lhl/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I successfully execute dnf with args "manifest new wget --use-system" # None And I successfully execute dnf with args "manifest download" # None When I execute "sha256sum packages.manifest/wget-1.19.5-5.fc29.x86_64.rpm | cut -d' ' -f1 > real-checksum" # None And I execute "yq '.data.packages.x86_64[].checksum' packages.manifest.yaml | cut -d':' -f2 > manifest-checksum" # None And I execute "diff real-checksum manifest-checksum" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pso85lhl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pso85lhl/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new manifest using specs and system repo # dnf/plugins-core/manifest.feature:61 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_no_3280w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_no_3280w/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None When I execute dnf with args "manifest new abcde http-parser --use-system" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: dnf-ci-fedora baseurl: * packages: noarch: - name: abcde repo_id: dnf-ci-fedora location: noarch/abcde-2.9.2-1.fc29.noarch.rpm checksum: sha256:* size: * evr: 2.9.2-1.fc29 x86_64: - name: http-parser repo_id: dnf-ci-fedora location: x86_64/http-parser-2.4.0-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.4.0-1.fc29 - name: wget repo_id: dnf-ci-fedora location: x86_64/wget-1.19.5-5.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.19.5-5.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_no_3280w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_no_3280w/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new manifest using input file # dnf/plugins-core/manifest.feature:96 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8o4_8ouc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8o4_8ouc/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I copy file "{context.dnf.fixturesdir}/data/manifest/simple.input.yaml" to "/{context.dnf.tempdir}/packages.input.yaml" # None And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' packages.input.yaml" # None When I execute dnf with args "manifest resolve" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: dnf-ci-fedora baseurl: * packages: noarch: - name: basesystem repo_id: dnf-ci-fedora location: noarch/basesystem-11-6.fc29.noarch.rpm checksum: sha256:* size: * evr: 11-6.fc29 - name: setup repo_id: dnf-ci-fedora location: noarch/setup-2.12.1-1.fc29.noarch.rpm checksum: sha256:* size: * evr: 2.12.1-1.fc29 x86_64: - name: dwm repo_id: dnf-ci-fedora location: x86_64/dwm-6.1-1.x86_64.rpm checksum: sha256:* size: * evr: 6.1-1 - name: filesystem repo_id: dnf-ci-fedora location: x86_64/filesystem-3.9-2.fc29.x86_64.rpm checksum: sha256:* size: * evr: 3.9-2.fc29 - name: glibc repo_id: dnf-ci-fedora location: x86_64/glibc-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: glibc-all-langpacks repo_id: dnf-ci-fedora location: x86_64/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: glibc-common repo_id: dnf-ci-fedora location: x86_64/glibc-common-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: nodejs repo_id: dnf-ci-fedora location: x86_64/nodejs-5.12.1-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1:5.12.1-1.fc29 - name: npm repo_id: dnf-ci-fedora location: x86_64/npm-5.12.1-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1:5.12.1-1.fc29 - name: wget repo_id: dnf-ci-fedora location: x86_64/wget-1.19.5-5.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.19.5-5.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8o4_8ouc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8o4_8ouc/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new manifest using input file and host repositories # dnf/plugins-core/manifest.feature:175 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5xj2lyv9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5xj2lyv9/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I copy file "{context.dnf.fixturesdir}/data/manifest/no-repositories.input.yaml" to "/{context.dnf.tempdir}/packages.input.yaml" # None And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' packages.input.yaml" # None When I execute dnf with args "manifest resolve --use-host-repos" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: dnf-ci-fedora baseurl: * packages: noarch: - name: basesystem repo_id: dnf-ci-fedora location: noarch/basesystem-11-6.fc29.noarch.rpm checksum: sha256:* size: * evr: 11-6.fc29 - name: setup repo_id: dnf-ci-fedora location: noarch/setup-2.12.1-1.fc29.noarch.rpm checksum: sha256:* size: * evr: 2.12.1-1.fc29 x86_64: - name: dwm repo_id: dnf-ci-fedora location: x86_64/dwm-6.1-1.x86_64.rpm checksum: sha256:* size: * evr: 6.1-1 - name: filesystem repo_id: dnf-ci-fedora location: x86_64/filesystem-3.9-2.fc29.x86_64.rpm checksum: sha256:* size: * evr: 3.9-2.fc29 - name: glibc repo_id: dnf-ci-fedora location: x86_64/glibc-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: glibc-all-langpacks repo_id: dnf-ci-fedora location: x86_64/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: glibc-common repo_id: dnf-ci-fedora location: x86_64/glibc-common-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: nodejs repo_id: dnf-ci-fedora location: x86_64/nodejs-5.12.1-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1:5.12.1-1.fc29 - name: npm repo_id: dnf-ci-fedora location: x86_64/npm-5.12.1-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1:5.12.1-1.fc29 - name: wget repo_id: dnf-ci-fedora location: x86_64/wget-1.19.5-5.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.19.5-5.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5xj2lyv9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5xj2lyv9/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new manifest using input file and system repo # dnf/plugins-core/manifest.feature:254 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xc5yhhgh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xc5yhhgh/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I copy file "{context.dnf.fixturesdir}/data/manifest/simple.input.yaml" to "/{context.dnf.tempdir}/packages.input.yaml" # None And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' packages.input.yaml" # None When I execute dnf with args "manifest resolve --use-system" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: dnf-ci-fedora baseurl: * packages: x86_64: - name: dwm repo_id: dnf-ci-fedora location: x86_64/dwm-6.1-1.x86_64.rpm checksum: sha256:* size: * evr: 6.1-1 - name: nodejs repo_id: dnf-ci-fedora location: x86_64/nodejs-5.12.1-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1:5.12.1-1.fc29 - name: npm repo_id: dnf-ci-fedora location: x86_64/npm-5.12.1-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1:5.12.1-1.fc29 - name: wget repo_id: dnf-ci-fedora location: x86_64/wget-1.19.5-5.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.19.5-5.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xc5yhhgh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xc5yhhgh/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new manifest using deprecated prototype input file # dnf/plugins-core/manifest.feature:296 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bhp30h0c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bhp30h0c/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I copy file "{context.dnf.fixturesdir}/data/manifest/simple.in.yaml" to "/{context.dnf.tempdir}/packages.input.yaml" # None And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' packages.input.yaml" # None When I execute dnf with args "manifest resolve" # None Then the exit code is 0 # None And stderr contains "Warning: the rpm-lockfile-prototype input file format is deprecated." # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: dnf-ci-fedora baseurl: * packages: noarch: - name: basesystem repo_id: dnf-ci-fedora location: noarch/basesystem-11-6.fc29.noarch.rpm checksum: sha256:* size: * evr: 11-6.fc29 - name: setup repo_id: dnf-ci-fedora location: noarch/setup-2.12.1-1.fc29.noarch.rpm checksum: sha256:* size: * evr: 2.12.1-1.fc29 x86_64: - name: dwm repo_id: dnf-ci-fedora location: x86_64/dwm-6.1-1.x86_64.rpm checksum: sha256:* size: * evr: 6.1-1 - name: filesystem repo_id: dnf-ci-fedora location: x86_64/filesystem-3.9-2.fc29.x86_64.rpm checksum: sha256:* size: * evr: 3.9-2.fc29 - name: glibc repo_id: dnf-ci-fedora location: x86_64/glibc-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: glibc-all-langpacks repo_id: dnf-ci-fedora location: x86_64/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: glibc-common repo_id: dnf-ci-fedora location: x86_64/glibc-common-2.28-9.fc29.x86_64.rpm checksum: sha256:* size: * evr: 2.28-9.fc29 - name: nodejs repo_id: dnf-ci-fedora location: x86_64/nodejs-5.12.1-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1:5.12.1-1.fc29 - name: npm repo_id: dnf-ci-fedora location: x86_64/npm-5.12.1-1.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1:5.12.1-1.fc29 - name: wget repo_id: dnf-ci-fedora location: x86_64/wget-1.19.5-5.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.19.5-5.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bhp30h0c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bhp30h0c/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new manifest with packages for reinstallation using input file and system repo # dnf/plugins-core/manifest.feature:378 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_co469tfl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_co469tfl/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I copy file "{context.dnf.fixturesdir}/data/manifest/reinstall.input.yaml" to "/{context.dnf.tempdir}/packages.input.yaml" # None And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' packages.input.yaml" # None When I execute dnf with args "manifest resolve --use-system" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: dnf-ci-fedora baseurl: * packages: x86_64: - name: flac repo_id: dnf-ci-fedora location: x86_64/flac-1.3.2-8.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.3.2-8.fc29 - name: wget repo_id: dnf-ci-fedora location: x86_64/wget-1.19.5-5.fc29.x86_64.rpm checksum: sha256:* size: * evr: 1.19.5-5.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_co469tfl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_co469tfl/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new manifest using input file, system repo and allow erasing # dnf/plugins-core/manifest.feature:411 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ehss_5hw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ehss_5hw/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I use repository "protect-running-kernel" # None And I successfully execute dnf with args "install dnf-ci-kernel-1.0" # None And I copy file "{context.dnf.fixturesdir}/data/manifest/allowerasing.input.yaml" to "/{context.dnf.tempdir}/packages.input.yaml" # None And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' packages.input.yaml" # None When I execute dnf with args "manifest resolve --use-system --exclude dnf-ci-obsolete" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: protect-running-kernel baseurl: * packages: x86_64: - name: dnf-ci-conflict repo_id: protect-running-kernel location: x86_64/dnf-ci-conflict-1.0-1.x86_64.rpm checksum: sha256:* size: * evr: 1.0-1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ehss_5hw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ehss_5hw/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Generate new manifest using input file with a modular package from the enabled stream # dnf/plugins-core/manifest.feature:438 Scenario: Generate new manifest using installed packages # dnf/plugins-core/manifest.feature:547 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qvsasvhz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qvsasvhz/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None When I execute dnf with args "manifest new" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: dnf-ci-fedora baseurl: * packages: noarch: - name: basesystem repo_id: dnf-ci-fedora location: noarch/basesystem-11-6.fc29.noarch.rpm checksum: sha*:* size: * evr: 11-6.fc29 - name: setup repo_id: dnf-ci-fedora location: noarch/setup-2.12.1-1.fc29.noarch.rpm checksum: sha*:* size: * evr: 2.12.1-1.fc29 x86_64: - name: filesystem repo_id: dnf-ci-fedora location: x86_64/filesystem-3.9-2.fc29.x86_64.rpm checksum: sha*:* size: * evr: 3.9-2.fc29 - name: flac repo_id: dnf-ci-fedora location: x86_64/flac-1.3.2-8.fc29.x86_64.rpm checksum: sha*:* size: * evr: 1.3.2-8.fc29 - name: glibc repo_id: dnf-ci-fedora location: x86_64/glibc-2.28-9.fc29.x86_64.rpm checksum: sha*:* size: * evr: 2.28-9.fc29 - name: glibc-all-langpacks repo_id: dnf-ci-fedora location: x86_64/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm checksum: sha*:* size: * evr: 2.28-9.fc29 - name: glibc-common repo_id: dnf-ci-fedora location: x86_64/glibc-common-2.28-9.fc29.x86_64.rpm checksum: sha*:* size: * evr: 2.28-9.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qvsasvhz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qvsasvhz/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new multiarch manifest file # dnf/plugins-core/manifest.feature:606 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7z28xs4q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7z28xs4q/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I use repository "security-upgrade-multilib" # None And I successfully execute dnf with args "manifest new B-1-1 --arch=x86_64,i686" # None Then file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: security-upgrade-multilib baseurl: file:///opt/ci/dnf-behave-tests/fixtures/repos/security-upgrade-multilib packages: i686: - name: B repo_id: security-upgrade-multilib location: i686/B-1-1.i686.rpm checksum: sha256:* size: * evr: 1-1 x86_64: - name: B repo_id: security-upgrade-multilib location: x86_64/B-1-1.x86_64.rpm checksum: sha256:* size: * evr: 1-1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7z28xs4q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7z28xs4q/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Generate new manifest files for each arch # dnf/plugins-core/manifest.feature:635 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fpz6x1wn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fpz6x1wn/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I use repository "security-upgrade-multilib" # None And I successfully execute dnf with args "manifest new B-1-1 --arch=x86_64,i686 --per-arch" # None Then file "/{context.dnf.tempdir}/packages.manifest.x86_64.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: security-upgrade-multilib baseurl: file:///opt/ci/dnf-behave-tests/fixtures/repos/security-upgrade-multilib packages: x86_64: - name: B repo_id: security-upgrade-multilib location: x86_64/B-1-1.x86_64.rpm checksum: sha256:* size: * evr: 1-1 """ And file "/{context.dnf.tempdir}/packages.manifest.i686.yaml" matches line by line # None """ document: rpm-package-manifest version: * data: repositories: - id: security-upgrade-multilib baseurl: file:///opt/ci/dnf-behave-tests/fixtures/repos/security-upgrade-multilib packages: i686: - name: B repo_id: security-upgrade-multilib location: i686/B-1-1.i686.rpm checksum: sha256:* size: * evr: 1-1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fpz6x1wn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fpz6x1wn/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download packages from the manifest # dnf/plugins-core/manifest.feature:674 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n8jsmvt5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n8jsmvt5/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I successfully execute dnf with args "manifest new abcde http-parser" # None When I execute dnf with args "manifest download" # None Then the exit code is 0 # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/packages.manifest/abcde-2.9.2-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/abcde-2.9.2-1.fc29.noarch.rpm | | {context.dnf.tempdir}/packages.manifest/flac-1.3.2-8.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/flac-1.3.2-8.fc29.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/http-parser-2.4.0-1.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/http-parser-2.4.0-1.fc29.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/wget-1.19.5-5.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/wget-1.19.5-5.fc29.x86_64.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n8jsmvt5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n8jsmvt5/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download multiarch packages from multiarch manifest # dnf/plugins-core/manifest.feature:686 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jyk4cb_l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jyk4cb_l/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I use repository "manifest-multiarch" # None And I successfully execute dnf with args "manifest new foo --arch=x86_64,ppc64" # None When I execute dnf with args "manifest download --arch=x86_64,ppc64" # None Then the exit code is 0 # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/packages.manifest/foo-1.0-1.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/x86_64/foo-1.0-1.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/foo-1.0-1.ppc64.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/ppc64/foo-1.0-1.ppc64.rpm | | {context.dnf.tempdir}/packages.manifest/waldo-1.0-1.noarch.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/noarch/waldo-1.0-1.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jyk4cb_l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jyk4cb_l/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download multiarch packages from multiarch manifest per arch # dnf/plugins-core/manifest.feature:698 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_il4z0bu4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_il4z0bu4/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I use repository "manifest-multiarch" # None And I successfully execute dnf with args "manifest new foo --arch=x86_64,ppc64" # None When I execute dnf with args "manifest download --arch=x86_64,ppc64 --per-arch" # None Then the exit code is 0 # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/packages.manifest/x86_64/foo-1.0-1.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/x86_64/foo-1.0-1.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/ppc64/foo-1.0-1.ppc64.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/ppc64/foo-1.0-1.ppc64.rpm | | {context.dnf.tempdir}/packages.manifest/noarch/waldo-1.0-1.noarch.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/noarch/waldo-1.0-1.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_il4z0bu4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_il4z0bu4/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download multiarch packages from per-arch manifests # dnf/plugins-core/manifest.feature:710 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vox7wg29 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vox7wg29/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I use repository "manifest-multiarch" # None And I successfully execute dnf with args "manifest new foo --arch=x86_64,ppc64 --per-arch" # None And I successfully execute dnf with args "manifest download --arch=x86_64" # None And I successfully execute dnf with args "manifest download --arch=ppc64" # None Then file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/packages.manifest.x86_64/foo-1.0-1.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/x86_64/foo-1.0-1.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest.x86_64/waldo-1.0-1.noarch.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/noarch/waldo-1.0-1.noarch.rpm | | {context.dnf.tempdir}/packages.manifest.ppc64/foo-1.0-1.ppc64.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/ppc64/foo-1.0-1.ppc64.rpm | | {context.dnf.tempdir}/packages.manifest.ppc64/waldo-1.0-1.noarch.rpm | file://{context.dnf.fixturesdir}/repos/manifest-multiarch/noarch/waldo-1.0-1.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vox7wg29 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vox7wg29/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Download packages from the manifest when a checksum is incorrect or package is unavailable # dnf/plugins-core/manifest.feature:723 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xrynywbp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xrynywbp/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I create and substitute file "/{context.dnf.tempdir}/packages.manifest.yaml" with # None """ document: rpm-package-manifest version: 0.2.3 data: repositories: - id: dnf-ci-fedora baseurl: file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora packages: x86_64: - name: http-parser repo_id: dnf-ci-fedora location: x86_64/http-parser-2.4.0-1.fc29.x86_64.rpm checksum: sha256:1111111111111111111111111111111111111111111111111111111111111111 size: 1 evr: 2.4.0-1.fc29 - name: non-existent repo_id: dnf-ci-fedora location: x86_64/non-existent-1.0-1.fc29.x86_64.rpm checksum: sha256:1111111111111111111111111111111111111111111111111111111111111111 size: 1 evr: 1.0-1.fc29 """ When I execute dnf with args "manifest download" # None Then the exit code is 1 # None And stderr contains "No package http-parser-2.4.0-1.fc29.x86_64 with checksum 1111111111111111111111111111111111111111111111111111111111111111 available." # None And stderr contains "No package non-existent-1.0-1.fc29.x86_64 available." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xrynywbp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xrynywbp/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @force_installroot Scenario: Download packages from the manifest created from system # dnf/plugins-core/manifest.feature:754 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_178lmvyq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_178lmvyq/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I successfully execute dnf with args "manifest new" # None And I successfully execute dnf with args "remove basesystem glibc flac" # None When I execute dnf with args "manifest download" # None Then the exit code is 0 # None And file sha256 checksums are following # None | Path | sha256 | | {context.dnf.tempdir}/packages.manifest/basesystem-11-6.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/basesystem-11-6.fc29.noarch.rpm | | {context.dnf.tempdir}/packages.manifest/filesystem-3.9-2.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/filesystem-3.9-2.fc29.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/flac-1.3.2-8.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/flac-1.3.2-8.fc29.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/glibc-2.28-9.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/glibc-2.28-9.fc29.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/x86_64/glibc-all-langpacks-2.28-9.fc29.x86_64.rpm | | {context.dnf.tempdir}/packages.manifest/setup-2.12.1-1.fc29.noarch.rpm | file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora/noarch/setup-2.12.1-1.fc29.noarch.rpm | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_178lmvyq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_178lmvyq/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install packages from the manifest # dnf/plugins-core/manifest.feature:770 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_slm5g_js --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_slm5g_js/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I successfully execute dnf with args "manifest new abcde http-parser" # None When I execute dnf with args "manifest install" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.2-1.fc29.noarch | | install | http-parser-0:2.4.0-1.fc29.x86_64 | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_slm5g_js --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_slm5g_js/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Install packages from the manifest when a checksum is incorrect or package is unavailable # dnf/plugins-core/manifest.feature:781 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vey88xn6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vey88xn6/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I create and substitute file "/{context.dnf.tempdir}/packages.manifest.yaml" with # None """ document: rpm-package-manifest version: 0.2.3 data: repositories: - id: dnf-ci-fedora baseurl: file://{context.dnf.fixturesdir}/repos/dnf-ci-fedora packages: x86_64: - name: http-parser repo_id: dnf-ci-fedora location: x86_64/http-parser-2.4.0-1.fc29.x86_64.rpm checksum: sha256:1111111111111111111111111111111111111111111111111111111111111111 size: 1 evr: 2.4.0-1.fc29 - name: non-existent repo_id: dnf-ci-fedora location: x86_64/non-existent-1.0-1.fc29.x86_64.rpm checksum: sha256:1111111111111111111111111111111111111111111111111111111111111111 size: 1 evr: 1.0-1.fc29 """ When I execute dnf with args "manifest install" # None Then the exit code is 1 # None And stderr contains "No package http-parser-2.4.0-1.fc29.x86_64 with checksum 1111111111111111111111111111111111111111111111111111111111111111 available." # None And stderr contains "No package non-existent-1.0-1.fc29.x86_64 available." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vey88xn6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vey88xn6/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @force_installroot Scenario: Install packages from the manifest created from system # dnf/plugins-core/manifest.feature:812 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install basesystem glibc flac" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pizyq3zw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pizyq3zw/var/cache/dnf install basesystem glibc flac And I set working directory to "{context.dnf.tempdir}" # None Given I successfully execute dnf with args "manifest new" # None And I successfully execute dnf with args "remove basesystem glibc flac" # None When I execute dnf with args "manifest install" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | basesystem-0:11-6.fc29.noarch | | install | filesystem-0:3.9-2.fc29.x86_64 | | install | flac-0:1.3.2-8.fc29.x86_64 | | install | glibc-0:2.28-9.fc29.x86_64 | | install | glibc-all-langpacks-0:2.28-9.fc29.x86_64 | | install | glibc-common-0:2.28-9.fc29.x86_64 | | install | setup-0:2.12.1-1.fc29.noarch | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pizyq3zw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pizyq3zw/var/cache/dnf install basesystem glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/manifest.feature:10 Generate new manifest using specs dnf/plugins-core/manifest.feature:52 Non-installed package from manifest has matching checksum dnf/plugins-core/manifest.feature:61 Generate new manifest using specs and system repo dnf/plugins-core/manifest.feature:96 Generate new manifest using input file dnf/plugins-core/manifest.feature:175 Generate new manifest using input file and host repositories dnf/plugins-core/manifest.feature:254 Generate new manifest using input file and system repo dnf/plugins-core/manifest.feature:296 Generate new manifest using deprecated prototype input file dnf/plugins-core/manifest.feature:378 Generate new manifest with packages for reinstallation using input file and system repo dnf/plugins-core/manifest.feature:411 Generate new manifest using input file, system repo and allow erasing dnf/plugins-core/manifest.feature:547 Generate new manifest using installed packages dnf/plugins-core/manifest.feature:606 Generate new multiarch manifest file dnf/plugins-core/manifest.feature:635 Generate new manifest files for each arch dnf/plugins-core/manifest.feature:674 Download packages from the manifest dnf/plugins-core/manifest.feature:686 Download multiarch packages from multiarch manifest dnf/plugins-core/manifest.feature:698 Download multiarch packages from multiarch manifest per arch dnf/plugins-core/manifest.feature:710 Download multiarch packages from per-arch manifests dnf/plugins-core/manifest.feature:723 Download packages from the manifest when a checksum is incorrect or package is unavailable dnf/plugins-core/manifest.feature:754 Download packages from the manifest created from system dnf/plugins-core/manifest.feature:770 Install packages from the manifest dnf/plugins-core/manifest.feature:781 Install packages from the manifest when a checksum is incorrect or package is unavailable dnf/plugins-core/manifest.feature:812 Install packages from the manifest created from system 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 21 failed, 1 skipped 21 steps passed, 21 failed, 128 skipped Took 0min 0.836s USING RUNNER: behave.runner:Runner @xfail @1868047 Feature: Test for modulesync command # dnf/plugins-core/modulesync.feature:4 @xfail @1868047 Feature: Test for modulesync command # dnf/plugins-core/modulesync.feature:4 Scenario: I can download a module # dnf/plugins-core/modulesync.feature:12 Scenario: I can download a module using --downloaddir # dnf/plugins-core/modulesync.feature:38 Scenario: I can download a module with option newest only # dnf/plugins-core/modulesync.feature:65 Scenario: I can download a module and init a modular repository with modulesync # dnf/plugins-core/modulesync.feature:91 Scenario: I can create a repository with modulesync in a custom dir and install: # dnf/plugins-core/modulesync.feature:120 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 5 skipped 0 steps passed, 0 failed, 63 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @xfail Feature: Add package to needs-restarting using config files # dnf/plugins-core/needs-restarting-conf-files.feature:4 @xfail Feature: Add package to needs-restarting using config files # dnf/plugins-core/needs-restarting-conf-files.feature:4 @bz1810123 Scenario: plugin does not fail if config directory not found # dnf/plugins-core/needs-restarting-conf-files.feature:20 @bz1810123 Scenario: restarting needed after updating package in conf files # dnf/plugins-core/needs-restarting-conf-files.feature:31 @bz1810123 Scenario: conf files can be more than one # dnf/plugins-core/needs-restarting-conf-files.feature:45 @bz1810123 Scenario: conf files can contain more than one option # dnf/plugins-core/needs-restarting-conf-files.feature:64 @bz1810123 Scenario: conf files without .conf extension are ignored # dnf/plugins-core/needs-restarting-conf-files.feature:85 @bz1810123 Scenario: user gets a warning when program is not installed # dnf/plugins-core/needs-restarting-conf-files.feature:100 @bz1810123 Scenario: package self adds to needs-restarting # dnf/plugins-core/needs-restarting-conf-files.feature:124 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 7 skipped 0 steps passed, 0 failed, 83 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner @bz1639468 Feature: Reboot hint # dnf/plugins-core/needs-restarting.feature:2 @bz1639468 Feature: Reboot hint # dnf/plugins-core/needs-restarting.feature:2 @bz1913962 Scenario: Update core packages # dnf/plugins-core/needs-restarting.feature:19 Given I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 0 | And I move the clock backward to "before boot-up" # dnf/steps/cmd.py:58 And I successfully execute dnf with args "install sarcina-1.0 kernel-1.0 glibc-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_1yt9yu97 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1yt9yu97/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0 And I move the clock forward to "the present" # None And I sleep for "1" seconds # None Given I successfully execute dnf with args "upgrade kernel" # None And I successfully execute dnf with args "upgrade glibc" # None When I execute dnf with args "needs-restarting" # None Then the exit code is 1 # None And stderr is # None """ """ And stdout is # None """ Core libraries or services have been updated since boot-up: * glibc * kernel Reboot is required to fully utilize these updates. More information: https://access.redhat.com/solutions/27943 """ ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_1yt9yu97 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1yt9yu97/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Update core packages and check with --json # dnf/plugins-core/needs-restarting.feature:38 Given I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 0 | And I move the clock backward to "before boot-up" # dnf/steps/cmd.py:58 And I successfully execute dnf with args "install sarcina-1.0 kernel-1.0 glibc-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_8pn4xths --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8pn4xths/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0 And I move the clock forward to "the present" # None And I sleep for "1" seconds # None Given I execute dnf with args "upgrade kernel" # None And I execute dnf with args "upgrade glibc" # None When I execute dnf with args "needs-restarting --json" # None Then the exit code is 1 # None And stderr is # None """ """ And stdout json matches # None """ [{ "type": "reboot", "reboot_required": true, "packages": [ "glibc", "kernel" ], "documentation": "https://access.redhat.com/solutions/27943" }] """ ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_8pn4xths --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8pn4xths/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1913962 Scenario: Install a package with an associated reboot_suggested advisory # dnf/plugins-core/needs-restarting.feature:58 Given I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 0 | And I move the clock backward to "before boot-up" # dnf/steps/cmd.py:58 And I successfully execute dnf with args "install sarcina-1.0 kernel-1.0 glibc-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_3jew0xer --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3jew0xer/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0 And I move the clock forward to "the present" # None And I sleep for "1" seconds # None Given I execute dnf with args "upgrade --advisory=FEDORA-7777:003-03 \*" # None When I execute dnf with args "needs-restarting" # None Then the exit code is 1 # None And stderr is # None """ """ And stdout is # None """ Core libraries or services have been updated since boot-up: * sarcina Reboot is required to fully utilize these updates. More information: https://access.redhat.com/solutions/27943 """ ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_3jew0xer --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3jew0xer/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Update non-core packages only # dnf/plugins-core/needs-restarting.feature:75 Given I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 0 | And I move the clock backward to "before boot-up" # dnf/steps/cmd.py:58 And I successfully execute dnf with args "install sarcina-1.0 kernel-1.0 glibc-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_pduutgj_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pduutgj_/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0 And I move the clock forward to "the present" # None And I sleep for "1" seconds # None Given I execute dnf with args "upgrade lame basesystem wget" # None When I execute dnf with args "needs-restarting" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ No core libraries or services have been updated since boot-up. Reboot should not be necessary. """ ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_pduutgj_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pduutgj_/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: -r short option (no-op for compatibility with DNF 4) # dnf/plugins-core/needs-restarting.feature:89 Given I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 0 | And I move the clock backward to "before boot-up" # dnf/steps/cmd.py:58 And I successfully execute dnf with args "install sarcina-1.0 kernel-1.0 glibc-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_g1dsdzm9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g1dsdzm9/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0 And I move the clock forward to "the present" # None And I sleep for "1" seconds # None When I execute dnf with args "needs-restarting -r" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_g1dsdzm9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g1dsdzm9/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --reboothint long option (no-op for compatibility with DNF 4) # dnf/plugins-core/needs-restarting.feature:93 Given I use repository "unsigned" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 0 | And I move the clock backward to "before boot-up" # dnf/steps/cmd.py:58 And I successfully execute dnf with args "install sarcina-1.0 kernel-1.0 glibc-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk3eoa9z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk3eoa9z/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0 And I move the clock forward to "the present" # None And I sleep for "1" seconds # None When I execute dnf with args "needs-restarting --reboothint" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: NO_FAKE_STAT=1 faketime '2026-12-02 04:25:49' dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk3eoa9z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk3eoa9z/var/cache/dnf install sarcina-1.0 kernel-1.0 glibc-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/needs-restarting.feature:19 Update core packages dnf/plugins-core/needs-restarting.feature:38 Update core packages and check with --json dnf/plugins-core/needs-restarting.feature:58 Install a package with an associated reboot_suggested advisory dnf/plugins-core/needs-restarting.feature:75 Update non-core packages only dnf/plugins-core/needs-restarting.feature:89 -r short option (no-op for compatibility with DNF 4) dnf/plugins-core/needs-restarting.feature:93 --reboothint long option (no-op for compatibility with DNF 4) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 12 steps passed, 6 failed, 38 skipped Took 0min 0.324s USING RUNNER: behave.runner:Runner Feature: Test the security filters for offline-upgrade commands # dnf/plugins-core/offline-upgrade-security-filters.feature:1 Feature: Test the security filters for offline-upgrade commands # dnf/plugins-core/offline-upgrade-security-filters.feature:1 @bz1939975 Scenario: Test advisory filter with offline-upgrade # dnf/plugins-core/offline-upgrade-security-filters.feature:9 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lx9xs8i1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lx9xs8i1/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "offline-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | When I execute dnf with args "offline-upgrade download --advisory FEDORA-2018-318f184000" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lx9xs8i1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lx9xs8i1/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1939975 Scenario: Test bugfix filter with offline-upgrade # dnf/plugins-core/offline-upgrade-security-filters.feature:33 @bz1939975 Scenario: Test bz filter with offline-upgrade # dnf/plugins-core/offline-upgrade-security-filters.feature:55 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d8jiild1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d8jiild1/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "offline-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | When I execute dnf with args "offline-upgrade download --bz=222" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d8jiild1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d8jiild1/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1939975 Scenario: Test cve filter with offline-upgrade # dnf/plugins-core/offline-upgrade-security-filters.feature:77 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I execute dnf with args "install glibc flac" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_55frt46t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_55frt46t/var/cache/dnf install glibc flac Given I use repository "dnf-ci-fedora-updates" # None When I execute dnf with args "offline-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | When I execute dnf with args "offline-upgrade download --cve=CVE-2999" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | glibc-0:2.28-26.fc29.x86_64 | | upgrade | glibc-all-langpacks-0:2.28-26.fc29.x86_64 | | upgrade | glibc-common-0:2.28-26.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_55frt46t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_55frt46t/var/cache/dnf install glibc flac  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1939975 Scenario: Test enhancement filter with offline-upgrade # dnf/plugins-core/offline-upgrade-security-filters.feature:101 @bz1939975 Scenario: Test newpackage filter with offline-upgrade # dnf/plugins-core/offline-upgrade-security-filters.feature:122 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 And I use repository "newpackage-test" # dnf/steps/repo.py:186 And I execute dnf with args "install flac-1.3.2 somepackage-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d_qr3o0f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d_qr3o0f/var/cache/dnf install flac-1.3.2 somepackage-1.0 When I execute dnf with args "offline-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | flac-0:1.3.3-3.fc29.x86_64 | | upgrade | somepackage-0:1.1-1.x86_64 | When I execute dnf with args "offline-upgrade download --newpackage" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | somepackage-0:1.1-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d_qr3o0f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d_qr3o0f/var/cache/dnf install flac-1.3.2 somepackage-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1939975 Scenario: Test security filter with offline-upgrade # dnf/plugins-core/offline-upgrade-security-filters.feature:141 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "security-upgrade" # dnf/steps/repo.py:186 And I execute dnf with args "install dracut-1-1 B-1-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rygu1l_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rygu1l_i/var/cache/dnf install dracut-1-1 B-1-1 When I execute dnf with args "offline-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | B-0:2-2.x86_64 | | upgrade | dracut-0:2-2.x86_64 | When I execute dnf with args "offline-upgrade download --security" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | B-0:2-2.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rygu1l_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rygu1l_i/var/cache/dnf install dracut-1-1 B-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1939975 Scenario: Test security severity filter with offline-upgrade # dnf/plugins-core/offline-upgrade-security-filters.feature:159 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 And I execute dnf with args "install bugfix_B-1.0-1 advisory_B-1.0-3 security_A-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_56rpooye --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_56rpooye/var/cache/dnf install bugfix_B-1.0-1 advisory_B-1.0-3 security_A-1.0-1 When I execute dnf with args "offline-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | advisory_B-0:1.0-4.x86_64 | | upgrade | bugfix_B-0:1.0-2.x86_64 | | upgrade | security_A-0:1.0-4.x86_64 | When I execute dnf with args "offline-upgrade download --advisory-severities=Critical" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | advisory_B-0:1.0-4.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_56rpooye --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_56rpooye/var/cache/dnf install bugfix_B-1.0-1 advisory_B-1.0-3 security_A-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1939975 Scenario: Test security severity filter with offline-upgrade --minimal when higher version of a package is available # dnf/plugins-core/offline-upgrade-security-filters.feature:178 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 And I execute dnf with args "install bugfix_B-1.0-1 advisory_B-1.0-3 security_A-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__2maffjp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__2maffjp/var/cache/dnf install bugfix_B-1.0-1 advisory_B-1.0-3 security_A-1.0-1 When I execute dnf with args "offline-upgrade download" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | advisory_B-0:1.0-4.x86_64 | | upgrade | bugfix_B-0:1.0-2.x86_64 | | upgrade | security_A-0:1.0-4.x86_64 | When I execute dnf with args "offline-upgrade download --minimal --advisory-severities=Moderate" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | security_A-0:1.0-3.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__2maffjp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__2maffjp/var/cache/dnf install bugfix_B-1.0-1 advisory_B-1.0-3 security_A-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/offline-upgrade-security-filters.feature:9 Test advisory filter with offline-upgrade dnf/plugins-core/offline-upgrade-security-filters.feature:55 Test bz filter with offline-upgrade dnf/plugins-core/offline-upgrade-security-filters.feature:77 Test cve filter with offline-upgrade dnf/plugins-core/offline-upgrade-security-filters.feature:122 Test newpackage filter with offline-upgrade dnf/plugins-core/offline-upgrade-security-filters.feature:141 Test security filter with offline-upgrade dnf/plugins-core/offline-upgrade-security-filters.feature:159 Test security severity filter with offline-upgrade dnf/plugins-core/offline-upgrade-security-filters.feature:178 Test security severity filter with offline-upgrade --minimal when higher version of a package is available 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 2 skipped 19 steps passed, 7 failed, 66 skipped Took 0min 0.774s USING RUNNER: behave.runner:Runner Feature: Tests for python_plugins_loader plugin # dnf/plugins-core/python_plugins_loader.feature:1 Scenario: libdnf5 python plugin is loaded and runs # dnf/plugins-core/python_plugins_loader.feature:4 Given I enable plugin "python_plugins_loader" # dnf/steps/cmd.py:184 And I configure dnf with # dnf/steps/config.py:12 | key | value | | pluginconfpath | {context.dnf.installroot}/etc/dnf/libdnf5-plugins | And I create and substitute file "/etc/dnf/libdnf5-plugins/python_plugins_loader.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I enable plugin "test_plugin" # dnf/steps/cmd.py:184 And I create and substitute file "/etc/dnf/libdnf5-plugins/python_plugins_loader.d/test_plugin.conf" with # common/file.py:43 """ [main] enabled = 1 """ And I set environment variable "LIBDNF_PYTHON_PLUGIN_DIR" to "/{context.dnf.installroot}" # dnf/steps/cmd.py:53 And I create file "/test_plugin.py" with # common/file.py:36 """ import libdnf5 class Plugin(libdnf5.plugin.IPlugin): def __init__(self, data): super(Plugin, self).__init__(data) @staticmethod def get_api_version(): return libdnf5.PluginAPIVersion(2, 1) @staticmethod def get_name(): return 'test_plugin' @staticmethod def get_version(): return libdnf5.plugin.Version(0, 1, 0) def repos_configured(self): config = self.get_base().get_config() print(self.get_name() + ' - skip_if_unavailable = ' + str(config.skip_if_unavailable)) return True """ When I execute dnf with args "rq --setopt=skip_if_unavailable=false" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2b7q8a8d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='python_plugins_loader' --enableplugin='test_plugin' --setopt=cachedir=/tmp/dnf_ci_installroot_2b7q8a8d/var/cache/dnf rq --setopt=skip_if_unavailable=false And stdout is # None """ test_plugin - skip_if_unavailable = False """ When I execute dnf with args "rq --setopt=skip_if_unavailable=true" # None Then the exit code is 0 # None And stdout is # None """ test_plugin - skip_if_unavailable = True """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2b7q8a8d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --enableplugin='python_plugins_loader' --enableplugin='test_plugin' --setopt=cachedir=/tmp/dnf_ci_installroot_2b7q8a8d/var/cache/dnf rq --setopt=skip_if_unavailable=false  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/python_plugins_loader.feature:4 libdnf5 python plugin is loaded and runs 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 8 steps passed, 1 failed, 4 skipped Took 0min 0.040s USING RUNNER: behave.runner:Runner Feature: Repoclosure command tests # dnf/plugins-core/repoclosure.feature:1 Feature: Repoclosure command tests # dnf/plugins-core/repoclosure.feature:1 Scenario: Run repoclosure without any options # dnf/plugins-core/repoclosure.feature:11 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | Given I use repository "repoclosure" # dnf/steps/repo.py:186 And I use repository "repoclosure-lookaside" # dnf/steps/repo.py:186 When I execute dnf with args "repoclosure" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o6atwrdc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o6atwrdc/var/cache/dnf repoclosure And stdout is # None """ package: dedalo-1.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib package: labirinto-3.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib """ And stderr is # None """ Error: Repoclosure ended with unresolved dependencies (2) across 2 packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o6atwrdc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o6atwrdc/var/cache/dnf repoclosure  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Run repoclosure with a package specified # dnf/plugins-core/repoclosure.feature:32 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | Given I use repository "repoclosure" # dnf/steps/repo.py:186 And I use repository "repoclosure-lookaside" # dnf/steps/repo.py:186 When I execute dnf with args "repoclosure dedalo" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_khf0lrus --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_khf0lrus/var/cache/dnf repoclosure dedalo And stdout is # None """ package: dedalo-1.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib """ And stderr is # None """ Error: Repoclosure ended with unresolved dependencies (1) across 1 packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_khf0lrus --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_khf0lrus/var/cache/dnf repoclosure dedalo  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Run repoclosure with --arch option # dnf/plugins-core/repoclosure.feature:50 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | Given I use repository "repoclosure" # dnf/steps/repo.py:186 And I use repository "repoclosure-lookaside" # dnf/steps/repo.py:186 When I execute dnf with args "repoclosure --arch=x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8s83d9w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8s83d9w/var/cache/dnf repoclosure --arch=x86_64 ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8s83d9w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8s83d9w/var/cache/dnf repoclosure --arch=x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Check closure only for specified repo # dnf/plugins-core/repoclosure.feature:57 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | Given I use repository "repoclosure" # dnf/steps/repo.py:186 And I use repository "repoclosure-lookaside" # dnf/steps/repo.py:186 When I execute dnf with args "repoclosure --check repoclosure" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_li6s3q9f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_li6s3q9f/var/cache/dnf repoclosure --check repoclosure ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_li6s3q9f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_li6s3q9f/var/cache/dnf repoclosure --check repoclosure  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Check closure with --newest (consider only the latest package in each repo) # dnf/plugins-core/repoclosure.feature:64 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | Given I use repository "repoclosure" # dnf/steps/repo.py:186 And I use repository "repoclosure-lookaside" # dnf/steps/repo.py:186 When I execute dnf with args "repoclosure --newest" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3zkbu78x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3zkbu78x/var/cache/dnf repoclosure --newest And stdout is # None """ package: dedalo-1.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib package: labirinto-3.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib package: labirinto-4.0-1.fc29.x86_64 from repoclosure-lookaside unresolved deps (1): the-lib = 3.0 """ And stderr is # None """ Error: Repoclosure ended with unresolved dependencies (3) across 3 packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3zkbu78x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3zkbu78x/var/cache/dnf repoclosure --newest  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Check closure with --best # dnf/plugins-core/repoclosure.feature:88 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | Given I use repository "repoclosure" # dnf/steps/repo.py:186 And I use repository "repoclosure-lookaside" # dnf/steps/repo.py:186 When I execute dnf with args "repoclosure --best" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f7rehu7o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f7rehu7o/var/cache/dnf repoclosure --best And stdout is # None """ package: dedalo-1.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib package: labirinto-1.0-1.fc29.x86_64 from repoclosure unresolved deps (1): the-lib = 1.0 package: labirinto-2.0-1.fc29.x86_64 from repoclosure unresolved deps (1): the-lib = 2.0 package: labirinto-3.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib package: labirinto-4.0-1.fc29.x86_64 from repoclosure-lookaside unresolved deps (1): the-lib = 3.0 """ And stderr is # None """ Error: Repoclosure ended with unresolved dependencies (5) across 5 packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f7rehu7o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f7rehu7o/var/cache/dnf repoclosure --best  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Check closure with both --newest and --best # dnf/plugins-core/repoclosure.feature:118 Given I configure dnf with # dnf/steps/config.py:12 | key | value | | best | False | Given I use repository "repoclosure" # dnf/steps/repo.py:186 And I use repository "repoclosure-lookaside" # dnf/steps/repo.py:186 When I execute dnf with args "repoclosure --newest --best" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cv6t6rf9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cv6t6rf9/var/cache/dnf repoclosure --newest --best And stdout is # None """ package: dedalo-1.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib package: labirinto-2.0-1.fc29.x86_64 from repoclosure unresolved deps (1): the-lib = 2.0 package: labirinto-3.0-1.fc29.noarch from repoclosure-lookaside unresolved deps (1): the-other-lib package: labirinto-4.0-1.fc29.x86_64 from repoclosure-lookaside unresolved deps (1): the-lib = 3.0 """ And stderr is # None """ Error: Repoclosure ended with unresolved dependencies (4) across 4 packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cv6t6rf9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cv6t6rf9/var/cache/dnf repoclosure --newest --best  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/repoclosure.feature:11 Run repoclosure without any options dnf/plugins-core/repoclosure.feature:32 Run repoclosure with a package specified dnf/plugins-core/repoclosure.feature:50 Run repoclosure with --arch option dnf/plugins-core/repoclosure.feature:57 Check closure only for specified repo dnf/plugins-core/repoclosure.feature:64 Check closure with --newest (consider only the latest package in each repo) dnf/plugins-core/repoclosure.feature:88 Check closure with --best dnf/plugins-core/repoclosure.feature:118 Check closure with both --newest and --best 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 28 steps passed, 7 failed, 10 skipped Took 0min 0.374s USING RUNNER: behave.runner:Runner Feature: Tests for repomanage command # dnf/plugins-core/repomanage.feature:1 Scenario: basic functionality of repomanage --new # dnf/plugins-core/repomanage.feature:4 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 When I execute dnf with args "repomanage --new {context.dnf.repos[dnf-ci-thirdparty-updates].path}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cy108du9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cy108du9/var/cache/dnf repomanage --new /tmp/dnf_ci_tempdir_by19yk6v/repos/dnf-ci-thirdparty-updates And stdout is # None """ {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/CQRlib-extension-1.6-2.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.3-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.3-1.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cy108du9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cy108du9/var/cache/dnf repomanage --new /tmp/dnf_ci_tempdir_by19yk6v/repos/dnf-ci-thirdparty-updates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: basic functionality of repomanage --new works without repodata # dnf/plugins-core/repomanage.feature:17 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 And I delete directory "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/repodata" # common/file.py:70 When I execute dnf with args "repomanage --new {context.dnf.repos[dnf-ci-thirdparty-updates].path}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qejduu5n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qejduu5n/var/cache/dnf repomanage --new /tmp/dnf_ci_tempdir_nnkw8vm7/repos/dnf-ci-thirdparty-updates And stdout is # None """ {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/CQRlib-extension-1.6-2.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.3-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.3-1.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qejduu5n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qejduu5n/var/cache/dnf repomanage --new /tmp/dnf_ci_tempdir_nnkw8vm7/repos/dnf-ci-thirdparty-updates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: basic functionality of repomanage --old # dnf/plugins-core/repomanage.feature:31 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 When I execute dnf with args "repomanage --old {context.dnf.repos[dnf-ci-thirdparty-updates].path}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__nr_7ite --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__nr_7ite/var/cache/dnf repomanage --old /tmp/dnf_ci_tempdir_amftoele/repos/dnf-ci-thirdparty-updates And stdout is # None """ {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.2-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.2-1.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__nr_7ite --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__nr_7ite/var/cache/dnf repomanage --old /tmp/dnf_ci_tempdir_amftoele/repos/dnf-ci-thirdparty-updates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: basic functionality of repomanage --new with -s # dnf/plugins-core/repomanage.feature:42 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 When I execute dnf with args "repomanage --new -s {context.dnf.repos[dnf-ci-thirdparty-updates].path}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9745rr2b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9745rr2b/var/cache/dnf repomanage --new -s /tmp/dnf_ci_tempdir_0ftmqpcv/repos/dnf-ci-thirdparty-updates And stdout is # None """ {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/CQRlib-extension-1.6-2.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.3-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.3-1.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9745rr2b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9745rr2b/var/cache/dnf repomanage --new -s /tmp/dnf_ci_tempdir_0ftmqpcv/repos/dnf-ci-thirdparty-updates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: basic functionality of repomanage --new with -k # dnf/plugins-core/repomanage.feature:52 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 When I execute dnf with args "repomanage --new -k 2 {context.dnf.repos[dnf-ci-thirdparty-updates].path}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fuhynnof --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fuhynnof/var/cache/dnf repomanage --new -k 2 /tmp/dnf_ci_tempdir_9juw2vn6/repos/dnf-ci-thirdparty-updates And stdout is # None """ {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/CQRlib-extension-1.6-2.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.2-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.3-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.2-1.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.3-1.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fuhynnof --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fuhynnof/var/cache/dnf repomanage --new -k 2 /tmp/dnf_ci_tempdir_9juw2vn6/repos/dnf-ci-thirdparty-updates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: basic functionality of repomanage --new with duplicate packages # dnf/plugins-core/repomanage.feature:67 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 And I create directory "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/duplicate" # common/file.py:30 And I copy file "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/x86_64/SuperRipper-1.3-1.x86_64.rpm" to "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/duplicate/SuperRipper-1.3-1.x86_64.rpm" # common/file.py:157 And I delete directory "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/repodata" # common/file.py:70 When I execute dnf with args "repomanage --new {context.dnf.repos[dnf-ci-thirdparty-updates].path}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rly_sojl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rly_sojl/var/cache/dnf repomanage --new /tmp/dnf_ci_tempdir_u4m061r3/repos/dnf-ci-thirdparty-updates And stdout is # None """ {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/duplicate/SuperRipper-1.3-1.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/CQRlib-extension-1.6-2.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.3-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.3-1.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rly_sojl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rly_sojl/var/cache/dnf repomanage --new /tmp/dnf_ci_tempdir_u4m061r3/repos/dnf-ci-thirdparty-updates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: basic functionality of repomanage --new with duplicate packages and -k 2 # dnf/plugins-core/repomanage.feature:84 Given I copy repository "dnf-ci-thirdparty-updates" for modification # dnf/steps/repo.py:238 And I create directory "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/duplicate" # common/file.py:30 And I copy file "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/x86_64/SuperRipper-1.3-1.x86_64.rpm" to "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/duplicate/SuperRipper-1.3-1.x86_64.rpm" # common/file.py:157 And I delete directory "/{context.dnf.repos[dnf-ci-thirdparty-updates].path}/repodata" # common/file.py:70 When I execute dnf with args "repomanage -k 2 --new {context.dnf.repos[dnf-ci-thirdparty-updates].path}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qv4lbn0i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qv4lbn0i/var/cache/dnf repomanage -k 2 --new /tmp/dnf_ci_tempdir_5qjc6c40/repos/dnf-ci-thirdparty-updates And stdout is # None """ {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/duplicate/SuperRipper-1.3-1.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/CQRlib-extension-1.6-2.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.2-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/src/SuperRipper-1.3-1.src.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.2-1.x86_64.rpm {context.dnf.tempdir}/repos/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.3-1.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qv4lbn0i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qv4lbn0i/var/cache/dnf repomanage -k 2 --new /tmp/dnf_ci_tempdir_5qjc6c40/repos/dnf-ci-thirdparty-updates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1804720 Scenario: don't list packages as old if they are in different stream # dnf/plugins-core/repomanage.feature:106 @xfail @bz1804720 Scenario: list packages as new if they are in different stream or are non modular # dnf/plugins-core/repomanage.feature:116 @xfail @bz1804720 Scenario: packages get listed as old if there are newer version within the same stream # dnf/plugins-core/repomanage.feature:168 @xfail @bz1804720 Scenario: only the newest modular packages get listed as new # dnf/plugins-core/repomanage.feature:192 @xfail @bz1804720 Scenario: all packages get listed as new if --keep is sufficiently big # dnf/plugins-core/repomanage.feature:214 @xfail Scenario: multiple runs of repomanage don't use cached metadata # dnf/plugins-core/repomanage.feature:247 @xfail @bz2034736 @bz2058676 Scenario: --oldonly doesn't print and rpm if it is contained in both new and old version of a stream # dnf/plugins-core/repomanage.feature:269 @xfail @bz1804720 Scenario: Show rpms from a newest module stream version from repo even if even newer stream version is enabled from a differente repo # dnf/plugins-core/repomanage.feature:299 @xfail Scenario: Show rpms from a newest module stream from repo even if there is enabled repo with even newer stream version # dnf/plugins-core/repomanage.feature:315 Failing scenarios: dnf/plugins-core/repomanage.feature:4 basic functionality of repomanage --new dnf/plugins-core/repomanage.feature:17 basic functionality of repomanage --new works without repodata dnf/plugins-core/repomanage.feature:31 basic functionality of repomanage --old dnf/plugins-core/repomanage.feature:42 basic functionality of repomanage --new with -s dnf/plugins-core/repomanage.feature:52 basic functionality of repomanage --new with -k dnf/plugins-core/repomanage.feature:67 basic functionality of repomanage --new with duplicate packages dnf/plugins-core/repomanage.feature:84 basic functionality of repomanage --new with duplicate packages and -k 2 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 9 skipped 21 steps passed, 7 failed, 56 skipped Took 0min 0.338s USING RUNNER: behave.runner:Runner Feature: Tests for reposync command with local repository # dnf/plugins-core/reposync-local.feature:1 Scenario: Base functionality of reposync on local repository # dnf/plugins-core/reposync-local.feature:4 Given I use repository "dnf-ci-thirdparty-updates" # dnf/steps/repo.py:186 When I execute dnf with args "reposync --download-path={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_37vr1s6c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_37vr1s6c/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_g1awlwxl And stderr contains " CQRlib-extension-0:1\.6-2\.src\s.*" # None And stderr contains " CQRlib-extension-0:1\.6-2\.x86_64\s.*" # None And stderr contains " SuperRipper-0:1\.2-1\.src\s.*" # None And stderr contains " SuperRipper-0:1\.2-1\.x86_64\s.*" # None And stderr contains " SuperRipper-0:1\.3-1\.src\s.*" # None And stderr contains " SuperRipper-0:1\.3-1\.x86_64\s.*" # None And the files "{context.dnf.tempdir}/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm" and "{context.dnf.fixturesdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm" do not differ # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_37vr1s6c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_37vr1s6c/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_g1awlwxl  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/reposync-local.feature:4 Base functionality of reposync on local repository 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 2 steps passed, 1 failed, 7 skipped Took 0min 0.115s USING RUNNER: behave.runner:Runner @no_installroot Feature: Reposync does not re-download the package # dnf/plugins-core/reposync-xattrs.feature:7 @bz1931904 Scenario: Different checksum type does not cause package re-download # dnf/plugins-core/reposync-xattrs.feature:11 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I copy directory "{context.dnf.tempdir}/repos/simple-base" to "/repos/simple-base-sha256" # common/file.py:149 And I configure a new repository "simple-base-sha256" with # dnf/steps/repo.py:271 | key | value | | baseurl | file:///repos/simple-base-sha256 | And I generate repodata for repository "simple-base" with extra arguments "--checksum sha512" # dnf/steps/repo.py:152 And I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --repoid=simple-base-sha256 --norepopath --download-path=/synced" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf reposync --repoid=simple-base-sha256 --norepopath --download-path=/synced When I execute dnf with args "reposync --repoid=simple-base --norepopath --download-path=/synced" # None Then the exit code is 0 # None And stderr contains lines matching # None """ labirinto-0:1\.0-1\.fc29\.x86_64.* >>> Already downloaded """ When I execute "getfattr --dump /synced/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" # None Then stdout matches line by line # None """ # file: synced/x86_64/labirinto-1\.0-1\.fc29\.x86_64\.rpm user\.librepo\.checksum\.mtime="[0-9]+" user\.librepo\.checksum\.sha256="[0-9a-f]{64}" user\.librepo\.checksum\.sha512="[0-9a-f]{128}" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf reposync --repoid=simple-base-sha256 --norepopath --download-path=/synced  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/reposync-xattrs.feature:11 Different checksum type does not cause package re-download 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 1 skipped 6 steps passed, 1 failed, 10 skipped Took 0min 0.544s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-anxnefj7', '/mp-7vdc1hfd', '/mp-ef2wxj54', '/mp-ya9e7msm', '/mp-cmdefmjp', '/mp-b3lstn65'} warnings.warn( USING RUNNER: behave.runner:Runner @no_installroot Feature: Reposync does not re-download the package # dnf/plugins-core/reposync-xattrs.feature:7 @bz1931904 Scenario: reposync --remote-time stores correct timestamp in xattr # dnf/plugins-core/reposync-xattrs.feature:43 Given I use repository "simple-base" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --repoid=simple-base --norepopath --download-path=/synced --remote-time" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf reposync --repoid=simple-base --norepopath --download-path=/synced --remote-time When I execute "[ `getfattr --absolute-names --only-values -n 'user.librepo.checksum.mtime' /synced/x86_64/labirinto-1.0-1.fc29.x86_64.rpm` == `date +%s%N -r /synced/x86_64/labirinto-1.0-1.fc29.x86_64.rpm` ]" # None Then the exit code is 0 # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=//var/cache/dnf reposync --repoid=simple-base --norepopath --download-path=/synced --remote-time  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/reposync-xattrs.feature:43 reposync --remote-time stores correct timestamp in xattr 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 1 skipped 2 steps passed, 1 failed, 14 skipped Took 0min 0.543s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-b06a4cyq', '/mp-lza0e4au', '/mp-fplrx9ph', '/mp-__lp70k_', '/mp-0s155xuc', '/mp-y3mxfx7f'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Tests for reposync command # dnf/plugins-core/reposync.feature:1 Scenario: Base functionality of reposync # dnf/plugins-core/reposync.feature:4 Given I use repository "dnf-ci-thirdparty-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6lc71qsu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6lc71qsu/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_my_uz1n6 And stderr contains " SuperRipper-0:1\.2-1\." # None And stderr contains " SuperRipper-0:1\.3-1\." # None And the files "{context.dnf.tempdir}/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm" and "{context.dnf.fixturesdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm" do not differ # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6lc71qsu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6lc71qsu/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_my_uz1n6  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposync with --newest-only option # dnf/plugins-core/reposync.feature:13 Given I use repository "dnf-ci-thirdparty-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --newest-only" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3y1cx35t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3y1cx35t/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_ut46t58w --newest-only And stderr contains " SuperRipper-0:1\.3-1\." # None And stderr does not contain " SuperRipper-0:1\.2-1\." # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3y1cx35t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3y1cx35t/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_ut46t58w --newest-only  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposync with --latest-limit option downloads N latest versions for each name.arch # dnf/plugins-core/reposync.feature:21 Given I use repository "history-recent" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --urls --latest-limit=2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h7xjrxuu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h7xjrxuu/var/cache/dnf reposync --urls --latest-limit=2 And stderr is # None """ """ And stdout matches line by line # None """ http://localhost:[0-9]+/noarch/cambio-1-1\.noarch\.rpm http://localhost:[0-9]+/noarch/fragola-3-1\.noarch\.rpm http://localhost:[0-9]+/noarch/fragola-4-1\.noarch\.rpm http://localhost:[0-9]+/src/cambio-1-1\.src\.rpm http://localhost:[0-9]+/src/cambio-2-1\.src\.rpm http://localhost:[0-9]+/src/fragola-3-1\.src\.rpm http://localhost:[0-9]+/src/fragola-4-1\.src\.rpm http://localhost:[0-9]+/x86_64/cambio-2-1\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h7xjrxuu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h7xjrxuu/var/cache/dnf reposync --urls --latest-limit=2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposync with --latest-limit and --delete options removes local packages older than N latest versions # dnf/plugins-core/reposync.feature:42 Given I use repository "history-recent" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --arch=noarch" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4g2kcudv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4g2kcudv/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_8s1h_t70 --arch=noarch And file "//{context.dnf.tempdir}/history-recent/noarch/fragola-1-1.noarch.rpm" exists # None And file "//{context.dnf.tempdir}/history-recent/noarch/fragola-2-1.noarch.rpm" exists # None When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --arch=noarch --latest-limit=2 --delete" # None Then the exit code is 0 # None And stdout contains "\[DELETED\] .*/history-recent/noarch/fragola-1-1\.noarch\.rpm" # None And stdout contains "\[DELETED\] .*/history-recent/noarch/fragola-2-1\.noarch\.rpm" # None And file "//{context.dnf.tempdir}/history-recent/noarch/fragola-1-1.noarch.rpm" does not exist # None And file "//{context.dnf.tempdir}/history-recent/noarch/fragola-2-1.noarch.rpm" does not exist # None And file "//{context.dnf.tempdir}/history-recent/noarch/fragola-3-1.noarch.rpm" exists # None And file "//{context.dnf.tempdir}/history-recent/noarch/fragola-4-1.noarch.rpm" exists # None And file "//{context.dnf.tempdir}/history-recent/noarch/cambio-1-1.noarch.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4g2kcudv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4g2kcudv/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_8s1h_t70 --arch=noarch  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Reposync --latest-limit requires a positive integer -- @1.1 # dnf/plugins-core/reposync.feature:68 Given I use repository "history-recent" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --urls --latest-limit=0" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr contains "Invalid value \"0\" for \"--latest-limit\", a positive integer is required" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: Invalid value \"0\" for \"--latest-limit\", a positive integer is required ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c_a7ti58 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c_a7ti58/var/cache/dnf reposync --urls --latest-limit=0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Reposync --latest-limit requires a positive integer -- @1.2 # dnf/plugins-core/reposync.feature:69 Given I use repository "history-recent" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --urls --latest-limit=-1" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr contains "Invalid value \"-1\" for \"--latest-limit\", a positive integer is required" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: Invalid value \"-1\" for \"--latest-limit\", a positive integer is required ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udipug08 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udipug08/var/cache/dnf reposync --urls --latest-limit=-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario Outline: Reposync --latest-limit requires a positive integer -- @1.3 # dnf/plugins-core/reposync.feature:70 Given I use repository "history-recent" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --urls --latest-limit=2abc" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr contains "Invalid value \"2abc\" for \"--latest-limit\", a positive integer is required" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: Invalid value \"2abc\" for \"--latest-limit\", a positive integer is required ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pmnhgn6c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pmnhgn6c/var/cache/dnf reposync --urls --latest-limit=2abc  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposync --latest-limit cannot be used together with --newest-only # dnf/plugins-core/reposync.feature:73 Given I use repository "history-recent" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --urls --newest-only --latest-limit=2" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stdout is empty # common/output.py:60 And stderr contains "\"--latest-limit=2\" not allowed together with named argument" # dnf/steps/cmd.py:290 ASSERT FAILED: Stderr doesn't contain: \"--latest-limit=2\" not allowed together with named argument ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_354l8tr3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_354l8tr3/var/cache/dnf reposync --urls --newest-only --latest-limit=2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1653126 @bz1676726 Scenario: Reposync with --downloadcomps option # dnf/plugins-core/reposync.feature:84 @xfail @bz1676726 Scenario: Reposync with --downloadcomps option (comps.xml in repo does not exist) # dnf/plugins-core/reposync.feature:112 @xfail @bz1895059 Scenario: Reposync with --downloadcomps option (the comps.xml in repodata is not compressed) # dnf/plugins-core/reposync.feature:122 @xfail @bz1676726 Scenario: Reposync with --downloadcomps and --metadata-path options # dnf/plugins-core/reposync.feature:134 Scenario: Reposync with --download-metadata option # dnf/plugins-core/reposync.feature:142 Given I use repository "dnf-ci-thirdparty-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --download-metadata" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ahu3w5ke --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ahu3w5ke/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_627iu0_q --download-metadata Given I configure a new repository "testrepo" with # None | key | value | | baseurl | {context.dnf.tempdir}/dnf-ci-thirdparty-updates | And I drop repository "dnf-ci-thirdparty-updates" # None When I execute dnf with args "group list" # None Then the exit code is 0 # None And stdout is # None """ ID Name Installed dnf-ci-testgroup DNF-CI-Testgroup no Groups: 1 (0 installed, 1 available) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ahu3w5ke --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ahu3w5ke/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_627iu0_q --download-metadata  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__11 @bz1714788 Scenario: Reposync downloads packages from all streams of modular repository # dnf/plugins-core/reposync.feature:163 Given I use repository "dnf-ci-fedora-modular" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__0qtkvnf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__0qtkvnf/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_fj757xtz And file "//{context.dnf.tempdir}/dnf-ci-fedora-modular/x86_64/nodejs-8.11.4-1.module_2030+42747d40.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-fedora-modular/x86_64/nodejs-10.11.0-1.module_2200+adbac02b.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-fedora-modular/x86_64/nodejs-11.0.0-1.module_2311+8d497411.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__0qtkvnf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__0qtkvnf/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_fj757xtz  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__11 @bz1714788 Scenario: Reposync downloads packages from all streams of modular repository even if the module is disabled # dnf/plugins-core/reposync.feature:175 Given I use repository "dnf-ci-fedora-modular" as http # dnf/steps/repo.py:294 When I execute dnf with args "module disable nodejs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_is5x8idl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_is5x8idl/var/cache/dnf module disable nodejs When I execute dnf with args "reposync --download-path={context.dnf.tempdir}" # None Then the exit code is 0 # None And file "//{context.dnf.tempdir}/dnf-ci-fedora-modular/x86_64/nodejs-8.11.4-1.module_2030+42747d40.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-fedora-modular/x86_64/nodejs-10.11.0-1.module_2200+adbac02b.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-fedora-modular/x86_64/nodejs-11.0.0-1.module_2311+8d497411.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_is5x8idl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_is5x8idl/var/cache/dnf module disable nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1750273 Scenario: Reposync respects excludes # dnf/plugins-core/reposync.feature:187 Given I use repository "dnf-ci-thirdparty-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --setopt=excludepkgs=SuperRipper" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ufl2olu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ufl2olu/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_enbgmyt9 --setopt=excludepkgs=SuperRipper And stderr contains " CQRlib-extension-0:1\.6-2\.src" # None And stderr contains " CQRlib-extension-0:1\.6-2\.x86_64" # None And stderr does not contain "SuperRipper" # None When I execute "ls {context.dnf.tempdir}/dnf-ci-thirdparty-updates/x86_64/" # None Then stdout is # None """ CQRlib-extension-1.6-2.x86_64.rpm """ When I execute "ls {context.dnf.tempdir}/dnf-ci-thirdparty-updates/src/" # None Then stdout is # None """ CQRlib-extension-1.6-2.src.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7ufl2olu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7ufl2olu/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_enbgmyt9 --setopt=excludepkgs=SuperRipper  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1750273 Scenario: Reposync respects includes # dnf/plugins-core/reposync.feature:207 Given I use repository "dnf-ci-fedora" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --arch=noarch --setopt=includepkgs=abcde" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hq38l0iv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hq38l0iv/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_j4xx9f8o --arch=noarch --setopt=includepkgs=abcde And stderr contains "abcde-0:2.9.2-1.fc29.noarch" # None When I set LC_ALL to "C.UTF-8" # None And I execute "find | sort" in "{context.dnf.tempdir}" # None Then stdout is # None """ . ./dnf-ci-fedora ./dnf-ci-fedora/noarch ./dnf-ci-fedora/noarch/abcde-2.9.2-1.fc29.noarch.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hq38l0iv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hq38l0iv/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_j4xx9f8o --arch=noarch --setopt=includepkgs=abcde  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @not.with_os=rhel__ge__11 Scenario: Reposync respects excludes, but not modular excludes # dnf/plugins-core/reposync.feature:225 Given I use repository "dnf-ci-fedora-modular" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --setopt=includepkgs=postgresql" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cgxriqi8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cgxriqi8/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_wsw_0ur7 --setopt=includepkgs=postgresql And stderr contains " postgresql-0:6\.1-1\." # None And stderr contains " postgresql-0:9\.6\.8-1\." # None And stderr does not contain "ninja" # None And stderr does not contain "nodejs" # None When I execute "ls {context.dnf.tempdir}/dnf-ci-fedora-modular/x86_64/" # None Then stdout is # None """ postgresql-6.1-1.module_2514+aa9aadc5.x86_64.rpm postgresql-9.6.8-1.module_1710+b535a823.x86_64.rpm """ When I execute "ls {context.dnf.tempdir}/dnf-ci-fedora-modular/src/" # None Then stdout is # None """ postgresql-6.1-1.module_2514+aa9aadc5.src.rpm postgresql-9.6.8-1.module_1710+b535a823.src.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cgxriqi8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cgxriqi8/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_wsw_0ur7 --setopt=includepkgs=postgresql  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposync downloads packages and removes packages that are not part of repo anymore # dnf/plugins-core/reposync.feature:247 Given I use repository "setopt.ext" # dnf/steps/repo.py:186 When I execute dnf with args "reposync --download-path={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j3_4b0ip --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j3_4b0ip/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_cb7dwrd9 And file "//{context.dnf.tempdir}/setopt.ext/x86_64/wget-1.0-1.fc29.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/setopt.ext/src/wget-1.0-1.fc29.src.rpm" exists # None And file "//{context.dnf.tempdir}/setopt.ext/x86_64/flac-1.0-1.fc29.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/setopt.ext/src/flac-1.0-1.fc29.src.rpm" exists # None And file "//{context.dnf.tempdir}/setopt.ext/x86_64/flac-libs-1.0-1.fc29.x86_64.rpm" exists # None Given I configure repository "setopt.ext" with # None | key | value | | baseurl | {context.scenario.repos_location}/setopt | And I use repository "setopt" # None And I drop repository "setopt" # None When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --refresh --delete" # None Then the exit code is 0 # None And file "//{context.dnf.tempdir}/setopt.ext/x86_64/wget-1.0-1.fc29.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/setopt.ext/src/wget-1.0-1.fc29.src.rpm" exists # None And file "//{context.dnf.tempdir}/setopt.ext/x86_64/flac-1.0-1.fc29.x86_64.rpm" does not exist # None And file "//{context.dnf.tempdir}/setopt.ext/src/flac-1.0-1.fc29.src.rpm" does not exist # None And file "//{context.dnf.tempdir}/setopt.ext/x86_64/flac-libs-1.0-1.fc29.x86_64.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j3_4b0ip --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j3_4b0ip/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_cb7dwrd9  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1774103 Scenario: Reposync --delete does not immediately delete downloaded content when multiple repositories are synced # dnf/plugins-core/reposync.feature:272 Given I use repository "reposync" as http # dnf/steps/repo.py:294 And I use repository "dnf-ci-thirdparty-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --delete" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ov294hrh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ov294hrh/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_o7o4wp92 --delete And stdout does not contain "[DELETED]" # None And file "//{context.dnf.tempdir}/reposync/x86_64/wget-1.0-1.fc29.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/reposync/src/wget-1.0-1.fc29.src.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.3-1.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-thirdparty-updates/x86_64/SuperRipper-1.2-1.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-thirdparty-updates/src/SuperRipper-1.3-1.src.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-thirdparty-updates/src/SuperRipper-1.2-1.src.rpm" exists # None And file "//{context.dnf.tempdir}/dnf-ci-thirdparty-updates/src/CQRlib-extension-1.6-2.src.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ov294hrh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ov294hrh/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_o7o4wp92 --delete  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposync preserves remote timestamps of packages # dnf/plugins-core/reposync.feature:288 Given I use repository "reposync" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --remote-time" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rczpxovx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rczpxovx/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_bfg0rsuj --remote-time And stderr contains " wget-0:1\.0-1\.fc29\.x86_64" # None And stderr contains " wget-0:1\.0-1\.fc29\.src" # None And the files "{context.dnf.tempdir}/reposync/x86_64/wget-1.0-1.fc29.x86_64.rpm" and "{context.dnf.fixturesdir}/repos/reposync/x86_64/wget-1.0-1.fc29.x86_64.rpm" do not differ # None And timestamps of the files "{context.dnf.tempdir}/reposync/x86_64/wget-1.0-1.fc29.x86_64.rpm" and "{context.dnf.fixturesdir}/repos/reposync/x86_64/wget-1.0-1.fc29.x86_64.rpm" do not differ # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rczpxovx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rczpxovx/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_bfg0rsuj --remote-time  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Reposync preserves remote timestamps of metadata files # dnf/plugins-core/reposync.feature:298 Given I use repository "reposync" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --download-metadata --remote-time" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ts_4_xr2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ts_4_xr2/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_vc9tqfwi --download-metadata --remote-time And the files "{context.dnf.tempdir}/reposync/repodata/primary.xml.zst" and "{context.dnf.fixturesdir}/repos/reposync/repodata/primary.xml.zst" do not differ # None And timestamps of the files "{context.dnf.tempdir}/reposync/repodata/primary.xml.zst" and "{context.dnf.fixturesdir}/repos/reposync/repodata/primary.xml.zst" do not differ # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ts_4_xr2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ts_4_xr2/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_vc9tqfwi --download-metadata --remote-time  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1686602 Scenario: Reposync --urls switch # dnf/plugins-core/reposync.feature:307 Given I use repository "dnf-ci-thirdparty-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --urls" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mcc501yc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mcc501yc/var/cache/dnf reposync --urls And stderr is # None """ """ And stdout matches line by line # None """ http://localhost:[0-9]+/src/CQRlib-extension-1\.6-2\.src\.rpm http://localhost:[0-9]+/src/SuperRipper-1\.2-1\.src\.rpm http://localhost:[0-9]+/src/SuperRipper-1\.3-1\.src\.rpm http://localhost:[0-9]+/x86_64/CQRlib-extension-1\.6-2\.x86_64\.rpm http://localhost:[0-9]+/x86_64/SuperRipper-1\.2-1\.x86_64\.rpm http://localhost:[0-9]+/x86_64/SuperRipper-1\.3-1\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mcc501yc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mcc501yc/var/cache/dnf reposync --urls  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1686602 Scenario: Reposync --urls and --download-metadata switches # dnf/plugins-core/reposync.feature:327 Given I use repository "dnf-ci-thirdparty-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --urls --download-metadata" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1nkqbudn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1nkqbudn/var/cache/dnf reposync --urls --download-metadata And stderr is # None """ """ And stdout matches line by line # None """ http://localhost:[0-9]+/repodata/primary.xml.zst http://localhost:[0-9]+/repodata/filelists.xml.zst http://localhost:[0-9]+/repodata/other.xml.zst http://localhost:[0-9]+/repodata/comps.xml.zst http://localhost:[0-9]+/src/CQRlib-extension-1\.6-2\.src\.rpm http://localhost:[0-9]+/src/SuperRipper-1\.2-1\.src\.rpm http://localhost:[0-9]+/src/SuperRipper-1\.3-1\.src\.rpm http://localhost:[0-9]+/x86_64/CQRlib-extension-1\.6-2\.x86_64\.rpm http://localhost:[0-9]+/x86_64/SuperRipper-1\.2-1\.x86_64\.rpm http://localhost:[0-9]+/x86_64/SuperRipper-1\.3-1\.x86_64\.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1nkqbudn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1nkqbudn/var/cache/dnf reposync --urls --download-metadata  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1775434 Scenario: Reposync --newest-only downloads packages from all streams and latest context versions of modular repository and latest non-modular rpms # dnf/plugins-core/reposync.feature:354 @xfail @bz1833074 Scenario: Reposync --newest-only downloads latest modular packages versions even if they are not part of the latest context version # dnf/plugins-core/reposync.feature:372 @bz1795965 Scenario: Reposync accepts --norepopath to synchronize single repository # dnf/plugins-core/reposync.feature:389 Given I use repository "reposync" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --norepopath" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fro1t_0u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fro1t_0u/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_cf7iix7c --norepopath And stderr contains " wget-0:1\.0-1\.fc29\.x86_64 .*" # None And stderr contains " wget-0:1\.0-1\.fc29\.src .*" # None And the files "{context.dnf.tempdir}/x86_64/wget-1.0-1.fc29.x86_64.rpm" and "{context.dnf.fixturesdir}/repos/reposync/x86_64/wget-1.0-1.fc29.x86_64.rpm" do not differ # None And the files "{context.dnf.tempdir}/src/wget-1.0-1.fc29.src.rpm" and "{context.dnf.fixturesdir}/repos/reposync/src/wget-1.0-1.fc29.src.rpm" do not differ # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fro1t_0u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fro1t_0u/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_cf7iix7c --norepopath  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1795965 Scenario: Reposync --norepopath cannot be used with multiple repositories # dnf/plugins-core/reposync.feature:400 Given I use repository "reposync" as http # dnf/steps/repo.py:294 And I use repository "dnf-ci-thirdparty-updates" as http # dnf/steps/repo.py:294 When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --norepopath" # dnf/steps/cmd.py:110 Then the exit code is 2 # common/output.py:55 And stderr is # common/output.py:137 """ Can't use --norepopath with multiple repositories enabled. Add "--help" for more information about the arguments. """ ASSERT FAILED: Stderr is not: Can't use --norepopath with multiple repositories enabled. Add "--help" for more information about the arguments. ---- CAPTURED STDOUT: scenario expected | found Can't use --norepopath with multiple repositories enabled. Add "--help" for more information about the arguments. | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__e94tidm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__e94tidm/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir__y4u1g_h --norepopath  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1856818 Scenario: Reposync --gpgcheck removes unsigned packages and packages signed by not-installed keys # dnf/plugins-core/reposync.feature:412 Given I use repository "reposync-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/reposync-gpg/reposync-gpg-public | When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --gpgcheck" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cn059nbh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cn059nbh/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_tbf2a5z_ --gpgcheck And stderr contains lines matching # None """ Removing '.*/reposync-gpg/src/dedalo-signed-1\.0-1\.fc29\.src\.rpm' with failing OpenPGP check: No corresponding key was found\. Removing '.*/reposync-gpg/x86_64/dedalo-signed-1\.0-1\.fc29\.x86_64\.rpm' with failing OpenPGP check: No corresponding key was found\. Removing '.*/reposync-gpg/src/dedalo-unsigned-1\.0-1\.fc29\.src\.rpm' with failing OpenPGP check: The package is not signed\. Removing '.*/reposync-gpg/x86_64/dedalo-unsigned-1\.0-1\.fc29\.x86_64\.rpm' with failing OpenPGP check: The package is not signed\. OpenPGP signature check failed """ And file "//{context.dnf.tempdir}/reposync-gpg/x86_64/dedalo-unsigned-1.0-1.fc29.x86_64.rpm" does not exist # None And file "//{context.dnf.tempdir}/reposync-gpg/x86_64/dedalo-signed-1.0-1.fc29.x86_64.rpm" does not exist # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cn059nbh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cn059nbh/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_tbf2a5z_ --gpgcheck  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1856818 Scenario: Reposync --gpgcheck removes unsigned packages # dnf/plugins-core/reposync.feature:432 Given I use repository "reposync-gpg" with configuration # dnf/steps/repo.py:212 | key | value | | gpgcheck | 1 | | gpgkey | file://{context.dnf.fixturesdir}/gpgkeys/keys/reposync-gpg/reposync-gpg-public | And I successfully execute dnf with args "install dedalo-signed" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7n84o4a1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7n84o4a1/var/cache/dnf install dedalo-signed When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --gpgcheck" # None Then the exit code is 1 # None And stderr contains lines matching # None """ Removing '.*/reposync-gpg/src/dedalo-unsigned-1\.0-1\.fc29\.src\.rpm' with failing OpenPGP check: The package is not signed\. Removing '.*/reposync-gpg/x86_64/dedalo-unsigned-1\.0-1\.fc29\.x86_64\.rpm' with failing OpenPGP check: The package is not signed\. OpenPGP signature check failed """ And file "//{context.dnf.tempdir}/reposync-gpg/x86_64/dedalo-unsigned-1.0-1.fc29.x86_64.rpm" does not exist # None And file "//{context.dnf.tempdir}/reposync-gpg/x86_64/dedalo-signed-1.0-1.fc29.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7n84o4a1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7n84o4a1/var/cache/dnf install dedalo-signed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz2009894 Scenario: Reposync does not stop downloading packages on the first error # dnf/plugins-core/reposync.feature:455 Scenario: Reposync doesn't download duplicit nevra multiple times # dnf/plugins-core/reposync.feature:477 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "createrepo_c -n x86_64/labirinto-1.0-1.fc29.x86_64.rpm -n x86_64/labirinto-1.0-1.fc29.x86_64.rpm --duplicated-nevra=keep {context.dnf.tempdir}/repos/simple-base/" # common/cmd.py:30 And I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "reposync --download-path={context.dnf.tempdir}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8kdykij_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8kdykij_/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_5zy641f4 And file "//{context.dnf.tempdir}/simple-base/x86_64/labirinto-1.0-1.fc29.x86_64.rpm" exists # None And stderr contains "labirinto-0:1\.0-1\.fc29\.x86_64" # None And stderr does not contain "labirinto-0:1\.0-1\.fc29\.x86_64(.|\n)*labirinto-1\.0-1\.fc29\.x86_64" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8kdykij_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8kdykij_/var/cache/dnf reposync --download-path=/tmp/dnf_ci_tempdir_5zy641f4  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --min-buildtime option # dnf/plugins-core/reposync.feature:495 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "SOURCE_DATE_EPOCH=1111000000 rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "SOURCE_DATE_EPOCH=1300000000 rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/labirinto*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "rm -rf src" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I generate repodata for repository "simple-base" # dnf/steps/repo.py:166 And I use repository "simple-base" # dnf/steps/repo.py:186 When I execute dnf with args "reposync --urls --min-buildtime 2008-1-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hqp4268d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hqp4268d/var/cache/dnf reposync --urls --min-buildtime 2008-1-1 And stdout matches line by line # None """ .*/repos/simple-base/x86_64/labirinto-1\.0-1\.fc29\.x86_64\.rpm """ And stderr is # None """ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hqp4268d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hqp4268d/var/cache/dnf reposync --urls --min-buildtime 2008-1-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/reposync.feature:4 Base functionality of reposync dnf/plugins-core/reposync.feature:13 Reposync with --newest-only option dnf/plugins-core/reposync.feature:21 Reposync with --latest-limit option downloads N latest versions for each name.arch dnf/plugins-core/reposync.feature:42 Reposync with --latest-limit and --delete options removes local packages older than N latest versions dnf/plugins-core/reposync.feature:68 Reposync --latest-limit requires a positive integer -- @1.1 dnf/plugins-core/reposync.feature:69 Reposync --latest-limit requires a positive integer -- @1.2 dnf/plugins-core/reposync.feature:70 Reposync --latest-limit requires a positive integer -- @1.3 dnf/plugins-core/reposync.feature:73 Reposync --latest-limit cannot be used together with --newest-only dnf/plugins-core/reposync.feature:142 Reposync with --download-metadata option dnf/plugins-core/reposync.feature:163 Reposync downloads packages from all streams of modular repository dnf/plugins-core/reposync.feature:175 Reposync downloads packages from all streams of modular repository even if the module is disabled dnf/plugins-core/reposync.feature:187 Reposync respects excludes dnf/plugins-core/reposync.feature:207 Reposync respects includes dnf/plugins-core/reposync.feature:225 Reposync respects excludes, but not modular excludes dnf/plugins-core/reposync.feature:247 Reposync downloads packages and removes packages that are not part of repo anymore dnf/plugins-core/reposync.feature:272 Reposync --delete does not immediately delete downloaded content when multiple repositories are synced dnf/plugins-core/reposync.feature:288 Reposync preserves remote timestamps of packages dnf/plugins-core/reposync.feature:298 Reposync preserves remote timestamps of metadata files dnf/plugins-core/reposync.feature:307 Reposync --urls switch dnf/plugins-core/reposync.feature:327 Reposync --urls and --download-metadata switches dnf/plugins-core/reposync.feature:389 Reposync accepts --norepopath to synchronize single repository dnf/plugins-core/reposync.feature:400 Reposync --norepopath cannot be used with multiple repositories dnf/plugins-core/reposync.feature:412 Reposync --gpgcheck removes unsigned packages and packages signed by not-installed keys dnf/plugins-core/reposync.feature:432 Reposync --gpgcheck removes unsigned packages dnf/plugins-core/reposync.feature:477 Reposync doesn't download duplicit nevra multiple times dnf/plugins-core/reposync.feature:495 --min-buildtime option 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 26 failed, 7 skipped 69 steps passed, 26 failed, 156 skipped Took 0min 4.202s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 138 leaked semaphore objects to clean up at shutdown: {'/mp-51q7swb4', '/mp-sg578zhz', '/mp-y4492326', '/mp-wwyimqhj', '/mp-vocai2n9', '/mp-22d59_xk', '/mp-86hyiccx', '/mp-sl_bt5ef', '/mp-pvbmx5qz', '/mp-rq3naln9', '/mp-1fndzyag', '/mp-7qc8fc5k', '/mp-wzy3lf9z', '/mp-1epi3xj2', '/mp-zu3kcltc', '/mp-q7ccppd2', '/mp-rupgsk5y', '/mp-fei6icma', '/mp-lw0xlbzp', '/mp-s2i1wk15', '/mp-lzru515e', '/mp-f7bcz89i', '/mp-fupme4oc', '/mp-h2678wir', '/mp-gn7bhivd', '/mp-0ry6yxy2', '/mp-m8xp7kvm', '/mp-tf7uubb2', '/mp-vye2a0x_', '/mp-k2949xkb', '/mp-ga4_iopq', '/mp-ztyisd1w', '/mp-e0_99yy5', '/mp-6e__jl9k', '/mp-hziqkm4d', '/mp-p4d940b_', '/mp-6joxxhju', '/mp-6n4zc228', '/mp-h66qsjdp', '/mp-qbtg_tgf', '/mp-7qk7og4j', '/mp-zksmwcrg', '/mp-oc6r2g22', '/mp-_wn9_7da', '/mp-qtlrl6ug', '/mp-fxgwijv2', '/mp-ftzpo0eg', '/mp-pba8vvj0', '/mp-oyigi3yh', '/mp-kbfzbzu9', '/mp-2qyba0j4', '/mp-zroosait', '/mp-zhuoep4a', '/mp-x2ggcgyk', '/mp-4unf9e_v', '/mp-0x9xzhjb', '/mp-50tgzw20', '/mp-qo21ideu', '/mp-0tru93cq', '/mp-9420d183', '/mp-g7ff0jiz', '/mp-s1z3e0x1', '/mp-r6tv0qwm', '/mp-idnjhsy_', '/mp-vm53_9af', '/mp-69vsehg9', '/mp-iecbnzcu', '/mp-wvovgrfl', '/mp-dp95f6gj', '/mp-4qtouxvu', '/mp-4x187ju4', '/mp-1w_pwwhn', '/mp-p01fa0_x', '/mp-nu0_te_5', '/mp-jxebw41m', '/mp-3kal6zo0', '/mp-nc39o3uq', '/mp-p3rh2rw0', '/mp-pb1y_r4n', '/mp-8iyyvlte', '/mp-61tyciyx', '/mp-bleq5c2b', '/mp-76js4xok', '/mp-hu61499e', '/mp-l92hgjkw', '/mp-r5m3zgtu', '/mp-9ptxyq_w', '/mp-0qzs88hl', '/mp-vsmdxgnk', '/mp-uj74uk1s', '/mp-a5rxrcdf', '/mp-wk5zgpcq', '/mp-jhqc1fp6', '/mp-xbm78ngs', '/mp-ygjb6uzd', '/mp-arb55di2', '/mp-0sq1lytc', '/mp-n6f4azme', '/mp-5pqy9bh_', '/mp-f6o54ox7', '/mp-a1m6e4s7', '/mp-7livnd15', '/mp-tzxtu059', '/mp-mxrinzo9', '/mp-ahx25quy', '/mp-2oew2acp', '/mp-ajns19xq', '/mp-084ulhed', '/mp-ars5tnea', '/mp-pp0hxnaj', '/mp-pouv8js1', '/mp-4pxpr4am', '/mp-skvb9x7i', '/mp-pmf7rikl', '/mp-7fnp6m_x', '/mp-fqw_nzzr', '/mp-l58p_6pk', '/mp-zuk52fpf', '/mp-ovz4isc0', '/mp-uk47do0k', '/mp-35450mi6', '/mp-u1bsz2of', '/mp-zlpyex26', '/mp-ru6__r9w', '/mp-_mtne8ft', '/mp-q8t79rwd', '/mp-g7s2jpv7', '/mp-e_3rrahi', '/mp-vk748mx5', '/mp-5fwo3h0v', '/mp-_c349_7f', '/mp-e2gil3kh', '/mp-txujrmis', '/mp-xs9clyl2', '/mp-yda24p65', '/mp-xn4b39bg', '/mp-r3nwydps', '/mp-u1ir90av'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Error handling of the versionlock plugin # dnf/plugins-core/versionlock-errors.feature:1 Scenario: A malformed versionlock.toml reports a clean error instead of aborting # dnf/plugins-core/versionlock-errors.feature:4 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [unterminated """ And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6nqjg9hn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6nqjg9hn/var/cache/dnf repoquery wget And stderr contains "Error parsing versionlock file" # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6nqjg9hn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6nqjg9hn/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/versionlock-errors.feature:4 A malformed versionlock.toml reports a clean error instead of aborting 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 3 steps passed, 1 failed, 1 skipped Took 0min 0.146s USING RUNNER: behave.runner:Runner Feature: Tests excluding capabilities of the versionlock plugin # dnf/plugins-core/versionlock-exclude.feature:1 Feature: Tests excluding capabilities of the versionlock plugin # dnf/plugins-core/versionlock-exclude.feature:1 Scenario: The excluded newest version of the package is not installed # dnf/plugins-core/versionlock-exclude.feature:33 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "!=" value = "0:1.19.6-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0ug7lm9q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0ug7lm9q/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ When I execute dnf with args "install wget" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0ug7lm9q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0ug7lm9q/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The excluded version of the package is not installed as a dependency # dnf/plugins-core/versionlock-exclude.feature:41 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "!=" value = "0:1.19.6-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2lcgggyk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2lcgggyk/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ When I execute dnf with args "install abcde" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2lcgggyk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2lcgggyk/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/versionlock-exclude.feature:33 The excluded newest version of the package is not installed dnf/plugins-core/versionlock-exclude.feature:41 The excluded version of the package is not installed as a dependency 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 8 steps passed, 2 failed, 10 skipped Took 0min 0.315s USING RUNNER: behave.runner:Runner Feature: Versionlock command can maintain versionlock.list file # dnf/plugins-core/versionlock-list-manipulation.feature:1 Feature: Versionlock command can maintain versionlock.list file # dnf/plugins-core/versionlock-list-manipulation.feature:1 Scenario: Basic commands add/exclude/list/delete/clear for manipulation with versionlock.list file are working # dnf/plugins-core/versionlock-list-manipulation.feature:11 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "install wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y33rz1eg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y33rz1eg/var/cache/dnf install wget And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | When I execute dnf with args "versionlock add wget" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Adding versionlock on "wget = 1.19.5-5.fc29". """ When I execute dnf with args "versionlock list" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ # Added by 'versionlock add' command on .* Package name: wget evr = 1.19.5-5.fc29 """ When I execute dnf with args "versionlock exclude lame" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Adding versionlock exclude on "lame = 3.100-4.fc29". """ When I execute dnf with args "versionlock list" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ # Added by 'versionlock add' command on .* Package name: wget evr = 1.19.5-5.fc29 # Added by 'versionlock exclude' command on .* Package name: lame evr != 3.100-4.fc29 """ When I execute dnf with args "versionlock delete wget" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Deleting versionlock entry: # Added by 'versionlock add' command on .* Package name: wget evr = 1.19.5-5.fc29 """ When I execute dnf with args "versionlock list" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ # Added by 'versionlock exclude' command on .* Package name: lame evr != 3.100-4.fc29 """ When I execute dnf with args "versionlock delete lame" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout matches line by line # None """ Deleting versionlock entry: # Added by 'versionlock exclude' command on .* Package name: lame evr != 3.100-4.fc29 """ When I execute dnf with args "versionlock list" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None When I execute dnf with args "versionlock add wget" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ Adding versionlock on "wget = 1.19.5-5.fc29". """ When I execute dnf with args "versionlock clear" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None When I execute dnf with args "versionlock list" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y33rz1eg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y33rz1eg/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1785563 Scenario: versionlock will print just necessary information with -q option # dnf/plugins-core/versionlock-list-manipulation.feature:142 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I execute dnf with args "versionlock add wget" # dnf/steps/cmd.py:110 When I execute dnf with args "-q versionlock list" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c408hsiw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c408hsiw/var/cache/dnf -q versionlock list And stdout matches line by line # None """ # Added by 'versionlock add' command on .* Package name: wget evr = 1.19.5-5.fc29 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c408hsiw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c408hsiw/var/cache/dnf -q versionlock list  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1782052 @bz1845270 Scenario: Prevent duplicate entries in versionlock.list # dnf/plugins-core/versionlock-list-manipulation.feature:157 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c6eq2ycv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c6eq2ycv/var/cache/dnf install wget And I successfully execute dnf with args "versionlock add wget" # None When I execute dnf with args "versionlock add wget" # None Then the exit code is 0 # None And stderr is # None """ Package "wget" is already locked. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c6eq2ycv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c6eq2ycv/var/cache/dnf install wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail @bz1782052 Scenario: Prevent conflicting entries in versionlock.list # dnf/plugins-core/versionlock-list-manipulation.feature:176 @bz2013324 Scenario: I can exclude mutliple packages when one is already excluded # dnf/plugins-core/versionlock-list-manipulation.feature:190 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "versionlock exclude wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vc8s2tm6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vc8s2tm6/var/cache/dnf versionlock exclude wget When I execute dnf with args "versionlock exclude abcde wget" # None Then the exit code is 0 # None And stdout is # None """ Adding versionlock exclude on "abcde = 2.9.2-1.fc29". """ And stderr is # None """ Package "wget" is already excluded. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vc8s2tm6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vc8s2tm6/var/cache/dnf versionlock exclude wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz2013324 Scenario: I can lock mutliple packages when one is already locked # dnf/plugins-core/versionlock-list-manipulation.feature:207 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I successfully execute dnf with args "versionlock add wget" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5lroutx2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5lroutx2/var/cache/dnf versionlock add wget When I execute dnf with args "versionlock add abcde wget" # None Then the exit code is 0 # None And stdout is # None """ Adding versionlock on "abcde = 2.9.2-1.fc29". """ And stderr is # None """ Package "wget" is already locked. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5lroutx2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5lroutx2/var/cache/dnf versionlock add wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can lock multiple packages with the same nevra and name matching wildcard # dnf/plugins-core/versionlock-list-manipulation.feature:224 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "versionlock add lz4*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hw7jadhj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hw7jadhj/var/cache/dnf versionlock add lz4* And stdout is # None """ Adding versionlock on "lz4 = 1.7.5-2.fc26". Adding versionlock on "lz4-debuginfo = 1.7.5-2.fc26". Adding versionlock on "lz4-devel = 1.7.5-2.fc26". Adding versionlock on "lz4-static = 1.7.5-2.fc26". """ And stderr is # None """ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hw7jadhj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hw7jadhj/var/cache/dnf versionlock add lz4*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/versionlock-list-manipulation.feature:11 Basic commands add/exclude/list/delete/clear for manipulation with versionlock.list file are working dnf/plugins-core/versionlock-list-manipulation.feature:142 versionlock will print just necessary information with -q option dnf/plugins-core/versionlock-list-manipulation.feature:157 Prevent duplicate entries in versionlock.list dnf/plugins-core/versionlock-list-manipulation.feature:190 I can exclude mutliple packages when one is already excluded dnf/plugins-core/versionlock-list-manipulation.feature:207 I can lock mutliple packages when one is already locked dnf/plugins-core/versionlock-list-manipulation.feature:224 I can lock multiple packages with the same nevra and name matching wildcard 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 1 skipped 20 steps passed, 6 failed, 68 skipped Took 0min 0.354s USING RUNNER: behave.runner:Runner Feature: Tests missing or misconfigured versionlock.list file in versionlock plugin # dnf/plugins-core/versionlock-list.feature:1 Feature: Tests missing or misconfigured versionlock.list file in versionlock plugin # dnf/plugins-core/versionlock-list.feature:1 Scenario: dnf versionlock clear will create empty file if versionlock.list is missing # dnf/plugins-core/versionlock-list.feature:11 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 Given I delete file "/etc/dnf/versionlock.toml" # common/file.py:58 When I execute dnf with args "versionlock clear" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_75vfnb90 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_75vfnb90/var/cache/dnf versionlock clear And file "/etc/dnf/versionlock.toml" exists # None And file "/etc/dnf/versionlock.toml" contents is # None """ packages = [] version = "1.0" """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_75vfnb90 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_75vfnb90/var/cache/dnf versionlock clear  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/versionlock-list.feature:11 dnf versionlock clear will create empty file if versionlock.list is missing 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 5 steps passed, 1 failed, 2 skipped Took 0min 0.287s USING RUNNER: behave.runner:Runner Feature: Tests locking capabilities of the versionlock plugin # dnf/plugins-core/versionlock-lock.feature:1 Feature: Tests locking capabilities of the versionlock plugin # dnf/plugins-core/versionlock-lock.feature:1 Scenario: I can list all versions of locked package # dnf/plugins-core/versionlock-lock.feature:33 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_df14n9oo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_df14n9oo/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ When I execute dnf with args "list --showduplicates wget" # None Then stderr is # None """ """ And stdout matches line by line # None """ Available packages wget.src +1.19.5-5.fc29 +dnf-ci-fedora wget.x86_64 +1.19.5-5.fc29 +dnf-ci-fedora wget.src +1.19.6-5.fc29 +dnf-ci-fedora-updates wget.x86_64 +1.19.6-5.fc29 +dnf-ci-fedora-updates """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_df14n9oo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_df14n9oo/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The locked version of the package gets installed although newer one is available # dnf/plugins-core/versionlock-lock.feature:49 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ck15bcma --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ck15bcma/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ When I execute dnf with args "install wget" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ck15bcma --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ck15bcma/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: The locked version of the package gets installed as a dependency # dnf/plugins-core/versionlock-lock.feature:57 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_difcpmd7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_difcpmd7/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ When I execute dnf with args "install abcde" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install-dep | wget-0:1.19.5-5.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_difcpmd7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_difcpmd7/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can reinstall the installed locked version of the package # dnf/plugins-core/versionlock-lock.feature:67 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_exnszui9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_exnszui9/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I successfully execute dnf with args "install wget-1.19.5" # None When I execute dnf with args "reinstall wget" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_exnszui9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_exnszui9/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I cannot upgrade the locked version of the package # dnf/plugins-core/versionlock-lock.feature:76 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cq6cp_c_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cq6cp_c_/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I successfully execute dnf with args "install wget-1.19.5" # None When I execute dnf with args "upgrade wget" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cq6cp_c_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cq6cp_c_/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: I can remove the installed locked version of the package # dnf/plugins-core/versionlock-lock.feature:83 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pwasqgjt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pwasqgjt/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I successfully execute dnf with args "install wget-1.19.5" # None When I execute dnf with args "remove wget" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pwasqgjt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pwasqgjt/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1780370 Scenario: I can remove installed package when other version is locked # dnf/plugins-core/versionlock-lock.feature:93 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o62s4g4d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o62s4g4d/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I successfully execute dnf with args "install wget-1.19.5" # None And I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:2.0.0-1.fc29" """ When I execute dnf with args "remove wget" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | wget-0:1.19.5-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o62s4g4d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o62s4g4d/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1431491 Scenario: Locking does not require that the package exists in a repository # dnf/plugins-core/versionlock-lock.feature:113 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ct38p7x0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ct38p7x0/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I drop repository "dnf-ci-fedora" # None When I execute dnf with args "install wget" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Argument 'wget' matches only packages excluded by versionlock. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ct38p7x0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ct38p7x0/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1726712 Scenario: I can upgrade to the locked version of the package when older version is installed # dnf/plugins-core/versionlock-lock.feature:126 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9jk5ea2p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9jk5ea2p/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I successfully execute dnf with args "install wget-1.19.5" # None And I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.6-5.fc29" """ When I execute dnf with args "upgrade wget" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | wget-0:1.19.6-5.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9jk5ea2p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9jk5ea2p/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Versionlock can lock the package version to an interval # dnf/plugins-core/versionlock-lock.feature:145 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p3wguw4l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p3wguw4l/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I use repository "dnf-ci-fedora" # None And I use repository "dnf-ci-fedora-updates" # None And I use repository "dnf-ci-fedora-updates-testing" # None And I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "flac" [[packages.conditions]] key = "evr" comparator = ">=" value = "1.3" [[packages.conditions]] key = "evr" comparator = "<" value = "1.4" """ When I execute dnf with args "repoquery flac" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ flac-0:1.3.2-8.fc29.src flac-0:1.3.2-8.fc29.x86_64 flac-0:1.3.3-1.fc29.src flac-0:1.3.3-1.fc29.x86_64 flac-0:1.3.3-2.fc29.src flac-0:1.3.3-2.fc29.x86_64 flac-0:1.3.3-3.fc29.src flac-0:1.3.3-3.fc29.x86_64 flac-0:1.4.0-1.fc29.src flac-0:1.4.0-1.fc29.x86_64 """ When I execute dnf with args "install flac" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | flac-0:1.3.3-3.fc29.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p3wguw4l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p3wguw4l/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1750620 Scenario: Check-update command does not report updates filtered out by the versionlock # dnf/plugins-core/versionlock-lock.feature:190 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5l9t_yp9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5l9t_yp9/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I use repository "dnf-ci-fedora" # None When I execute dnf with args "install flac-0:1.3.2-8.fc29" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | flac-0:1.3.2-8.fc29.x86_64 | Given I use repository "dnf-ci-fedora-updates" # None And I use repository "dnf-ci-fedora-updates-testing" # None Given I create file "/etc/dnf/versionlock.toml" with # None When I execute dnf with args "check-upgrade" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout is # None """ Upgrades flac.x86_64 1.4.0-1.fc29 dnf-ci-fedora-updates-testing """ Given I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "flac" [[packages.conditions]] key = "evr" comparator = ">=" value = "1.3" [[packages.conditions]] key = "evr" comparator = "<" value = "1.4" """ When I execute dnf with args "check-upgrade" # None Then the exit code is 100 # None And stderr is # None """ """ And stdout is # None """ Upgrades flac.x86_64 1.3.3-3.fc29 dnf-ci-fedora-updates """ Given I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "flac" [[packages.conditions]] key = "evr" comparator = "=" value = "1.3.2-8.fc29" """ When I execute dnf with args "check-upgrade" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5l9t_yp9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5l9t_yp9/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1627124 Scenario: The locked version of the package cannot get obsoleted # dnf/plugins-core/versionlock-lock.feature:262 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e27t77qh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e27t77qh/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I use repository "dnf-ci-obsoletes" # None And I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "PackageB" [[packages.conditions]] key = "evr" comparator = "=" value = "1.0-1" """ When I execute dnf with args "install PackageB-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageB-0:1.0-1.x86_64 | When I execute dnf with args "upgrade PackageB" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e27t77qh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e27t77qh/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1627124 Scenario: The locked version of the package cannot get obsoleted by upgrade of other package # dnf/plugins-core/versionlock-lock.feature:286 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eatu4k0j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eatu4k0j/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I use repository "dnf-ci-obsoletes" # None And I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "PackageC" [[packages.conditions]] key = "evr" comparator = "=" value = "1.0-1" """ When I execute dnf with args "install PackageC-1.0 PackageD-1.0" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageC-0:1.0-1.x86_64 | | install | PackageD-0:1.0-1.x86_64 | When I execute dnf with args "upgrade PackageD" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eatu4k0j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eatu4k0j/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1957280 Scenario: When both obsoleted and obsoleter are locked, the obsoleter package is not filtered out and can be installed # dnf/plugins-core/versionlock-lock.feature:310 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_go7d6oo0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_go7d6oo0/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I use repository "dnf-ci-obsoletes" # None And I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "PackageB" [[packages.conditions]] key = "evr" comparator = "=" value = "1.0-1" [[packages]] name = "PackageB-Obsoleter" [[packages.conditions]] key = "evr" comparator = "=" value = "1.0-1" """ When I execute dnf with args "install PackageB-Obsoleter" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | PackageB-Obsoleter-0:1.0-1.x86_64 | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_go7d6oo0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_go7d6oo0/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1961217 Scenario: The packages with minorbump part of release are correctly locked # dnf/plugins-core/versionlock-lock.feature:336 Given I create file "/etc/dnf/versionlock.toml" with # common/file.py:36 """ version = "1.0" [[packages]] name = "wget" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.19.5-5.fc29" """ Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora-updates" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery wget" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_27lbfym7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_27lbfym7/var/cache/dnf repoquery wget And stderr is # None """ """ And stdout is # None """ wget-0:1.19.5-5.fc29.src wget-0:1.19.5-5.fc29.x86_64 wget-0:1.19.6-5.fc29.src wget-0:1.19.6-5.fc29.x86_64 """ Given I use repository "miscellaneous" # None And I successfully execute dnf with args "install minorbump-0:1.0-1.fc29.x86_64" # None And I create file "/etc/dnf/versionlock.toml" with # None """ version = "1.0" [[packages]] name = "minorbump" [[packages.conditions]] key = "evr" comparator = "=" value = "0:1.0-1.fc29" """ And I successfully execute dnf with args "repoquery minorbump" # None Then stderr is # None """ """ And stdout is # None """ minorbump-0:1.0-1.fc29.1.src minorbump-0:1.0-1.fc29.1.x86_64 minorbump-0:1.0-1.fc29.src minorbump-0:1.0-1.fc29.x86_64 """ When I execute dnf with args "upgrade minorbump" # None Then the exit code is 0 # None And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_27lbfym7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_27lbfym7/var/cache/dnf repoquery wget  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/plugins-core/versionlock-lock.feature:33 I can list all versions of locked package dnf/plugins-core/versionlock-lock.feature:49 The locked version of the package gets installed although newer one is available dnf/plugins-core/versionlock-lock.feature:57 The locked version of the package gets installed as a dependency dnf/plugins-core/versionlock-lock.feature:67 I can reinstall the installed locked version of the package dnf/plugins-core/versionlock-lock.feature:76 I cannot upgrade the locked version of the package dnf/plugins-core/versionlock-lock.feature:83 I can remove the installed locked version of the package dnf/plugins-core/versionlock-lock.feature:93 I can remove installed package when other version is locked dnf/plugins-core/versionlock-lock.feature:113 Locking does not require that the package exists in a repository dnf/plugins-core/versionlock-lock.feature:126 I can upgrade to the locked version of the package when older version is installed dnf/plugins-core/versionlock-lock.feature:145 Versionlock can lock the package version to an interval dnf/plugins-core/versionlock-lock.feature:190 Check-update command does not report updates filtered out by the versionlock dnf/plugins-core/versionlock-lock.feature:262 The locked version of the package cannot get obsoleted dnf/plugins-core/versionlock-lock.feature:286 The locked version of the package cannot get obsoleted by upgrade of other package dnf/plugins-core/versionlock-lock.feature:310 When both obsoleted and obsoleter are locked, the obsoleter package is not filtered out and can be installed dnf/plugins-core/versionlock-lock.feature:336 The packages with minorbump part of release are correctly locked 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 15 failed, 0 skipped 60 steps passed, 15 failed, 127 skipped Took 0min 0.772s USING RUNNER: behave.runner:Runner Feature: Tests for the basic repoquery dependencies functionality: # dnf/repoquery/deps.feature:1 --requires, --provides, --conflicts, --obsoletes, --requires-pre --whatrequires, --whatprovides, --whatconflicts, --whatobsoletes Feature: Tests for the basic repoquery dependencies functionality: # dnf/repoquery/deps.feature:1 Scenario: repoquery --requires NAME # dnf/repoquery/deps.feature:10 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --requires middle1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w_vlj51u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w_vlj51u/var/cache/dnf repoquery --requires middle1 And stderr is # None """ """ And stdout is # None """ /a/bottom4-file bottom1-prov1 bottom1-prov2 = 1.0 bottom1-prov2 >= 2.0 bottom2 = 1:1.0-1 bottom3 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w_vlj51u --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w_vlj51u/var/cache/dnf repoquery --requires middle1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --requires NAME-VERSION # dnf/repoquery/deps.feature:27 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --requires middle1-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8iopif8f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8iopif8f/var/cache/dnf repoquery --requires middle1-1.0 And stderr is # None """ """ And stdout is # None """ bottom1-prov1 bottom1-prov2 = 1.0 bottom2 = 1:1.0-1 bottom3 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8iopif8f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8iopif8f/var/cache/dnf repoquery --requires middle1-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --providers-of=requires NAME # dnf/repoquery/deps.feature:42 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --setopt=optional_metadata_types=filelists --providers-of=requires middle1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_on2rhoya --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_on2rhoya/var/cache/dnf repoquery --setopt=optional_metadata_types=filelists --providers-of=requires middle1 And stderr is # None """ """ And stdout is # None """ bottom1-1:2.0-1.x86_64 bottom2-1:1.0-1.x86_64 bottom3-1:2.0-1.x86_64 bottom4-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_on2rhoya --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_on2rhoya/var/cache/dnf repoquery --setopt=optional_metadata_types=filelists --providers-of=requires middle1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --providers-of=requires NAMEGLOB # dnf/repoquery/deps.feature:57 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --setopt=optional_metadata_types=filelists --providers-of=requires middle[1]" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ykzx5t9y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ykzx5t9y/var/cache/dnf repoquery --setopt=optional_metadata_types=filelists --providers-of=requires middle[1] And stderr is # None """ """ And stdout is # None """ bottom1-1:2.0-1.x86_64 bottom2-1:1.0-1.x86_64 bottom3-1:2.0-1.x86_64 bottom4-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ykzx5t9y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ykzx5t9y/var/cache/dnf repoquery --setopt=optional_metadata_types=filelists --providers-of=requires middle[1]  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --providers-of=requires --recursive NAME # dnf/repoquery/deps.feature:72 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --setopt=optional_metadata_types=filelists --providers-of=requires --recursive top1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6pog3hri --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6pog3hri/var/cache/dnf repoquery --setopt=optional_metadata_types=filelists --providers-of=requires --recursive top1 And stderr is # None """ """ And stdout is # None """ bottom1-1:2.0-1.x86_64 bottom2-1:1.0-1.x86_64 bottom3-1:2.0-1.x86_64 bottom4-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 middle2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6pog3hri --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6pog3hri/var/cache/dnf repoquery --setopt=optional_metadata_types=filelists --providers-of=requires --recursive top1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --providers-of=requires --recursive NAME-VERSION # dnf/repoquery/deps.feature:89 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --setopt=optional_metadata_types=filelists --providers-of=requires --recursive top1-2.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z5dcrg9h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z5dcrg9h/var/cache/dnf repoquery --setopt=optional_metadata_types=filelists --providers-of=requires --recursive top1-2.0 And stderr is # None """ """ And stdout is # None """ bottom1-1:2.0-1.x86_64 bottom2-1:1.0-1.x86_64 bottom4-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 middle2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z5dcrg9h --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z5dcrg9h/var/cache/dnf repoquery --setopt=optional_metadata_types=filelists --providers-of=requires --recursive top1-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --providers-of=requires --installed NAME when nothing is installed # dnf/repoquery/deps.feature:105 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --providers-of=requires --installed middle3" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2u8l811o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2u8l811o/var/cache/dnf repoquery --providers-of=requires --installed middle3 And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2u8l811o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2u8l811o/var/cache/dnf repoquery --providers-of=requires --installed middle3  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --providers-of=requires --installed NAME # dnf/repoquery/deps.feature:110 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install middle3" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yaba_elv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yaba_elv/var/cache/dnf install middle3 When I execute dnf with args "repoquery --providers-of=requires middle3 --installed " # None Then the exit code is 0 # None And stdout is # None """ bottom1-1:1.0-1.x86_64 bottom3-1:2.0-1.x86_64 bottom4-1:1.0-1.x86_64 bottom5-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_yaba_elv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_yaba_elv/var/cache/dnf install middle3  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: repoquery --requires --resolve --recursive --tree NAME-VERSION # dnf/repoquery/deps.feature:124 Scenario: repoquery --requires NAME-VERSION NAME # dnf/repoquery/deps.feature:143 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --requires middle1-1.0 middle2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b9tshb2m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b9tshb2m/var/cache/dnf repoquery --requires middle1-1.0 middle2 And stderr is # None """ """ And stdout is # None """ bottom1-prov1 bottom1-prov2 = 1.0 bottom1-prov3 <= 1.2 bottom1-prov3 > 1.5 bottom2 = 1:1.0-1 bottom3 bottom3-prov1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b9tshb2m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b9tshb2m/var/cache/dnf repoquery --requires middle1-1.0 middle2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --requires NAMEGLOB-VERSION NAME # dnf/repoquery/deps.feature:161 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --requires middle[1]-1.0 middle2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8fmth_78 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8fmth_78/var/cache/dnf repoquery --requires middle[1]-1.0 middle2 And stderr is # None """ """ And stdout is # None """ bottom1-prov1 bottom1-prov2 = 1.0 bottom1-prov3 <= 1.2 bottom1-prov3 > 1.5 bottom2 = 1:1.0-1 bottom3 bottom3-prov1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8fmth_78 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8fmth_78/var/cache/dnf repoquery --requires middle[1]-1.0 middle2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --requires with requires(pre/post/preun/postun) # dnf/repoquery/deps.feature:179 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --requires middle3-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bdm2qerv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bdm2qerv/var/cache/dnf repoquery --requires middle3-1.0-1 And stderr is # None """ """ And stdout is # None """ bottom1-prov1 bottom3-prov1 bottom4-prov1 bottom5-prov1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bdm2qerv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bdm2qerv/var/cache/dnf repoquery --requires middle3-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --requires with requires(pre/post/preun/postun) # dnf/repoquery/deps.feature:195 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --qf '%{{requires}}' middle3-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cncaprec --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cncaprec/var/cache/dnf repoquery --qf '%{requires}' middle3-1.0-1 And stderr is # None """ """ And stdout is # None """ bottom5-prov1 bottom4-prov1 bottom3-prov1 bottom1-prov1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cncaprec --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cncaprec/var/cache/dnf repoquery --qf '%{requires}' middle3-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --provides NAME # dnf/repoquery/deps.feature:212 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --provides bottom1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_910cqxu9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_910cqxu9/var/cache/dnf repoquery --provides bottom1 And stderr is # None """ """ And stdout is # None """ a-common-provide bottom1 = 1:1.0-1 bottom1 = 1:2.0-1 bottom1(x86-64) = 1:1.0-1 bottom1(x86-64) = 1:2.0-1 bottom1-prov1 bottom1-prov2 = 1.0 bottom1-prov2 = 2.0 bottom1-prov3 <= 1.3 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_910cqxu9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_910cqxu9/var/cache/dnf repoquery --provides bottom1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --provides NAME-VERSION # dnf/repoquery/deps.feature:232 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --provides bottom1-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9tb36k2v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9tb36k2v/var/cache/dnf repoquery --provides bottom1-1.0 And stderr is # None """ """ And stdout is # None """ a-common-provide bottom1 = 1:1.0-1 bottom1(x86-64) = 1:1.0-1 bottom1-prov1 bottom1-prov2 = 1.0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9tb36k2v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9tb36k2v/var/cache/dnf repoquery --provides bottom1-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --provides NAMEGLOB-VERSIONGLOB # dnf/repoquery/deps.feature:248 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --provides bottom[2]-*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sbo98a6o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sbo98a6o/var/cache/dnf repoquery --provides bottom[2]-* And stderr is # None """ """ And stdout is # None """ a-common-provide bottom2 = 1:1.0-1 bottom2 = 1:2.0-1 bottom2(x86-64) = 1:1.0-1 bottom2(x86-64) = 1:2.0-1 bottom2-prov1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sbo98a6o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sbo98a6o/var/cache/dnf repoquery --provides bottom[2]-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --conflicts NAME # dnf/repoquery/deps.feature:267 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --conflicts bottom2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udz20gh4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udz20gh4/var/cache/dnf repoquery --conflicts bottom2 And stderr is # None """ """ And stdout is # None """ bottom1 bottom3 < 2.0 bottom3 = 1:1.0-1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_udz20gh4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_udz20gh4/var/cache/dnf repoquery --conflicts bottom2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --conflicts NAME-VERSION # dnf/repoquery/deps.feature:281 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --conflicts bottom2-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k7rfxm_t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k7rfxm_t/var/cache/dnf repoquery --conflicts bottom2-1.0 And stderr is # None """ """ And stdout is # None """ bottom1 bottom3 = 1:1.0-1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k7rfxm_t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k7rfxm_t/var/cache/dnf repoquery --conflicts bottom2-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --conflicts NAMEGLOB-VERSIONGLOB # dnf/repoquery/deps.feature:294 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --conflicts 'bottom*-?.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y7hlm_tx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y7hlm_tx/var/cache/dnf repoquery --conflicts 'bottom*-?.0' And stderr is # None """ """ And stdout is # None """ bottom1 bottom3 < 2.0 bottom3 = 1:1.0-1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y7hlm_tx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y7hlm_tx/var/cache/dnf repoquery --conflicts 'bottom*-?.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --obsoletes NAME # dnf/repoquery/deps.feature:310 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --obsoletes bottom3" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9pc4zh2m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9pc4zh2m/var/cache/dnf repoquery --obsoletes bottom3 And stderr is # None """ """ And stdout is # None """ bottom1 < 7 bottom2 bottom2 = 1:2.0-1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9pc4zh2m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9pc4zh2m/var/cache/dnf repoquery --obsoletes bottom3  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --obsoletes NAME-VERSION # dnf/repoquery/deps.feature:324 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --obsoletes bottom3-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f04dxxct --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f04dxxct/var/cache/dnf repoquery --obsoletes bottom3-1.0 And stderr is # None """ """ And stdout is # None """ bottom1 < 7 bottom2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_f04dxxct --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_f04dxxct/var/cache/dnf repoquery --obsoletes bottom3-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --obsoletes NAMEGLOB-VERSION # dnf/repoquery/deps.feature:337 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --obsoletes bottom[3]-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v94xrf5y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v94xrf5y/var/cache/dnf repoquery --obsoletes bottom[3]-1.0 And stderr is # None """ """ And stdout is # None """ bottom1 < 7 bottom2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v94xrf5y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v94xrf5y/var/cache/dnf repoquery --obsoletes bottom[3]-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1782906 Scenario: repoquery --whatrequires NAME # dnf/repoquery/deps.feature:352 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires bottom1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5uf8xb_x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5uf8xb_x/var/cache/dnf repoquery --whatrequires bottom1 And stderr is # None """ """ And stdout is # None """ middle1-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 middle2-1:2.0-1.x86_64 middle3-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5uf8xb_x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5uf8xb_x/var/cache/dnf repoquery --whatrequires bottom1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1782906 Scenario: repoquery --whatrequires NAME-VERSION # dnf/repoquery/deps.feature:368 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires bottom1-2.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w6vixond --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w6vixond/var/cache/dnf repoquery --whatrequires bottom1-2.0 And stderr is # None """ """ And stdout is # None """ middle1-1:2.0-1.x86_64 middle2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w6vixond --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w6vixond/var/cache/dnf repoquery --whatrequires bottom1-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1782906 Scenario: repoquery --whatrequires NEVRA # dnf/repoquery/deps.feature:382 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires bottom2-1:1.0-1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_feuak98a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_feuak98a/var/cache/dnf repoquery --whatrequires bottom2-1:1.0-1.x86_64 And stderr is # None """ """ And stdout is # None """ middle1-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_feuak98a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_feuak98a/var/cache/dnf repoquery --whatrequires bottom2-1:1.0-1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1782906 Scenario: repoquery --whatrequires NAME (file provide) # dnf/repoquery/deps.feature:396 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires bottom4 --setopt=optional_metadata_types=filelists" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1d26hnic --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1d26hnic/var/cache/dnf repoquery --whatrequires bottom4 --setopt=optional_metadata_types=filelists And stderr is # None """ """ And stdout is # None """ middle1-1:2.0-1.x86_64 middle3-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1d26hnic --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1d26hnic/var/cache/dnf repoquery --whatrequires bottom4 --setopt=optional_metadata_types=filelists  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrequires PROVIDE_NAME # dnf/repoquery/deps.feature:409 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires bottom1-prov2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p1bw1p6w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p1bw1p6w/var/cache/dnf repoquery --whatrequires bottom1-prov2 And stderr is # None """ """ And stdout is # None """ middle1-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p1bw1p6w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p1bw1p6w/var/cache/dnf repoquery --whatrequires bottom1-prov2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrequires PROVIDE_NAME = VERSION # dnf/repoquery/deps.feature:422 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires 'bottom1-prov2 = 2.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k_fny2tu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k_fny2tu/var/cache/dnf repoquery --whatrequires 'bottom1-prov2 = 2.0' And stderr is # None """ """ And stdout is # None """ middle1-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k_fny2tu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k_fny2tu/var/cache/dnf repoquery --whatrequires 'bottom1-prov2 = 2.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrequires --recursive PROVIDE_NAME # dnf/repoquery/deps.feature:434 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --recursive --whatrequires bottom1-prov2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w23jvuka --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w23jvuka/var/cache/dnf repoquery --recursive --whatrequires bottom1-prov2 And stderr is # None """ """ And stdout is # None """ middle1-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 top1-1:1.0-1.x86_64 top1-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w23jvuka --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w23jvuka/var/cache/dnf repoquery --recursive --whatrequires bottom1-prov2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --exactdeps --whatrequires PROVIDE_NAME # dnf/repoquery/deps.feature:449 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --exactdeps --whatrequires bottom1-prov3" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gaxe029l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gaxe029l/var/cache/dnf repoquery --exactdeps --whatrequires bottom1-prov3 And stderr is # None """ """ And stdout is # None """ middle2-1:1.0-1.x86_64 middle2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gaxe029l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gaxe029l/var/cache/dnf repoquery --exactdeps --whatrequires bottom1-prov3  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --exactdeps --whatrequires PROVIDE_NAMEGLOB # dnf/repoquery/deps.feature:462 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --exactdeps --whatrequires bottom1-prov[23]" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k25drlst --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k25drlst/var/cache/dnf repoquery --exactdeps --whatrequires bottom1-prov[23] And stderr is # None """ """ And stdout is # None """ middle1-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 middle2-1:1.0-1.x86_64 middle2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k25drlst --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k25drlst/var/cache/dnf repoquery --exactdeps --whatrequires bottom1-prov[23]  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --exactdeps --whatrequires PROVIDE_NAME >= VERSION (matches) # dnf/repoquery/deps.feature:477 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --exactdeps --whatrequires 'bottom1-prov3 >= 11'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_75rgxbnw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_75rgxbnw/var/cache/dnf repoquery --exactdeps --whatrequires 'bottom1-prov3 >= 11' And stderr is # None """ """ And stdout is # None """ middle2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_75rgxbnw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_75rgxbnw/var/cache/dnf repoquery --exactdeps --whatrequires 'bottom1-prov3 >= 11'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --exactdeps --whatrequires PROVIDE_NAME < VERSION (doesn't match) # dnf/repoquery/deps.feature:489 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --exactdeps --whatrequires 'bottom1-prov3 < 1'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8lmklxt9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8lmklxt9/var/cache/dnf repoquery --exactdeps --whatrequires 'bottom1-prov3 < 1' And stderr is # None """ """ And stdout is # None """ middle2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8lmklxt9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8lmklxt9/var/cache/dnf repoquery --exactdeps --whatrequires 'bottom1-prov3 < 1'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1667898 Scenario: repoquery --whatrequires NAME --whatrequires NAME # dnf/repoquery/deps.feature:502 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "-q repoquery --whatrequires 'bottom1-prov3 > 30' --whatrequires bottom2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1lsv8mmb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1lsv8mmb/var/cache/dnf -q repoquery --whatrequires 'bottom1-prov3 > 30' --whatrequires bottom2 And stderr is # None """ """ And stdout is # None """ middle1-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 middle2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1lsv8mmb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1lsv8mmb/var/cache/dnf -q repoquery --whatrequires 'bottom1-prov3 > 30' --whatrequires bottom2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrequires NAME (buildrequires, srpm) # dnf/repoquery/deps.feature:516 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires bottom5-prov1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_508ueq9c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_508ueq9c/var/cache/dnf repoquery --whatrequires bottom5-prov1 And stderr is # None """ """ And stdout is # None """ middle3-1:1.0-1.x86_64 middle4-1:1.0-1.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_508ueq9c --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_508ueq9c/var/cache/dnf repoquery --whatrequires bottom5-prov1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1812596 Scenario: repoquery --whatrequires NEVRA (buildrequires, srpm) # dnf/repoquery/deps.feature:530 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires bottom5" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vbhvlnga --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vbhvlnga/var/cache/dnf repoquery --whatrequires bottom5 And stderr is # None """ """ And stdout is # None """ middle3-1:1.0-1.x86_64 middle4-1:1.0-1.src middle5-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vbhvlnga --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vbhvlnga/var/cache/dnf repoquery --whatrequires bottom5  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatprovides NAME # dnf/repoquery/deps.feature:546 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides bottom1-prov1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vv66m40p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vv66m40p/var/cache/dnf repoquery --whatprovides bottom1-prov1 And stderr is # None """ """ And stdout is # None """ bottom1-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vv66m40p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vv66m40p/var/cache/dnf repoquery --whatprovides bottom1-prov1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatprovides NAME (versioned provide in multiple packages) # dnf/repoquery/deps.feature:558 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides bottom1-prov2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_78w2vstd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_78w2vstd/var/cache/dnf repoquery --whatprovides bottom1-prov2 And stderr is # None """ """ And stdout is # None """ bottom1-1:1.0-1.x86_64 bottom1-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_78w2vstd --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_78w2vstd/var/cache/dnf repoquery --whatprovides bottom1-prov2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatprovides NAME (a provide present in different packages) # dnf/repoquery/deps.feature:571 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides a-common-provide" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ts6jtlef --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ts6jtlef/var/cache/dnf repoquery --whatprovides a-common-provide And stderr is # None """ """ And stdout is # None """ bottom1-1:1.0-1.x86_64 bottom1-1:2.0-1.x86_64 bottom2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ts6jtlef --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ts6jtlef/var/cache/dnf repoquery --whatprovides a-common-provide  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatprovides NAME = VERSION # dnf/repoquery/deps.feature:585 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides 'bottom1-prov2 = 2.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b99n11yc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b99n11yc/var/cache/dnf repoquery --whatprovides 'bottom1-prov2 = 2.0' And stderr is # None """ """ And stdout is # None """ bottom1-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b99n11yc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b99n11yc/var/cache/dnf repoquery --whatprovides 'bottom1-prov2 = 2.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatprovides NAME = VERSION (non-versioned provide) # dnf/repoquery/deps.feature:597 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides 'bottom2-prov1 = 1.3'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dehgstw_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dehgstw_/var/cache/dnf repoquery --whatprovides 'bottom2-prov1 = 1.3' And stderr is # None """ """ And stdout is # None """ bottom2-1:1.0-1.x86_64 bottom2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dehgstw_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dehgstw_/var/cache/dnf repoquery --whatprovides 'bottom2-prov1 = 1.3'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatprovides NAME <= VERSION (matches) # dnf/repoquery/deps.feature:610 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides 'bottom1-prov3 <= 1.2'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qfk8x0l2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qfk8x0l2/var/cache/dnf repoquery --whatprovides 'bottom1-prov3 <= 1.2' And stderr is # None """ """ And stdout is # None """ bottom1-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qfk8x0l2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qfk8x0l2/var/cache/dnf repoquery --whatprovides 'bottom1-prov3 <= 1.2'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatprovides NAME > VERSION (doesn't match) # dnf/repoquery/deps.feature:622 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides 'bottom1-prov3 > 1.3'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vtgtp_7p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vtgtp_7p/var/cache/dnf repoquery --whatprovides 'bottom1-prov3 > 1.3' And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vtgtp_7p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vtgtp_7p/var/cache/dnf repoquery --whatprovides 'bottom1-prov3 > 1.3'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatprovides NAMEGLOB <= VERSION # dnf/repoquery/deps.feature:631 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides 'bottom[1-3]-prov? >= 1.2'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4uzrre9g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4uzrre9g/var/cache/dnf repoquery --whatprovides 'bottom[1-3]-prov? >= 1.2' And stderr is # None """ """ And stdout is # None """ bottom1-1:1.0-1.x86_64 bottom1-1:2.0-1.x86_64 bottom2-1:1.0-1.x86_64 bottom2-1:2.0-1.x86_64 bottom3-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4uzrre9g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4uzrre9g/var/cache/dnf repoquery --whatprovides 'bottom[1-3]-prov? >= 1.2'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1667898 Scenario: repoquery --whatprovides NAME = VERSION --whatprovides NAME # dnf/repoquery/deps.feature:648 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides 'bottom1-prov2 = 2.0' --whatprovides bottom3-prov1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_59448l7x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_59448l7x/var/cache/dnf repoquery --whatprovides 'bottom1-prov2 = 2.0' --whatprovides bottom3-prov1 And stderr is # None """ """ And stdout is # None """ bottom1-1:2.0-1.x86_64 bottom3-1:1.0-1.x86_64 bottom3-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_59448l7x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_59448l7x/var/cache/dnf repoquery --whatprovides 'bottom1-prov2 = 2.0' --whatprovides bottom3-prov1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1667898 Scenario: repoquery --whatprovides NAME = version, NAME # dnf/repoquery/deps.feature:663 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides 'bottom1-prov2 = 2.0, bottom3-prov1'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9wf5fsqw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9wf5fsqw/var/cache/dnf repoquery --whatprovides 'bottom1-prov2 = 2.0, bottom3-prov1' And stderr is # None """ """ And stdout is # None """ bottom1-1:2.0-1.x86_64 bottom3-1:1.0-1.x86_64 bottom3-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9wf5fsqw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9wf5fsqw/var/cache/dnf repoquery --whatprovides 'bottom1-prov2 = 2.0, bottom3-prov1'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatconflicts NAME # dnf/repoquery/deps.feature:679 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts bottom1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9v58_bw_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9v58_bw_/var/cache/dnf repoquery --whatconflicts bottom1 And stderr is # None """ """ And stdout is # None """ bottom2-1:1.0-1.x86_64 bottom2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9v58_bw_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9v58_bw_/var/cache/dnf repoquery --whatconflicts bottom1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatconflicts NAME (versioned conflict) # dnf/repoquery/deps.feature:692 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts bottom3" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xnrpysd3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xnrpysd3/var/cache/dnf repoquery --whatconflicts bottom3 And stderr is # None """ """ And stdout is # None """ bottom2-1:1.0-1.x86_64 bottom2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xnrpysd3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xnrpysd3/var/cache/dnf repoquery --whatconflicts bottom3  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatconflicts NAME = VERSION # dnf/repoquery/deps.feature:705 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts 'bottom3 = 1:1.0-1'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fsinv8j1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fsinv8j1/var/cache/dnf repoquery --whatconflicts 'bottom3 = 1:1.0-1' And stderr is # None """ """ And stdout is # None """ bottom2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fsinv8j1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fsinv8j1/var/cache/dnf repoquery --whatconflicts 'bottom3 = 1:1.0-1'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatconflicts NAME < VERSION (one match) # dnf/repoquery/deps.feature:717 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts 'bottom3 < 0.5'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_98szpo8k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_98szpo8k/var/cache/dnf repoquery --whatconflicts 'bottom3 < 0.5' And stderr is # None """ """ And stdout is # None """ bottom2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_98szpo8k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_98szpo8k/var/cache/dnf repoquery --whatconflicts 'bottom3 < 0.5'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatconflicts NAME < VERSION (two matches) # dnf/repoquery/deps.feature:729 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts 'bottom3 < 1:1.5'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b_184dum --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b_184dum/var/cache/dnf repoquery --whatconflicts 'bottom3 < 1:1.5' And stderr is # None """ """ And stdout is # None """ bottom2-1:1.0-1.x86_64 bottom2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b_184dum --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b_184dum/var/cache/dnf repoquery --whatconflicts 'bottom3 < 1:1.5'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatconflicts NAMEGLOB < VERSIONGLOB (two matches) # dnf/repoquery/deps.feature:742 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts 'bottom[3] < 1:1.5'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pavpds88 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pavpds88/var/cache/dnf repoquery --whatconflicts 'bottom[3] < 1:1.5' And stderr is # None """ """ And stdout is # None """ bottom2-1:1.0-1.x86_64 bottom2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pavpds88 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pavpds88/var/cache/dnf repoquery --whatconflicts 'bottom[3] < 1:1.5'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1667898 Scenario: repoquery --whatconflicts NAME --whatconflicts NAME = VERSION # dnf/repoquery/deps.feature:756 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts middle2 --whatconflicts 'bottom3 = 1:1.0-1'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w6fnimc5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w6fnimc5/var/cache/dnf repoquery --whatconflicts middle2 --whatconflicts 'bottom3 = 1:1.0-1' And stderr is # None """ """ And stdout is # None """ bottom2-1:1.0-1.x86_64 middle1-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w6fnimc5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w6fnimc5/var/cache/dnf repoquery --whatconflicts middle2 --whatconflicts 'bottom3 = 1:1.0-1'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatobsoletes NAME # dnf/repoquery/deps.feature:771 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatobsoletes bottom2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rhntyf_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rhntyf_i/var/cache/dnf repoquery --whatobsoletes bottom2 And stderr is # None """ """ And stdout is # None """ bottom3-1:1.0-1.x86_64 bottom3-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rhntyf_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rhntyf_i/var/cache/dnf repoquery --whatobsoletes bottom2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatobsoletes NAME = VERSION (version obsolete exists) # dnf/repoquery/deps.feature:784 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatobsoletes 'bottom2 = 1:2.0-1'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0cmht6_7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0cmht6_7/var/cache/dnf repoquery --whatobsoletes 'bottom2 = 1:2.0-1' And stderr is # None """ """ And stdout is # None """ bottom3-1:1.0-1.x86_64 bottom3-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0cmht6_7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0cmht6_7/var/cache/dnf repoquery --whatobsoletes 'bottom2 = 1:2.0-1'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatobsoletes NAME = VERSION (version obsolete doesn't exist) # dnf/repoquery/deps.feature:797 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatobsoletes 'bottom2 = 2.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tggm5ret --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tggm5ret/var/cache/dnf repoquery --whatobsoletes 'bottom2 = 2.0' And stderr is # None """ """ And stdout is # None """ bottom3-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tggm5ret --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tggm5ret/var/cache/dnf repoquery --whatobsoletes 'bottom2 = 2.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatobsoletes NAME = VERSION (matches a range) # dnf/repoquery/deps.feature:809 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatobsoletes 'bottom1 = 4'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p6bjm2u5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p6bjm2u5/var/cache/dnf repoquery --whatobsoletes 'bottom1 = 4' And stderr is # None """ """ And stdout is # None """ bottom3-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p6bjm2u5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p6bjm2u5/var/cache/dnf repoquery --whatobsoletes 'bottom1 = 4'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatobsoletes NAME = VERSION (doesn't match a range) # dnf/repoquery/deps.feature:821 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatobsoletes 'bottom1 = 8'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k4k9hcmg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k4k9hcmg/var/cache/dnf repoquery --whatobsoletes 'bottom1 = 8' And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k4k9hcmg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k4k9hcmg/var/cache/dnf repoquery --whatobsoletes 'bottom1 = 8'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatobsoletes NAME <= VERSION (matches) # dnf/repoquery/deps.feature:830 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatobsoletes 'bottom1 <= 4'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05gkgp9q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05gkgp9q/var/cache/dnf repoquery --whatobsoletes 'bottom1 <= 4' And stderr is # None """ """ And stdout is # None """ bottom3-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_05gkgp9q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_05gkgp9q/var/cache/dnf repoquery --whatobsoletes 'bottom1 <= 4'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatobsoletes NAMEGLOB <= VERSION (matches) # dnf/repoquery/deps.feature:842 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatobsoletes 'bottom[1] <= 4'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p4sdo4as --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p4sdo4as/var/cache/dnf repoquery --whatobsoletes 'bottom[1] <= 4' And stderr is # None """ """ And stdout is # None """ bottom3-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p4sdo4as --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p4sdo4as/var/cache/dnf repoquery --whatobsoletes 'bottom[1] <= 4'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1667898 Scenario: repoquery --whatobsoletes NAME, NAME = VERSION # dnf/repoquery/deps.feature:855 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatobsoletes 'middle1, bottom2 = 2.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0nz8uh4t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0nz8uh4t/var/cache/dnf repoquery --whatobsoletes 'middle1, bottom2 = 2.0' And stderr is # None """ """ And stdout is # None """ bottom3-1:1.0-1.x86_64 middle2-1:1.0-1.x86_64 middle2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0nz8uh4t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0nz8uh4t/var/cache/dnf repoquery --whatobsoletes 'middle1, bottom2 = 2.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --requires-pre # dnf/repoquery/deps.feature:871 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --requires-pre middle3" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_apg5mtlh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_apg5mtlh/var/cache/dnf repoquery --requires-pre middle3 And stderr is # None """ """ And stdout is # None """ bottom1-prov1 bottom3-prov1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_apg5mtlh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_apg5mtlh/var/cache/dnf repoquery --requires-pre middle3  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --requires-pre with installed pkg show all %pre, %post, %preun, %postun deps # dnf/repoquery/deps.feature:884 Given I use repository "repoquery-deps" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install middle3" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xjgxdwjm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xjgxdwjm/var/cache/dnf install middle3 And I drop repository "repoquery-deps" # None When I execute dnf with args "repoquery --installed --requires-pre middle3" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ bottom1-prov1 bottom3-prov1 bottom4-prov1 bottom5-prov1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xjgxdwjm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xjgxdwjm/var/cache/dnf install middle3  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/deps.feature:10 repoquery --requires NAME dnf/repoquery/deps.feature:27 repoquery --requires NAME-VERSION dnf/repoquery/deps.feature:42 repoquery --providers-of=requires NAME dnf/repoquery/deps.feature:57 repoquery --providers-of=requires NAMEGLOB dnf/repoquery/deps.feature:72 repoquery --providers-of=requires --recursive NAME dnf/repoquery/deps.feature:89 repoquery --providers-of=requires --recursive NAME-VERSION dnf/repoquery/deps.feature:105 repoquery --providers-of=requires --installed NAME when nothing is installed dnf/repoquery/deps.feature:110 repoquery --providers-of=requires --installed NAME dnf/repoquery/deps.feature:143 repoquery --requires NAME-VERSION NAME dnf/repoquery/deps.feature:161 repoquery --requires NAMEGLOB-VERSION NAME dnf/repoquery/deps.feature:179 repoquery --requires with requires(pre/post/preun/postun) dnf/repoquery/deps.feature:195 repoquery --requires with requires(pre/post/preun/postun) dnf/repoquery/deps.feature:212 repoquery --provides NAME dnf/repoquery/deps.feature:232 repoquery --provides NAME-VERSION dnf/repoquery/deps.feature:248 repoquery --provides NAMEGLOB-VERSIONGLOB dnf/repoquery/deps.feature:267 repoquery --conflicts NAME dnf/repoquery/deps.feature:281 repoquery --conflicts NAME-VERSION dnf/repoquery/deps.feature:294 repoquery --conflicts NAMEGLOB-VERSIONGLOB dnf/repoquery/deps.feature:310 repoquery --obsoletes NAME dnf/repoquery/deps.feature:324 repoquery --obsoletes NAME-VERSION dnf/repoquery/deps.feature:337 repoquery --obsoletes NAMEGLOB-VERSION dnf/repoquery/deps.feature:352 repoquery --whatrequires NAME dnf/repoquery/deps.feature:368 repoquery --whatrequires NAME-VERSION dnf/repoquery/deps.feature:382 repoquery --whatrequires NEVRA dnf/repoquery/deps.feature:396 repoquery --whatrequires NAME (file provide) dnf/repoquery/deps.feature:409 repoquery --whatrequires PROVIDE_NAME dnf/repoquery/deps.feature:422 repoquery --whatrequires PROVIDE_NAME = VERSION dnf/repoquery/deps.feature:434 repoquery --whatrequires --recursive PROVIDE_NAME dnf/repoquery/deps.feature:449 repoquery --exactdeps --whatrequires PROVIDE_NAME dnf/repoquery/deps.feature:462 repoquery --exactdeps --whatrequires PROVIDE_NAMEGLOB dnf/repoquery/deps.feature:477 repoquery --exactdeps --whatrequires PROVIDE_NAME >= VERSION (matches) dnf/repoquery/deps.feature:489 repoquery --exactdeps --whatrequires PROVIDE_NAME < VERSION (doesn't match) dnf/repoquery/deps.feature:502 repoquery --whatrequires NAME --whatrequires NAME dnf/repoquery/deps.feature:516 repoquery --whatrequires NAME (buildrequires, srpm) dnf/repoquery/deps.feature:530 repoquery --whatrequires NEVRA (buildrequires, srpm) dnf/repoquery/deps.feature:546 repoquery --whatprovides NAME dnf/repoquery/deps.feature:558 repoquery --whatprovides NAME (versioned provide in multiple packages) dnf/repoquery/deps.feature:571 repoquery --whatprovides NAME (a provide present in different packages) dnf/repoquery/deps.feature:585 repoquery --whatprovides NAME = VERSION dnf/repoquery/deps.feature:597 repoquery --whatprovides NAME = VERSION (non-versioned provide) dnf/repoquery/deps.feature:610 repoquery --whatprovides NAME <= VERSION (matches) dnf/repoquery/deps.feature:622 repoquery --whatprovides NAME > VERSION (doesn't match) dnf/repoquery/deps.feature:631 repoquery --whatprovides NAMEGLOB <= VERSION dnf/repoquery/deps.feature:648 repoquery --whatprovides NAME = VERSION --whatprovides NAME dnf/repoquery/deps.feature:663 repoquery --whatprovides NAME = version, NAME dnf/repoquery/deps.feature:679 repoquery --whatconflicts NAME dnf/repoquery/deps.feature:692 repoquery --whatconflicts NAME (versioned conflict) dnf/repoquery/deps.feature:705 repoquery --whatconflicts NAME = VERSION dnf/repoquery/deps.feature:717 repoquery --whatconflicts NAME < VERSION (one match) dnf/repoquery/deps.feature:729 repoquery --whatconflicts NAME < VERSION (two matches) dnf/repoquery/deps.feature:742 repoquery --whatconflicts NAMEGLOB < VERSIONGLOB (two matches) dnf/repoquery/deps.feature:756 repoquery --whatconflicts NAME --whatconflicts NAME = VERSION dnf/repoquery/deps.feature:771 repoquery --whatobsoletes NAME dnf/repoquery/deps.feature:784 repoquery --whatobsoletes NAME = VERSION (version obsolete exists) dnf/repoquery/deps.feature:797 repoquery --whatobsoletes NAME = VERSION (version obsolete doesn't exist) dnf/repoquery/deps.feature:809 repoquery --whatobsoletes NAME = VERSION (matches a range) dnf/repoquery/deps.feature:821 repoquery --whatobsoletes NAME = VERSION (doesn't match a range) dnf/repoquery/deps.feature:830 repoquery --whatobsoletes NAME <= VERSION (matches) dnf/repoquery/deps.feature:842 repoquery --whatobsoletes NAMEGLOB <= VERSION (matches) dnf/repoquery/deps.feature:855 repoquery --whatobsoletes NAME, NAME = VERSION dnf/repoquery/deps.feature:871 repoquery --requires-pre dnf/repoquery/deps.feature:884 repoquery --requires-pre with installed pkg show all %pre, %post, %preun, %postun deps 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 62 failed, 1 skipped 122 steps passed, 62 failed, 132 skipped Took 0min 2.178s USING RUNNER: behave.runner:Runner Feature: Tests for the repoquery --duplicates functionality: # dnf/repoquery/duplicates.feature:1 Scenario: show package installed in two versions # dnf/repoquery/duplicates.feature:4 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 And I successfully execute rpm with args "-i --nodeps {context.scenario.repos_location}/repoquery-main/x86_64/bottom-a3-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 And I successfully execute rpm with args "-i --nodeps {context.scenario.repos_location}/repoquery-main/x86_64/bottom-a3-2.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 When I execute dnf with args "repoquery --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fpzrzvae --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fpzrzvae/var/cache/dnf repoquery --duplicates And stderr is # None """ """ And stdout is # None """ bottom-a3-1:1.0-1.x86_64 bottom-a3-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fpzrzvae --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fpzrzvae/var/cache/dnf repoquery --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: show package installed in two versions with other packages installed # dnf/repoquery/duplicates.feature:21 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 And I execute dnf with args "install top-a-2.0-2" # dnf/steps/cmd.py:110 And I successfully execute rpm with args "-i --nodeps {context.scenario.repos_location}/repoquery-main/x86_64/bottom-a3-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 And I successfully execute rpm with args "-i --nodeps {context.scenario.repos_location}/repoquery-main/x86_64/bottom-a3-2.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 When I execute dnf with args "repoquery --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k6hlkm80 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k6hlkm80/var/cache/dnf repoquery --duplicates And stderr is # None """ """ And stdout is # None """ bottom-a3-1:1.0-1.x86_64 bottom-a3-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k6hlkm80 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k6hlkm80/var/cache/dnf repoquery --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: don't show installonly package installed in two versions # dnf/repoquery/duplicates.feature:39 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 And I execute dnf with args "install top-a-2.0-2" # dnf/steps/cmd.py:110 And I successfully execute rpm with args "-i --nodeps {context.scenario.repos_location}/repoquery-main/x86_64/bottom-a3-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 And I successfully execute rpm with args "-i --nodeps {context.scenario.repos_location}/repoquery-main/x86_64/bottom-a3-2.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 And I configure dnf with # dnf/steps/config.py:12 | key | value | | installonlypkgs | bottom-a3 | When I execute dnf with args "repoquery --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3_d9hzt3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3_d9hzt3/var/cache/dnf repoquery --duplicates And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3_d9hzt3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3_d9hzt3/var/cache/dnf repoquery --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: don't resolve globs in installonlypkgs options # dnf/repoquery/duplicates.feature:55 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 And I execute dnf with args "install top-a-2.0-2" # dnf/steps/cmd.py:110 And I successfully execute rpm with args "-i --nodeps {context.scenario.repos_location}/repoquery-main/x86_64/bottom-a3-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 And I successfully execute rpm with args "-i --nodeps {context.scenario.repos_location}/repoquery-main/x86_64/bottom-a3-2.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 And I configure dnf with # dnf/steps/config.py:12 | key | value | | installonlypkgs | bottom-a3* | When I execute dnf with args "repoquery --duplicates" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__xe_qdm9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__xe_qdm9/var/cache/dnf repoquery --duplicates And stderr is # None """ """ And stdout is # None """ bottom-a3-1:1.0-1.x86_64 bottom-a3-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__xe_qdm9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__xe_qdm9/var/cache/dnf repoquery --duplicates  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/duplicates.feature:4 show package installed in two versions dnf/repoquery/duplicates.feature:21 show package installed in two versions with other packages installed dnf/repoquery/duplicates.feature:39 don't show installonly package installed in two versions dnf/repoquery/duplicates.feature:55 don't resolve globs in installonlypkgs options 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 21 steps passed, 4 failed, 8 skipped Took 0min 0.442s USING RUNNER: behave.runner:Runner Feature: Repoquery tests working with files # dnf/repoquery/files.feature:1 Scenario: list files in an rpm including files in filelists.xml # dnf/repoquery/files.feature:4 Given I use repository "repoquery-files" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery a.x86_64 --files" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e1afd_bb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e1afd_bb/var/cache/dnf repoquery a.x86_64 --files And stderr is # None """ """ And stdout is # None """ /root-file /usr/bin/a-binary """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e1afd_bb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e1afd_bb/var/cache/dnf repoquery a.x86_64 --files  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: list files using --queryformat in an rpm including files in filelists.xml # dnf/repoquery/files.feature:19 Given I use repository "repoquery-files" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery a.x86_64 --qf %{{files}}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8p0grabe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8p0grabe/var/cache/dnf repoquery a.x86_64 --qf %{files} And stderr is # None """ """ And stdout is # None """ /root-file /usr/bin/a-binary """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8p0grabe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8p0grabe/var/cache/dnf repoquery a.x86_64 --qf %{files}  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: filter by file in primary.xml # dnf/repoquery/files.feature:34 Given I use repository "repoquery-files" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --file /usr/bin/a-binary" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__zvpzf5y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__zvpzf5y/var/cache/dnf repoquery --file /usr/bin/a-binary And stderr is # None """ """ And stdout is # None """ a-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__zvpzf5y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__zvpzf5y/var/cache/dnf repoquery --file /usr/bin/a-binary  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: filter by file in filelists.xml # dnf/repoquery/files.feature:48 Given I use repository "repoquery-files" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --file /root-file" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2vahcp3w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2vahcp3w/var/cache/dnf repoquery --file /root-file And stderr is # None """ """ And stdout is # None """ a-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2vahcp3w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2vahcp3w/var/cache/dnf repoquery --file /root-file  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/files.feature:4 list files in an rpm including files in filelists.xml dnf/repoquery/files.feature:19 list files using --queryformat in an rpm including files in filelists.xml dnf/repoquery/files.feature:34 filter by file in primary.xml dnf/repoquery/files.feature:48 filter by file in filelists.xml 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 4 failed, 0 skipped 8 steps passed, 4 failed, 8 skipped Took 0min 0.202s USING RUNNER: behave.runner:Runner Feature: Glob tests for expanding all the various glob patterns. # dnf/repoquery/globs.feature:1 Feature: Glob tests for expanding all the various glob patterns. # dnf/repoquery/globs.feature:1 Scenario: repoquery '*' (lists all available packages) # dnf/repoquery/globs.feature:8 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery '*'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ec0xzmw1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ec0xzmw1/var/cache/dnf repoquery '*' And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.0-1.src desktop-utils-1:1.0-1.x86_64 desktop-utils-1:1.23.9-1.src desktop-utils-1:1.23.9-1.x86_64 htop-1:1.0-1.src htop-1:1.0-1.x86_64 top-1:1.0-1.src top-1:1.0-1.x86_64 toped-1:1.0-1.src toped-1:1.0-1.x86_64 topgit-1:1.0-1.src topgit-1:1.0-1.x86_64 topgit-1:1.17.6-1.src topgit-1:1.17.6-1.x86_64 toppler-1:1.0-1.src toppler-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ec0xzmw1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ec0xzmw1/var/cache/dnf repoquery '*'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery top* # dnf/repoquery/globs.feature:35 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dt0iwkmu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dt0iwkmu/var/cache/dnf repoquery top* And stderr is # None """ """ And stdout is # None """ top-1:1.0-1.src top-1:1.0-1.x86_64 toped-1:1.0-1.src toped-1:1.0-1.x86_64 topgit-1:1.0-1.src topgit-1:1.0-1.x86_64 topgit-1:1.17.6-1.src topgit-1:1.17.6-1.x86_64 toppler-1:1.0-1.src toppler-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dt0iwkmu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dt0iwkmu/var/cache/dnf repoquery top*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery top?d # dnf/repoquery/globs.feature:56 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top?d" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nvr9yyva --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nvr9yyva/var/cache/dnf repoquery top?d And stderr is # None """ """ And stdout is # None """ toped-1:1.0-1.src toped-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nvr9yyva --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nvr9yyva/var/cache/dnf repoquery top?d  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery top?{d,it} # dnf/repoquery/globs.feature:69 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top?{{d,it}}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bfioh8ca --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bfioh8ca/var/cache/dnf repoquery top?{d,it} And stderr is # None """ """ And stdout is # None """ toped-1:1.0-1.src toped-1:1.0-1.x86_64 topgit-1:1.0-1.src topgit-1:1.0-1.x86_64 topgit-1:1.17.6-1.src topgit-1:1.17.6-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bfioh8ca --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bfioh8ca/var/cache/dnf repoquery top?{d,it}  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery top[a-f]d # dnf/repoquery/globs.feature:86 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top[a-f]d" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lmtktkwa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lmtktkwa/var/cache/dnf repoquery top[a-f]d And stderr is # None """ """ And stdout is # None """ toped-1:1.0-1.src toped-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lmtktkwa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lmtktkwa/var/cache/dnf repoquery top[a-f]d  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery top[a-fg]* # dnf/repoquery/globs.feature:99 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top[a-fg]*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1qojsmfl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1qojsmfl/var/cache/dnf repoquery top[a-fg]* And stderr is # None """ """ And stdout is # None """ toped-1:1.0-1.src toped-1:1.0-1.x86_64 topgit-1:1.0-1.src topgit-1:1.0-1.x86_64 topgit-1:1.17.6-1.src topgit-1:1.17.6-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1qojsmfl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1qojsmfl/var/cache/dnf repoquery top[a-fg]*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery top[^a-g]* # dnf/repoquery/globs.feature:116 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top[^a-g]*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bivrj94g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bivrj94g/var/cache/dnf repoquery top[^a-g]* And stderr is # None """ """ And stdout is # None """ toppler-1:1.0-1.src toppler-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bivrj94g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bivrj94g/var/cache/dnf repoquery top[^a-g]*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery top{ed,pler} # dnf/repoquery/globs.feature:129 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top{{ed,pler}}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xkkbdk4q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xkkbdk4q/var/cache/dnf repoquery top{ed,pler} And stderr is # None """ """ And stdout is # None """ toped-1:1.0-1.src toped-1:1.0-1.x86_64 toppler-1:1.0-1.src toppler-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xkkbdk4q --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xkkbdk4q/var/cache/dnf repoquery top{ed,pler}  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery top[!n-z]{d,aaa,it} # dnf/repoquery/globs.feature:144 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top[!n-z]{{d,aaa,it}}" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vcmevgcf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vcmevgcf/var/cache/dnf repoquery top[!n-z]{d,aaa,it} And stderr is # None """ """ And stdout is # None """ toped-1:1.0-1.src toped-1:1.0-1.x86_64 topgit-1:1.0-1.src topgit-1:1.0-1.x86_64 topgit-1:1.17.6-1.src topgit-1:1.17.6-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vcmevgcf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vcmevgcf/var/cache/dnf repoquery top[!n-z]{d,aaa,it}  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery *top[-a-f]* # dnf/repoquery/globs.feature:162 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery *top[-a-f]*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jlzkb3hn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jlzkb3hn/var/cache/dnf repoquery *top[-a-f]* And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.0-1.src desktop-utils-1:1.0-1.x86_64 desktop-utils-1:1.23.9-1.src desktop-utils-1:1.23.9-1.x86_64 toped-1:1.0-1.src toped-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jlzkb3hn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jlzkb3hn/var/cache/dnf repoquery *top[-a-f]*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery *top[-a-f]*-1.0 # dnf/repoquery/globs.feature:182 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery *top[-a-f]*-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h9u1zfng --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h9u1zfng/var/cache/dnf repoquery *top[-a-f]*-1.0 And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.0-1.src desktop-utils-1:1.0-1.x86_64 toped-1:1.0-1.src toped-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h9u1zfng --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h9u1zfng/var/cache/dnf repoquery *top[-a-f]*-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery *top[-a-f]*-1.[1-4]* # dnf/repoquery/globs.feature:198 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery *top[-a-f]*-1.[1-4]*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iz9uncdm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iz9uncdm/var/cache/dnf repoquery *top[-a-f]*-1.[1-4]* And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.23.9-1.src desktop-utils-1:1.23.9-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iz9uncdm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iz9uncdm/var/cache/dnf repoquery *top[-a-f]*-1.[1-4]*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery *top[-a-f]*-1.[!1-4]*.x86_64 # dnf/repoquery/globs.feature:212 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery *top[-a-f]*-1.[!1-4]*.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mbj6wz0f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mbj6wz0f/var/cache/dnf repoquery *top[-a-f]*-1.[!1-4]*.x86_64 And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.0-1.x86_64 toped-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mbj6wz0f --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mbj6wz0f/var/cache/dnf repoquery *top[-a-f]*-1.[!1-4]*.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery *top*-1.{17,23,99}* # dnf/repoquery/globs.feature:225 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery *top*-1.{{17,23,99}}*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jsc3os78 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jsc3os78/var/cache/dnf repoquery *top*-1.{17,23,99}* And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.23.9-1.src desktop-utils-1:1.23.9-1.x86_64 topgit-1:1.17.6-1.src topgit-1:1.17.6-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jsc3os78 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jsc3os78/var/cache/dnf repoquery *top*-1.{17,23,99}*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery desktop-utils-[1-5].23.9 # dnf/repoquery/globs.feature:240 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery desktop-utils-[1-5].23.9" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dpol2_a6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dpol2_a6/var/cache/dnf repoquery desktop-utils-[1-5].23.9 And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.23.9-1.src desktop-utils-1:1.23.9-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dpol2_a6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dpol2_a6/var/cache/dnf repoquery desktop-utils-[1-5].23.9  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery with argument with epoch 0 and replaced '-' by wild card # dnf/repoquery/globs.feature:253 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery postgresql-devel-0:9.6.5*1.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2zs8onrt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2zs8onrt/var/cache/dnf repoquery postgresql-devel-0:9.6.5*1.fc29.x86_64 And stderr is # None """ """ And stdout is # None """ postgresql-devel-0:9.6.5-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2zs8onrt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2zs8onrt/var/cache/dnf repoquery postgresql-devel-0:9.6.5*1.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery with argument without epoch 0 and replaced '-' by wild card # dnf/repoquery/globs.feature:267 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery postgresql-devel-9.6.5*1.fc29.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g6yz1x7d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g6yz1x7d/var/cache/dnf repoquery postgresql-devel-9.6.5*1.fc29.x86_64 And stderr is # None """ """ And stdout is # None """ postgresql-devel-0:9.6.5-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_g6yz1x7d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_g6yz1x7d/var/cache/dnf repoquery postgresql-devel-9.6.5*1.fc29.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery with argument with epoch 1 and replaced '-' by wild card # dnf/repoquery/globs.feature:281 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery desktop-utils-1:1.23.9*1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0lhr8scn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0lhr8scn/var/cache/dnf repoquery desktop-utils-1:1.23.9*1.x86_64 And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.23.9-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0lhr8scn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0lhr8scn/var/cache/dnf repoquery desktop-utils-1:1.23.9*1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery with argument without epoch 1 and replaced '-' by wild card # dnf/repoquery/globs.feature:294 Given I use repository "repoquery-globs" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery desktop-utils-1.23.9*1.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_onaps7i0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_onaps7i0/var/cache/dnf repoquery desktop-utils-1.23.9*1.x86_64 And stderr is # None """ """ And stdout is # None """ desktop-utils-1:1.23.9-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_onaps7i0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_onaps7i0/var/cache/dnf repoquery desktop-utils-1.23.9*1.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/globs.feature:8 repoquery '*' (lists all available packages) dnf/repoquery/globs.feature:35 repoquery top* dnf/repoquery/globs.feature:56 repoquery top?d dnf/repoquery/globs.feature:69 repoquery top?{d,it} dnf/repoquery/globs.feature:86 repoquery top[a-f]d dnf/repoquery/globs.feature:99 repoquery top[a-fg]* dnf/repoquery/globs.feature:116 repoquery top[^a-g]* dnf/repoquery/globs.feature:129 repoquery top{ed,pler} dnf/repoquery/globs.feature:144 repoquery top[!n-z]{d,aaa,it} dnf/repoquery/globs.feature:162 repoquery *top[-a-f]* dnf/repoquery/globs.feature:182 repoquery *top[-a-f]*-1.0 dnf/repoquery/globs.feature:198 repoquery *top[-a-f]*-1.[1-4]* dnf/repoquery/globs.feature:212 repoquery *top[-a-f]*-1.[!1-4]*.x86_64 dnf/repoquery/globs.feature:225 repoquery *top*-1.{17,23,99}* dnf/repoquery/globs.feature:240 repoquery desktop-utils-[1-5].23.9 dnf/repoquery/globs.feature:253 repoquery with argument with epoch 0 and replaced '-' by wild card dnf/repoquery/globs.feature:267 repoquery with argument without epoch 0 and replaced '-' by wild card dnf/repoquery/globs.feature:281 repoquery with argument with epoch 1 and replaced '-' by wild card dnf/repoquery/globs.feature:294 repoquery with argument without epoch 1 and replaced '-' by wild card 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 19 failed, 0 skipped 40 steps passed, 19 failed, 38 skipped Took 0min 0.827s USING RUNNER: behave.runner:Runner Feature: repoquery with --installed-from-repo # dnf/repoquery/installed-from-repo.feature:1 Feature: repoquery with --installed-from-repo # dnf/repoquery/installed-from-repo.feature:1 Scenario: List all packages installed from repo "from-repo" # dnf/repoquery/installed-from-repo.feature:26 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_shi9i7pk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_shi9i7pk/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "repoquery --installed-from-repo=from-repo" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ dependency3-0:1.0-1.fc29.x86_64 lz4-0:1.7.5-2.fc26.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_shi9i7pk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_shi9i7pk/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: List all packages installed from repo "from-repo-updates1" # dnf/repoquery/installed-from-repo.feature:40 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_amriv66x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_amriv66x/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "repoquery --installed-from-repo=from-repo-updates1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch filesystem-0:3.10-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_amriv66x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_amriv66x/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: List all packages installed from repo "from-repo-updates2" using '*' package specification # dnf/repoquery/installed-from-repo.feature:54 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sk1ba4ys --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sk1ba4ys/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "repoquery --installed-from-repo=from-repo-updates2 '*'" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ basesystem-0:12-2.fc29.noarch dependency1-0:1.2-1.fc29.x86_64 flac-0:1.3.3-3.fc29.x86_64 lame-0:3.100-5.fc29.x86_64 lame-libs-0:3.100-5.fc29.x86_64 pkgB-0:1.2-1.fc29.x86_64 setup-0:2.14.2-1.fc29.noarch wget-0:1.19.8-2.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sk1ba4ys --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sk1ba4ys/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: List packages installed from repo "from-repo-updates2" using 'l*' package specification # dnf/repoquery/installed-from-repo.feature:74 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h51nid_l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h51nid_l/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "repoquery --installed-from-repo=from-repo-updates2 'l*'" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ lame-0:3.100-5.fc29.x86_64 lame-libs-0:3.100-5.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h51nid_l --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h51nid_l/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test case with 2 repositories defined in installed from repo # dnf/repoquery/installed-from-repo.feature:88 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tg768l0e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tg768l0e/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "repoquery --installed-from-repo=from-repo,from-repo-updates1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch dependency3-0:1.0-1.fc29.x86_64 filesystem-0:3.10-1.fc29.x86_64 lz4-0:1.7.5-2.fc26.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tg768l0e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tg768l0e/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test case with wildcards in installed from repo definition # dnf/repoquery/installed-from-repo.feature:104 Given I use repository "from-repo" # dnf/steps/repo.py:186 And I use repository "from-repo-updates1" # dnf/steps/repo.py:186 And I use repository "from-repo-updates2" # dnf/steps/repo.py:186 When I execute dnf with args "install abcde basesystem lame lz4 pkgB" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ii9nv3z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ii9nv3z/var/cache/dnf install abcde basesystem lame lz4 pkgB And Transaction is following # None | Action | Package | | install | abcde-0:2.9.3-1.fc29.noarch | | install | basesystem-0:12-2.fc29.noarch | | install | lame-0:3.100-5.fc29.x86_64 | | install | lz4-0:1.7.5-2.fc26.x86_64 | | install | pkgB-0:1.2-1.fc29.x86_64 | | install-dep | dependency1-0:1.2-1.fc29.x86_64 | | install-dep | dependency3-0:1.0-1.fc29.x86_64 | | install-dep | filesystem-0:3.10-1.fc29.x86_64 | | install-dep | lame-libs-0:3.100-5.fc29.x86_64 | | install-dep | setup-0:2.14.2-1.fc29.noarch | | install-dep | wget-0:1.19.8-2.fc29.x86_64 | | install-weak | flac-0:1.3.3-3.fc29.x86_64 | When I execute dnf with args "repoquery --installed-from-repo=from-*-updates?" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ abcde-0:2.9.3-1.fc29.noarch basesystem-0:12-2.fc29.noarch dependency1-0:1.2-1.fc29.x86_64 filesystem-0:3.10-1.fc29.x86_64 flac-0:1.3.3-3.fc29.x86_64 lame-0:3.100-5.fc29.x86_64 lame-libs-0:3.100-5.fc29.x86_64 pkgB-0:1.2-1.fc29.x86_64 setup-0:2.14.2-1.fc29.noarch wget-0:1.19.8-2.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ii9nv3z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ii9nv3z/var/cache/dnf install abcde basesystem lame lz4 pkgB  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/installed-from-repo.feature:26 List all packages installed from repo "from-repo" dnf/repoquery/installed-from-repo.feature:40 List all packages installed from repo "from-repo-updates1" dnf/repoquery/installed-from-repo.feature:54 List all packages installed from repo "from-repo-updates2" using '*' package specification dnf/repoquery/installed-from-repo.feature:74 List packages installed from repo "from-repo-updates2" using 'l*' package specification dnf/repoquery/installed-from-repo.feature:88 Test case with 2 repositories defined in installed from repo dnf/repoquery/installed-from-repo.feature:104 Test case with wildcards in installed from repo definition 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 6 failed, 0 skipped 24 steps passed, 6 failed, 30 skipped Took 0min 0.449s USING RUNNER: behave.runner:Runner Feature: The common repoquery tests, core functionality, odds and ends. # dnf/repoquery/main.feature:1 Feature: The common repoquery tests, core functionality, odds and ends. # dnf/repoquery/main.feature:1 Scenario: repoquery (no arguments, i.e. list all packages) # dnf/repoquery/main.feature:8 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_juomnqt2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_juomnqt2/var/cache/dnf repoquery And stderr is # None """ """ And stdout is # None """ bottom-a1-1:1.0-1.noarch bottom-a1-1:1.0-1.src bottom-a1-1:2.0-1.noarch bottom-a1-1:2.0-1.src bottom-a2-1:1.0-1.src bottom-a2-1:1.0-1.x86_64 bottom-a3-1:1.0-1.src bottom-a3-1:1.0-1.x86_64 bottom-a3-1:2.0-1.src bottom-a3-1:2.0-1.x86_64 broken-deps-1:1.0-1.src broken-deps-1:1.0-1.x86_64 mid-a1-1:1.0-1.src mid-a1-1:1.0-1.x86_64 mid-a2-1:1.0-1.src mid-a2-1:1.0-1.x86_64 multipackage-1:1.0-1.src multipackage-1:1.0-1.x86_64 multipackage-docs-1:1.0-1.x86_64 top-a-1:1.0-1.src top-a-1:1.0-1.x86_64 top-a-1:2.0-1.src top-a-1:2.0-1.x86_64 top-a-2:2.0-2.src top-a-2:2.0-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_juomnqt2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_juomnqt2/var/cache/dnf repoquery  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery NAME (nonexisting package) # dnf/repoquery/main.feature:44 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7sksouxl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7sksouxl/var/cache/dnf repoquery dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7sksouxl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7sksouxl/var/cache/dnf repoquery dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery NAME # dnf/repoquery/main.feature:53 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top-a" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_18i1_z2v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_18i1_z2v/var/cache/dnf repoquery top-a And stderr is # None """ """ And stdout is # None """ top-a-1:1.0-1.src top-a-1:1.0-1.x86_64 top-a-1:2.0-1.src top-a-1:2.0-1.x86_64 top-a-2:2.0-2.src top-a-2:2.0-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_18i1_z2v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_18i1_z2v/var/cache/dnf repoquery top-a  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery NAME-VERSION # dnf/repoquery/main.feature:70 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top-a-2.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__kct58yt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__kct58yt/var/cache/dnf repoquery top-a-2.0 And stderr is # None """ """ And stdout is # None """ top-a-1:2.0-1.src top-a-1:2.0-1.x86_64 top-a-2:2.0-2.src top-a-2:2.0-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__kct58yt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__kct58yt/var/cache/dnf repoquery top-a-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery NAME-VERSION-RELEASE # dnf/repoquery/main.feature:85 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top-a-2.0-2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zt9m5q98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zt9m5q98/var/cache/dnf repoquery top-a-2.0-2 And stderr is # None """ """ And stdout is # None """ top-a-2:2.0-2.src top-a-2:2.0-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zt9m5q98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zt9m5q98/var/cache/dnf repoquery top-a-2.0-2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery NAME-EPOCH:VERSION-RELEASE # dnf/repoquery/main.feature:98 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top-a-2:2.0-2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2744nloe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2744nloe/var/cache/dnf repoquery top-a-2:2.0-2 And stderr is # None """ """ And stdout is # None """ top-a-2:2.0-2.src top-a-2:2.0-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2744nloe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2744nloe/var/cache/dnf repoquery top-a-2:2.0-2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery NAME-EPOCH:VERSION-RELEASE old epoch # dnf/repoquery/main.feature:111 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery top-a-1:2.0-2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5cneimi2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5cneimi2/var/cache/dnf repoquery top-a-1:2.0-2 And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5cneimi2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5cneimi2/var/cache/dnf repoquery top-a-1:2.0-2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery NAME NAME-EPOCH:VERSION-RELEASE # dnf/repoquery/main.feature:120 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery bottom-a1 top-a-2:2.0-2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1ocueh6x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1ocueh6x/var/cache/dnf repoquery bottom-a1 top-a-2:2.0-2 And stderr is # None """ """ And stdout is # None """ bottom-a1-1:1.0-1.noarch bottom-a1-1:1.0-1.src bottom-a1-1:2.0-1.noarch bottom-a1-1:2.0-1.src top-a-2:2.0-2.src top-a-2:2.0-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1ocueh6x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1ocueh6x/var/cache/dnf repoquery bottom-a1 top-a-2:2.0-2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery NAME-VERSION NAME-EPOCH:VERSION_GLOB-RELEASE # dnf/repoquery/main.feature:137 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery bottom-a1-1.0 top-a-1:[12].0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mxwebww9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mxwebww9/var/cache/dnf repoquery bottom-a1-1.0 top-a-1:[12].0-1 And stderr is # None """ """ And stdout is # None """ bottom-a1-1:1.0-1.noarch bottom-a1-1:1.0-1.src top-a-1:1.0-1.src top-a-1:1.0-1.x86_64 top-a-1:2.0-1.src top-a-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mxwebww9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mxwebww9/var/cache/dnf repoquery bottom-a1-1.0 top-a-1:[12].0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1735687 Scenario: repoquery NAME-VERSION NAME-EPOCH:VERSION_GLOB2-RELEASE # dnf/repoquery/main.feature:155 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery bottom-a1-1.0 top-a-1:[1-2].0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c4kyk61p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c4kyk61p/var/cache/dnf repoquery bottom-a1-1.0 top-a-1:[1-2].0-1 And stdout is # None """ bottom-a1-1:1.0-1.noarch bottom-a1-1:1.0-1.src top-a-1:1.0-1.src top-a-1:1.0-1.x86_64 top-a-1:2.0-1.src top-a-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c4kyk61p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c4kyk61p/var/cache/dnf repoquery bottom-a1-1.0 top-a-1:[1-2].0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf repoquery --available NAME # dnf/repoquery/main.feature:170 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --available top-a-2.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qujrfbbo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qujrfbbo/var/cache/dnf repoquery --available top-a-2.0 And stderr is # None """ """ And stdout is # None """ top-a-1:2.0-1.src top-a-1:2.0-1.x86_64 top-a-2:2.0-2.src top-a-2:2.0-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qujrfbbo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qujrfbbo/var/cache/dnf repoquery --available top-a-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --arch ARCH # dnf/repoquery/main.feature:187 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --arch noarch" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5k3vs6mg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5k3vs6mg/var/cache/dnf repoquery --arch noarch And stderr is # None """ """ And stdout is # None """ bottom-a1-1:1.0-1.noarch bottom-a1-1:2.0-1.noarch """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5k3vs6mg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5k3vs6mg/var/cache/dnf repoquery --arch noarch  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --arch ARCH (nonexisting arch) # dnf/repoquery/main.feature:200 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --arch yesarch" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t3n4yzyz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t3n4yzyz/var/cache/dnf repoquery --arch yesarch And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t3n4yzyz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t3n4yzyz/var/cache/dnf repoquery --arch yesarch  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery -C (without any cache) # dnf/repoquery/main.feature:210 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --available -C" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ghsfbwwe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ghsfbwwe/var/cache/dnf repoquery --available -C And stderr is # None """ Cache-only enabled but no cache for repository "repoquery-main" """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ghsfbwwe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ghsfbwwe/var/cache/dnf repoquery --available -C  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery -Cq (without any cache) # dnf/repoquery/main.feature:220 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --available -Cq" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y00s5bro --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y00s5bro/var/cache/dnf repoquery --available -Cq And stderr is # None """ Cache-only enabled but no cache for repository "repoquery-main" """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y00s5bro --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y00s5bro/var/cache/dnf repoquery --available -Cq  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery -C (with cache) # dnf/repoquery/main.feature:230 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8r7072g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8r7072g/var/cache/dnf makecache When I execute dnf with args "repoquery -C mid*" # None Then the exit code is 0 # None And stderr is # None """ """ Then stdout is # None """ mid-a1-1:1.0-1.src mid-a1-1:1.0-1.x86_64 mid-a2-1:1.0-1.src mid-a2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8r7072g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8r7072g/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery -C (with cache, installed package) # dnf/repoquery/main.feature:246 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_92o7qwyh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_92o7qwyh/var/cache/dnf makecache Given I successfully execute dnf with args "install bottom-a1" # None Then Transaction is following # None | Action | Package | | install | bottom-a1-1:2.0-1.noarch | When I execute dnf with args "repoquery --installed -C" # None Then the exit code is 0 # None And stdout is # None """ bottom-a1-1:2.0-1.noarch """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_92o7qwyh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_92o7qwyh/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery -C (with cache, but disabled repository) # dnf/repoquery/main.feature:259 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "makecache" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ia0i43k0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ia0i43k0/var/cache/dnf makecache Given I drop repository "repoquery-main" # None When I execute dnf with args "repoquery --available -C top-a" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ia0i43k0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ia0i43k0/var/cache/dnf makecache  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: repoquery --deplist NAME # dnf/repoquery/main.feature:277 @xfail @bz1784148 Scenario: repoquery --deplist REMOTE_RPM # dnf/repoquery/main.feature:314 @xfail @bz1784148 Scenario: repoquery --deplist NEVRA REMOTE_RPM # dnf/repoquery/main.feature:334 @xfail Scenario: repoquery --deplist NAME (no such package) # dnf/repoquery/main.feature:359 @xfail Scenario: repoquery --deplist --latest-limit # dnf/repoquery/main.feature:366 @xfail Scenario: deplist --latest-limit (deplist is an alias for repoquery --deplist) # dnf/repoquery/main.feature:382 Scenario: repoquery --extras # dnf/repoquery/main.feature:398 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/miscellaneous/x86_64/dummy-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 When I execute dnf with args "repoquery --extras" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w8oep0wx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w8oep0wx/var/cache/dnf repoquery --extras And stderr is # None """ """ And stdout is # None """ dummy-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w8oep0wx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w8oep0wx/var/cache/dnf repoquery --extras  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --extras (no such packages) # dnf/repoquery/main.feature:411 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --extras" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bkgee5ul --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bkgee5ul/var/cache/dnf repoquery --extras And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bkgee5ul --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bkgee5ul/var/cache/dnf repoquery --extras  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --extras NAME (package is installed) # dnf/repoquery/main.feature:420 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/miscellaneous/x86_64/dummy-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 Given I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/miscellaneous/x86_64/weird-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:198 When I execute dnf with args "repoquery --extras dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pxv0a6de --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pxv0a6de/var/cache/dnf repoquery --extras dummy And stderr is # None """ """ And stdout is # None """ dummy-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pxv0a6de --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pxv0a6de/var/cache/dnf repoquery --extras dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --extras NAME (package is not installed) # dnf/repoquery/main.feature:434 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --extras dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0r3lnog6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0r3lnog6/var/cache/dnf repoquery --extras dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0r3lnog6 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0r3lnog6/var/cache/dnf repoquery --extras dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf repoquery --extras (when there are such pkgs with different NEVRA in repository) # dnf/repoquery/main.feature:444 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I drop repository "repoquery-main" # dnf/steps/repo.py:227 When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/repoquery-main-multilib/x86_64/mid-a1-1.0-1.x86_64.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "repoquery --installed" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout is # None """ mid-a1-1:1.0-1.x86_64 """ Given I use repository "repoquery-main" # None When I execute dnf with args "repoquery --extras" # None Then stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qz4r6bk5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qz4r6bk5/var/cache/dnf repoquery --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf repoquery --extras (no NA in available repository) # dnf/repoquery/main.feature:466 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/repoquery-main-multilib/i686/mid-a1-1.0-1.i686.rpm" # dnf/steps/cmd.py:142 Then the exit code is 0 # common/output.py:55 When I execute dnf with args "repoquery --installed" # dnf/steps/cmd.py:110 Then stderr is # common/output.py:137 """ """ ASSERT FAILED: Stderr is not: And stdout is # None """ mid-a1-1:1.0-1.i686 """ When I execute dnf with args "repoquery --extras" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ mid-a1-1:1.0-1.i686 """ Given I use repository "repoquery-main-multilib" # None When I execute dnf with args "repoquery --extras" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario expected | found  | setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tp6rhh9j --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tp6rhh9j/var/cache/dnf repoquery --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --installed # dnf/repoquery/main.feature:498 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bottom-a1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ufda24aw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ufda24aw/var/cache/dnf install bottom-a1 When I execute dnf with args "repoquery --installed" # None Then the exit code is 0 # None And stdout is # None """ bottom-a1-1:2.0-1.noarch """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ufda24aw --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ufda24aw/var/cache/dnf install bottom-a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --installed (no such packages) # dnf/repoquery/main.feature:507 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --installed" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gpu2g1mp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gpu2g1mp/var/cache/dnf repoquery --installed And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gpu2g1mp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gpu2g1mp/var/cache/dnf repoquery --installed  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --installed NAME # dnf/repoquery/main.feature:512 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bottom-a1 bottom-a2" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hvu9njmn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hvu9njmn/var/cache/dnf install bottom-a1 bottom-a2 When I execute dnf with args "repoquery --installed bottom-a1" # None Then the exit code is 0 # None And stdout is # None """ bottom-a1-1:2.0-1.noarch """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hvu9njmn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hvu9njmn/var/cache/dnf install bottom-a1 bottom-a2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --installed NAME (no such packages) # dnf/repoquery/main.feature:521 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --installed bottom-a1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x7cfm7oa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x7cfm7oa/var/cache/dnf repoquery --installed bottom-a1 And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_x7cfm7oa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_x7cfm7oa/var/cache/dnf repoquery --installed bottom-a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1639827 Scenario: repoquery --location NAME # dnf/repoquery/main.feature:529 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --location top-a-2.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u79hevnu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u79hevnu/var/cache/dnf repoquery --location top-a-2.0 And stderr is # None """ """ And stdout matches line by line # None """ .+/fixtures/repos/repoquery-main/src/top-a-2.0-1.src.rpm$ .+/fixtures/repos/repoquery-main/src/top-a-2.0-2.src.rpm$ .+/fixtures/repos/repoquery-main/x86_64/top-a-2.0-1.x86_64.rpm$ .+/fixtures/repos/repoquery-main/x86_64/top-a-2.0-2.x86_64.rpm$ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u79hevnu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u79hevnu/var/cache/dnf repoquery --location top-a-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --location NAME (in an HTTP repo) # dnf/repoquery/main.feature:544 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I use repository "repoquery-main" as https # dnf/steps/repo.py:294 When I execute dnf with args "repoquery --location top-a-2.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v0aflopq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v0aflopq/var/cache/dnf repoquery --location top-a-2.0 And stderr is # None """ """ And stdout matches line by line # None """ https://localhost:[0-9]+/src/top-a-2.0-1.src.rpm$ https://localhost:[0-9]+/src/top-a-2.0-2.src.rpm$ https://localhost:[0-9]+/x86_64/top-a-2.0-1.x86_64.rpm$ https://localhost:[0-9]+/x86_64/top-a-2.0-2.x86_64.rpm$ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v0aflopq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v0aflopq/var/cache/dnf repoquery --location top-a-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --location NAME (no such package) # dnf/repoquery/main.feature:560 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --location dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ngzmd98b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ngzmd98b/var/cache/dnf repoquery --location dummy And stderr is # None """ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ngzmd98b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ngzmd98b/var/cache/dnf repoquery --location dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1873146 Scenario: repoquery --location for local package with file protocol is empty (no traceback) # dnf/repoquery/main.feature:570 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --location file://{context.dnf.fixturesdir}/repos/repoquery-main/noarch/bottom-a1-1.0-1.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nlkl91sf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nlkl91sf/var/cache/dnf repoquery --location file:///opt/ci/dnf-behave-tests/fixtures/repos/repoquery-main/noarch/bottom-a1-1.0-1.noarch.rpm And stderr is # None """ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nlkl91sf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nlkl91sf/var/cache/dnf repoquery --location file:///opt/ci/dnf-behave-tests/fixtures/repos/repoquery-main/noarch/bottom-a1-1.0-1.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1873146 Scenario: repoquery --location for local package without file protocol is empty (no traceback) # dnf/repoquery/main.feature:579 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --location /{context.dnf.fixturesdir}/repos/repoquery-main/noarch/bottom-a1-1.0-1.noarch.rpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5xpgu1fq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5xpgu1fq/var/cache/dnf repoquery --location //opt/ci/dnf-behave-tests/fixtures/repos/repoquery-main/noarch/bottom-a1-1.0-1.noarch.rpm And stderr is # None """ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5xpgu1fq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5xpgu1fq/var/cache/dnf repoquery --location //opt/ci/dnf-behave-tests/fixtures/repos/repoquery-main/noarch/bottom-a1-1.0-1.noarch.rpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1873146 Scenario: repoquery --location NAME for --installed is empty (no traceback) # dnf/repoquery/main.feature:589 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bottom-a1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ysvmoj1i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ysvmoj1i/var/cache/dnf install bottom-a1 When I execute dnf with args "repoquery --installed bottom-a1 --location" # None Then the exit code is 0 # None And stderr is # None """ """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ysvmoj1i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ysvmoj1i/var/cache/dnf install bottom-a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --srpm # dnf/repoquery/main.feature:600 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --srpm" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oc9c16uz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oc9c16uz/var/cache/dnf repoquery --srpm And stderr is # None """ """ And stdout is # None """ bottom-a1-1:1.0-1.src bottom-a1-1:2.0-1.src bottom-a2-1:1.0-1.src bottom-a3-1:1.0-1.src bottom-a3-1:2.0-1.src broken-deps-1:1.0-1.src mid-a1-1:1.0-1.src mid-a2-1:1.0-1.src multipackage-1:1.0-1.src top-a-1:1.0-1.src top-a-1:2.0-1.src top-a-2:2.0-2.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_oc9c16uz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_oc9c16uz/var/cache/dnf repoquery --srpm  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --srpm NAME # dnf/repoquery/main.feature:623 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --srpm bottom-a1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gc3g7oo5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gc3g7oo5/var/cache/dnf repoquery --srpm bottom-a1 And stderr is # None """ """ And stdout is # None """ bottom-a1-1:1.0-1.src bottom-a1-1:2.0-1.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gc3g7oo5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gc3g7oo5/var/cache/dnf repoquery --srpm bottom-a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --srpm NAME of subpackage # dnf/repoquery/main.feature:636 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --srpm multipackage-docs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ude2j97d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ude2j97d/var/cache/dnf repoquery --srpm multipackage-docs And stderr is # None """ """ And stdout is # None """ multipackage-1:1.0-1.src """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ude2j97d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ude2j97d/var/cache/dnf repoquery --srpm multipackage-docs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --unneeded # dnf/repoquery/main.feature:651 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q035sash --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q035sash/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "upgrade top-a" # None When I execute dnf with args "repoquery --unneeded" # None Then the exit code is 0 # None And stdout is # None """ bottom-a3-1:1.0-1.x86_64 mid-a2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q035sash --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q035sash/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: repoquery --unsatisfied # dnf/repoquery/main.feature:666 Scenario: repoquery --upgrades # dnf/repoquery/main.feature:680 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bottom-a1-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3sitoy4a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3sitoy4a/var/cache/dnf install bottom-a1-1.0 When I execute dnf with args "repoquery --upgrades" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ bottom-a1-1:2.0-1.noarch """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3sitoy4a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3sitoy4a/var/cache/dnf install bottom-a1-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --upgrades (no such packages) # dnf/repoquery/main.feature:693 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bottom-a2-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8jszeqy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8jszeqy/var/cache/dnf install bottom-a2-1.0 When I execute dnf with args "repoquery --upgrades" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j8jszeqy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j8jszeqy/var/cache/dnf install bottom-a2-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --upgrades NAME # dnf/repoquery/main.feature:703 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bottom-a1-1.0 bottom-a3-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p3fwq6aa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p3fwq6aa/var/cache/dnf install bottom-a1-1.0 bottom-a3-1.0 When I execute dnf with args "repoquery --upgrades bottom-a1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ bottom-a1-1:2.0-1.noarch """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p3fwq6aa --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p3fwq6aa/var/cache/dnf install bottom-a1-1.0 bottom-a3-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --upgrades NAME (no such packages) # dnf/repoquery/main.feature:716 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bottom-a1-1.0 bottom-a2-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m60k3aoe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m60k3aoe/var/cache/dnf install bottom-a1-1.0 bottom-a2-1.0 When I execute dnf with args "repoquery --upgrades bottom-a2" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_m60k3aoe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_m60k3aoe/var/cache/dnf install bottom-a1-1.0 bottom-a2-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --userinstalled # dnf/repoquery/main.feature:728 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install top-a" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1wcm6w3b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1wcm6w3b/var/cache/dnf install top-a When I execute dnf with args "repoquery --userinstalled" # None Then the exit code is 0 # None And stdout is # None """ top-a-2:2.0-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1wcm6w3b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1wcm6w3b/var/cache/dnf install top-a  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --queryformat NVR # dnf/repoquery/main.feature:739 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --queryformat "%{{name}}-%{{version}}-%{{release}}\n" bottom-a1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c953r328 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c953r328/var/cache/dnf repoquery --queryformat "%{name}-%{version}-%{release}\n" bottom-a1 And stderr is # None """ """ And stdout is # None """ bottom-a1-1.0-1 bottom-a1-2.0-1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c953r328 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c953r328/var/cache/dnf repoquery --queryformat "%{name}-%{version}-%{release}\n" bottom-a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --queryformat EVERYTHING # dnf/repoquery/main.feature:753 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --queryformat '%{{name}} | %{{arch}} | %{{epoch}} | %{{version}} | %{{release}} | %{{reponame}} | %{{repoid}} | %{{evr}} | %{{debug_name}} | %{{source_name}} | %{{source_debug_name}} | %{{provides}} | %{{requires}} | %{{obsoletes}} | %{{conflicts}} | %{{sourcerpm}} | %{{description}} | %{{summary}} | %{{license}} | %{{url}} | %{{reason}} | %{{depends}} | %{{files}} | %{{full_nevra}} | %{{prereq_ignoreinst}} | %{{requires_pre}} | %{{regular_requires}}\n\n' top*.x86_64" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lf4i7i40 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lf4i7i40/var/cache/dnf repoquery --queryformat '%{name} | %{arch} | %{epoch} | %{version} | %{release} | %{reponame} | %{repoid} | %{evr} | %{debug_name} | %{source_name} | %{source_debug_name} | %{provides} | %{requires} | %{obsoletes} | %{conflicts} | %{sourcerpm} | %{description} | %{summary} | %{license} | %{url} | %{reason} | %{depends} | %{files} | %{full_nevra} | %{prereq_ignoreinst} | %{requires_pre} | %{regular_requires}\n\n' top*.x86_64 And stderr is # None """ """ And stdout is # None """ top-a | x86_64 | 1 | 1.0 | 1 | repoquery-main test repository | repoquery-main | 1:1.0-1 | top-a-debuginfo | top-a | top-a-debuginfo | top-a = 1:1.0-1 top-a(x86-64) = 1:1.0-1 | bottom-a1 = 1:1.0-1 mid-a2 = 1:1.0-1 mid-a1 >= 2 | | | top-a-1.0-1.src.rpm | Dummy. | Top level package (depends on others). | Public Domain | None | None | bottom-a1 = 1:1.0-1 mid-a2 = 1:1.0-1 mid-a1 >= 2 | | top-a-1:1.0-1.x86_64 | | | bottom-a1 = 1:1.0-1 mid-a2 = 1:1.0-1 mid-a1 >= 2 top-a | x86_64 | 1 | 2.0 | 1 | repoquery-main test repository | repoquery-main | 1:2.0-1 | top-a-debuginfo | top-a | top-a-debuginfo | top-a = 1:2.0-1 top-a(x86-64) = 1:2.0-1 | bottom-a1 = 1:1.0-1 mid-a2 = 1:1.0-1 mid-a1 >= 2 | | | top-a-2.0-1.src.rpm | Dummy. | Top level package (depends on others). | Public Domain | None | None | bottom-a1 = 1:1.0-1 mid-a2 = 1:1.0-1 mid-a1 >= 2 | | top-a-1:2.0-1.x86_64 | | | bottom-a1 = 1:1.0-1 mid-a2 = 1:1.0-1 mid-a1 >= 2 top-a | x86_64 | 2 | 2.0 | 2 | repoquery-main test repository | repoquery-main | 2:2.0-2 | top-a-debuginfo | top-a | top-a-debuginfo | top-a = 2:2.0-2 top-a(x86-64) = 2:2.0-2 | bottom-a1 = 1:1.0-1 mid-a1 >= 2 | | | top-a-2.0-2.src.rpm | Dummy. | Top level package (depends on others). | Public Domain | None | None | bottom-a1 = 1:1.0-1 mid-a1 >= 2 | | top-a-2:2.0-2.x86_64 | | | bottom-a1 = 1:1.0-1 mid-a1 >= 2 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lf4i7i40 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lf4i7i40/var/cache/dnf repoquery --queryformat '%{name} | %{arch} | %{epoch} | %{version} | %{release} | %{reponame} | %{repoid} | %{evr} | %{debug_name} | %{source_name} | %{source_debug_name} | %{provides} | %{requires} | %{obsoletes} | %{conflicts} | %{sourcerpm} | %{description} | %{summary} | %{license} | %{url} | %{reason} | %{depends} | %{files} | %{full_nevra} | %{prereq_ignoreinst} | %{requires_pre} | %{regular_requires}\n\n' top*.x86_64  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1898968 @bz1879168 Scenario: repoquery --queryformat from_repo # dnf/repoquery/main.feature:803 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install bottom-a1" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_50a4cziu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_50a4cziu/var/cache/dnf install bottom-a1 And I successfully execute rpm with args "-i --nodeps {context.dnf.fixturesdir}/repos/repoquery-main/x86_64/bottom-a2-1.0-1.x86_64.rpm" # None When I execute dnf with args "repoquery --available --installed --queryformat '%{{name}}-%{{version}}-%{{release}} %{{repoid}} -%{{from_repo}}-\n' bottom-*" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ bottom-a1-1.0-1 repoquery-main -- bottom-a1-2.0-1 @System -repoquery-main- bottom-a1-2.0-1 repoquery-main -- bottom-a2-1.0-1 @System -- bottom-a2-1.0-1 repoquery-main -- bottom-a3-1.0-1 repoquery-main -- bottom-a3-2.0-1 repoquery-main -- """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_50a4cziu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_50a4cziu/var/cache/dnf install bottom-a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --queryformat upper-case tags # dnf/repoquery/main.feature:824 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --queryformat '%{{NAME}}-%{{VERSION}}-%{{release}} %{{RePoId}}\n' bottom-*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w9siow5i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w9siow5i/var/cache/dnf repoquery --queryformat '%{NAME}-%{VERSION}-%{release} %{RePoId}\n' bottom-* And stderr is # None """ """ And stdout is # None """ bottom-a1-1.0-1 repoquery-main bottom-a1-2.0-1 repoquery-main bottom-a2-1.0-1 repoquery-main bottom-a3-1.0-1 repoquery-main bottom-a3-2.0-1 repoquery-main """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w9siow5i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w9siow5i/var/cache/dnf repoquery --queryformat '%{NAME}-%{VERSION}-%{release} %{RePoId}\n' bottom-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --queryformat \t # dnf/repoquery/main.feature:841 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --queryformat '%{{NAME}}-%{{VERSION}}-%{{release}}\t%{{RePoId}}\n' bottom-*" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ugq9rx1m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ugq9rx1m/var/cache/dnf repoquery --queryformat '%{NAME}-%{VERSION}-%{release}\t%{RePoId}\n' bottom-* And stderr is # None """ """ And stdout is # None """ bottom-a1-1.0-1 repoquery-main bottom-a1-2.0-1 repoquery-main bottom-a2-1.0-1 repoquery-main bottom-a3-1.0-1 repoquery-main bottom-a3-2.0-1 repoquery-main """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ugq9rx1m --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ugq9rx1m/var/cache/dnf repoquery --queryformat '%{NAME}-%{VERSION}-%{release}\t%{RePoId}\n' bottom-*  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1744073 Scenario: dnf repoquery --querytags # dnf/repoquery/main.feature:860 Given I use repository "repoquery-main" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --querytags" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y65j4tli --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y65j4tli/var/cache/dnf repoquery --querytags And stderr is # None """ """ And stdout is # None """ arch buildtime conflicts debug_name depends description downloadsize enhances epoch evr files from_repo full_nevra group installsize installtime license location name obsoletes packager prereq_ignoreinst provides reason recommends regular_requires release repoid reponame requires requires_pre source_debug_name source_name sourcerpm suggests summary supplements url vendor version """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y65j4tli --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y65j4tli/var/cache/dnf repoquery --querytags  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/main.feature:8 repoquery (no arguments, i.e. list all packages) dnf/repoquery/main.feature:44 repoquery NAME (nonexisting package) dnf/repoquery/main.feature:53 repoquery NAME dnf/repoquery/main.feature:70 repoquery NAME-VERSION dnf/repoquery/main.feature:85 repoquery NAME-VERSION-RELEASE dnf/repoquery/main.feature:98 repoquery NAME-EPOCH:VERSION-RELEASE dnf/repoquery/main.feature:111 repoquery NAME-EPOCH:VERSION-RELEASE old epoch dnf/repoquery/main.feature:120 repoquery NAME NAME-EPOCH:VERSION-RELEASE dnf/repoquery/main.feature:137 repoquery NAME-VERSION NAME-EPOCH:VERSION_GLOB-RELEASE dnf/repoquery/main.feature:155 repoquery NAME-VERSION NAME-EPOCH:VERSION_GLOB2-RELEASE dnf/repoquery/main.feature:170 dnf repoquery --available NAME dnf/repoquery/main.feature:187 repoquery --arch ARCH dnf/repoquery/main.feature:200 repoquery --arch ARCH (nonexisting arch) dnf/repoquery/main.feature:210 repoquery -C (without any cache) dnf/repoquery/main.feature:220 repoquery -Cq (without any cache) dnf/repoquery/main.feature:230 repoquery -C (with cache) dnf/repoquery/main.feature:246 repoquery -C (with cache, installed package) dnf/repoquery/main.feature:259 repoquery -C (with cache, but disabled repository) dnf/repoquery/main.feature:398 repoquery --extras dnf/repoquery/main.feature:411 repoquery --extras (no such packages) dnf/repoquery/main.feature:420 repoquery --extras NAME (package is installed) dnf/repoquery/main.feature:434 repoquery --extras NAME (package is not installed) dnf/repoquery/main.feature:444 dnf repoquery --extras (when there are such pkgs with different NEVRA in repository) dnf/repoquery/main.feature:466 dnf repoquery --extras (no NA in available repository) dnf/repoquery/main.feature:498 repoquery --installed dnf/repoquery/main.feature:507 repoquery --installed (no such packages) dnf/repoquery/main.feature:512 repoquery --installed NAME dnf/repoquery/main.feature:521 repoquery --installed NAME (no such packages) dnf/repoquery/main.feature:529 repoquery --location NAME dnf/repoquery/main.feature:544 repoquery --location NAME (in an HTTP repo) dnf/repoquery/main.feature:560 repoquery --location NAME (no such package) dnf/repoquery/main.feature:570 repoquery --location for local package with file protocol is empty (no traceback) dnf/repoquery/main.feature:579 repoquery --location for local package without file protocol is empty (no traceback) dnf/repoquery/main.feature:589 repoquery --location NAME for --installed is empty (no traceback) dnf/repoquery/main.feature:600 repoquery --srpm dnf/repoquery/main.feature:623 repoquery --srpm NAME dnf/repoquery/main.feature:636 repoquery --srpm NAME of subpackage dnf/repoquery/main.feature:651 repoquery --unneeded dnf/repoquery/main.feature:680 repoquery --upgrades dnf/repoquery/main.feature:693 repoquery --upgrades (no such packages) dnf/repoquery/main.feature:703 repoquery --upgrades NAME dnf/repoquery/main.feature:716 repoquery --upgrades NAME (no such packages) dnf/repoquery/main.feature:728 repoquery --userinstalled dnf/repoquery/main.feature:739 repoquery --queryformat NVR dnf/repoquery/main.feature:753 repoquery --queryformat EVERYTHING dnf/repoquery/main.feature:803 repoquery --queryformat from_repo dnf/repoquery/main.feature:824 repoquery --queryformat upper-case tags dnf/repoquery/main.feature:841 repoquery --queryformat \t dnf/repoquery/main.feature:860 dnf repoquery --querytags 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 49 failed, 7 skipped 95 steps passed, 49 failed, 157 skipped Took 0min 2.150s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-f7gotlx4', '/mp-rm4im2zh', '/mp-azscswtj', '/mp-yem914vo', '/mp-lbdzkttx', '/mp-t_6ihoa0'} warnings.warn( USING RUNNER: behave.runner:Runner @not.with_os=rhel__ge__11 Feature: repoquery tests for handling modularity. # dnf/repoquery/modules.feature:3 @not.with_os=rhel__ge__11 Feature: repoquery tests for handling modularity. # dnf/repoquery/modules.feature:3 Scenario: Test --disable-modular-filtering with a default module stream # dnf/repoquery/modules.feature:9 Given I use repository "repoquery-modules" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery nodejs" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_en709rk1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_en709rk1/var/cache/dnf repoquery nodejs And stderr is # None """ """ And stdout is # None """ nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 """ When I execute dnf with args "repoquery nodejs --disable-modular-filtering" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ nodejs-1:10.0.0-1.src nodejs-1:10.0.0-1.x86_64 nodejs-1:5.3.1-1.module_2011+41787af0.src nodejs-1:5.3.1-1.module_2011+41787af0.x86_64 nodejs-1:8.11.4-1.module_2030+42747d40.src nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_en709rk1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_en709rk1/var/cache/dnf repoquery nodejs  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Test --disable-modular-filtering with an enabled module stream # dnf/repoquery/modules.feature:36 Given I use repository "repoquery-modules" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "module enable nodejs:5" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_thni8fe8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_thni8fe8/var/cache/dnf module enable nodejs:5 When I execute dnf with args "repoquery nodejs" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ nodejs-1:5.3.1-1.module_2011+41787af0.x86_64 """ When I execute dnf with args "repoquery nodejs --disable-modular-filtering" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ nodejs-1:10.0.0-1.src nodejs-1:10.0.0-1.x86_64 nodejs-1:5.3.1-1.module_2011+41787af0.src nodejs-1:5.3.1-1.module_2011+41787af0.x86_64 nodejs-1:8.11.4-1.module_2030+42747d40.src nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_thni8fe8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_thni8fe8/var/cache/dnf module enable nodejs:5  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/modules.feature:9 Test --disable-modular-filtering with a default module stream dnf/repoquery/modules.feature:36 Test --disable-modular-filtering with an enabled module stream 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 2 failed, 0 skipped 3 steps passed, 2 failed, 14 skipped Took 0min 0.166s USING RUNNER: behave.runner:Runner Feature: Tests for dnf repoquery --recent option # dnf/repoquery/recent.feature:1 Feature: Tests for dnf repoquery --recent option # dnf/repoquery/recent.feature:1 Scenario: dnf repoquery --recent vagare (when there's no such recent pkg) # dnf/repoquery/recent.feature:18 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "SOURCE_DATE_EPOCH=$(date --date='-10 day' +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "SOURCE_DATE_EPOCH=$(date +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/labirinto*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "rm -rf src" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I generate repodata for repository "simple-base" # dnf/steps/repo.py:166 And I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install --no-gpgchecks labirinto vagare" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9zsv16yl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9zsv16yl/var/cache/dnf install --no-gpgchecks labirinto vagare When I execute dnf with args "repoquery --recent vagare" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9zsv16yl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9zsv16yl/var/cache/dnf install --no-gpgchecks labirinto vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf repoquery --recent labirinto (when recent pkg exists) # dnf/repoquery/recent.feature:28 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "SOURCE_DATE_EPOCH=$(date --date='-10 day' +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "SOURCE_DATE_EPOCH=$(date +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/labirinto*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "rm -rf src" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I generate repodata for repository "simple-base" # dnf/steps/repo.py:166 And I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install --no-gpgchecks labirinto vagare" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ua4557c3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ua4557c3/var/cache/dnf install --no-gpgchecks labirinto vagare When I execute dnf with args "repoquery --recent labirinto" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ labirinto-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ua4557c3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ua4557c3/var/cache/dnf install --no-gpgchecks labirinto vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: dnf repoquery --recent --installed labirinto (when recent pkg exists) # dnf/repoquery/recent.feature:41 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I execute "SOURCE_DATE_EPOCH=$(date --date='-10 day' +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "SOURCE_DATE_EPOCH=$(date +%s) rpmbuild -rb --define "_rpmdir ." --define "use_source_date_epoch_as_buildtime 1" /{context.dnf.repos[simple-base].path}/src/labirinto*.src.rpm" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I execute "rm -rf src" in "{context.dnf.repos[simple-base].path}" # common/cmd.py:19 And I generate repodata for repository "simple-base" # dnf/steps/repo.py:166 And I use repository "simple-base" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install --no-gpgchecks labirinto vagare" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q9pqp762 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q9pqp762/var/cache/dnf install --no-gpgchecks labirinto vagare When I execute dnf with args "repoquery --recent --installed" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ labirinto-0:1.0-1.fc29.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q9pqp762 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q9pqp762/var/cache/dnf install --no-gpgchecks labirinto vagare  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/recent.feature:18 dnf repoquery --recent vagare (when there's no such recent pkg) dnf/repoquery/recent.feature:28 dnf repoquery --recent labirinto (when recent pkg exists) dnf/repoquery/recent.feature:41 dnf repoquery --recent --installed labirinto (when recent pkg exists) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 18 steps passed, 3 failed, 12 skipped Took 0min 1.467s USING RUNNER: behave.runner:Runner Feature: Tests for rich (boolean) dependencies: # dnf/repoquery/rich-deps.feature:1 and - requires all operands to be fulfilled for the term to be True. or - requires one of the operands to be fulfilled if - requires the first operand to be fulfilled if the second is (reverse implication) if else - same as above but requires the third operand to be fulfilled if the second is not with - requires all operands to be fulfilled by the same package for the term to be True. without - requires a single package that satisfies the first operand but not the second (set subtraction) unless - requires the first operand to be fulfilled if the second is not (reverse negative implication) unless else - same as above but requires the third operand to be fulfilled if the second is Feature: Tests for rich (boolean) dependencies: # dnf/repoquery/rich-deps.feature:1 Scenario: repoquery --recommends NAME # dnf/repoquery/rich-deps.feature:15 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --recommends c1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6m3wenmv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6m3wenmv/var/cache/dnf repoquery --recommends c1 And stderr is # None """ """ And stdout is # None """ (b1 and a1) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6m3wenmv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6m3wenmv/var/cache/dnf repoquery --recommends c1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrequires for "(a1-prov1 if b1)" # dnf/repoquery/rich-deps.feature:29 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires a1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xeejr5tr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xeejr5tr/var/cache/dnf repoquery --whatrequires a1 And stderr is # None """ """ And stdout is # None """ c1-0:1.0-1.x86_64 c1-0:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xeejr5tr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xeejr5tr/var/cache/dnf repoquery --whatrequires a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1534123 @bz1698034 Scenario: repoquery --whatrequires NAME for "(b1-prov2 >= 1.0 with b1-prov2 < 2.0)" # dnf/repoquery/rich-deps.feature:45 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires b1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eh6ztakv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eh6ztakv/var/cache/dnf repoquery --whatrequires b1 And stderr is # None """ """ And stdout is # None """ c1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eh6ztakv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eh6ztakv/var/cache/dnf repoquery --whatrequires b1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1534123 @bz1698034 Scenario: repoquery --whatrequires PROVIDE_NAME = VERSION for "(b1-prov2 >= 1.0 with b1-prov2 < 2.0)" # dnf/repoquery/rich-deps.feature:59 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrequires 'b1-prov2 = 1.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j_gscu_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j_gscu_i/var/cache/dnf repoquery --whatrequires 'b1-prov2 = 1.0' And stderr is # None """ """ And stdout is # None """ c1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j_gscu_i --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j_gscu_i/var/cache/dnf repoquery --whatrequires 'b1-prov2 = 1.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatconflicts for "((b1 and x1) or c1)" # dnf/repoquery/rich-deps.feature:73 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts b1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rm275dkf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rm275dkf/var/cache/dnf repoquery --whatconflicts b1 And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ When I execute dnf with args "repoquery --whatconflicts c1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ When I execute dnf with args "repoquery --whatconflicts x1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ Given I successfully execute dnf with args "install x1" # None When I execute dnf with args "repoquery --whatconflicts b1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ When I execute dnf with args "repoquery --whatconflicts c1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ When I execute dnf with args "repoquery --whatconflicts x1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rm275dkf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rm275dkf/var/cache/dnf repoquery --whatconflicts b1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1534123 @bz1698034 Scenario: repoquery --whatconflicts for "(d1-prov1 >= 1.0 with d1-prov1 < 2.0)" # dnf/repoquery/rich-deps.feature:139 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts d1-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j2aambx7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j2aambx7/var/cache/dnf repoquery --whatconflicts d1-1.0 And stderr is # None """ """ And stdout is # None """ c1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_j2aambx7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_j2aambx7/var/cache/dnf repoquery --whatconflicts d1-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1534123 @bz1698034 Scenario: repoquery --whatconflicts PROVIDE_NAME = VERSION for "(d1-prov1 >= 1.0 with d1-prov0 < 2.0)" # dnf/repoquery/rich-deps.feature:153 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatconflicts 'd1-prov1 = 1.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_heisxvux --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_heisxvux/var/cache/dnf repoquery --whatconflicts 'd1-prov1 = 1.0' And stderr is # None """ """ And stdout is # None """ c1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_heisxvux --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_heisxvux/var/cache/dnf repoquery --whatconflicts 'd1-prov1 = 1.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrecommends for "(b1 < 2.0 if x1 >= 2.0 else c1)" # dnf/repoquery/rich-deps.feature:167 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrecommends b1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3rsx6671 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3rsx6671/var/cache/dnf repoquery --whatrecommends b1 And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 c1-0:1.0-1.x86_64 c1-0:2.0-1.x86_64 """ When I execute dnf with args "repoquery --whatrecommends 'b1 > 2.0'" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ c1-0:1.0-1.x86_64 c1-0:2.0-1.x86_64 """ When I execute dnf with args "repoquery --whatrecommends x1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None When I execute dnf with args "repoquery --whatrecommends c1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3rsx6671 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3rsx6671/var/cache/dnf repoquery --whatrecommends b1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsuggests for "((b1 with b1-prov2 > 1.7) or (c1 <= 1.0 without c1-prov1 > 0.5))" # dnf/repoquery/rich-deps.feature:211 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsuggests b1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_na4e_ax7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_na4e_ax7/var/cache/dnf repoquery --whatsuggests b1 And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ When I execute dnf with args "repoquery --whatsuggests c1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_na4e_ax7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_na4e_ax7/var/cache/dnf repoquery --whatsuggests b1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1534123 @bz1698034 Scenario: repoquery --whatsuggests for "(d1-prov1 >= 1.0 with d1-prov1 < 2.0)" - only d1-1.0 should match # dnf/repoquery/rich-deps.feature:236 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsuggests d1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gnmd7d5y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gnmd7d5y/var/cache/dnf repoquery --whatsuggests d1 And stderr is # None """ """ And stdout is # None """ b1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gnmd7d5y --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gnmd7d5y/var/cache/dnf repoquery --whatsuggests d1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @bz1534123 @bz1698034 Scenario: repoquery --whatsuggests with provide for "(d1-prov1 >= 1.0 with d1-prov1 < 2.0)" - only b1-1.0 should match # dnf/repoquery/rich-deps.feature:250 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsuggests 'd1-prov1 = 1.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tqkk0xrb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tqkk0xrb/var/cache/dnf repoquery --whatsuggests 'd1-prov1 = 1.0' And stderr is # None """ """ And stdout is # None """ b1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tqkk0xrb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tqkk0xrb/var/cache/dnf repoquery --whatsuggests 'd1-prov1 = 1.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsupplements for "((b1 < 2.0 with b1-prov2 > 1.7) or (c1 > 1.0 without c1-prov1 > 0.5))" # dnf/repoquery/rich-deps.feature:264 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsupplements b1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5mdfbvkj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5mdfbvkj/var/cache/dnf repoquery --whatsupplements b1 And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ When I execute dnf with args "repoquery --whatsupplements 'c1 < 1.0'" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5mdfbvkj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5mdfbvkj/var/cache/dnf repoquery --whatsupplements b1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatenhances for "(b1 unless x1)" # dnf/repoquery/rich-deps.feature:285 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatenhances b1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s2vhaz_p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s2vhaz_p/var/cache/dnf repoquery --whatenhances b1 And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ Given I successfully execute dnf with args "install x1" # None When I execute dnf with args "repoquery --whatenhances b1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s2vhaz_p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s2vhaz_p/var/cache/dnf repoquery --whatenhances b1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatenhances for "(a1 unless x1 else c1)" # dnf/repoquery/rich-deps.feature:310 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatenhances a1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gb5ko5wt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gb5ko5wt/var/cache/dnf repoquery --whatenhances a1 And stderr is # None """ """ And stdout is # None """ b1-0:1.0-1.x86_64 """ When I execute dnf with args "repoquery --whatenhances c1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ b1-0:1.0-1.x86_64 """ Given I successfully execute dnf with args "install x1" # None When I execute dnf with args "repoquery --whatenhances c1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ b1-0:1.0-1.x86_64 """ When I execute dnf with args "repoquery --whatenhances a1" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ b1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gb5ko5wt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gb5ko5wt/var/cache/dnf repoquery --whatenhances a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAME # dnf/repoquery/rich-deps.feature:355 Given I use repository "repoquery-rich-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends c1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rq_treq_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rq_treq_/var/cache/dnf repoquery --whatdepends c1 And stderr is # None """ """ And stdout is # None """ a1-0:1.0-1.x86_64 b1-0:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rq_treq_ --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rq_treq_/var/cache/dnf repoquery --whatdepends c1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/rich-deps.feature:15 repoquery --recommends NAME dnf/repoquery/rich-deps.feature:29 repoquery --whatrequires for "(a1-prov1 if b1)" dnf/repoquery/rich-deps.feature:45 repoquery --whatrequires NAME for "(b1-prov2 >= 1.0 with b1-prov2 < 2.0)" dnf/repoquery/rich-deps.feature:59 repoquery --whatrequires PROVIDE_NAME = VERSION for "(b1-prov2 >= 1.0 with b1-prov2 < 2.0)" dnf/repoquery/rich-deps.feature:73 repoquery --whatconflicts for "((b1 and x1) or c1)" dnf/repoquery/rich-deps.feature:139 repoquery --whatconflicts for "(d1-prov1 >= 1.0 with d1-prov1 < 2.0)" dnf/repoquery/rich-deps.feature:153 repoquery --whatconflicts PROVIDE_NAME = VERSION for "(d1-prov1 >= 1.0 with d1-prov0 < 2.0)" dnf/repoquery/rich-deps.feature:167 repoquery --whatrecommends for "(b1 < 2.0 if x1 >= 2.0 else c1)" dnf/repoquery/rich-deps.feature:211 repoquery --whatsuggests for "((b1 with b1-prov2 > 1.7) or (c1 <= 1.0 without c1-prov1 > 0.5))" dnf/repoquery/rich-deps.feature:236 repoquery --whatsuggests for "(d1-prov1 >= 1.0 with d1-prov1 < 2.0)" - only d1-1.0 should match dnf/repoquery/rich-deps.feature:250 repoquery --whatsuggests with provide for "(d1-prov1 >= 1.0 with d1-prov1 < 2.0)" - only b1-1.0 should match dnf/repoquery/rich-deps.feature:264 repoquery --whatsupplements for "((b1 < 2.0 with b1-prov2 > 1.7) or (c1 > 1.0 without c1-prov1 > 0.5))" dnf/repoquery/rich-deps.feature:285 repoquery --whatenhances for "(b1 unless x1)" dnf/repoquery/rich-deps.feature:310 repoquery --whatenhances for "(a1 unless x1 else c1)" dnf/repoquery/rich-deps.feature:355 repoquery --whatdepends NAME 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 15 failed, 0 skipped 30 steps passed, 15 failed, 89 skipped Took 0min 0.596s USING RUNNER: behave.runner:Runner Feature: repoquery with security filters (--security, --bugfix, --newpackages, --enhancement) # dnf/repoquery/security-filters.feature:1 Scenario: --security, --available with available security fix # dnf/repoquery/security-filters.feature:4 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --security --available A" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cpp_cply --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cpp_cply/var/cache/dnf repoquery --security --available A And stderr is # None """ """ And stdout is # None """ A-0:2-2.x86_64 A-0:3-3.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cpp_cply --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cpp_cply/var/cache/dnf repoquery --security --available A  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security, --available with available security fix for installed pkg # dnf/repoquery/security-filters.feature:19 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 And I execute dnf with args "install A-1-1" # dnf/steps/cmd.py:110 When I execute dnf with args "repoquery --security --available A" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ufivof6r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ufivof6r/var/cache/dnf repoquery --security --available A And stderr is # None """ """ And stdout is # None """ A-0:2-2.x86_64 A-0:3-3.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ufivof6r --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ufivof6r/var/cache/dnf repoquery --security --available A  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security, --installed with available security fix for installed pkg # dnf/repoquery/security-filters.feature:35 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 And I execute dnf with args "install A-1-1" # dnf/steps/cmd.py:110 When I execute dnf with args "repoquery --security --installed A" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zmwr0ob3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zmwr0ob3/var/cache/dnf repoquery --security --installed A And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zmwr0ob3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zmwr0ob3/var/cache/dnf repoquery --security --installed A  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security, --available with installed and available security fix # dnf/repoquery/security-filters.feature:43 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 And I execute dnf with args "install A-3-3" # dnf/steps/cmd.py:110 When I execute dnf with args "repoquery --security --available A" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pwhhxuyi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pwhhxuyi/var/cache/dnf repoquery --security --available A And stderr is # None """ """ And stdout is # None """ A-0:2-2.x86_64 A-0:3-3.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pwhhxuyi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pwhhxuyi/var/cache/dnf repoquery --security --available A  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security, --available with installed exact version of security fix # dnf/repoquery/security-filters.feature:59 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 And I execute dnf with args "install A-2-2" # dnf/steps/cmd.py:110 When I execute dnf with args "repoquery --security --available A" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zb91g3lo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zb91g3lo/var/cache/dnf repoquery --security --available A And stderr is # None """ """ And stdout is # None """ A-0:2-2.x86_64 A-0:3-3.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zb91g3lo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zb91g3lo/var/cache/dnf repoquery --security --available A  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security with installed security fix # dnf/repoquery/security-filters.feature:77 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 And I execute dnf with args "install A-2-2" # dnf/steps/cmd.py:110 When I execute dnf with args "repoquery --security --available --installed A --info" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_74_q6ipo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_74_q6ipo/var/cache/dnf repoquery --security --available --installed A --info And stderr is # None """ """ And stdout matches line by line # None """ Name : A Epoch : 0 Version : 2 Release : 2 Architecture : x86_64 Installed size : 0.0 B Source : A-2-2.src.rpm From repository : repoquery-security-filters Summary : Testing advisory upgrade options URL : None License : Public Domain Description : This package is part of testing security options Vendor : dnf-ci-vendor2 Name : A Epoch : 0 Version : 2 Release : 2 Architecture : x86_64 Download size : * Installed size : 0.0 B Source : A-2-2.src.rpm Repository : repoquery-security-filters Summary : Testing advisory upgrade options URL : None License : Public Domain Description : This package is part of testing security options Vendor : dnf-ci-vendor2 Name : A Epoch : 0 Version : 3 Release : 3 Architecture : x86_64 Download size : * Installed size : 0.0 B Source : A-3-3.src.rpm Repository : repoquery-security-filters Summary : Testing advisory upgrade options URL : None License : Public Domain Description : This package is part of testing security options Vendor : dnf-ci-vendor3 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_74_q6ipo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_74_q6ipo/var/cache/dnf repoquery --security --available --installed A --info  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: --security, --available with advisory for a missing pkg and newer version present # dnf/repoquery/security-filters.feature:134 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --security --available B" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sx7cw1v8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sx7cw1v8/var/cache/dnf repoquery --security --available B And stderr is # None """ """ And stdout is # None """ B-0:2-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sx7cw1v8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sx7cw1v8/var/cache/dnf repoquery --security --available B  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: list all --security fixes when no pkg name is specified # dnf/repoquery/security-filters.feature:148 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --security --available" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_52yapxmb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_52yapxmb/var/cache/dnf repoquery --security --available And stderr is # None """ """ And stdout is # None """ A-0:2-2.x86_64 A-0:3-3.x86_64 B-0:2-2.x86_64 C-0:1-1.x86_64 C-0:2-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_52yapxmb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_52yapxmb/var/cache/dnf repoquery --security --available  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: package C has two versions where each has advisory # dnf/repoquery/security-filters.feature:166 Given I use repository "repoquery-security-filters" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --security C" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3078fmfs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3078fmfs/var/cache/dnf repoquery --security C And stderr is # None """ """ And stdout is # None """ C-0:1-1.x86_64 C-0:2-2.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3078fmfs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3078fmfs/var/cache/dnf repoquery --security C  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery shows a command line package when its present in an advisory # dnf/repoquery/security-filters.feature:181 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4untbxwv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4untbxwv/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "repoquery --cve CVE-002 {context.scenario.repos_location}/dnf-ci-security/x86_64/advisory_B-1.0-4.x86_64.rpm" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is # None """ advisory_B-0:1.0-4.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4untbxwv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4untbxwv/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery filters out a command line package when its not present in an advisory # dnf/repoquery/security-filters.feature:201 Given I use repository "dnf-ci-security" # dnf/steps/repo.py:186 When I execute dnf with args "install advisory_A-1.0-1 advisory_B-1.0-1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3_d5yyc0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3_d5yyc0/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1 And Transaction is following # None | Action | Package | | install | advisory_A-0:1.0-1.x86_64 | | install | advisory_B-0:1.0-1.x86_64 | When I execute dnf with args "repoquery --cve CVE-002 {context.scenario.repos_location}/dnf-ci-security/x86_64/advisory_A-1.0-1.x86_64.rpm" # None Then the exit code is 0 # None And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3_d5yyc0 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3_d5yyc0/var/cache/dnf install advisory_A-1.0-1 advisory_B-1.0-1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/security-filters.feature:4 --security, --available with available security fix dnf/repoquery/security-filters.feature:19 --security, --available with available security fix for installed pkg dnf/repoquery/security-filters.feature:35 --security, --installed with available security fix for installed pkg dnf/repoquery/security-filters.feature:43 --security, --available with installed and available security fix dnf/repoquery/security-filters.feature:59 --security, --available with installed exact version of security fix dnf/repoquery/security-filters.feature:77 --security with installed security fix dnf/repoquery/security-filters.feature:134 --security, --available with advisory for a missing pkg and newer version present dnf/repoquery/security-filters.feature:148 list all --security fixes when no pkg name is specified dnf/repoquery/security-filters.feature:166 package C has two versions where each has advisory dnf/repoquery/security-filters.feature:181 repoquery shows a command line package when its present in an advisory dnf/repoquery/security-filters.feature:201 repoquery filters out a command line package when its not present in an advisory 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 11 failed, 0 skipped 27 steps passed, 11 failed, 27 skipped Took 0min 0.751s USING RUNNER: behave.runner:Runner Feature: Test for dnf repoquery --unsatisfied # dnf/repoquery/unsatisfied.feature:1 @xfail @bz1750745 @no_installroot @use.with_os=fedora__ge__30 @use.with_os=rhel__ge__8 Scenario: When kernel has unsatisfied dependencies, dnf repoquery --unsatisfied reports the problems and does not report "The operation would result in removing the following protected packages" # dnf/repoquery/unsatisfied.feature:10 0 features passed, 0 failed, 1 skipped 0 scenarios passed, 0 failed, 1 skipped 0 steps passed, 0 failed, 11 skipped Took 0min 0.000s USING RUNNER: behave.runner:Runner Feature: Tests for repoquery weak deps related functionality: # dnf/repoquery/weak-deps.feature:1 --recommends, --supplements, --suggests, --enhances, --whatrecommends, --whatsupplements, --whatsuggests, --whatenhances --whatdepends Feature: Tests for repoquery weak deps related functionality: # dnf/repoquery/weak-deps.feature:1 Scenario: repoquery --recommends NAME # dnf/repoquery/weak-deps.feature:27 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --recommends a2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_flfz6upt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_flfz6upt/var/cache/dnf repoquery --recommends a2 And stderr is # None """ """ And stdout is # None """ b1 b1 > 1.0 b2 = 2.0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_flfz6upt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_flfz6upt/var/cache/dnf repoquery --recommends a2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --recommends NAME-VERSION # dnf/repoquery/weak-deps.feature:41 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --recommends a2-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3vpgbswi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3vpgbswi/var/cache/dnf repoquery --recommends a2-1.0 And stderr is # None """ """ And stdout is # None """ b1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3vpgbswi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3vpgbswi/var/cache/dnf repoquery --recommends a2-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --recommends NAMEGLOB-VERSION # dnf/repoquery/weak-deps.feature:53 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --recommends a?-2.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t1eqx91x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t1eqx91x/var/cache/dnf repoquery --recommends a?-2.0 And stderr is # None """ """ And stdout is # None """ b1 > 1.0 b2 = 2.0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_t1eqx91x --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_t1eqx91x/var/cache/dnf repoquery --recommends a?-2.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --recommends NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:66 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --recommends dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gje8xkpc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gje8xkpc/var/cache/dnf repoquery --recommends dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gje8xkpc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gje8xkpc/var/cache/dnf repoquery --recommends dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --supplements NAME # dnf/repoquery/weak-deps.feature:77 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --supplements b2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7fqomjs4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7fqomjs4/var/cache/dnf repoquery --supplements b2 And stderr is # None """ """ And stdout is # None """ c1 c1 >= 1.0 c2 = 2.0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7fqomjs4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7fqomjs4/var/cache/dnf repoquery --supplements b2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --supplements NAME-VERSION # dnf/repoquery/weak-deps.feature:91 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --supplements b2-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l0dr6fbc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l0dr6fbc/var/cache/dnf repoquery --supplements b2-1.0 And stderr is # None """ """ And stdout is # None """ c1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l0dr6fbc --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l0dr6fbc/var/cache/dnf repoquery --supplements b2-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --supplements NAMEGLOB-VERSIONGLOB # dnf/repoquery/weak-deps.feature:103 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --supplements b?-?.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vwznhdap --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vwznhdap/var/cache/dnf repoquery --supplements b?-?.0 And stderr is # None """ """ And stdout is # None """ c1 c1 >= 1.0 c2 = 1.0 c2 = 2.0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vwznhdap --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vwznhdap/var/cache/dnf repoquery --supplements b?-?.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --supplements NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:118 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --supplements dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jdusttik --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jdusttik/var/cache/dnf repoquery --supplements dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jdusttik --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jdusttik/var/cache/dnf repoquery --supplements dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --suggests NAME # dnf/repoquery/weak-deps.feature:129 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --suggests c2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nyqk0goy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nyqk0goy/var/cache/dnf repoquery --suggests c2 And stderr is # None """ """ And stdout is # None """ d1 d1 < 1.0 d2 = 2.0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_nyqk0goy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_nyqk0goy/var/cache/dnf repoquery --suggests c2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --suggests NAME-VERSION # dnf/repoquery/weak-deps.feature:143 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --suggests c2-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s7h2auf7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s7h2auf7/var/cache/dnf repoquery --suggests c2-1.0 And stderr is # None """ """ And stdout is # None """ d1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s7h2auf7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s7h2auf7/var/cache/dnf repoquery --suggests c2-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --suggests NAMEGLOB-VERSION # dnf/repoquery/weak-deps.feature:155 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --suggests c[2]-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hda1r9ff --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hda1r9ff/var/cache/dnf repoquery --suggests c[2]-1.0 And stderr is # None """ """ And stdout is # None """ d1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hda1r9ff --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hda1r9ff/var/cache/dnf repoquery --suggests c[2]-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --suggests NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:167 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --suggests dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iwhac6d8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iwhac6d8/var/cache/dnf repoquery --suggests dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_iwhac6d8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_iwhac6d8/var/cache/dnf repoquery --suggests dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --enhances NAME # dnf/repoquery/weak-deps.feature:178 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --enhances d2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4mu8xsws --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4mu8xsws/var/cache/dnf repoquery --enhances d2 And stderr is # None """ """ And stdout is # None """ a1 a1 <= 1.0 a2 = 2.0 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4mu8xsws --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4mu8xsws/var/cache/dnf repoquery --enhances d2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --enhances NAME-VERSION # dnf/repoquery/weak-deps.feature:192 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --enhances d2-1.0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vpl70ehi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vpl70ehi/var/cache/dnf repoquery --enhances d2-1.0 And stderr is # None """ """ And stdout is # None """ a1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vpl70ehi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vpl70ehi/var/cache/dnf repoquery --enhances d2-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --enhances NAMEGLOB-VERSIONGLOB # dnf/repoquery/weak-deps.feature:204 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --enhances d[2]-[1].0" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__k5pztcz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__k5pztcz/var/cache/dnf repoquery --enhances d[2]-[1].0 And stderr is # None """ """ And stdout is # None """ a1 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__k5pztcz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__k5pztcz/var/cache/dnf repoquery --enhances d[2]-[1].0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --enhances NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:216 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --enhances dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7pg11yku --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7pg11yku/var/cache/dnf repoquery --enhances dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_7pg11yku --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_7pg11yku/var/cache/dnf repoquery --enhances dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrecommends NAME # dnf/repoquery/weak-deps.feature:227 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrecommends b2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3k6kzehv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3k6kzehv/var/cache/dnf repoquery --whatrecommends b2 And stderr is # None """ """ And stdout is # None """ a1-1:1.0-1.x86_64 a2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3k6kzehv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3k6kzehv/var/cache/dnf repoquery --whatrecommends b2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrecommends NAMEGLOB # dnf/repoquery/weak-deps.feature:240 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrecommends b?" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vnsicti7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vnsicti7/var/cache/dnf repoquery --whatrecommends b? And stderr is # None """ """ And stdout is # None """ a1-1:1.0-1.x86_64 a2-1:1.0-1.x86_64 a2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_vnsicti7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_vnsicti7/var/cache/dnf repoquery --whatrecommends b?  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrecommends NAMEGLOB > VERSION # dnf/repoquery/weak-deps.feature:254 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrecommends 'b? < 1.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0aitjvzq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0aitjvzq/var/cache/dnf repoquery --whatrecommends 'b? < 1.0' And stderr is # None """ """ And stdout is # None """ a1-1:1.0-1.x86_64 a2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0aitjvzq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0aitjvzq/var/cache/dnf repoquery --whatrecommends 'b? < 1.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatrecommends NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:267 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatrecommends dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ztph3ig --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ztph3ig/var/cache/dnf repoquery --whatrecommends dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__ztph3ig --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__ztph3ig/var/cache/dnf repoquery --whatrecommends dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsupplements NAME # dnf/repoquery/weak-deps.feature:278 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsupplements c2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kjmjmkj2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kjmjmkj2/var/cache/dnf repoquery --whatsupplements c2 And stderr is # None """ """ And stdout is # None """ b1-1:1.0-1.x86_64 b2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kjmjmkj2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kjmjmkj2/var/cache/dnf repoquery --whatsupplements c2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsupplements NAMEGLOB # dnf/repoquery/weak-deps.feature:291 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsupplements c[2]" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c2guguz2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c2guguz2/var/cache/dnf repoquery --whatsupplements c[2] And stderr is # None """ """ And stdout is # None """ b1-1:1.0-1.x86_64 b2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c2guguz2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c2guguz2/var/cache/dnf repoquery --whatsupplements c[2]  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsupplements NAMEGLOB >= VERSION # dnf/repoquery/weak-deps.feature:304 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsupplements 'c[2] >= 1.5'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q5i3b2lj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q5i3b2lj/var/cache/dnf repoquery --whatsupplements 'c[2] >= 1.5' And stderr is # None """ """ And stdout is # None """ b2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q5i3b2lj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q5i3b2lj/var/cache/dnf repoquery --whatsupplements 'c[2] >= 1.5'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsupplements NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:316 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsupplements dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8cq2z9oz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8cq2z9oz/var/cache/dnf repoquery --whatsupplements dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8cq2z9oz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8cq2z9oz/var/cache/dnf repoquery --whatsupplements dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsuggests NAME # dnf/repoquery/weak-deps.feature:327 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsuggests d2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sidenbp4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sidenbp4/var/cache/dnf repoquery --whatsuggests d2 And stderr is # None """ """ And stdout is # None """ c1-1:1.0-1.x86_64 c2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_sidenbp4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_sidenbp4/var/cache/dnf repoquery --whatsuggests d2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsuggests NAMEGLOB # dnf/repoquery/weak-deps.feature:340 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsuggests d[12]" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wv7r02l3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wv7r02l3/var/cache/dnf repoquery --whatsuggests d[12] And stderr is # None """ """ And stdout is # None """ c1-1:1.0-1.x86_64 c2-1:1.0-1.x86_64 c2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wv7r02l3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wv7r02l3/var/cache/dnf repoquery --whatsuggests d[12]  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsuggests NAME >= VERSION # dnf/repoquery/weak-deps.feature:354 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsuggests 'd1 >= 3.14'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__kp8_laf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__kp8_laf/var/cache/dnf repoquery --whatsuggests 'd1 >= 3.14' And stderr is # None """ """ And stdout is # None """ c1-1:1.0-1.x86_64 c2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__kp8_laf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__kp8_laf/var/cache/dnf repoquery --whatsuggests 'd1 >= 3.14'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatsuggests NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:367 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatsuggests dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xn1mxten --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xn1mxten/var/cache/dnf repoquery --whatsuggests dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xn1mxten --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xn1mxten/var/cache/dnf repoquery --whatsuggests dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatenhances NAME # dnf/repoquery/weak-deps.feature:378 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatenhances a2" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lxmyev_k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lxmyev_k/var/cache/dnf repoquery --whatenhances a2 And stderr is # None """ """ And stdout is # None """ d1-1:1.0-1.x86_64 d2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_lxmyev_k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_lxmyev_k/var/cache/dnf repoquery --whatenhances a2  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatenhances NAMEGLOB # dnf/repoquery/weak-deps.feature:391 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatenhances a[2]" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ywpnz3mr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ywpnz3mr/var/cache/dnf repoquery --whatenhances a[2] And stderr is # None """ """ And stdout is # None """ d1-1:1.0-1.x86_64 d2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ywpnz3mr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ywpnz3mr/var/cache/dnf repoquery --whatenhances a[2]  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatenhances NAMEGLOB >= VERSION # dnf/repoquery/weak-deps.feature:404 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatenhances 'a? >= 3.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot__eg_3vw4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__eg_3vw4/var/cache/dnf repoquery --whatenhances 'a? >= 3.0' And stderr is # None """ """ And stdout is # None """ d1-1:1.0-1.x86_64 d2-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot__eg_3vw4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot__eg_3vw4/var/cache/dnf repoquery --whatenhances 'a? >= 3.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatenhances NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:417 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatenhances dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dw6iiu25 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dw6iiu25/var/cache/dnf repoquery --whatenhances dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_dw6iiu25 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_dw6iiu25/var/cache/dnf repoquery --whatenhances dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAME (requires + enhances) # dnf/repoquery/weak-deps.feature:428 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends a1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cnigw8gs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cnigw8gs/var/cache/dnf repoquery --whatdepends a1 And stderr is # None """ """ And stdout is # None """ d1-1:1.0-1.x86_64 d2-1:1.0-1.x86_64 d2-1:2.0-1.x86_64 top-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cnigw8gs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cnigw8gs/var/cache/dnf repoquery --whatdepends a1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAME (requires + recommends) # dnf/repoquery/weak-deps.feature:443 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends b1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c663hx4v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c663hx4v/var/cache/dnf repoquery --whatdepends b1 And stderr is # None """ """ And stdout is # None """ a1-1:1.0-1.x86_64 a2-1:1.0-1.x86_64 a2-1:2.0-1.x86_64 top-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_c663hx4v --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_c663hx4v/var/cache/dnf repoquery --whatdepends b1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAME (requires + supplements) # dnf/repoquery/weak-deps.feature:458 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends c1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pq012avz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pq012avz/var/cache/dnf repoquery --whatdepends c1 And stderr is # None """ """ And stdout is # None """ b1-1:1.0-1.x86_64 b2-1:1.0-1.x86_64 b2-1:2.0-1.x86_64 top-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pq012avz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pq012avz/var/cache/dnf repoquery --whatdepends c1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAME (requires + suggests) # dnf/repoquery/weak-deps.feature:473 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends d1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z7g4l0ij --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z7g4l0ij/var/cache/dnf repoquery --whatdepends d1 And stderr is # None """ """ And stdout is # None """ c1-1:1.0-1.x86_64 c2-1:1.0-1.x86_64 c2-1:2.0-1.x86_64 top-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z7g4l0ij --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z7g4l0ij/var/cache/dnf repoquery --whatdepends d1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAME > VERSION # dnf/repoquery/weak-deps.feature:488 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends 'd2 > 1.4'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bweafn9g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bweafn9g/var/cache/dnf repoquery --whatdepends 'd2 > 1.4' And stderr is # None """ """ And stdout is # None """ c2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bweafn9g --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bweafn9g/var/cache/dnf repoquery --whatdepends 'd2 > 1.4'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAMEGLOB < VERSION # dnf/repoquery/weak-deps.feature:500 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends '[abc]2 < 1.5'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xxv6edna --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xxv6edna/var/cache/dnf repoquery --whatdepends '[abc]2 < 1.5' And stderr is # None """ """ And stdout is # None """ a1-1:1.0-1.x86_64 b1-1:1.0-1.x86_64 d1-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xxv6edna --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xxv6edna/var/cache/dnf repoquery --whatdepends '[abc]2 < 1.5'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAMEGLOB >= VERSION (ranged matching) # dnf/repoquery/weak-deps.feature:514 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends '[abc]1 <= 1.0'" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8ua0qisr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8ua0qisr/var/cache/dnf repoquery --whatdepends '[abc]1 <= 1.0' And stderr is # None """ """ And stdout is # None """ a1-1:1.0-1.x86_64 a2-1:1.0-1.x86_64 b1-1:1.0-1.x86_64 b2-1:1.0-1.x86_64 b2-1:2.0-1.x86_64 d1-1:1.0-1.x86_64 d2-1:1.0-1.x86_64 d2-1:2.0-1.x86_64 top-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8ua0qisr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8ua0qisr/var/cache/dnf repoquery --whatdepends '[abc]1 <= 1.0'  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --exactdeps --whatdepends NAME # dnf/repoquery/weak-deps.feature:534 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --exactdeps --whatdepends c1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8m964n9d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8m964n9d/var/cache/dnf repoquery --exactdeps --whatdepends c1 And stderr is # None """ """ And stdout is # None """ b1-1:1.0-1.x86_64 b2-1:1.0-1.x86_64 b2-1:2.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8m964n9d --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8m964n9d/var/cache/dnf repoquery --exactdeps --whatdepends c1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --exactdeps --whatdepends NAME (no nonexact deps) # dnf/repoquery/weak-deps.feature:548 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --exactdeps --whatdepends d1" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wz8klw52 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wz8klw52/var/cache/dnf repoquery --exactdeps --whatdepends d1 And stderr is # None """ """ And stdout is # None """ c1-1:1.0-1.x86_64 c2-1:1.0-1.x86_64 c2-1:2.0-1.x86_64 top-1:1.0-1.x86_64 """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wz8klw52 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wz8klw52/var/cache/dnf repoquery --exactdeps --whatdepends d1  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: repoquery --whatdepends NAME (nonexisting package) # dnf/repoquery/weak-deps.feature:563 Given I use repository "repoquery-weak-deps" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatdepends dummy" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p_ph469k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p_ph469k/var/cache/dnf repoquery --whatdepends dummy And stderr is # None """ """ And stdout is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p_ph469k --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p_ph469k/var/cache/dnf repoquery --whatdepends dummy  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/weak-deps.feature:27 repoquery --recommends NAME dnf/repoquery/weak-deps.feature:41 repoquery --recommends NAME-VERSION dnf/repoquery/weak-deps.feature:53 repoquery --recommends NAMEGLOB-VERSION dnf/repoquery/weak-deps.feature:66 repoquery --recommends NAME (nonexisting package) dnf/repoquery/weak-deps.feature:77 repoquery --supplements NAME dnf/repoquery/weak-deps.feature:91 repoquery --supplements NAME-VERSION dnf/repoquery/weak-deps.feature:103 repoquery --supplements NAMEGLOB-VERSIONGLOB dnf/repoquery/weak-deps.feature:118 repoquery --supplements NAME (nonexisting package) dnf/repoquery/weak-deps.feature:129 repoquery --suggests NAME dnf/repoquery/weak-deps.feature:143 repoquery --suggests NAME-VERSION dnf/repoquery/weak-deps.feature:155 repoquery --suggests NAMEGLOB-VERSION dnf/repoquery/weak-deps.feature:167 repoquery --suggests NAME (nonexisting package) dnf/repoquery/weak-deps.feature:178 repoquery --enhances NAME dnf/repoquery/weak-deps.feature:192 repoquery --enhances NAME-VERSION dnf/repoquery/weak-deps.feature:204 repoquery --enhances NAMEGLOB-VERSIONGLOB dnf/repoquery/weak-deps.feature:216 repoquery --enhances NAME (nonexisting package) dnf/repoquery/weak-deps.feature:227 repoquery --whatrecommends NAME dnf/repoquery/weak-deps.feature:240 repoquery --whatrecommends NAMEGLOB dnf/repoquery/weak-deps.feature:254 repoquery --whatrecommends NAMEGLOB > VERSION dnf/repoquery/weak-deps.feature:267 repoquery --whatrecommends NAME (nonexisting package) dnf/repoquery/weak-deps.feature:278 repoquery --whatsupplements NAME dnf/repoquery/weak-deps.feature:291 repoquery --whatsupplements NAMEGLOB dnf/repoquery/weak-deps.feature:304 repoquery --whatsupplements NAMEGLOB >= VERSION dnf/repoquery/weak-deps.feature:316 repoquery --whatsupplements NAME (nonexisting package) dnf/repoquery/weak-deps.feature:327 repoquery --whatsuggests NAME dnf/repoquery/weak-deps.feature:340 repoquery --whatsuggests NAMEGLOB dnf/repoquery/weak-deps.feature:354 repoquery --whatsuggests NAME >= VERSION dnf/repoquery/weak-deps.feature:367 repoquery --whatsuggests NAME (nonexisting package) dnf/repoquery/weak-deps.feature:378 repoquery --whatenhances NAME dnf/repoquery/weak-deps.feature:391 repoquery --whatenhances NAMEGLOB dnf/repoquery/weak-deps.feature:404 repoquery --whatenhances NAMEGLOB >= VERSION dnf/repoquery/weak-deps.feature:417 repoquery --whatenhances NAME (nonexisting package) dnf/repoquery/weak-deps.feature:428 repoquery --whatdepends NAME (requires + enhances) dnf/repoquery/weak-deps.feature:443 repoquery --whatdepends NAME (requires + recommends) dnf/repoquery/weak-deps.feature:458 repoquery --whatdepends NAME (requires + supplements) dnf/repoquery/weak-deps.feature:473 repoquery --whatdepends NAME (requires + suggests) dnf/repoquery/weak-deps.feature:488 repoquery --whatdepends NAME > VERSION dnf/repoquery/weak-deps.feature:500 repoquery --whatdepends NAMEGLOB < VERSION dnf/repoquery/weak-deps.feature:514 repoquery --whatdepends NAMEGLOB >= VERSION (ranged matching) dnf/repoquery/weak-deps.feature:534 repoquery --exactdeps --whatdepends NAME dnf/repoquery/weak-deps.feature:548 repoquery --exactdeps --whatdepends NAME (no nonexact deps) dnf/repoquery/weak-deps.feature:563 repoquery --whatdepends NAME (nonexisting package) 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 42 failed, 0 skipped 84 steps passed, 42 failed, 84 skipped Took 0min 1.545s USING RUNNER: behave.runner:Runner Feature: Test for dnf repoquery --whatrequires # dnf/repoquery/whatprovides.feature:1 Scenario: List all profiders of file including real file provider and only provider # dnf/repoquery/whatprovides.feature:3 Given I use repository "dnf-ci-whatprovides" # dnf/steps/repo.py:186 And I use repository "dnf-ci-fedora" # dnf/steps/repo.py:186 When I execute dnf with args "repoquery --whatprovides /etc/dummy.conf" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r8kxcr89 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r8kxcr89/var/cache/dnf repoquery --whatprovides /etc/dummy.conf And stderr is # None """ """ And stdout is # None """ dnf-ci-alfa-0:1.0-1.noarch dnf-ci-beta-0:1.0-1.noarch """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_r8kxcr89 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_r8kxcr89/var/cache/dnf repoquery --whatprovides /etc/dummy.conf  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/whatprovides.feature:3 List all profiders of file including real file provider and only provider 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 3 steps passed, 1 failed, 2 skipped Took 0min 0.213s USING RUNNER: behave.runner:Runner Feature: dnf repoquery command on packages with xml:base # dnf/repoquery/xml-base.feature:1 Scenario: Repoquery --location for repository that have packages with xml:base # dnf/repoquery/xml-base.feature:4 Given I copy repository "simple-base" for modification # dnf/steps/repo.py:238 And I copy repository "dnf-ci-thirdparty" for modification # dnf/steps/repo.py:238 And I use repository "simple-base" # dnf/steps/repo.py:186 And I generate repodata for repository "simple-base" with extra arguments "--baseurl https://the.xml.base.location/repo/" # dnf/steps/repo.py:152 And I execute "mergerepo_c --omit-baseurl --repo file://{context.dnf.repos[simple-base].path} --repo file://{context.dnf.repos[dnf-ci-thirdparty].path}" in "{context.dnf.installroot}" # common/cmd.py:19 And I configure a new repository "merged-repo" with # dnf/steps/repo.py:271 | key | value | | baseurl | file://{context.dnf.installroot}/merged_repo | And I drop repository "simple-base" # dnf/steps/repo.py:227 And I drop repository "dnf-ci-thirdparty" # dnf/steps/repo.py:227 When I execute dnf with args "repoquery --location solveigs-song" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3g8qfxzn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3g8qfxzn/var/cache/dnf repoquery --location solveigs-song And stdout is # None """ file://{context.dnf.installroot}/merged_repo/src/solveigs-song-1.0-1.src.rpm file://{context.dnf.installroot}/merged_repo/x86_64/solveigs-song-1.0-1.x86_64.rpm """ When I execute dnf with args "repoquery --location labirinto" # None Then the exit code is 0 # None And stdout is # None """ https://the.xml.base.location/repo/src/labirinto-1.0-1.fc29.src.rpm https://the.xml.base.location/repo/x86_64/labirinto-1.0-1.fc29.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_3g8qfxzn --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_3g8qfxzn/var/cache/dnf repoquery --location solveigs-song  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/repoquery/xml-base.feature:4 Repoquery --location for repository that have packages with xml:base 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 1 failed, 0 skipped 9 steps passed, 1 failed, 4 skipped Took 0min 0.370s USING RUNNER: behave.runner:Runner Feature: Transaction replay tests # dnf/transaction-sr/replay-errors.feature:1 Feature: Transaction replay tests # dnf/transaction-sr/replay-errors.feature:1 Scenario: Replay a transaction installing a nonexistent package # dnf/transaction-sr/replay-errors.feature:9 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_geucqcxp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_geucqcxp/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "does-not-exist-1.0-1.noarch", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Install action, no match for: does-not-exist-1.0-1.noarch. You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_geucqcxp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_geucqcxp/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction installing a nonexistent package version # dnf/transaction-sr/replay-errors.feature:36 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xts2cz1s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xts2cz1s/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "top-a-1:3.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Install action, no match for: top-a-1:3.0-1.x86_64. You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xts2cz1s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xts2cz1s/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replaying an already installed package # dnf/transaction-sr/replay-errors.feature:63 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_58pr2d9o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_58pr2d9o/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a2-0:1.0-1.x86_64", "reason": "Dependency", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Package "bottom-a2-0:1.0-1.x86_64" is already installed. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_58pr2d9o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_58pr2d9o/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction upgrading a nonexistent package # dnf/transaction-sr/replay-errors.feature:88 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_93tda0ya --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_93tda0ya/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Upgrade", "nevra": "does-not-exist-2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "does-not-exist-1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Install action, no match for: does-not-exist-2.0-1.x86_64. Cannot perform Remove action, no match for: does-not-exist-1.0-1.x86_64. You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_93tda0ya --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_93tda0ya/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction upgrading to a nonexistent package version # dnf/transaction-sr/replay-errors.feature:122 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_en5q282a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_en5q282a/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Upgrade", "nevra": "top-a-1:3.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Install action, no match for: top-a-1:3.0-1.x86_64. You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_en5q282a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_en5q282a/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction upgrading from a not-installed package version # dnf/transaction-sr/replay-errors.feature:155 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e48m2l7z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e48m2l7z/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Remove action because 'top-a-1:2.0-1.x86_64' is installed in a different version: 'top-a-1:1.0-1.x86_64'. Extra package 'bottom-a1-2.0-1.noarch' (with action 'Install') which is not present in the stored transaction was pulled into the transaction. Extra package 'top-a-1:1.0-1.x86_64' (with action 'Replaced') which is not present in the stored transaction was pulled into the transaction. You can try to add to command line: --ignore-extras to allow extra packages in the transaction --ignore-installed to allow mismatches between installed and stored transaction packages. This can result in an empty transaction because among other things the option can ignore failing Remove actions. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e48m2l7z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e48m2l7z/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction removing a nonexistent package # dnf/transaction-sr/replay-errors.feature:193 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bhqpadqb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bhqpadqb/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Remove", "nevra": "does-not-exist-1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Remove action, no match for: does-not-exist-1.0-1.x86_64. You can try to add to command line: --skip-unavailable to skip unavailable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bhqpadqb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bhqpadqb/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction removing a package that is not installed # dnf/transaction-sr/replay-errors.feature:220 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s2kunaps --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s2kunaps/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Remove", "nevra": "top-c-1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Remove action for Package 'top-c-1.0-1.x86_64' because it is not installed. You can try to add to command line: --ignore-installed to allow mismatches between installed and stored transaction packages. This can result in an empty transaction because among other things the option can ignore failing Remove actions. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s2kunaps --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s2kunaps/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction that pulls in an extra package # dnf/transaction-sr/replay-errors.feature:247 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0hserxvy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0hserxvy/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Extra package 'bottom-a1-2.0-1.noarch' (with action 'Install') which is not present in the stored transaction was pulled into the transaction. You can try to add to command line: --ignore-extras to allow extra packages in the transaction """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0hserxvy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0hserxvy/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction with a dependency conflict # dnf/transaction-sr/replay-errors.feature:281 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u0x9l9tl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u0x9l9tl/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a1-1.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" }, { "action": "Install", "nevra": "top-b-1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: package top-a-1:2.0-1.x86_64 from transaction-sr requires bottom-a1 = 2.0-1, but none of the providers can be installed - cannot install both bottom-a1-2.0-1.noarch from transaction-sr and bottom-a1-1.0-1.noarch from transaction-sr - conflicting requests You can try to add to command line: --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_u0x9l9tl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_u0x9l9tl/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction with a broken dependency # dnf/transaction-sr/replay-errors.feature:328 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y8c_98xs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y8c_98xs/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "broken-dep-1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Problem: conflicting requests - nothing provides nonexistent needed by broken-dep-1.0-1.x86_64 from transaction-sr You can try to add to command line: --skip-broken to skip uninstallable packages """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_y8c_98xs --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_y8c_98xs/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction installing a nonexistent group # dnf/transaction-sr/replay-errors.feature:356 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ucacclt4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ucacclt4/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Install", "id": "nonexistent", "package_types": "conditional, default, mandatory", "reason": "User" } ], "rpms": [ { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: nonexistent Extra package 'bottom-a1-2.0-1.noarch' (with action 'Install') which is not present in the stored transaction was pulled into the transaction. You can try to add to command line: --skip-unavailable to skip unavailable packages --ignore-extras to allow extra packages in the transaction """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ucacclt4 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ucacclt4/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction removing a nonexistent group # dnf/transaction-sr/replay-errors.feature:401 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bnfkiumo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bnfkiumo/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Remove", "id": "nonexistent", "package_types": "conditional, default, mandatory", "reason": "User", } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Remove action for Group 'nonexistent' because it is not installed. No groups to remove for argument: nonexistent You can try to add to command line: --ignore-installed to allow mismatches between installed and stored transaction packages. This can result in an empty transaction because among other things the option can ignore failing Remove actions. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bnfkiumo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bnfkiumo/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction upgrading a nonexistent group # dnf/transaction-sr/replay-errors.feature:429 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cr2f1a38 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cr2f1a38/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Upgrade", "id": "nonexistent", "package_types": "conditional, default, mandatory", "reason": "User", } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Upgrade action for Group 'nonexistent' because it is not installed. No match for argument: nonexistent You can try to add to command line: --skip-unavailable to skip unavailable packages --ignore-installed to allow mismatches between installed and stored transaction packages. This can result in an empty transaction because among other things the option can ignore failing Remove actions. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cr2f1a38 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cr2f1a38/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction upgrading an installed nonexistent group # dnf/transaction-sr/replay-errors.feature:458 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tb1pxssz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tb1pxssz/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-group" # None And I drop repository "transaction-sr" # None Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Upgrade", "id": "test-group", "package_types": "conditional, default, mandatory", "reason": "User", } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And stderr is # None """ Packages for argument 'test-group' installed, but not available. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_tb1pxssz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_tb1pxssz/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction installing a nonexistent environment # dnf/transaction-sr/replay-errors.feature:484 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_psp20fk8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_psp20fk8/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "environments": [ { "action": "Install", "id": "nonexistent", "package_types": "conditional, default, mandatory" } ], "rpms": [ { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: No match for argument: nonexistent Extra package 'bottom-a1-2.0-1.noarch' (with action 'Install') which is not present in the stored transaction was pulled into the transaction. You can try to add to command line: --skip-unavailable to skip unavailable packages --ignore-extras to allow extra packages in the transaction """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_psp20fk8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_psp20fk8/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction removing a nonexistent environment # dnf/transaction-sr/replay-errors.feature:527 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gzwssok8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gzwssok8/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "environments": [ { "action": "Remove", "id": "nonexistent", "package_types": "conditional, default, mandatory" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Remove action for Environment 'nonexistent' because it is not installed. No groups to remove for argument: nonexistent You can try to add to command line: --ignore-installed to allow mismatches between installed and stored transaction packages. This can result in an empty transaction because among other things the option can ignore failing Remove actions. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_gzwssok8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_gzwssok8/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction upgrading a nonexistent environment # dnf/transaction-sr/replay-errors.feature:554 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xydijqkt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xydijqkt/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "environments": [ { "action": "Upgrade", "id": "nonexistent", "package_types": "conditional, default, mandatory" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot perform Upgrade action for Environment 'nonexistent' because it is not installed. No match for argument: nonexistent You can try to add to command line: --skip-unavailable to skip unavailable packages --ignore-installed to allow mismatches between installed and stored transaction packages. This can result in an empty transaction because among other things the option can ignore failing Remove actions. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xydijqkt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xydijqkt/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction with multiple errors # dnf/transaction-sr/replay-errors.feature:582 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k76qwr24 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k76qwr24/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "environments": [ { "action": "Install", "id": "dummy" } ], "groups": [ { "reason": "User", "action": "Upgrade" } ], "rpms": [ { "action": "Install", "nevra": "top-a-1:3.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Upgrade", "nevra": "top-b-2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-b-1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Missing object key "id" in a group. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k76qwr24 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k76qwr24/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/transaction-sr/replay-errors.feature:9 Replay a transaction installing a nonexistent package dnf/transaction-sr/replay-errors.feature:36 Replay a transaction installing a nonexistent package version dnf/transaction-sr/replay-errors.feature:63 Replaying an already installed package dnf/transaction-sr/replay-errors.feature:88 Replay a transaction upgrading a nonexistent package dnf/transaction-sr/replay-errors.feature:122 Replay a transaction upgrading to a nonexistent package version dnf/transaction-sr/replay-errors.feature:155 Replay a transaction upgrading from a not-installed package version dnf/transaction-sr/replay-errors.feature:193 Replay a transaction removing a nonexistent package dnf/transaction-sr/replay-errors.feature:220 Replay a transaction removing a package that is not installed dnf/transaction-sr/replay-errors.feature:247 Replay a transaction that pulls in an extra package dnf/transaction-sr/replay-errors.feature:281 Replay a transaction with a dependency conflict dnf/transaction-sr/replay-errors.feature:328 Replay a transaction with a broken dependency dnf/transaction-sr/replay-errors.feature:356 Replay a transaction installing a nonexistent group dnf/transaction-sr/replay-errors.feature:401 Replay a transaction removing a nonexistent group dnf/transaction-sr/replay-errors.feature:429 Replay a transaction upgrading a nonexistent group dnf/transaction-sr/replay-errors.feature:458 Replay a transaction upgrading an installed nonexistent group dnf/transaction-sr/replay-errors.feature:484 Replay a transaction installing a nonexistent environment dnf/transaction-sr/replay-errors.feature:527 Replay a transaction removing a nonexistent environment dnf/transaction-sr/replay-errors.feature:554 Replay a transaction upgrading a nonexistent environment dnf/transaction-sr/replay-errors.feature:582 Replay a transaction with multiple errors 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 19 failed, 0 skipped 38 steps passed, 19 failed, 78 skipped Took 0min 0.745s USING RUNNER: behave.runner:Runner Feature: Transaction replay invalid json tests # dnf/transaction-sr/replay-validation.feature:1 Feature: Transaction replay invalid json tests # dnf/transaction-sr/replay-validation.feature:1 Scenario: Replay a non-existant transaction dir # dnf/transaction-sr/replay-validation.feature:8 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 When I execute dnf with args "replay nonexistent" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xhpzlta9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xhpzlta9/var/cache/dnf replay nonexistent And stderr is # None """ cannot open file: (2) - No such file or directory [nonexistent/transaction.json] """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xhpzlta9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xhpzlta9/var/cache/dnf replay nonexistent  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a broken json # dnf/transaction-sr/replay-validation.feature:18 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "version": "1.0" "missing_comma": 1 } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_amz9k7lk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_amz9k7lk/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Error during transaction replay JSON parsing : object value separator ',' expected. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_amz9k7lk --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_amz9k7lk/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json missing version # dnf/transaction-sr/replay-validation.feature:36 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "rpms": [] } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o052pndi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o052pndi/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Missing key "version". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_o052pndi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_o052pndi/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json wrong version type # dnf/transaction-sr/replay-validation.feature:53 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "version": 1 } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_es845n98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_es845n98/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Unexpected version format: "1", supported version is "1.0". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_es845n98 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_es845n98/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json invalid major version characters # dnf/transaction-sr/replay-validation.feature:70 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "version": "a.1" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ejccrkht --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ejccrkht/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Incompatible major version: "a", supported major version is "1". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ejccrkht --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ejccrkht/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json invalid minor version characters # dnf/transaction-sr/replay-validation.feature:87 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "version": "1.a" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0slwq310 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0slwq310/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Invalid minor version: "a", number expected. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0slwq310 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0slwq310/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json incompatible major version # dnf/transaction-sr/replay-validation.feature:104 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "version": "5.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fwwwq62n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fwwwq62n/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Incompatible major version: "5", supported major version is "1". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fwwwq62n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fwwwq62n/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json wrong packages type # dnf/transaction-sr/replay-validation.feature:121 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "rpms": "hi", "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q_i5i9dm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q_i5i9dm/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Unexpected type of "rpms", array expected. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q_i5i9dm --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q_i5i9dm/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with missing action # dnf/transaction-sr/replay-validation.feature:139 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "rpms": [ { "nevra": "top-a-1:1.0-1.x86_64", "reason": "user", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hy7ljnkg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hy7ljnkg/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Missing object key "action" in an rpm. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hy7ljnkg --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hy7ljnkg/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with missing nevra # dnf/transaction-sr/replay-validation.feature:163 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "rpms": [ { "action": "Install", "reason": "user", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0x9ke1_p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0x9ke1_p/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Either "nevra" or "package_path" object key is required in an rpm. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0x9ke1_p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0x9ke1_p/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with missing reason # dnf/transaction-sr/replay-validation.feature:187 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "rpms": [ { "action": "Install", "nevra": "top-a-1:1.0-1.x86_64", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4m3ag0ag --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4m3ag0ag/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Missing object key "reason" in an rpm. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4m3ag0ag --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4m3ag0ag/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with invalid action # dnf/transaction-sr/replay-validation.feature:211 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "rpms": [ { "action": "Fixxit", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_avja2q_5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_avja2q_5/var/cache/dnf replay ./transaction And stderr is # None """ Invalid transaction item action: Fixxit """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_avja2q_5 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_avja2q_5/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json unparseable package nevra (the code cannot distinguish invalid nevra atm.) # dnf/transaction-sr/replay-validation.feature:235 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "rpms": [ { "action": "Install", "nevra": "wakaka", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6rj594kb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6rj594kb/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Cannot parse NEVRA for rpm "wakaka". """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6rj594kb --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6rj594kb/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with invalid reason # dnf/transaction-sr/replay-validation.feature:260 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "rpms": [ { "action": "Install", "nevra": "top-a-1:1.0-1.x86_64", "reason": "dumb", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mqmf8tv1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mqmf8tv1/var/cache/dnf replay ./transaction And stderr is # None """ Invalid transaction item reason: dumb """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_mqmf8tv1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_mqmf8tv1/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json wrong groups type # dnf/transaction-sr/replay-validation.feature:284 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "groups": "hi", "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rl2572i8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rl2572i8/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Unexpected type of "groups", array expected. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rl2572i8 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rl2572i8/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with missing group id # dnf/transaction-sr/replay-validation.feature:302 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "groups": [ { "action": "Invalid" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9jpe80t2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9jpe80t2/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Missing object key "id" in a group. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9jpe80t2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9jpe80t2/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with missing group action # dnf/transaction-sr/replay-validation.feature:324 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "groups": [ { "id": "dummy", "package_types": "mandatory", "packages": [] } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n6iom3bh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n6iom3bh/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Missing object key "action" in a group. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_n6iom3bh --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_n6iom3bh/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with invalid group action # dnf/transaction-sr/replay-validation.feature:348 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "groups": [ { "action": "Invalid", "id": "dummy", "package_types": "mandatory", "packages": [], "reason": "User" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wjco7tln --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wjco7tln/var/cache/dnf replay ./transaction And stderr is # None """ Invalid transaction item action: Invalid """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wjco7tln --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wjco7tln/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with invalid group package_types # dnf/transaction-sr/replay-validation.feature:373 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "groups": [ { "action": "Install", "id": "dummy", "package_types": "aaa, default", "reason": "User" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hn7d8tw7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hn7d8tw7/var/cache/dnf replay ./transaction And stderr is # None """ Invalid package type: aaa """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hn7d8tw7 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hn7d8tw7/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json wrong environments type # dnf/transaction-sr/replay-validation.feature:397 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "environments": "hi", "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8kdtctmr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8kdtctmr/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Unexpected type of "environments", array expected. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8kdtctmr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8kdtctmr/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with missing environment id # dnf/transaction-sr/replay-validation.feature:415 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "environments": [ { "action": "Invalid" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rww79ofi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rww79ofi/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Missing object key "id" in an environment. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rww79ofi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rww79ofi/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with missing environment action # dnf/transaction-sr/replay-validation.feature:437 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "environments": [ { "id": "dummy" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jggvuuxi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jggvuuxi/var/cache/dnf replay ./transaction And stderr is # None """ Failed to resolve the transaction: Cannot parse file: './transaction/transaction.json': Missing object key "action" in an environment. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jggvuuxi --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jggvuuxi/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a json with invalid environment action # dnf/transaction-sr/replay-validation.feature:459 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # common/file.py:36 """ { "environments": [ { "action": "Invalid", "id": "dummy", "package_types": "mandatory" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 1 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9rma6vio --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9rma6vio/var/cache/dnf replay ./transaction And stderr is # None """ Invalid transaction item action: Invalid """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9rma6vio --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9rma6vio/var/cache/dnf replay ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/transaction-sr/replay-validation.feature:8 Replay a non-existant transaction dir dnf/transaction-sr/replay-validation.feature:18 Replay a broken json dnf/transaction-sr/replay-validation.feature:36 Replay a json missing version dnf/transaction-sr/replay-validation.feature:53 Replay a json wrong version type dnf/transaction-sr/replay-validation.feature:70 Replay a json invalid major version characters dnf/transaction-sr/replay-validation.feature:87 Replay a json invalid minor version characters dnf/transaction-sr/replay-validation.feature:104 Replay a json incompatible major version dnf/transaction-sr/replay-validation.feature:121 Replay a json wrong packages type dnf/transaction-sr/replay-validation.feature:139 Replay a json with missing action dnf/transaction-sr/replay-validation.feature:163 Replay a json with missing nevra dnf/transaction-sr/replay-validation.feature:187 Replay a json with missing reason dnf/transaction-sr/replay-validation.feature:211 Replay a json with invalid action dnf/transaction-sr/replay-validation.feature:235 Replay a json unparseable package nevra (the code cannot distinguish invalid nevra atm.) dnf/transaction-sr/replay-validation.feature:260 Replay a json with invalid reason dnf/transaction-sr/replay-validation.feature:284 Replay a json wrong groups type dnf/transaction-sr/replay-validation.feature:302 Replay a json with missing group id dnf/transaction-sr/replay-validation.feature:324 Replay a json with missing group action dnf/transaction-sr/replay-validation.feature:348 Replay a json with invalid group action dnf/transaction-sr/replay-validation.feature:373 Replay a json with invalid group package_types dnf/transaction-sr/replay-validation.feature:397 Replay a json wrong environments type dnf/transaction-sr/replay-validation.feature:415 Replay a json with missing environment id dnf/transaction-sr/replay-validation.feature:437 Replay a json with missing environment action dnf/transaction-sr/replay-validation.feature:459 Replay a json with invalid environment action 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 23 failed, 0 skipped 91 steps passed, 23 failed, 23 skipped Took 0min 0.907s USING RUNNER: behave.runner:Runner Feature: Transaction replay tests # dnf/transaction-sr/replay.feature:1 Feature: Transaction replay tests # dnf/transaction-sr/replay.feature:1 Scenario: Replay an install transaction # dnf/transaction-sr/replay.feature:9 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b40bc8td --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b40bc8td/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "top-d-1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-dep | bottom-a1-0:2.0-1.noarch | | install | top-d-0:1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | bottom-a1-0:2.0-1.noarch | Dependency | transaction-sr | | Install | top-d-0:1.0-1.x86_64 | User | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | | top-d-1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_b40bc8td --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_b40bc8td/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay an install transaction from a non-existent repository # dnf/transaction-sr/replay.feature:51 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q10pafbq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q10pafbq/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a1-2.0-1.noarch", "reason": "User", "repo_id": "nonexistent" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | bottom-a1-2.0-1.noarch | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | bottom-a1-0:2.0-1.noarch | User | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | User | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q10pafbq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q10pafbq/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay an upgrade transaction # dnf/transaction-sr/replay.feature:84 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ea9wuhxf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ea9wuhxf/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-dep | bottom-a1-2.0-1.noarch | | upgrade | top-a-1:2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | bottom-a1-0:2.0-1.noarch | Dependency | transaction-sr | | Upgrade | top-a-1:2.0-1.x86_64 | User | transaction-sr | | Replaced | top-a-1:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:2.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ea9wuhxf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ea9wuhxf/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a reinstall transaction # dnf/transaction-sr/replay.feature:132 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q651ko1s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q651ko1s/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Reinstall", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | reinstall | top-a-1:1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reinstall | top-a-1:1.0-1.x86_64 | User | transaction-sr | | Replaced | top-a-1:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_q651ko1s --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_q651ko1s/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a downgrade transaction # dnf/transaction-sr/replay.feature:172 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wwd1b8f1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wwd1b8f1/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "upgrade top-a" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Downgrade", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | downgrade | top-a-1:1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Downgrade | top-a-1:1.0-1.x86_64 | User | transaction-sr | | Replaced | top-a-1:2.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wwd1b8f1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wwd1b8f1/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a remove transaction # dnf/transaction-sr/replay.feature:213 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5gxx2jwj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5gxx2jwj/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Remove", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | top-a-1:1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | top-a-1:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5gxx2jwj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5gxx2jwj/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a reason change transaction # dnf/transaction-sr/replay.feature:244 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jlzkuw86 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jlzkuw86/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Reason Change", "nevra": "top-a-1:1.0-1.x86_64", "reason": "Dependency", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | changing-reason | top-a-1:1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Reason Change | top-a-1:1.0-1.x86_64 | Dependency | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jlzkuw86 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jlzkuw86/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a reason change transaction on a not-installed package # dnf/transaction-sr/replay.feature:276 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hkzhp4ce --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hkzhp4ce/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Reason Change", "nevra": "top-b-1.0-1.x86_64", "reason": "Dependency", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Argument 'top-b-1.0-1.x86_64' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hkzhp4ce --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hkzhp4ce/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a reason change transaction on a package being installed # dnf/transaction-sr/replay.feature:301 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0q07qb3p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0q07qb3p/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Reason Change", "nevra": "top-b-1.0-1.x86_64", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "top-b-1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 1 # None And stderr is # None """ Failed to resolve the transaction: Argument 'top-b-1.0-1.x86_64' matches only excluded packages. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0q07qb3p --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0q07qb3p/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a reason change transaction on a package being removed # dnf/transaction-sr/replay.feature:332 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4q5i8zfu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4q5i8zfu/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Reason Change", "nevra": "top-a-1:1.0-1.x86_64", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Remove", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | top-a-1:1.0-1.x86_64 | User | @System | | Reason Change | top-a-1:1.0-1.x86_64 | Dependency | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4q5i8zfu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4q5i8zfu/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay installing a group # dnf/transaction-sr/replay.feature:367 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bau0y3wz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bau0y3wz/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Install", "id": "test-group", "package_types": "conditional, default, mandatory", "reason": "User", } ], "rpms": [ { "action": "Install", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "top-b-1.0-1.x86_64", "reason": "Group", "repo_id": "transaction-sr" }, { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | top-a-1:2.0-1.x86_64 | | install-group | top-b-1.0-1.x86_64 | | install-dep | bottom-a1-2.0-1.noarch | | group-install | Test Group | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | bottom-a1-0:2.0-1.noarch | Dependency | transaction-sr | | Install | top-b-0:1.0-1.x86_64 | Group | transaction-sr | | Upgrade | top-a-1:2.0-1.x86_64 | User | transaction-sr | | Replaced | top-a-1:1.0-1.x86_64 | User | @System | | Install | test-group | User | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:2.0-1.x86_64 | User | | top-b-1.0-1.x86_64 | Group | And group state is # None | id | package_types | packages | userinstalled | | test-group | conditional, default, mandatory | top-b | True | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bau0y3wz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bau0y3wz/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay installing a group without the `default` package type # dnf/transaction-sr/replay.feature:437 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a5vbjwq2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a5vbjwq2/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Install", "id": "test-group", "package_types": "conditional, mandatory", "reason": "User", } ], "rpms": [ { "action": "Install", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | top-a-1:2.0-1.x86_64 | | install-dep | bottom-a1-2.0-1.noarch | | group-install | Test Group | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | bottom-a1-0:2.0-1.noarch | Dependency | transaction-sr | | Upgrade | top-a-1:2.0-1.x86_64 | User | transaction-sr | | Replaced | top-a-1:1.0-1.x86_64 | User | @System | | Install | test-group | User | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:2.0-1.x86_64 | User | And group state is # None | id | package_types | packages | userinstalled | | test-group | conditional, mandatory | | True | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_a5vbjwq2 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_a5vbjwq2/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay removing a group # dnf/transaction-sr/replay.feature:498 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_6u5ycy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_6u5ycy/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-group" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Remove", "id": "test-group", "package_types": "conditional, default, mandatory", "reason": "User", } ], "rpms": [ { "action": "Remove", "nevra": "top-b-1.0-1.x86_64", "reason": "Clean", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove-unused | top-b-1.0-1.x86_64 | | group-remove | Test Group | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | top-b-0:1.0-1.x86_64 | Clean | @System | | Remove | test-group | User | @System | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:2.0-1.x86_64 | User | And group state is # None | id | package_types | packages | userinstalled | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_5_6u5ycy --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_5_6u5ycy/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay upgrading a group # dnf/transaction-sr/replay.feature:544 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k83am1c9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k83am1c9/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-group" # None And I successfully execute dnf with args "install top-a-1.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Upgrade", "id": "test-group", "package_types": "conditional, default, mandatory", "reason": "User", } ], "rpms": [ { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | top-a-1:2.0-1.x86_64 | | group-upgrade | Test Group | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | top-a-1:2.0-1.x86_64 | User | transaction-sr | | Replaced | top-a-1:1.0-1.x86_64 | User | @System | | Upgrade | test-group | User | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:2.0-1.x86_64 | User | | top-b-1.0-1.x86_64 | Group | And group state is # None | id | package_types | packages | userinstalled | | test-group | conditional, default, mandatory | top-b | True | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k83am1c9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k83am1c9/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay installing an environment # dnf/transaction-sr/replay.feature:600 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bydov39e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bydov39e/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "environments": [ { "action": "Install", "id": "test-env", "package_types": "conditional, default, mandatory" } ], "groups": [ { "action": "Install", "id": "test-env-group", "package_types": "conditional, default, mandatory", "reason": "Dependency", } ], "rpms": [ { "action": "Install", "nevra": "top-c-2.0-1.x86_64", "reason": "Group", "repo_id": "transaction-sr" }, { "action": "Upgrade", "nevra": "mid-a2-2.0-1.x86_64", "reason": "Weak Dependency", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "mid-a2-1.0-1.x86_64", "reason": "Weak Dependency", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | mid-a2-2.0-1.x86_64 | | install-group | top-c-2.0-1.x86_64 | | env-install | Test Environment | | group-install | Test Env Group | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | top-c-0:2.0-1.x86_64 | Group | transaction-sr | | Upgrade | mid-a2-0:2.0-1.x86_64 | Weak Dependency | transaction-sr | | Replaced | mid-a2-0:1.0-1.x86_64 | Weak Dependency | @System | | Install | test-env-group | Dependency | transaction-sr | | Install | test-env | User | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-2.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | | top-c-2.0-1.x86_64 | Group | And environment state is # None | id | groups | | test-env | test-env-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bydov39e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bydov39e/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay removing an environment group # dnf/transaction-sr/replay.feature:670 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9qteqx5o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9qteqx5o/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-env" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "environments": [ { "action": "Remove", "id": "test-env", "package_types": "conditional, default, mandatory" } ], "groups": [ { "action": "Remove", "id": "test-env-group", "package_types": "conditional, default, mandatory", "reason": "Dependency", } ], "rpms": [ { "action": "Remove", "nevra": "bottom-a3-1.0-1.x86_64", "reason": "Clean", "repo_id": "@System" }, { "action": "Remove", "nevra": "mid-a2-2.0-1.x86_64", "reason": "Clean", "repo_id": "@System" }, { "action": "Remove", "nevra": "top-c-2.0-1.x86_64", "reason": "Group", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | top-c-2.0-1.x86_64 | | remove-unused | bottom-a3-1.0-1.x86_64 | | remove-unused | mid-a2-2.0-1.x86_64 | | group-remove | Test Env Group | | env-remove | Test Environment | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | bottom-a3-0:1.0-1.x86_64 | Clean | @System | | Remove | mid-a2-0:2.0-1.x86_64 | Clean | @System | | Remove | top-c-0:2.0-1.x86_64 | Group | @System | | Remove | test-env-group | Dependency | @System | | Remove | test-env | User | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | top-a-1:1.0-1.x86_64 | User | And environment state is # None | id | groups | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9qteqx5o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9qteqx5o/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay upgrading an environment group # dnf/transaction-sr/replay.feature:738 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kw9rqzui --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kw9rqzui/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-env" # None And I successfully execute dnf with args "install top-c-1.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "environments": [ { "action": "Upgrade", "id": "test-env", "package_types": "conditional, default, mandatory" } ], "groups": [ { "action": "Upgrade", "id": "test-env-group", "package_types": "conditional, default, mandatory", "reason": "Dependency", } ], "rpms": [ { "action": "Upgrade", "nevra": "mid-a2-2.0-1.x86_64", "reason": "Weak Dependency", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "mid-a2-1.0-1.x86_64", "reason": "Weak Dependency", "repo_id": "@System" }, { "action": "Upgrade", "nevra": "top-c-2.0-1.x86_64", "reason": "Group", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-c-1.0-1.x86_64", "reason": "Group", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | top-c-2.0-1.x86_64 | | upgrade | mid-a2-2.0-1.x86_64 | | group-upgrade | Test Env Group | | env-upgrade | Test Environment | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | mid-a2-0:2.0-1.x86_64 | Weak Dependency | transaction-sr | | Upgrade | top-c-0:2.0-1.x86_64 | Group | transaction-sr | | Replaced | mid-a2-0:1.0-1.x86_64 | Weak Dependency | @System | | Replaced | top-c-0:1.0-1.x86_64 | Group | @System | | Upgrade | test-env-group | Dependency | transaction-sr | | Upgrade | test-env | User | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-2.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | | top-c-2.0-1.x86_64 | Group | And environment state is # None | id | groups | | test-env | test-env-group | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_kw9rqzui --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_kw9rqzui/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction installing multiple installonly packages # dnf/transaction-sr/replay.feature:817 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rphgac4a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rphgac4a/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "installonly-1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "installonly-2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonly-0:1.0-1.x86_64 | | install | installonly-0:2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | installonly-0:1.0-1.x86_64 | User | transaction-sr | | Install | installonly-0:2.0-1.x86_64 | User | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | installonly-1.0-1.x86_64 | User | | installonly-2.0-1.x86_64 | User | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rphgac4a --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rphgac4a/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction removing multiple installonly packages # dnf/transaction-sr/replay.feature:859 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l50dqsry --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l50dqsry/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install installonly-1.0 installonly-2.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Remove", "nevra": "installonly-2.0-1.x86_64", "reason": "User", "repo_id": "@System" }, { "action": "Remove", "nevra": "installonly-1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | remove | installonly-1.0-1.x86_64 | | remove | installonly-2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Remove | installonly-0:2.0-1.x86_64 | User | @System | | Remove | installonly-0:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_l50dqsry --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_l50dqsry/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction installing and removing an installonly package # dnf/transaction-sr/replay.feature:900 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i5fkqnc1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i5fkqnc1/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install installonly-1.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "installonly-2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Remove", "nevra": "installonly-1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | installonly-2.0-1.x86_64 | | remove | installonly-1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | installonly-0:2.0-1.x86_64 | User | transaction-sr | | Remove | installonly-0:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | installonly-2.0-1.x86_64 | User | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i5fkqnc1 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i5fkqnc1/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction obsoleting a package # dnf/transaction-sr/replay.feature:942 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qyf1n1sl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qyf1n1sl/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install obsoleted-a-1.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "obsoleting-x-2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "obsoleted-a-1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | obsoleting-x-2.0-1.x86_64 | | obsoleted | obsoleted-a-1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | obsoleting-x-0:2.0-1.x86_64 | User | transaction-sr | | Replaced | obsoleted-a-0:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | obsoleting-x-2.0-1.x86_64 | User | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qyf1n1sl --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qyf1n1sl/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction obsoleting multiple packages # dnf/transaction-sr/replay.feature:984 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9k47xgog --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9k47xgog/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install obsoleted-a-1.0 obsoleted-b-1.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "obsoleting-x-2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "obsoleted-a-1.0-1.x86_64", "reason": "User", "repo_id": "@System" }, { "action": "Replaced", "nevra": "obsoleted-b-1.0-1.x86_64", "reason": "User", "repo_id": "@System" }, { "action": "Install", "nevra": "obsoleting-y-2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | obsoleting-x-2.0-1.x86_64 | | install | obsoleting-y-2.0-1.x86_64 | | obsoleted | obsoleted-a-1.0-1.x86_64 | | obsoleted | obsoleted-b-1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | obsoleting-x-0:2.0-1.x86_64 | User | transaction-sr | | Install | obsoleting-y-0:2.0-1.x86_64 | User | transaction-sr | | Replaced | obsoleted-a-0:1.0-1.x86_64 | User | @System | | Replaced | obsoleted-b-0:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | obsoleting-x-2.0-1.x86_64 | User | | obsoleting-y-2.0-1.x86_64 | User | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_9k47xgog --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_9k47xgog/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay an upgrade transaction where a package that is being upgraded has a different reason # dnf/transaction-sr/replay.feature:1043 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fypbbiz9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fypbbiz9/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install bottom-a1-1.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Upgrade", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "bottom-a1-1.0-1.noarch", "reason": "Dependency", "repo_id": "@System" }, { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | upgrade | bottom-a1-2.0-1.noarch | | upgrade | top-a-1:2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | bottom-a1-0:2.0-1.noarch | User | transaction-sr | | Upgrade | top-a-1:2.0-1.x86_64 | User | transaction-sr | | Replaced | bottom-a1-0:1.0-1.noarch | User | @System | | Replaced | top-a-1:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | User | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:2.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_fypbbiz9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_fypbbiz9/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a transaction with an arch change # dnf/transaction-sr/replay.feature:1099 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4r7cl9qp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4r7cl9qp/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install archchange-1.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Upgrade", "nevra": "archchange-2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "archchange-1.0-1.noarch", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And DNF Transaction is following # None | Action | Package | | upgrade | archchange-2.0-1.x86_64 | And RPMDB Transaction is following # None | Action | Package | | remove | archchange-1.0-1.noarch | | install | archchange-2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | archchange-0:2.0-1.x86_64 | User | transaction-sr | | Replaced | archchange-0:1.0-1.noarch | User | @System | And package reasons are # None | Package | Reason | | archchange-2.0-1.x86_64 | User | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4r7cl9qp --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4r7cl9qp/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Replay a transaction with multiple actions per NEVRA # dnf/transaction-sr/replay.feature:1147 Scenario: ignore-installed: Replay an upgrade transaction where a package that is being installed is already on the system in a lower version # dnf/transaction-sr/replay.feature:1191 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xps0cots --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xps0cots/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install bottom-a1-1.0" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction --ignore-installed" # None Then the exit code is 0 # None And stderr contains lines # None """ Cannot perform Install action because 'bottom-a1-2.0-1.noarch' is installed in a different version: 'bottom-a1-0:1.0-1.noarch'. """ And Transaction is following # None | Action | Package | | upgrade | bottom-a1-0:2.0-1.noarch | | upgrade | top-a-1:2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Upgrade | bottom-a1-0:2.0-1.noarch | User | transaction-sr | | Upgrade | top-a-1:2.0-1.x86_64 | User | transaction-sr | | Replaced | bottom-a1-0:1.0-1.noarch | User | @System | | Replaced | top-a-1:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | User | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:2.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_xps0cots --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_xps0cots/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: ignore-installed: Replaying an already installed transaction results in noop # dnf/transaction-sr/replay.feature:1245 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wpq991xo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wpq991xo/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a2-1.0-1.x86_64", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "bottom-a3-1.0-1.x86_64", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "mid-a1-1.0-1.x86_64", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "mid-a2-1.0-1.x86_64", "reason": "Weak Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction --ignore-installed --setopt=skip_unavailable=0" # None Then the exit code is 0 # None And stderr is # None """ Package "bottom-a2-0:1.0-1.x86_64" is already installed. Package "bottom-a3-0:1.0-1.x86_64" is already installed. Package "mid-a1-0:1.0-1.x86_64" is already installed. Package "mid-a2-0:1.0-1.x86_64" is already installed. Package "top-a-1:1.0-1.x86_64" is already installed. """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_wpq991xo --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_wpq991xo/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: ignore-installed: Replay an upgrade transaction where a package that is being upgraded is not installed on the system # dnf/transaction-sr/replay.feature:1298 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk_hty9w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk_hty9w/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Upgrade", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "bottom-a1-0:1.0-1.noarch", "reason": "Dependency", "repo_id": "@System" }, { "action": "Upgrade", "nevra": "top-a-1:2.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "top-a-1:1.0-1.x86_64", "reason": "User", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction --ignore-installed" # None Then the exit code is 0 # None And stderr contains lines # None """ Cannot perform Remove action for Package 'bottom-a1-0:1.0-1.noarch' because it is not installed. """ And Transaction is following # None | Action | Package | | install-dep | bottom-a1-2.0-1.noarch | | upgrade | top-a-1:2.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | bottom-a1-0:2.0-1.noarch | Dependency | transaction-sr | | Upgrade | top-a-1:2.0-1.x86_64 | User | transaction-sr | | Replaced | top-a-1:1.0-1.x86_64 | User | @System | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:2.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_qk_hty9w --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_qk_hty9w/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: ignore-installed: Replay a remove transaction where a package that is being removed is not installed on the system # dnf/transaction-sr/replay.feature:1356 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z65oqxib --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z65oqxib/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Remove", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction --ignore-installed --skip-unavailable" # None Then the exit code is 0 # None And stderr is # None """ Cannot perform Remove action for Package 'bottom-a1-2.0-1.noarch' because it is not installed. """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_z65oqxib --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_z65oqxib/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: skip-unavailable: Replay a transaction installing a nonexistent package # dnf/transaction-sr/replay.feature:1381 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k21lv5ys --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k21lv5ys/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "does-not-exist-1.0-1.noarch", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction --skip-unavailable" # None Then the exit code is 0 # None And stderr contains lines # None """ Cannot perform Install action, no match for: does-not-exist-1.0-1.noarch. """ And Transaction is following # None | Action | Package | | install-dep | bottom-a1-2.0-1.noarch | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | bottom-a1-0:2.0-1.noarch | Dependency | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_k21lv5ys --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_k21lv5ys/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: skip-unavailable: Replay a transaction reinstalling a non-available package # dnf/transaction-sr/replay.feature:1424 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jb24x68o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jb24x68o/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install bottom-a1-2.0" # None And I drop repository "transaction-sr" # None And I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Reinstall", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Replaced", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "@System" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction --skip-unavailable" # None Then the exit code is 0 # None And stderr is # None """ Packages for argument 'bottom-a1-2.0-1.noarch' installed, but not available. """ And Transaction is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jb24x68o --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jb24x68o/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: skip-broken: Replay a transaction with a broken dependency # dnf/transaction-sr/replay.feature:1457 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_shqwbahj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_shqwbahj/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "rpms": [ { "action": "Install", "nevra": "bottom-a1-2.0-1.noarch", "reason": "Dependency", "repo_id": "transaction-sr" }, { "action": "Install", "nevra": "broken-dep-1.0-1.x86_64", "reason": "User", "repo_id": "transaction-sr" } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction --skip-broken" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-dep | bottom-a1-2.0-1.noarch | | broken | broken-dep-0:1.0-1.x86_64 | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | bottom-a1-0:2.0-1.noarch | Dependency | transaction-sr | And package reasons are # None | Package | Reason | | bottom-a1-2.0-1.noarch | Dependency | | bottom-a2-1.0-1.x86_64 | Dependency | | bottom-a3-1.0-1.x86_64 | Dependency | | mid-a1-1.0-1.x86_64 | Dependency | | mid-a2-1.0-1.x86_64 | Weak Dependency | | top-a-1:1.0-1.x86_64 | User | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_shqwbahj --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_shqwbahj/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Replay installing a package with reason group while the group is not installed # dnf/transaction-sr/replay.feature:1500 Scenario: Replay installing a group without package_types specified sets no package types # dnf/transaction-sr/replay.feature:1524 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jxu_4fta --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jxu_4fta/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Install", "id": "test-group", "reason": "User", } ], "version": "1.0" } """ When I execute dnf with args "replay ./transaction" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | group-install | Test Group | And dnf5 transaction items for transaction "last" are # None | action | package | reason | repository | | Install | test-group | User | transaction-sr | And group state is # None | id | package_types | packages | userinstalled | | test-group | | top-a | True | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_jxu_4fta --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_jxu_4fta/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay installing a group with package_types which are then used for upgrade # dnf/transaction-sr/replay.feature:1551 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uiuuyukq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uiuuyukq/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ { "groups": [ { "action": "Install", "id": "test-group", "package_types": "mandatory", "reason": "User", } ], "version": "1.0" } """ And I successfully execute dnf with args "replay ./transaction" # None And I drop repository "transaction-sr" # None And I use repository "transaction-sr-upgrade" # None When I execute dnf with args "group upgrade test-group" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install-group | bottom-e-1.0-1.x86_64 | | group-upgrade | Test Group | And group state is # None | id | package_types | packages | userinstalled | | test-group | mandatory | bottom-e, top-a | True | ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_uiuuyukq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_uiuuyukq/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/transaction-sr/replay.feature:9 Replay an install transaction dnf/transaction-sr/replay.feature:51 Replay an install transaction from a non-existent repository dnf/transaction-sr/replay.feature:84 Replay an upgrade transaction dnf/transaction-sr/replay.feature:132 Replay a reinstall transaction dnf/transaction-sr/replay.feature:172 Replay a downgrade transaction dnf/transaction-sr/replay.feature:213 Replay a remove transaction dnf/transaction-sr/replay.feature:244 Replay a reason change transaction dnf/transaction-sr/replay.feature:276 Replay a reason change transaction on a not-installed package dnf/transaction-sr/replay.feature:301 Replay a reason change transaction on a package being installed dnf/transaction-sr/replay.feature:332 Replay a reason change transaction on a package being removed dnf/transaction-sr/replay.feature:367 Replay installing a group dnf/transaction-sr/replay.feature:437 Replay installing a group without the `default` package type dnf/transaction-sr/replay.feature:498 Replay removing a group dnf/transaction-sr/replay.feature:544 Replay upgrading a group dnf/transaction-sr/replay.feature:600 Replay installing an environment dnf/transaction-sr/replay.feature:670 Replay removing an environment group dnf/transaction-sr/replay.feature:738 Replay upgrading an environment group dnf/transaction-sr/replay.feature:817 Replay a transaction installing multiple installonly packages dnf/transaction-sr/replay.feature:859 Replay a transaction removing multiple installonly packages dnf/transaction-sr/replay.feature:900 Replay a transaction installing and removing an installonly package dnf/transaction-sr/replay.feature:942 Replay a transaction obsoleting a package dnf/transaction-sr/replay.feature:984 Replay a transaction obsoleting multiple packages dnf/transaction-sr/replay.feature:1043 Replay an upgrade transaction where a package that is being upgraded has a different reason dnf/transaction-sr/replay.feature:1099 Replay a transaction with an arch change dnf/transaction-sr/replay.feature:1191 ignore-installed: Replay an upgrade transaction where a package that is being installed is already on the system in a lower version dnf/transaction-sr/replay.feature:1245 ignore-installed: Replaying an already installed transaction results in noop dnf/transaction-sr/replay.feature:1298 ignore-installed: Replay an upgrade transaction where a package that is being upgraded is not installed on the system dnf/transaction-sr/replay.feature:1356 ignore-installed: Replay a remove transaction where a package that is being removed is not installed on the system dnf/transaction-sr/replay.feature:1381 skip-unavailable: Replay a transaction installing a nonexistent package dnf/transaction-sr/replay.feature:1424 skip-unavailable: Replay a transaction reinstalling a non-available package dnf/transaction-sr/replay.feature:1457 skip-broken: Replay a transaction with a broken dependency dnf/transaction-sr/replay.feature:1524 Replay installing a group without package_types specified sets no package types dnf/transaction-sr/replay.feature:1551 Replay installing a group with package_types which are then used for upgrade 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 33 failed, 2 skipped 66 steps passed, 33 failed, 234 skipped Took 0min 1.252s USING RUNNER: behave.runner:Runner Feature: Transaction --store tests # dnf/transaction-sr/store-option.feature:1 Feature: Transaction --store tests # dnf/transaction-sr/store-option.feature:1 Scenario: Store an install transaction # dnf/transaction-sr/store-option.feature:8 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 When I execute dnf with args "install top-a-1.0 --store ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_za0sna8n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_za0sna8n/var/cache/dnf install top-a-1.0 --store ./transaction And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-a-1:1.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/top-a-1.0-1.x86_64.rpm" }, { "nevra":"mid-a1-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/mid-a1-1.0-1.x86_64.rpm" }, { "nevra":"bottom-a2-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/bottom-a2-1.0-1.x86_64.rpm" }, { "nevra":"mid-a2-1.0-1.x86_64", "action":"Install", "reason":"Weak Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/mid-a2-1.0-1.x86_64.rpm" }, { "nevra":"bottom-a3-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/bottom-a3-1.0-1.x86_64.rpm" } ], "version":"1.0" } """ When I execute "ls {context.dnf.tempdir}/transaction/" # None Then stdout is # None """ packages transaction.json """ When I execute "ls {context.dnf.tempdir}/transaction/packages" # None Then stdout is # None """ bottom-a2-1.0-1.x86_64.rpm bottom-a3-1.0-1.x86_64.rpm mid-a1-1.0-1.x86_64.rpm mid-a2-1.0-1.x86_64.rpm top-a-1.0-1.x86_64.rpm """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_za0sna8n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_za0sna8n/var/cache/dnf install top-a-1.0 --store ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a remove transaction # dnf/transaction-sr/store-option.feature:71 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2j8v8wg3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2j8v8wg3/var/cache/dnf install top-a-1.0 When I execute dnf with args "remove top-a --store ./transaction" # None Then the exit code is 0 # None And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"bottom-a2-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"bottom-a3-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"mid-a1-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"mid-a2-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"top-a-1:1.0-1.x86_64", "action":"Remove", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ When I execute "ls {context.dnf.tempdir}/transaction/" # None Then stdout is # None """ transaction.json """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_2j8v8wg3 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_2j8v8wg3/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a group install transaction # dnf/transaction-sr/store-option.feature:120 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 When I execute dnf with args "install @test-group --store ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zug6_0fz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zug6_0fz/var/cache/dnf install @test-group --store ./transaction And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-b-1.0-1.x86_64", "action":"Install", "reason":"Group", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/top-b-1.0-1.x86_64.rpm" }, { "nevra":"top-a-1:2.0-1.x86_64", "action":"Install", "reason":"Group", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/top-a-2.0-1.x86_64.rpm" }, { "nevra":"mid-a1-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/mid-a1-1.0-1.x86_64.rpm" }, { "nevra":"bottom-a1-2.0-1.noarch", "action":"Install", "reason":"Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/bottom-a1-2.0-1.noarch.rpm" }, { "nevra":"bottom-a2-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/bottom-a2-1.0-1.x86_64.rpm" }, { "nevra":"mid-a2-2.0-1.x86_64", "action":"Install", "reason":"Weak Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/mid-a2-2.0-1.x86_64.rpm" }, { "nevra":"bottom-a3-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"@stored_transaction(transaction-sr)", "package_path":".\/packages\/bottom-a3-1.0-1.x86_64.rpm" } ], "groups":[ { "id":"test-group", "action":"Install", "reason":"User", "group_path":".\/comps\/groups\/test-group.xml", "repo_id":"@stored_transaction(transaction-sr)", "package_types":"mandatory, default, conditional" } ], "version":"1.0" } """ When I execute "ls {context.dnf.tempdir}/transaction/" # None Then stdout is # None """ comps packages transaction.json """ When I execute "ls {context.dnf.tempdir}/transaction/packages" # None Then stdout is # None """ bottom-a1-2.0-1.noarch.rpm bottom-a2-1.0-1.x86_64.rpm bottom-a3-1.0-1.x86_64.rpm mid-a1-1.0-1.x86_64.rpm mid-a2-2.0-1.x86_64.rpm top-a-2.0-1.x86_64.rpm top-b-1.0-1.x86_64.rpm """ When I execute "ls {context.dnf.tempdir}/transaction/comps/groups" # None Then stdout is # None """ test-group.xml """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_zug6_0fz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_zug6_0fz/var/cache/dnf install @test-group --store ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a group remove transaction # dnf/transaction-sr/store-option.feature:215 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I execute dnf with args "install @test-group" # dnf/steps/cmd.py:110 When I execute dnf with args "remove @test-group --store ./transaction" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ekf6cq4n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ekf6cq4n/var/cache/dnf remove @test-group --store ./transaction And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"bottom-a1-2.0-1.noarch", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"bottom-a2-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"bottom-a3-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"mid-a1-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"mid-a2-2.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"top-a-1:2.0-1.x86_64", "action":"Remove", "reason":"Group", "repo_id":"@System" }, { "nevra":"top-b-1.0-1.x86_64", "action":"Remove", "reason":"Group", "repo_id":"@System" } ], "groups":[ { "id":"test-group", "action":"Remove", "reason":"User", "group_path":".\/comps\/groups\/test-group.xml", "repo_id":"@System", "package_types":"" } ], "version":"1.0" } """ When I execute "ls {context.dnf.tempdir}/transaction/" # None Then stdout is # None """ comps transaction.json """ When I execute "ls {context.dnf.tempdir}/transaction/comps/groups" # None Then stdout is # None """ test-group.xml """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_ekf6cq4n --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_ekf6cq4n/var/cache/dnf remove @test-group --store ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: stored packages are not removed by following transaction even with keepcache=false # dnf/transaction-sr/store-option.feature:293 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 When I execute dnf with args "install top-a-1.0 --store ./transaction" # dnf/steps/cmd.py:110 Then file "/{context.dnf.tempdir}/transaction/packages/top-a-1.0-1.x86_64.rpm" exists # common/file.py:84 ASSERT FAILED: File path /tmp/dnf_ci_tempdir_3gvwio__/transaction/packages/top-a-1.0-1.x86_64.rpm doesn't match any file. When I execute dnf with args "install top-a-1.0 --setopt=keepcache=false" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | top-a-1:1.0-1.x86_64 | And file "/{context.dnf.tempdir}/transaction/packages/top-a-1.0-1.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_70um114b --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_70um114b/var/cache/dnf install top-a-1.0 --store ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: stored packages with keepcache=false are not removed by following transaction even with keepcache=false # dnf/transaction-sr/store-option.feature:305 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 When I execute dnf with args "install top-a-1.0 --store ./transaction --setopt=keepcache=false" # dnf/steps/cmd.py:110 Then file "/{context.dnf.tempdir}/transaction/packages/top-a-1.0-1.x86_64.rpm" exists # common/file.py:84 ASSERT FAILED: File path /tmp/dnf_ci_tempdir_et1hgutg/transaction/packages/top-a-1.0-1.x86_64.rpm doesn't match any file. When I execute dnf with args "install top-a-1.0 --setopt=keepcache=false" # None Then the exit code is 0 # None And Transaction contains # None | Action | Package | | install | top-a-1:1.0-1.x86_64 | And file "/{context.dnf.tempdir}/transaction/packages/top-a-1.0-1.x86_64.rpm" exists # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_bi2rh7ih --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_bi2rh7ih/var/cache/dnf install top-a-1.0 --store ./transaction --setopt=keepcache=false  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: storing transaction uses already cached packages # dnf/transaction-sr/store-option.feature:316 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 Given I use repository "transaction-sr" as http # dnf/steps/repo.py:294 And I execute dnf with args "install top-a-1.0 --downloadonly" # dnf/steps/cmd.py:110 And I start capturing outbound HTTP requests # dnf/steps/server.py:40 When I execute dnf with args "install top-a-1.0 --store ./transaction" # dnf/steps/cmd.py:110 Then file "/{context.dnf.tempdir}/transaction/packages/top-a-1.0-1.x86_64.rpm" exists # common/file.py:84 ASSERT FAILED: File path /tmp/dnf_ci_tempdir_7j53b45c/transaction/packages/top-a-1.0-1.x86_64.rpm doesn't match any file. And HTTP log is empty # None ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1bizdxpv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1bizdxpv/var/cache/dnf install top-a-1.0 --store ./transaction  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/transaction-sr/store-option.feature:8 Store an install transaction dnf/transaction-sr/store-option.feature:71 Store a remove transaction dnf/transaction-sr/store-option.feature:120 Store a group install transaction dnf/transaction-sr/store-option.feature:215 Store a group remove transaction dnf/transaction-sr/store-option.feature:293 stored packages are not removed by following transaction even with keepcache=false dnf/transaction-sr/store-option.feature:305 stored packages with keepcache=false are not removed by following transaction even with keepcache=false dnf/transaction-sr/store-option.feature:316 storing transaction uses already cached packages 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 7 failed, 0 skipped 24 steps passed, 7 failed, 31 skipped Took 0min 0.605s /usr/lib64/python3.15/multiprocessing/resource_tracker.py:475: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown: {'/mp-qwx7nfzn', '/mp-qi243iia', '/mp-snhwm7fj', '/mp-0fze7pl3', '/mp-lhdkr66x', '/mp-bmw34x3l'} warnings.warn( USING RUNNER: behave.runner:Runner Feature: Store and replay transaction tests # dnf/transaction-sr/store-replay.feature:1 Scenario: Replay a stored install transaction with relative path # dnf/transaction-sr/store-replay.feature:4 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 When I execute dnf with args "install top-a-1.0 --store ./install_trans" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6232live --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6232live/var/cache/dnf install top-a-1.0 --store ./install_trans And DNF Transaction is following # None | Action | Package | | install | top-a-1:1.0-1.x86_64 | | install-dep | bottom-a2-0:1.0-1.x86_64 | | install-dep | bottom-a3-0:1.0-1.x86_64 | | install-dep | mid-a1-0:1.0-1.x86_64 | | install-weak | mid-a2-0:1.0-1.x86_64 | And RPMDB Transaction is empty # None When I execute dnf with args "replay ./install_trans" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | top-a-1:1.0-1.x86_64 | | install-dep | bottom-a2-0:1.0-1.x86_64 | | install-dep | bottom-a3-0:1.0-1.x86_64 | | install-dep | mid-a1-0:1.0-1.x86_64 | | install-weak | mid-a2-0:1.0-1.x86_64 | When I execute dnf with args "rq --installed --qf '%{{full_nevra}} %{{reason}} %{{from_repo}}\n'" # None Then stdout is # None """ bottom-a2-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) bottom-a3-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) mid-a1-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) mid-a2-0:1.0-1.x86_64 Weak Dependency @stored_transaction(transaction-sr) top-a-1:1.0-1.x86_64 User @stored_transaction(transaction-sr) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_6232live --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_6232live/var/cache/dnf install top-a-1.0 --store ./install_trans  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a stored install transaction with absolute path # dnf/transaction-sr/store-replay.feature:37 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 When I execute dnf with args "install top-a-1.0 --store {context.dnf.tempdir}/install_trans" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s7ia7jwf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s7ia7jwf/var/cache/dnf install top-a-1.0 --store /tmp/dnf_ci_tempdir_r3lq3qld/install_trans And DNF Transaction is following # None | Action | Package | | install | top-a-1:1.0-1.x86_64 | | install-dep | bottom-a2-0:1.0-1.x86_64 | | install-dep | bottom-a3-0:1.0-1.x86_64 | | install-dep | mid-a1-0:1.0-1.x86_64 | | install-weak | mid-a2-0:1.0-1.x86_64 | And RPMDB Transaction is empty # None When I execute dnf with args "replay {context.dnf.tempdir}/install_trans" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | top-a-1:1.0-1.x86_64 | | install-dep | bottom-a2-0:1.0-1.x86_64 | | install-dep | bottom-a3-0:1.0-1.x86_64 | | install-dep | mid-a1-0:1.0-1.x86_64 | | install-weak | mid-a2-0:1.0-1.x86_64 | When I execute dnf with args "rq --installed --qf '%{{full_nevra}} %{{reason}} %{{from_repo}}\n'" # None Then stdout is # None """ bottom-a2-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) bottom-a3-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) mid-a1-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) mid-a2-0:1.0-1.x86_64 Weak Dependency @stored_transaction(transaction-sr) top-a-1:1.0-1.x86_64 User @stored_transaction(transaction-sr) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_s7ia7jwf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_s7ia7jwf/var/cache/dnf install top-a-1.0 --store /tmp/dnf_ci_tempdir_r3lq3qld/install_trans  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Replay a stored install transaction with no repos configured # dnf/transaction-sr/store-replay.feature:69 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 And I use repository "transaction-sr" # dnf/steps/repo.py:186 When I execute dnf with args "install top-a-1.0 --store ./install_trans" # dnf/steps/cmd.py:110 Then the exit code is 0 # common/output.py:55 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v9m3bspu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v9m3bspu/var/cache/dnf install top-a-1.0 --store ./install_trans And DNF Transaction is following # None | Action | Package | | install | top-a-1:1.0-1.x86_64 | | install-dep | bottom-a2-0:1.0-1.x86_64 | | install-dep | bottom-a3-0:1.0-1.x86_64 | | install-dep | mid-a1-0:1.0-1.x86_64 | | install-weak | mid-a2-0:1.0-1.x86_64 | And RPMDB Transaction is empty # None Given I drop repository "transaction-sr" # None When I execute dnf with args "replay ./install_trans" # None Then the exit code is 0 # None And Transaction is following # None | Action | Package | | install | top-a-1:1.0-1.x86_64 | | install-dep | bottom-a2-0:1.0-1.x86_64 | | install-dep | bottom-a3-0:1.0-1.x86_64 | | install-dep | mid-a1-0:1.0-1.x86_64 | | install-weak | mid-a2-0:1.0-1.x86_64 | When I execute dnf with args "rq --installed --qf '%{{full_nevra}} %{{reason}} %{{from_repo}}\n'" # None Then stdout is # None """ bottom-a2-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) bottom-a3-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) mid-a1-0:1.0-1.x86_64 Dependency @stored_transaction(transaction-sr) mid-a2-0:1.0-1.x86_64 Weak Dependency @stored_transaction(transaction-sr) top-a-1:1.0-1.x86_64 User @stored_transaction(transaction-sr) """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_v9m3bspu --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_v9m3bspu/var/cache/dnf install top-a-1.0 --store ./install_trans  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/transaction-sr/store-replay.feature:4 Replay a stored install transaction with relative path dnf/transaction-sr/store-replay.feature:37 Replay a stored install transaction with absolute path dnf/transaction-sr/store-replay.feature:69 Replay a stored install transaction with no repos configured 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 3 failed, 0 skipped 8 steps passed, 3 failed, 22 skipped Took 0min 0.192s USING RUNNER: behave.runner:Runner Feature: Transaction store tests # dnf/transaction-sr/store.feature:1 Feature: Transaction store tests # dnf/transaction-sr/store.feature:1 Scenario: Store a transaction # dnf/transaction-sr/store.feature:9 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eqzdbz3z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eqzdbz3z/var/cache/dnf install top-a-1.0 When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-a-1:1.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"mid-a1-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr" }, { "nevra":"bottom-a2-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr" }, { "nevra":"mid-a2-1.0-1.x86_64", "action":"Install", "reason":"Weak Dependency", "repo_id":"transaction-sr" }, { "nevra":"bottom-a3-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eqzdbz3z --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eqzdbz3z/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction with an invalid transaction ID # dnf/transaction-sr/store.feature:56 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e97zrrml --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e97zrrml/var/cache/dnf install top-a-1.0 When I execute dnf with args "history store 2" # None Then the exit code is 1 # None And stderr is # None """ No matching transaction ID found, exactly one required. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_e97zrrml --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_e97zrrml/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store an upgrade transaction # dnf/transaction-sr/store.feature:65 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8897bcjx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8897bcjx/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "upgrade top-a" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"bottom-a1-2.0-1.noarch", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr" }, { "nevra":"top-a-1:2.0-1.x86_64", "action":"Upgrade", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"top-a-1:1.0-1.x86_64", "action":"Replaced", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_8897bcjx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_8897bcjx/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a reinstall transaction # dnf/transaction-sr/store.feature:101 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i9e1j2nz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i9e1j2nz/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "reinstall top-a" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-a-1:1.0-1.x86_64", "action":"Reinstall", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"top-a-1:1.0-1.x86_64", "action":"Replaced", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_i9e1j2nz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_i9e1j2nz/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a downgrade transaction # dnf/transaction-sr/store.feature:131 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pw680nyr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pw680nyr/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "upgrade top-a" # None Given I successfully execute dnf with args "downgrade top-a" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-a-1:1.0-1.x86_64", "action":"Downgrade", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"top-a-1:2.0-1.x86_64", "action":"Replaced", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_pw680nyr --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_pw680nyr/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a remove transaction # dnf/transaction-sr/store.feature:162 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h224pynz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h224pynz/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "remove top-a" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"bottom-a2-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"bottom-a3-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"mid-a1-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"mid-a2-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"top-a-1:1.0-1.x86_64", "action":"Remove", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h224pynz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h224pynz/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a reason change transaction # dnf/transaction-sr/store.feature:210 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rhxr46fe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rhxr46fe/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "mark dependency top-a" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-a-1:1.0-1.x86_64", "action":"Reason Change", "reason":"Dependency", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_rhxr46fe --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_rhxr46fe/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction with a group install # dnf/transaction-sr/store.feature:234 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eic5nxur --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eic5nxur/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-group" # None When I execute dnf with args "history store 2" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-b-1.0-1.x86_64", "action":"Install", "reason":"Group", "repo_id":"transaction-sr" }, { "nevra":"bottom-a1-2.0-1.noarch", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr" }, { "nevra":"top-a-1:2.0-1.x86_64", "action":"Upgrade", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"top-a-1:1.0-1.x86_64", "action":"Replaced", "reason":"User", "repo_id":"@System" } ], "groups":[ { "id":"test-group", "action":"Install", "reason":"User", "repo_id":"transaction-sr", "package_types":"mandatory, default, conditional" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_eic5nxur --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_eic5nxur/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction with a group remove # dnf/transaction-sr/store.feature:285 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h4w3xn01 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h4w3xn01/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-group" # None And I successfully execute dnf with args "remove @test-group" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-b-1.0-1.x86_64", "action":"Remove", "reason":"Group", "repo_id":"@System" } ], "groups":[ { "id":"test-group", "action":"Remove", "reason":"User", "repo_id":"@System", "package_types":"" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_h4w3xn01 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_h4w3xn01/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction with a group upgrade # dnf/transaction-sr/store.feature:319 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_44cfadpt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_44cfadpt/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-group" # None Given I successfully execute dnf with args "install top-a-1.0" # None Given I successfully execute dnf with args "upgrade @test-group" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-a-1:2.0-1.x86_64", "action":"Upgrade", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"top-a-1:1.0-1.x86_64", "action":"Replaced", "reason":"User", "repo_id":"@System" } ], "groups":[ { "id":"test-group", "action":"Upgrade", "reason":"User", "repo_id":"transaction-sr", "package_types":"mandatory, default, conditional" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_44cfadpt --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_44cfadpt/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction with an enviroment group install # dnf/transaction-sr/store.feature:360 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_elzvpyhz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_elzvpyhz/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-env" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-c-2.0-1.x86_64", "action":"Install", "reason":"Group", "repo_id":"transaction-sr" }, { "nevra":"mid-a2-2.0-1.x86_64", "action":"Upgrade", "reason":"Weak Dependency", "repo_id":"transaction-sr" }, { "nevra":"mid-a2-1.0-1.x86_64", "action":"Replaced", "reason":"Weak Dependency", "repo_id":"@System" } ], "groups":[ { "id":"test-env-group", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr", "package_types":"mandatory, default, conditional" } ], "environments":[ { "id":"test-env", "action":"Install", "repo_id":"transaction-sr" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_elzvpyhz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_elzvpyhz/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction with an environment group remove # dnf/transaction-sr/store.feature:412 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p2coy2do --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p2coy2do/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-env" # None And I successfully execute dnf with args "remove @test-env" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"bottom-a3-1.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"mid-a2-2.0-1.x86_64", "action":"Remove", "reason":"Clean", "repo_id":"@System" }, { "nevra":"top-c-2.0-1.x86_64", "action":"Remove", "reason":"Group", "repo_id":"@System" } ], "groups":[ { "id":"test-env-group", "action":"Remove", "reason":"Dependency", "repo_id":"@System", "package_types":"" } ], "environments":[ { "id":"test-env", "action":"Remove", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p2coy2do --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p2coy2do/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction with an environment group upgrade # dnf/transaction-sr/store.feature:465 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cn_1yqlq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cn_1yqlq/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install @test-env" # None And I successfully execute dnf with args "install top-c-1.0" # None And I successfully execute dnf with args "upgrade @test-env" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-c-2.0-1.x86_64", "action":"Upgrade", "reason":"Group", "repo_id":"transaction-sr" }, { "nevra":"mid-a2-2.0-1.x86_64", "action":"Upgrade", "reason":"Weak Dependency", "repo_id":"transaction-sr" }, { "nevra":"mid-a2-1.0-1.x86_64", "action":"Replaced", "reason":"Weak Dependency", "repo_id":"@System" }, { "nevra":"top-c-1.0-1.x86_64", "action":"Replaced", "reason":"Group", "repo_id":"@System" } ], "groups":[ { "id":"test-env-group", "action":"Upgrade", "reason":"Dependency", "repo_id":"transaction-sr", "package_types":"mandatory, default, conditional" } ], "environments":[ { "id":"test-env", "action":"Upgrade", "repo_id":"transaction-sr" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_cn_1yqlq --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_cn_1yqlq/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction installing multiple installonly package versions # dnf/transaction-sr/store.feature:525 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0lhvmfu9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0lhvmfu9/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install installonly-1.0 installonly-2.0" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"installonly-1.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"installonly-2.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"transaction-sr" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_0lhvmfu9 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_0lhvmfu9/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction removing multiple installonly package versions # dnf/transaction-sr/store.feature:555 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p7bfrtsx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p7bfrtsx/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install installonly-1.0 installonly-2.0" # None And I successfully execute dnf with args "remove installonly-1.0 installonly-2.0" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"installonly-2.0-1.x86_64", "action":"Remove", "reason":"User", "repo_id":"@System" }, { "nevra":"installonly-1.0-1.x86_64", "action":"Remove", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_p7bfrtsx --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_p7bfrtsx/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Store a transaction installing and removing an installonly package # dnf/transaction-sr/store.feature:589 Scenario: Store a transaction upgrading an installonly package # dnf/transaction-sr/store.feature:623 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aos9_ykv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aos9_ykv/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install installonly-1.0" # None And I successfully execute dnf with args "upgrade installonly" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"installonly-2.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"transaction-sr" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_aos9_ykv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_aos9_ykv/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction obsoleting a package # dnf/transaction-sr/store.feature:648 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1y5vm1cf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1y5vm1cf/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install obsoleted-a-1.0" # None And I successfully execute dnf with args "upgrade obsoleted-a" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"obsoleting-x-2.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"obsoleted-a-1.0-1.x86_64", "action":"Replaced", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_1y5vm1cf --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_1y5vm1cf/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction obsoleting multiple packages # dnf/transaction-sr/store.feature:679 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w77xr152 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w77xr152/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install obsoleted-a-1.0 obsoleted-b-1.0" # None And I successfully execute dnf with args "upgrade obsoleted-a obsoleted-b" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"obsoleting-x-2.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"obsoleting-y-2.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"obsoleted-a-1.0-1.x86_64", "action":"Replaced", "reason":"User", "repo_id":"@System" }, { "nevra":"obsoleted-b-1.0-1.x86_64", "action":"Replaced", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_w77xr152 --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_w77xr152/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction with an arch change # dnf/transaction-sr/store.feature:722 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d6tf4pvz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d6tf4pvz/var/cache/dnf install top-a-1.0 Given I successfully execute dnf with args "install archchange-1.0" # None And I successfully execute dnf with args "upgrade archchange" # None When I execute dnf with args "history store last" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to ./transaction. """ And file "/{context.dnf.tempdir}/transaction/transaction.json" contents is # None """ { "rpms":[ { "nevra":"archchange-2.0-1.x86_64", "action":"Upgrade", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"archchange-1.0-1.noarch", "action":"Replaced", "reason":"User", "repo_id":"@System" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_d6tf4pvz --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_d6tf4pvz/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- @xfail Scenario: Store a transaction with multiple actions per NEVRA (removing a group and reinstalling its package while another package depends on it) # dnf/transaction-sr/store.feature:756 @xfail Scenario: Store a transaction with removing a group and reinstalling its package (unlike the scenario above, the reason of the package stays unchanged) # dnf/transaction-sr/store.feature:806 Scenario: Store a transaction with specifying the output file # dnf/transaction-sr/store.feature:847 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hbx6lccv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hbx6lccv/var/cache/dnf install top-a-1.0 When I execute dnf with args "history store last -o {context.dnf.tempdir}/out" # None Then the exit code is 0 # None And stderr is # None """ Transaction saved to {context.dnf.tempdir}/out. """ And file "/{context.dnf.tempdir}/out/transaction.json" contents is # None """ { "rpms":[ { "nevra":"top-a-1:1.0-1.x86_64", "action":"Install", "reason":"User", "repo_id":"transaction-sr" }, { "nevra":"mid-a1-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr" }, { "nevra":"bottom-a2-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr" }, { "nevra":"mid-a2-1.0-1.x86_64", "action":"Install", "reason":"Weak Dependency", "repo_id":"transaction-sr" }, { "nevra":"bottom-a3-1.0-1.x86_64", "action":"Install", "reason":"Dependency", "repo_id":"transaction-sr" } ], "version":"1.0" } """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_hbx6lccv --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_hbx6lccv/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction to a file that already exists and --assumeyes # dnf/transaction-sr/store.feature:894 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_23blbh1t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_23blbh1t/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ STUFF """ When I execute dnf with args "history store last -y" # None Then the exit code is 0 # None And stderr is # None """ File "./transaction/transaction.json" already exists, it will be overwritten. Transaction saved to ./transaction. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_23blbh1t --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_23blbh1t/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Scenario: Store a transaction to a file that already exists and --assumeno # dnf/transaction-sr/store.feature:908 Given I set working directory to "{context.dnf.tempdir}" # common/cmd.py:14 Given I use repository "transaction-sr" # dnf/steps/repo.py:186 And I successfully execute dnf with args "install top-a-1.0" # dnf/steps/cmd.py:192 ASSERT FAILED: Command has returned exit code 2: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ktin24e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ktin24e/var/cache/dnf install top-a-1.0 Given I create file "/{context.dnf.tempdir}/transaction/transaction.json" with # None """ STUFF """ When I execute dnf with args "history store last --assumeno" # None Then the exit code is 1 # None And stderr is # None """ File "./transaction/transaction.json" already exists, it will be overwritten. Operation aborted by the user. """ ---- CAPTURED STDOUT: scenario  Last Command: dnf5 -y --installroot=/tmp/dnf_ci_installroot_4ktin24e --releasever=29 --setopt=module_platform_id=platform:f29 --disable-plugin='*' --setopt=cachedir=/tmp/dnf_ci_installroot_4ktin24e/var/cache/dnf install top-a-1.0  Last Command stderr: setopt: "module_platform_id=platform:f29": Option "module_platform_id" not found. Add "--help" for more information about the arguments.  ---- CAPTURED_SCENARIO_OUTPUT_END ---- Failing scenarios: dnf/transaction-sr/store.feature:9 Store a transaction dnf/transaction-sr/store.feature:56 Store a transaction with an invalid transaction ID dnf/transaction-sr/store.feature:65 Store an upgrade transaction dnf/transaction-sr/store.feature:101 Store a reinstall transaction dnf/transaction-sr/store.feature:131 Store a downgrade transaction dnf/transaction-sr/store.feature:162 Store a remove transaction dnf/transaction-sr/store.feature:210 Store a reason change transaction dnf/transaction-sr/store.feature:234 Store a transaction with a group install dnf/transaction-sr/store.feature:285 Store a transaction with a group remove dnf/transaction-sr/store.feature:319 Store a transaction with a group upgrade dnf/transaction-sr/store.feature:360 Store a transaction with an enviroment group install dnf/transaction-sr/store.feature:412 Store a transaction with an environment group remove dnf/transaction-sr/store.feature:465 Store a transaction with an environment group upgrade dnf/transaction-sr/store.feature:525 Store a transaction installing multiple installonly package versions dnf/transaction-sr/store.feature:555 Store a transaction removing multiple installonly package versions dnf/transaction-sr/store.feature:623 Store a transaction upgrading an installonly package dnf/transaction-sr/store.feature:648 Store a transaction obsoleting a package dnf/transaction-sr/store.feature:679 Store a transaction obsoleting multiple packages dnf/transaction-sr/store.feature:722 Store a transaction with an arch change dnf/transaction-sr/store.feature:847 Store a transaction with specifying the output file dnf/transaction-sr/store.feature:894 Store a transaction to a file that already exists and --assumeyes dnf/transaction-sr/store.feature:908 Store a transaction to a file that already exists and --assumeno 0 features passed, 1 failed, 0 skipped 0 scenarios passed, 22 failed, 3 skipped 44 steps passed, 22 failed, 152 skipped Took 0min 0.857s Error: Failed test(s): dnf/aliases.feature dnf/api/package-query.feature dnf/api/transaction-remove-install.feature dnf/api/transaction-upgrade-downgrade.feature dnf/append_options.feature dnf/auto-import-local-keys.feature dnf/autoremove.feature dnf/broken-dependencies-report.feature dnf/cache.feature dnf/cacheonly.feature dnf/check-all.feature dnf/check-dependencies.feature dnf/check-duplicates.feature dnf/check-no-problem.feature dnf/check-obsoleted.feature dnf/check-update.feature dnf/clean-cachefiles.feature dnf/clean-requirements-on-remove.feature dnf/clean.feature dnf/command-aliases.feature dnf/comps-environment-list.feature dnf/comps-environment.feature dnf/comps-excludes.feature dnf/comps-group-disabled-repo.feature dnf/comps-group-list.feature dnf/comps-group-pkgremove.feature dnf/comps-group.feature dnf/comps-install-again.feature dnf/comps-load-order.feature dnf/comps-merge.feature dnf/comps-same-id-group-and-env.feature dnf/comps-upgrade.feature dnf/config-best.feature dnf/config-drop-in.feature dnf/config-repos-overrides.feature dnf/config-with-repos.feature dnf/config.feature dnf/countme.feature dnf/distro-sync-from-repo.feature dnf/distro-sync-from-vendor.feature dnf/distro-sync-installed-from-repo.feature dnf/distro-sync.feature dnf/dnf-automatic/command_email.feature dnf/dnf-automatic/drop-in-config.feature dnf/dnf-automatic/emit-no-updates.feature dnf/dnf-automatic/error-report.feature dnf/dnf-automatic/reboot.feature dnf/dnf-automatic/update.feature dnf/do-from-repo.feature dnf/do-from-vendor.feature dnf/do-installed-from-repo.feature dnf/do.feature dnf/downgrade-from-repo.feature dnf/downgrade-from-vendor.feature dnf/downgrade-installed-from-repo.feature dnf/downgrade.feature dnf/download-binary-xml-base.feature dnf/download-binary.feature dnf/download-debuginfo.feature dnf/download-debugsource.feature dnf/download-source.feature dnf/download.feature dnf/downloadonly.feature dnf/encoding.feature dnf/epoch.feature dnf/error_messages.feature dnf/exclude_from_weak.feature dnf/excludes-includes-disabled.feature dnf/excludes-includes.feature dnf/failovermethod.feature dnf/fileprovides.feature dnf/gpg-noeol.feature dnf/gpg.feature dnf/gpgcheck-policy.feature dnf/group-mark.feature dnf/help.feature dnf/history-error.feature dnf/history-info.feature dnf/history-list.feature dnf/history-redo-comps.feature dnf/history-redo.feature dnf/history-rollback-broken.feature dnf/history-rollback-comps.feature dnf/history-rollback-env-upgrade.feature dnf/history-rollback-group-upgrade.feature dnf/history-rollback-same-package.feature dnf/history-rollback.feature dnf/history-rpmdb.feature dnf/history-undo-comps.feature dnf/history-undo-dependant.feature dnf/history-undo-obsoletes.feature dnf/history-undo.feature dnf/history-update.feature dnf/history-view.feature dnf/info.feature dnf/install-dependencies.feature dnf/install-exclude.feature dnf/install-fails.feature dnf/install-file-conflicts.feature dnf/install-forcearch.feature dnf/install-from-repo.feature dnf/install-from-vendor.feature dnf/install-installed-different-version.feature dnf/install-installed.feature dnf/install-latest-deps.feature dnf/install-nodocs.feature dnf/install-non-existent.feature dnf/install-obsoletes.feature dnf/install-path.feature dnf/install-pkgspec.feature dnf/install-provides.feature dnf/install-remove-multilib.feature dnf/install-remove.feature dnf/install-weak-deps.feature dnf/install-xml-base.feature dnf/install.feature dnf/installonly-excludes.feature dnf/installonly.feature dnf/installonlypkgs.feature dnf/installroot.feature dnf/keepcache.feature dnf/list-installed-from-repo.feature dnf/list-recent.feature dnf/list-showduplicates.feature dnf/list.feature dnf/localpkg_gpgcheck.feature dnf/log-rotate.feature dnf/logs.feature dnf/makecache.feature dnf/mark.feature dnf/metadata.feature dnf/module/defaults-conflict.feature dnf/module/defaults-streams.feature dnf/module/defaults.feature dnf/module/disable-errors.feature dnf/module/disable.feature dnf/module/enable-confirmation.feature dnf/module/enable-contexts.feature dnf/module/enable-dependencies.feature dnf/module/enable-errors.feature dnf/module/enable-latest.feature dnf/module/enable.feature dnf/module/filter-rpms.feature dnf/module/filtering.feature dnf/module/help.feature dnf/module/hotfixes.feature dnf/module/info-without-install.feature dnf/module/install-local-package.feature dnf/module/install-package-ursine.feature dnf/module/install-package.feature dnf/module/metadata-format.feature dnf/module/platform-detection.feature dnf/module/platform.feature dnf/module/reset.feature dnf/obsoletes.feature dnf/offline.feature dnf/option-hint.feature dnf/optional-metadata.feature dnf/plugin-enable.feature dnf/plugins-core/actions-json_mode.feature dnf/plugins-core/actions.feature dnf/plugins-core/builddep-conflicts.feature dnf/plugins-core/builddep-modularity.feature dnf/plugins-core/builddep.feature dnf/plugins-core/changelog.feature dnf/plugins-core/config-manager-add-vendor-policy.feature dnf/plugins-core/config-manager-addrepo.feature dnf/plugins-core/config-manager-list-vendor-policies.feature dnf/plugins-core/config-manager-opts.feature dnf/plugins-core/config-manager-remove-vendor-policy.feature dnf/plugins-core/config-manager-repos.feature dnf/plugins-core/config-manager-vars.feature dnf/plugins-core/copr-chroot.feature dnf/plugins-core/copr.feature dnf/plugins-core/debuginfo-install.feature dnf/plugins-core/deptree.feature dnf/plugins-core/download-source.feature dnf/plugins-core/enable-plugins.feature dnf/plugins-core/expired-pgp-keys.feature dnf/plugins-core/local.feature dnf/plugins-core/manifest.feature dnf/plugins-core/needs-restarting.feature dnf/plugins-core/offline-upgrade-security-filters.feature dnf/plugins-core/python_plugins_loader.feature dnf/plugins-core/repoclosure.feature dnf/plugins-core/repomanage.feature dnf/plugins-core/reposync-local.feature dnf/plugins-core/reposync-xattrs.feature dnf/plugins-core/reposync.feature dnf/plugins-core/versionlock-errors.feature dnf/plugins-core/versionlock-exclude.feature dnf/plugins-core/versionlock-list-manipulation.feature dnf/plugins-core/versionlock-list.feature dnf/plugins-core/versionlock-lock.feature dnf/plugins-path.feature dnf/protect-running-kernel.feature dnf/protected-dnf.feature dnf/protected-packages.feature dnf/provides-alternatives.feature dnf/provides.feature dnf/proxy-username-password.feature dnf/query-no-matches.feature dnf/reinstall-from-vendor.feature dnf/reinstall-installed-from-repo.feature dnf/reinstall-reason.feature dnf/reinstall.feature dnf/remove-duplicates.feature dnf/remove-exclude.feature dnf/remove-installed-from-repo.feature dnf/remove-no-provides.feature dnf/remove-pkgspec.feature dnf/removed-tmpdir.feature dnf/repo-cmdline-config.feature dnf/repo-errors.feature dnf/repo-gpgcheck.feature dnf/repo-json.feature dnf/repo-multiline-config.feature dnf/repo-priorities.feature dnf/repo-sync.feature dnf/repo-with-spaces.feature dnf/repodata-compression.feature dnf/repofrompath.feature dnf/repoinfo.feature dnf/repolist-disabled.feature dnf/repolist-no-repos.feature dnf/repolist.feature dnf/repoquery/deps.feature dnf/repoquery/duplicates.feature dnf/repoquery/files.feature dnf/repoquery/globs.feature dnf/repoquery/installed-from-repo.feature dnf/repoquery/main.feature dnf/repoquery/modules.feature dnf/repoquery/recent.feature dnf/repoquery/rich-deps.feature dnf/repoquery/security-filters.feature dnf/repoquery/weak-deps.feature dnf/repoquery/whatprovides.feature dnf/repoquery/xml-base.feature dnf/repository.feature dnf/resolve-hints.feature dnf/rich-dependencies.feature dnf/scriptlets.feature dnf/search-sort.feature dnf/search.feature dnf/security-advisory.feature dnf/security-bugfix.feature dnf/security-security.feature dnf/security-upgrade.feature dnf/setopt.feature dnf/shared-root-cache.feature dnf/ssl.feature dnf/status.feature dnf/stick-to-vendor-default.feature dnf/stick-to-vendor-policies.feature dnf/stick-to-vendor-policies1_1.feature dnf/stick-to-vendor-policies1_2.feature dnf/stick-to-vendor.feature dnf/swap.feature dnf/system-upgrade-comps.feature dnf/system-upgrade.feature dnf/transaction-gpg-checking.feature dnf/transaction-output.feature dnf/transaction-sr/replay-errors.feature dnf/transaction-sr/replay-validation.feature dnf/transaction-sr/replay.feature dnf/transaction-sr/store-option.feature dnf/transaction-sr/store-replay.feature dnf/transaction-sr/store.feature dnf/unprivileged-installroot.feature dnf/unprivileged.feature dnf/updateinfo-json.feature dnf/updateinfo.feature dnf/upgrade-advisories.feature dnf/upgrade-all.feature dnf/upgrade-buildtime.feature dnf/upgrade-cached.feature dnf/upgrade-conflicts.feature dnf/upgrade-dependent.feature dnf/upgrade-from-noarch.feature dnf/upgrade-from-path.feature dnf/upgrade-from-repo.feature dnf/upgrade-from-vendor.feature dnf/upgrade-installed-from-repo.feature dnf/upgrade-multilib-duplicates.feature dnf/upgrade-pkgspec.feature dnf/upgrade-provides.feature dnf/upgrade-to.feature dnf/upgrade.feature dnf/vars-releasever.feature dnf/vars.feature dnf/vendor-change-allow-options.feature dnf/vendor-change-hints-installonly.feature dnf/vendor-change-hints.feature dnf/zchunk.feature Shared connection to 3.22.164.57 closed.