diff --git a/dnf-behave-tests/dnf/module/add-new-stream-static-context.feature b/dnf-behave-tests/dnf/module/add-new-stream-static-context.feature index 48f548f55..d462b5d40 100644 --- a/dnf-behave-tests/dnf/module/add-new-stream-static-context.feature +++ b/dnf-behave-tests/dnf/module/add-new-stream-static-context.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @not.with_os=rhel__eq__8 Feature: Handling new stream with multicontext modules diff --git a/dnf-behave-tests/dnf/module/defaults-from-config-file.feature b/dnf-behave-tests/dnf/module/defaults-from-config-file.feature index 74e3020e2..e0474555d 100644 --- a/dnf-behave-tests/dnf/module/defaults-from-config-file.feature +++ b/dnf-behave-tests/dnf/module/defaults-from-config-file.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: On-disk modulemd data are preferred over repodata in case of a conflict # Notes regarding operation of modulemd-defaults data merging: diff --git a/dnf-behave-tests/dnf/module/defaults-profiles.feature b/dnf-behave-tests/dnf/module/defaults-profiles.feature index 5e7175d4f..c71da7ea1 100644 --- a/dnf-behave-tests/dnf/module/defaults-profiles.feature +++ b/dnf-behave-tests/dnf/module/defaults-profiles.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Non-default profiles can be installed when explicitly specified on command line diff --git a/dnf-behave-tests/dnf/module/defaults-streams.feature b/dnf-behave-tests/dnf/module/defaults-streams.feature index dc0d9bd48..e5fa7af99 100644 --- a/dnf-behave-tests/dnf/module/defaults-streams.feature +++ b/dnf-behave-tests/dnf/module/defaults-streams.feature @@ -1,3 +1,4 @@ +@dnf5 Feature: Default streams are properly switched to enabled Background: @@ -5,7 +6,6 @@ Background: And I use repository "dnf-ci-fedora" -@dnf5 @bz1657213 Scenario: The default stream is enabled when requiring module is enabled When I execute dnf with args "module enable meson:master" @@ -20,6 +20,9 @@ Scenario: The default stream is enabled when requiring module is enabled # DnfCiModulePackageDep:packagedep does not have any modular dependencies # DnfCiModulePackageDep:moduledep requires nodejs module + +@xfail +# Reported as https://github.com/rpm-software-management/dnf5/issues/1811 Scenario Outline: The default stream is enabled when its package is required by installed package of another module Given I use repository "dnf-ci-thirdparty" When I execute dnf with args "module enable DnfCiModulePackageDep:" @@ -41,6 +44,8 @@ Scenario Outline: The default stream is enabled when its package is required by | (module deps set) | moduledep | +@xfail +# Reported as https://github.com/rpm-software-management/dnf5/issues/1811 Scenario: The default stream is enabled when its package is required by installed non-modular package Given I use repository "dnf-ci-thirdparty" When I execute dnf with args "install anitras-dance" diff --git a/dnf-behave-tests/dnf/module/defaults.feature b/dnf-behave-tests/dnf/module/defaults.feature index f469eecc4..90fab64f6 100644 --- a/dnf-behave-tests/dnf/module/defaults.feature +++ b/dnf-behave-tests/dnf/module/defaults.feature @@ -1,3 +1,4 @@ +@dnf5 Feature: Modulemd defaults are followed by dnf module commands Background: @@ -5,7 +6,6 @@ Background: And I use repository "dnf-ci-fedora" -@dnf5 Scenario: The default stream is used when enabling a module When I execute dnf with args "module enable nodejs" Then the exit code is 0 @@ -14,7 +14,6 @@ Scenario: The default stream is used when enabling a module | nodejs | enabled | 8 | | -@dnf5 @bz1629702 Scenario: The default streams are identified in the output of module list When I execute dnf with args "module list nodejs" @@ -27,7 +26,6 @@ Scenario: The default streams are identified in the output of module list | nodejs | 11 | development, minimal, default | -@dnf5 @bz1618553 Scenario: Default profiles are identified in the output of dnf info When I execute dnf with args "module info nodejs" @@ -35,6 +33,9 @@ Scenario: Default profiles are identified in the output of dnf info And stdout contains "Default profiles : default" +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: Default stream and profile are used when installing a module with no enabled profile When I execute dnf with args "module install nodejs" Then the exit code is 0 @@ -43,6 +44,9 @@ Scenario: Default stream and profile are used when installing a module with no e | nodejs | enabled | 8 | default | +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @bz1582450 Scenario: Default profile(s) is used when installing a module with enabled stream When I execute dnf with args "module enable nodejs:10" @@ -57,6 +61,9 @@ Scenario: Default profile(s) is used when installing a module with enabled strea | nodejs | enabled | 10 | default | +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: Default profile is installed when installing a non-default stream with dnf module install module:stream When I execute dnf with args "module install nodejs:10" Then the exit code is 0 diff --git a/dnf-behave-tests/dnf/module/demodularization.feature b/dnf-behave-tests/dnf/module/demodularization.feature index cf1808b3c..51e7be57c 100644 --- a/dnf-behave-tests/dnf/module/demodularization.feature +++ b/dnf-behave-tests/dnf/module/demodularization.feature @@ -1,3 +1,6 @@ +# Demodularization is not implemented +# https://github.com/rpm-software-management/dnf5/issues/1852 +@xfail Feature: Modular filtering must ignore demodularized rpms Background: diff --git a/dnf-behave-tests/dnf/module/disable.feature b/dnf-behave-tests/dnf/module/disable.feature index 90bee8112..485b3d7a7 100644 --- a/dnf-behave-tests/dnf/module/disable.feature +++ b/dnf-behave-tests/dnf/module/disable.feature @@ -1,3 +1,4 @@ +@dnf5 Feature: Disabling module stream @@ -6,7 +7,6 @@ Background: Given I use repository "dnf-ci-fedora" -@dnf5 @bz1677640 Scenario: I can disable a module when specifying module name When I execute dnf with args "module enable nodejs:8" @@ -22,7 +22,6 @@ Scenario: I can disable a module when specifying module name | nodejs | disabled | | | -@dnf5 # this is not test for @bz1677640, but test is failing until the bug is fixed Scenario: Disabling an already disabled module should pass When I execute dnf with args "module enable nodejs:8" @@ -40,6 +39,9 @@ Scenario: Disabling an already disabled module should pass And stdout contains "Nothing to do." +# Missing report about unneeded information +# https://github.com/rpm-software-management/dnf5/issues/1028 +@xfail @bz1649261 Scenario Outline: I can disable a module when specifying When I execute dnf with args "module enable nodejs:8" @@ -60,6 +62,11 @@ Examples: | version | nodejs:10:20180920144631 | +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +# Missing report about unneeded information +# https://github.com/rpm-software-management/dnf5/issues/1028 +@xfail @bz1649261 Scenario Outline: I can disable a module with installed profile when specifying When I execute dnf with args "module install nodejs:10/default" @@ -82,7 +89,6 @@ Examples: | version | nodejs:10:20180920144631 | -@dnf5 @bz1613910 Scenario: It is possible to disable an enabled default stream When I execute dnf with args "module enable nodejs" @@ -102,6 +108,9 @@ Scenario: It is possible to disable an enabled default stream | nodejs | 8 [d][x] | development, minimal, default [d] | +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @bz1653623 @bz1583596 Scenario: User is informed about disabling installed profiles when disabling a module diff --git a/dnf-behave-tests/dnf/module/enable-contexts.feature b/dnf-behave-tests/dnf/module/enable-contexts.feature index 6a5f82590..e3847a267 100644 --- a/dnf-behave-tests/dnf/module/enable-contexts.feature +++ b/dnf-behave-tests/dnf/module/enable-contexts.feature @@ -1,8 +1,12 @@ +@dnf5 Feature: Dependency resolution must occur to determine the appropriate dependent stream+context to use Background: Given I use repository "dnf-ci-thirdparty-modular" +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: Appropriate context is selected depending on the enabled required module stream When I execute dnf with args "module enable biotope:wood" Then the exit code is 0 @@ -18,6 +22,9 @@ Scenario: Appropriate context is selected depending on the enabled required modu | install-group | raspberry-0:1.0-1.wood.x86_64 | +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: Appropriate context is selected depending on the enabled required module stream - cross check When I execute dnf with args "module enable biotope:garden" Then the exit code is 0 @@ -33,6 +40,9 @@ Scenario: Appropriate context is selected depending on the enabled required modu | install-group | raspberry-0:1.0-1.garden.x86_64 | +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: Any suitable context is selected when more options are possible When I execute dnf with args "module install berry:raspberry/default" Then the exit code is 0 @@ -44,7 +54,6 @@ Scenario: Any suitable context is selected when more options are possible Then the exit code is 0 -@dnf5 @not.with_os=rhel__eq__8 Scenario: An error is printed with no stream and context is possible to enable When I execute dnf with args "module enable biotope:pond" @@ -56,6 +65,9 @@ Scenario: An error is printed with no stream and context is possible to enable And stderr contains "module biotope:wood:1:\.x86_64 conflicts with module\(biotope\) provided by biotope:pond:1:\.x86_64" +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @not.with_os=rhel__eq__8 @bz1670496 Scenario: An error is printed when trying to install different context diff --git a/dnf-behave-tests/dnf/module/enable-dependencies.feature b/dnf-behave-tests/dnf/module/enable-dependencies.feature index d1a11a9eb..75c5ed51b 100644 --- a/dnf-behave-tests/dnf/module/enable-dependencies.feature +++ b/dnf-behave-tests/dnf/module/enable-dependencies.feature @@ -1,3 +1,4 @@ +@dnf5 Feature: Enable module streams with modular dependencies @@ -5,6 +6,9 @@ Background: Given I use repository "dnf-ci-thirdparty-modular" +# Module defaults from /etc/dnf/modules.defaults.d/ are not loaded +# https://github.com/rpm-software-management/dnf5/issues/1853 +@xfail Scenario: Enabling a default stream depending on a default stream Given I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with """ @@ -38,6 +42,10 @@ Scenario: Enabling a default stream depending on a default stream | beverage | enabled | soda | | | fluid | enabled | water | | + +# Module defaults from /etc/dnf/modules.defaults.d/ are not loaded +# https://github.com/rpm-software-management/dnf5/issues/1853 +@xfail @bz1648839 Scenario: Enabling a default stream depending on a non-default stream Given I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with @@ -72,7 +80,6 @@ Scenario: Enabling a default stream depending on a non-default stream | beverage | enabled | soda | | | fluid | enabled | water | | -@dnf5 Scenario: Enabling a non-default stream depending on a default stream Given I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with """ @@ -107,7 +114,6 @@ Scenario: Enabling a non-default stream depending on a default stream | fluid | enabled | water | | -@dnf5 # rely on merging bz1649261 fix Scenario: Enabling a disabled stream depending on a default stream Given I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with @@ -148,7 +154,6 @@ Scenario: Enabling a disabled stream depending on a default stream | fluid | enabled | water | | -@dnf5 # rely on merging bz1649261 fix Scenario: Enabling a disabled stream depending on a non-default stream Given I create file "/etc/dnf/modules.defaults.d/defaults.yaml" with @@ -189,7 +194,6 @@ Scenario: Enabling a disabled stream depending on a non-default stream | fluid | enabled | water | | -@dnf5 @bz1622566 Scenario: Enabling a non-default stream depending on a non-default stream When I execute dnf with args "module enable food-type:meat" @@ -204,7 +208,6 @@ Scenario: Enabling a non-default stream depending on a non-default stream | ingredience | enabled | chicken | | -@dnf5 Scenario: Enable a module and its dependencies by specifying profile When I execute dnf with args "module enable food-type:meat/default" Then the exit code is 0 @@ -242,7 +245,7 @@ Scenario: Enable a module and its dependencies by specifying profile # | food-type | disabled | | | # | ingredience | disabled | | | -@dnf5 + @not.with_os=rhel__eq__8 Scenario: Module cannot be disabled if there are other enabled streams requiring it When I execute dnf with args "module enable food-type:meat" @@ -266,7 +269,6 @@ Scenario: Module cannot be disabled if there are other enabled streams requiring | ingredience | enabled | chicken | | -@dnf5 Scenario: Enable the default stream of a module and its dependencies When I execute dnf with args "module enable food-type" Then the exit code is 0 @@ -304,7 +306,7 @@ Scenario: Enable the default stream of a module and its dependencies # | food-type | enabled | meat | | # | ingredience | enabled | chicken | | -@dnf5 + # rely on merging bz1649261 fix @not.with_os=rhel__eq__8 Scenario: Cannot enable a stream depending on a disabled module @@ -329,7 +331,6 @@ Scenario: Cannot enable a stream depending on a disabled module | ingredience | disabled | | | -@dnf5 Scenario: Enable a module stream dependent on a module with a default stream When I execute dnf with args "module enable food-type:edible" Then the exit code is 0 @@ -343,7 +344,6 @@ Scenario: Enable a module stream dependent on a module with a default stream | ingredience | enabled | orange | | -@dnf5 Scenario: Enable a module stream dependent on a module without default stream Given I use repository "dnf-ci-fedora-modular-updates" When I execute dnf with args "module enable nodejs:12" diff --git a/dnf-behave-tests/dnf/module/enable-errors.feature b/dnf-behave-tests/dnf/module/enable-errors.feature index 8e7783be4..3ec259aab 100644 --- a/dnf-behave-tests/dnf/module/enable-errors.feature +++ b/dnf-behave-tests/dnf/module/enable-errors.feature @@ -1,3 +1,4 @@ +@dnf5 Feature: Enabling module streams - error handling @@ -5,7 +6,6 @@ Background: Given I use repository "dnf-ci-fedora-modular-updates" -@dnf5 Scenario: Fail to enable a different stream of an already enabled module When I execute dnf with args "module enable nodejs:8" Then the exit code is 0 @@ -29,6 +29,9 @@ Scenario: Fail to enable a different stream of an already enabled module """ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: Fail to install a different stream of an already enabled module Given I set dnf command to "dnf" When I execute dnf with args "module enable nodejs:8" @@ -52,6 +55,9 @@ Scenario: Fail to install a different stream of an already enabled module """ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @bz1706215 Scenario: Fail to install a different stream of an already enabled module using @module:stream syntax Given I set dnf command to "dnf" @@ -75,7 +81,7 @@ Scenario: Fail to install a different stream of an already enabled module using Error: It is not possible to switch enabled streams of a module unless explicitly enabled via configuration option module_stream_switch. """ -@dnf5 + @bz1814831 Scenario: Fail to enable a module stream when specifying only module When I execute dnf with args "module enable nodejs" @@ -92,7 +98,6 @@ Scenario: Fail to enable a module stream when specifying only module """ -@dnf5 @bz1629655 Scenario: Fail to enable a module stream when specifying wrong version When I execute dnf with args "module enable nodejs:8:99" @@ -110,7 +115,6 @@ Scenario: Fail to enable a module stream when specifying wrong version """ -@dnf5 @bz1629655 Scenario: Fail to enable a non-existent module stream When I execute dnf with args "module enable nodejs:1" @@ -128,7 +132,6 @@ Scenario: Fail to enable a non-existent module stream """ -@dnf5 Scenario: Fail to enable a module stream when not specifying anything When I execute dnf with args "module enable" Then the exit code is 2 @@ -141,7 +144,6 @@ Scenario: Fail to enable a module stream when not specifying anything """ -@dnf5 @bz1581267 Scenario: Fail to enable a module stream when specifying more streams of the same module When I execute dnf with args "module enable nodejs:8 nodejs:10" @@ -156,6 +158,9 @@ Scenario: Fail to enable a module stream when specifying more streams of the sam """ +# Module defaults from /etc/dnf/modules.defaults.d/ are not loaded +# https://github.com/rpm-software-management/dnf5/issues/1853 +@xfail @not.with_os=rhel__eq__8 Scenario: Enabling a stream depending on other than enabled stream should fail Given I use repository "dnf-ci-thirdparty-modular" @@ -227,7 +232,6 @@ Scenario: Enabling a stream depending on a disabled stream should fail And stderr contains "module fluid:water:1:.x86_64 is disabled" -@dnf5 # side-dish:chip requires fluid:oil # beverage:beer requires fluid:water @not.with_os=rhel__eq__8 @@ -240,7 +244,6 @@ Scenario: Enabling two modules both requiring different streams of another modul And stderr contains "module beverage:beer:1:.x86_64 requires module\(fluid:water\), but none of the providers can be installed" -@dnf5 # beverage:beer requires fluid:water @bz1651280 @not.with_os=rhel__eq__8 diff --git a/dnf-behave-tests/dnf/module/enable.feature b/dnf-behave-tests/dnf/module/enable.feature index 4acd9f45a..03234e3a7 100644 --- a/dnf-behave-tests/dnf/module/enable.feature +++ b/dnf-behave-tests/dnf/module/enable.feature @@ -42,7 +42,6 @@ Scenario: Enable a module stream that was already enabled | nodejs | enabled | 8 | | -@dnf5 Scenario: Enable a different stream of an already enabled module when module_stream_switch=true Given I configure dnf with | key | value | diff --git a/dnf-behave-tests/dnf/module/filter-rpms.feature b/dnf-behave-tests/dnf/module/filter-rpms.feature index 22ed07526..a859e13f7 100644 --- a/dnf-behave-tests/dnf/module/filter-rpms.feature +++ b/dnf-behave-tests/dnf/module/filter-rpms.feature @@ -1,3 +1,4 @@ +@dnf5 @jiraRHELPLAN-6073 Feature: Filter RPMs by enabled and default module streams @@ -6,6 +7,8 @@ Background: Given I use repository "dnf-ci-fedora-modular" +@xfail +# Reported as https://github.com/rpm-software-management/dnf5/issues/1811 Scenario: default from module is preferred over ursine pkg Given I use repository "dnf-ci-fedora" When I execute dnf with args "install ninja-build" @@ -22,7 +25,6 @@ Given I use repository "dnf-ci-fedora" | module-stream-enable | ninja:master | -@dnf5 Scenario: enabled module is preferred over ursine pkg Given I use repository "dnf-ci-fedora" When I execute dnf with args "module enable ninja" @@ -40,7 +42,6 @@ Given I use repository "dnf-ci-fedora" | install-dep | basesystem-0:11-6.fc29.noarch | -@dnf5 Scenario: disabled module is not used Given I use repository "dnf-ci-fedora" When I execute dnf with args "module disable ninja" @@ -52,7 +53,6 @@ Given I use repository "dnf-ci-fedora" | install | ninja-build-0:1.8.2-5.fc29.x86_64 | -@dnf5 Scenario: ursine pkg is preferred over module without default Given I use repository "dnf-ci-fedora" When I execute dnf with args "install dwm" @@ -62,7 +62,6 @@ Given I use repository "dnf-ci-fedora" | install | dwm-0:6.1-1.x86_64 | -@dnf5 Scenario: RPMs from non-active streams are not available When I execute dnf with args "module disable nodejs:8" Then I execute dnf with args "list --available dwm.x86_64" diff --git a/dnf-behave-tests/dnf/module/hotfixes.feature b/dnf-behave-tests/dnf/module/hotfixes.feature index 3c13fef2e..f4090b91c 100644 --- a/dnf-behave-tests/dnf/module/hotfixes.feature +++ b/dnf-behave-tests/dnf/module/hotfixes.feature @@ -1,3 +1,4 @@ +@dnf5 Feature: hotfix repo content is not masked by a modular content @@ -12,6 +13,9 @@ Background: # dnf-ci-fedora-modular: nodejs-1:8.11.4-1.module_2030+42747d40.x86_64 # dnf-ci-fedora-modular-hotfix: nodejs-1:8.11.5-1.module_2030+42747d40.x86_64 +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @bz1654738 Scenario: hotfix content updates are used when installing a module stream Given I use repository "dnf-ci-fedora-modular-hotfix" @@ -24,7 +28,6 @@ Scenario: hotfix content updates are used when installing a module stream | install-group | nodejs-1:8.11.5-1.module_2030+42747d40.x86_64 | -@dnf5 Scenario: hotfix content update is used when installing a package Given I use repository "dnf-ci-fedora-modular-hotfix" When I execute dnf with args "module enable nodejs:8" @@ -39,6 +42,9 @@ Scenario: hotfix content update is used when installing a package | install | nodejs-1:8.11.5-1.module_2030+42747d40.x86_64 | +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: hotfix content updates are used for updating a module When I execute dnf with args "module install nodejs:8/minimal" Then the exit code is 0 @@ -53,6 +59,9 @@ Scenario: hotfix content updates are used for updating a module | upgrade | nodejs-1:8.11.5-1.module_2030+42747d40.x86_64 | +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: hotfix content is used when listing available updates When I execute dnf with args "module install nodejs:8/minimal" Then the exit code is 0 @@ -62,6 +71,9 @@ Scenario: hotfix content is used when listing available updates And stdout contains "nodejs\.x86_64\s+1:8\.11\.5-1\.module_2030\+42747d40\s+dnf-ci-fedora-modular-hotfix" +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: hotfix content updates are used for updating a system When I execute dnf with args "module install nodejs:8/minimal" Then the exit code is 0 diff --git a/dnf-behave-tests/dnf/module/info.feature b/dnf-behave-tests/dnf/module/info.feature index a634241fe..6f44d8d0f 100644 --- a/dnf-behave-tests/dnf/module/info.feature +++ b/dnf-behave-tests/dnf/module/info.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Module info diff --git a/dnf-behave-tests/dnf/module/install-default.feature b/dnf-behave-tests/dnf/module/install-default.feature index c2d0c9bc3..96658af33 100644 --- a/dnf-behave-tests/dnf/module/install-default.feature +++ b/dnf-behave-tests/dnf/module/install-default.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Installing modules without profile specification using defaults from repo diff --git a/dnf-behave-tests/dnf/module/install-dependency.feature b/dnf-behave-tests/dnf/module/install-dependency.feature index de6257b89..d3217e3aa 100644 --- a/dnf-behave-tests/dnf/module/install-dependency.feature +++ b/dnf-behave-tests/dnf/module/install-dependency.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Installing modules with modular dependencies diff --git a/dnf-behave-tests/dnf/module/install-errors.feature b/dnf-behave-tests/dnf/module/install-errors.feature index 97473d381..4824c0b7d 100644 --- a/dnf-behave-tests/dnf/module/install-errors.feature +++ b/dnf-behave-tests/dnf/module/install-errors.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Installing module profiles - error handling Background: diff --git a/dnf-behave-tests/dnf/module/install-globs.feature b/dnf-behave-tests/dnf/module/install-globs.feature index 68afa4d99..c168d0e90 100644 --- a/dnf-behave-tests/dnf/module/install-globs.feature +++ b/dnf-behave-tests/dnf/module/install-globs.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Installing module profiles with globs diff --git a/dnf-behave-tests/dnf/module/install-latest.feature b/dnf-behave-tests/dnf/module/install-latest.feature index adfb267d3..39681eed3 100644 --- a/dnf-behave-tests/dnf/module/install-latest.feature +++ b/dnf-behave-tests/dnf/module/install-latest.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Installing modules without profile specification using defaults from repo diff --git a/dnf-behave-tests/dnf/module/install-module-static-context.feature b/dnf-behave-tests/dnf/module/install-module-static-context.feature index b9a2f85e9..4ba66c388 100644 --- a/dnf-behave-tests/dnf/module/install-module-static-context.feature +++ b/dnf-behave-tests/dnf/module/install-module-static-context.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Installing modules from MdDocuments with static_context=True diff --git a/dnf-behave-tests/dnf/module/install-multicontext.feature b/dnf-behave-tests/dnf/module/install-multicontext.feature index 17230a183..689aab2da 100644 --- a/dnf-behave-tests/dnf/module/install-multicontext.feature +++ b/dnf-behave-tests/dnf/module/install-multicontext.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Installing modules without profile specification using defaults from repo diff --git a/dnf-behave-tests/dnf/module/install-package.feature b/dnf-behave-tests/dnf/module/install-package.feature index d4df76860..2020a206e 100644 --- a/dnf-behave-tests/dnf/module/install-package.feature +++ b/dnf-behave-tests/dnf/module/install-package.feature @@ -1,7 +1,7 @@ +@dnf5 Feature: Installing package from module -@dnf5 Scenario: I can install a specific package from a module Given I use repository "dnf-ci-fedora-modular" And I use repository "dnf-ci-fedora" @@ -13,7 +13,6 @@ Scenario: I can install a specific package from a module | install | ninja-build-0:1.8.2-4.module_1991+4e5efe2f.x86_64 | -@dnf5 Scenario: I can install a package from modular repo not belonging to a module Given I use repository "dnf-ci-thirdparty" When I execute dnf with args "install solveigs-song" @@ -27,8 +26,16 @@ Scenario: I cannot install a specific package from not enabled module when defau Given I use repository "dnf-ci-thirdparty" When I execute dnf with args "install arabian-dance" Then the exit code is 1 - And stderr contains "Error: Unable to find a match" + And stderr is + """ + + Failed to resolve the transaction: + Argument 'arabian-dance' matches only excluded packages. + """ + +@xfail +# Missing shell command https://github.com/rpm-software-management/dnf5/issues/153 @bz1767351 Scenario: I cannot install a specific package from not enabled module after reset Given I use repository "dnf-ci-multicontext-modular" @@ -71,8 +78,12 @@ Scenario: module content masks ursine content - module not enabled, default stre And I use repository "dnf-ci-fedora" When I execute dnf with args "install ninja-build-0:1.8.2-5.fc29.x86_64" Then the exit code is 1 - And stderr contains "Error: Unable to find a match" - And stdout contains "All matches were filtered out by modular filtering for argument: ninja-build-0:1.8.2-5.fc29.x86_64" + And stderr is + """ + + Failed to resolve the transaction: + Argument 'ninja-build-0:1.8.2-5.fc29.x86_64' matches only excluded packages. + """ Scenario: module content masks ursine content - non-default stream enabled @@ -82,10 +93,16 @@ Scenario: module content masks ursine content - non-default stream enabled Then the exit code is 0 When I execute dnf with args "install ninja-build-0:1.8.2-5.fc29.x86_64" Then the exit code is 1 - And stderr contains "Error: Unable to find a match" - And stdout contains "All matches were filtered out by modular filtering for argument: ninja-build-0:1.8.2-5.fc29.x86_64" + And stderr is + """ + + Failed to resolve the transaction: + Argument 'ninja-build-0:1.8.2-5.fc29.x86_64' matches only excluded packages. + """ +@xfail +# Reported as https://github.com/rpm-software-management/dnf5/issues/1811 Scenario: a package from a non-enabled module is preferred when default stream is defined Given I use repository "dnf-ci-fedora-modular" And I use repository "dnf-ci-fedora" @@ -100,7 +117,6 @@ Scenario: a package from a non-enabled module is preferred when default stream i And stderr contains "Error: No matching Modules to list" -@dnf5 Scenario: rpm from enabled stream is preferred regardless of NVRs Given I use repository "dnf-ci-fedora-modular" And I use repository "dnf-ci-fedora" @@ -112,6 +128,9 @@ Scenario: rpm from enabled stream is preferred regardless of NVRs | Action | Package | | install | ninja-build-0:1.5.2-1.module_1991+4e5efe2f.x86_64 | + +@xfail +# Reported as https://github.com/rpm-software-management/dnf5/issues/1811 @bz1762314 Scenario: I can install a specific package from a module and enable all module dependencies Given I use repository "dnf-ci-fedora-modular" diff --git a/dnf-behave-tests/dnf/module/install.feature b/dnf-behave-tests/dnf/module/install.feature index d27aee084..2a5fe16e0 100644 --- a/dnf-behave-tests/dnf/module/install.feature +++ b/dnf-behave-tests/dnf/module/install.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Installing module profiles Background: diff --git a/dnf-behave-tests/dnf/module/list.feature b/dnf-behave-tests/dnf/module/list.feature index bbb0457ba..ed4fde9ee 100644 --- a/dnf-behave-tests/dnf/module/list.feature +++ b/dnf-behave-tests/dnf/module/list.feature @@ -1,3 +1,6 @@ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Modules listing Background: diff --git a/dnf-behave-tests/dnf/module/metadata-errors.feature b/dnf-behave-tests/dnf/module/metadata-errors.feature index 6cb73ec78..e001f9cd5 100644 --- a/dnf-behave-tests/dnf/module/metadata-errors.feature +++ b/dnf-behave-tests/dnf/module/metadata-errors.feature @@ -1,3 +1,5 @@ +@xfail +# Reported as https://github.com/rpm-software-management/dnf5/issues/1855 Feature: Error reading modular metadata Background: Create a fake modules.yaml, gzip it and damage it @@ -27,7 +29,6 @@ Given I execute "echo "GARBAGE" >> {context.dnf.repos[dnf-ci-fedora].path}/repod # Throws a CloseError instead of ReadError, since libsolv only errors out on when closing the file # will be fixed in libsolv-0.7.12 or higher -@xfail @bz1771768 Scenario: The end of modules.yaml.gz cut off # remove the closing tag of repomd.xml so that we can append diff --git a/dnf-behave-tests/dnf/module/obsoletes.feature b/dnf-behave-tests/dnf/module/obsoletes.feature index 99d4e8140..cf7e605da 100644 --- a/dnf-behave-tests/dnf/module/obsoletes.feature +++ b/dnf-behave-tests/dnf/module/obsoletes.feature @@ -1,3 +1,6 @@ +@xfail +# Obsoletes are not implemented in dnf5 +# Mentioned in https://github.com/rpm-software-management/dnf5/issues/146 Feature: obsoletes reset/change streams in any transaction according to metadata @@ -34,7 +37,6 @@ Given I execute dnf with args "module install nodejs:5/minimal" | nodejs | enabled | 10 | | -@dnf5 Scenario: two stream changes, one of which is obsoletes, do not throw exception Given I execute dnf with args "module enable nodejs:5" When I use repository "dnf-ci-fedora-modular-obsoletes" diff --git a/dnf-behave-tests/dnf/module/platform.feature b/dnf-behave-tests/dnf/module/platform.feature index c60b42971..e312c0787 100644 --- a/dnf-behave-tests/dnf/module/platform.feature +++ b/dnf-behave-tests/dnf/module/platform.feature @@ -1,3 +1,4 @@ +@dnf5 @jiraRHELPLAN-6083 Feature: platform pseudo-module based on /etc/os-release @@ -16,7 +17,6 @@ Given I create file "/etc/os-release" with And I do not set default module platformid -@dnf5 @not.with_os=rhel__eq__8 Scenario: I can't enable module requiring different platform pseudo module Given I delete file "/etc/os-release" @@ -25,7 +25,6 @@ Given I delete file "/etc/os-release" And stderr contains "nothing provides module\(pseudoplatform:6.0\) needed by module dwm:6.0:20180813144159:.x86_64" -@dnf5 Scenario: I can't see pseudo-module in module listing When I execute dnf with args "module enable dwm:6.0" Then the exit code is 0 @@ -40,19 +39,15 @@ Scenario: I can't see pseudo-module in module listing Scenario: I can't list info for the pseudo-module When I execute dnf with args "module info pseudoplatform" - Then the exit code is 1 - And stdout is - """ - Unable to resolve argument pseudoplatform - """ + Then the exit code is 0 + And stdout is empty And stderr is """ - Error: No matching Modules to list + No matches found for "pseudoplatform". """ -@dnf5 Scenario: I can't enable pseudo-module When I execute dnf with args "module enable pseudoplatform:6.0" Then the exit code is 1 @@ -66,7 +61,10 @@ Scenario: I can't enable pseudo-module """ - Scenario: I can't install pseudo-module +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail +Scenario: I can't install pseudo-module When I execute dnf with args "module install pseudoplatform:6.0" Then the exit code is 1 And stderr contains lines @@ -76,7 +74,6 @@ Scenario: I can't enable pseudo-module """ -@dnf5 Scenario: I can't disable pseudo-module When I execute dnf with args "module disable pseudoplatform:6.0" Then the exit code is 1 @@ -90,6 +87,9 @@ Scenario: I can't disable pseudo-module """ +# Missing module update command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: I can't update pseudo-module When I execute dnf with args "module update pseudoplatform:6.0" Then the exit code is 1 @@ -99,6 +99,9 @@ Scenario: I can't update pseudo-module """ +# Missing module remove command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: I can't remove pseudo-module When I execute dnf with args "module remove pseudoplatform:6.0" Then the exit code is 0 diff --git a/dnf-behave-tests/dnf/module/provides.feature b/dnf-behave-tests/dnf/module/provides.feature index 86b23f676..3bd90a74f 100644 --- a/dnf-behave-tests/dnf/module/provides.feature +++ b/dnf-behave-tests/dnf/module/provides.feature @@ -1,3 +1,6 @@ +# Missing module provides command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Module provides command diff --git a/dnf-behave-tests/dnf/module/remove.feature b/dnf-behave-tests/dnf/module/remove.feature index 01c3359bd..2c98390f7 100644 --- a/dnf-behave-tests/dnf/module/remove.feature +++ b/dnf-behave-tests/dnf/module/remove.feature @@ -1,3 +1,6 @@ +# Missing module remove command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Module profile removal diff --git a/dnf-behave-tests/dnf/module/repoquery.feature b/dnf-behave-tests/dnf/module/repoquery.feature index db0cc0ac2..f920ad2ac 100644 --- a/dnf-behave-tests/dnf/module/repoquery.feature +++ b/dnf-behave-tests/dnf/module/repoquery.feature @@ -1,3 +1,6 @@ +# Missing module repoquery command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Modular repoquery diff --git a/dnf-behave-tests/dnf/module/switch.feature b/dnf-behave-tests/dnf/module/switch.feature index 4cbd787dc..db8790cbb 100644 --- a/dnf-behave-tests/dnf/module/switch.feature +++ b/dnf-behave-tests/dnf/module/switch.feature @@ -1,3 +1,6 @@ +# Missing module switch-to command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Switch module to streams Background: diff --git a/dnf-behave-tests/dnf/module/update.feature b/dnf-behave-tests/dnf/module/update.feature index ff350a2eb..366877912 100644 --- a/dnf-behave-tests/dnf/module/update.feature +++ b/dnf-behave-tests/dnf/module/update.feature @@ -1,3 +1,6 @@ +# Missing module update command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Feature: Updating module profiles diff --git a/dnf-behave-tests/dnf/module/updateinfo.feature b/dnf-behave-tests/dnf/module/updateinfo.feature index 65f29f60b..238870bf4 100644 --- a/dnf-behave-tests/dnf/module/updateinfo.feature +++ b/dnf-behave-tests/dnf/module/updateinfo.feature @@ -1,6 +1,9 @@ Feature: Advisory aplicability on a modular system +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @bz1622614 Scenario: List available updates for installed streams (updates available) Given I use repository "dnf-ci-fedora-modular" @@ -19,7 +22,7 @@ Given I use repository "dnf-ci-fedora-modular" | install-dep | postgresql-libs-0:9.6.8-1.module_1710+b535a823.x86_64 | | module-profile-install | postgresql/default | Given I use repository "dnf-ci-fedora-modular-updates" - When I execute dnf with args "updateinfo --list" + When I execute dnf with args "updateinfo list" Then the exit code is 0 And stderr is """ @@ -31,6 +34,9 @@ Given I use repository "dnf-ci-fedora-modular-updates" """ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @bz1622614 Scenario: Updates for non enabled streams are hidden Given I use repository "dnf-ci-fedora-modular" @@ -44,7 +50,7 @@ Given I use repository "dnf-ci-fedora-modular" | install-dep | postgresql-libs-0:6.1-1.module_2514+aa9aadc5.x86_64 | | module-profile-install | postgresql/default | Given I use repository "dnf-ci-fedora-modular-updates" - Then I execute dnf with args "updateinfo --list" + Then I execute dnf with args "updateinfo list" Then the exit code is 0 And stderr is """ @@ -53,8 +59,8 @@ Given I use repository "dnf-ci-fedora-modular-updates" And stdout is empty -# Test is failing with DNF 5. -# @dnf5 +# Reported as https://github.com/rpm-software-management/dnf5/issues/1856 +@xfail @bz1804234 Scenario: having installed packages from one collection and enabled all modules from another doesn't activate advisory Given I use repository "dnf-ci-fedora" @@ -69,15 +75,18 @@ Given I use repository "dnf-ci-fedora" And stdout is empty +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail @bz1804234 Scenario: having installed packages from all collections but enabled modules only for one shows just the one Given I use repository "dnf-ci-fedora" And I execute dnf with args "install nodejs" And I use repository "dnf-ci-fedora-modular" - And I execute dnf with args "module enable postgresql:9.6" - And I execute dnf with args "module install postgresql/default" + And I successfully execute dnf with args "module enable postgresql:9.6" + And I successfully execute dnf with args "module install postgresql/default" And I use repository "dnf-ci-fedora-modular-updates" - When I execute dnf with args "updateinfo --list" + When I execute dnf with args "updateinfo list" Then stderr is """ @@ -89,15 +98,18 @@ Given I use repository "dnf-ci-fedora" """ +# Missing module install command +# https://github.com/rpm-software-management/dnf5/issues/146 +@xfail Scenario: having two active collections shows packages from both Given I use repository "dnf-ci-fedora" - And I execute dnf with args "install nodejs" + And I successfully execute dnf with args "install nodejs" And I use repository "dnf-ci-fedora-modular" - And I execute dnf with args "module enable postgresql:9.6" - And I execute dnf with args "module install postgresql/default" + And I successfully execute dnf with args "module enable postgresql:9.6" + And I successfully execute dnf with args "module install postgresql/default" And I use repository "dnf-ci-fedora-modular-updates" - And I execute dnf with args "module enable nodejs:8" - When I execute dnf with args "updateinfo --list" + And I successfully execute dnf with args "module enable nodejs:8" + When I execute dnf with args "updateinfo list" Then stderr is """ @@ -108,6 +120,9 @@ Given I use repository "dnf-ci-fedora" FEDORA-2019-0329090518 enhancement postgresql-9.6.11-1.x86_64 """ + +# Reported as https://github.com/rpm-software-management/dnf5/issues/1811 +@xfail @bz1804234 Scenario: Show applicable advisories only from active contexts Given I use repository "dnf-ci-multicontext-modular-advisory" @@ -124,7 +139,7 @@ Given I use repository "dnf-ci-multicontext-modular-advisory" | install | test-perl-DBI-0:1-1.module_el8+7554+8763afg8.x86_64 | | install-dep | test-perl-0:5.24-2.module_el8+4182+3467aeg6.x86_64 | | module-stream-enable | perl-DBI:master | - When I execute dnf with args "updateinfo --list" + When I execute dnf with args "updateinfo list" Then the exit code is 0 And stderr is """