Skip to content

Commit

Permalink
Annotate failing tests with lings to issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pkratoch committed Nov 1, 2024
1 parent 6ee47d2 commit c374112
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
10 changes: 6 additions & 4 deletions dnf-behave-tests/dnf/list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -448,12 +448,13 @@ Scenario: dnf list doesn't show package with same nevra from lower-priority repo
"""


# TODO(mblaha) --security not supported for list command
@xfail
# https://github.com/rpm-software-management/dnf5/issues/1816
@bz2124483
Scenario: dnf list updates --security shows upgrades as available when it changes arch from noarch
Given I use repository "security-upgrade"
And I execute dnf with args "install change-arch-noarch-1-1.noarch"
When I execute dnf with args "list upgrades --security"
When I execute dnf with args "list --upgrades --security"
Then the exit code is 0
And stderr is
"""
Expand All @@ -466,7 +467,8 @@ Given I use repository "security-upgrade"
"""


# TODO(mblaha) --security not supported for list command
@xfail
# https://github.com/rpm-software-management/dnf5/issues/1816
@bz2124483
Scenario: dnf list updates --security doesn't shnow an upgrade when it would require an arch change (when its not noarch)
Given I use repository "security-upgrade"
Expand All @@ -482,7 +484,7 @@ Given I use repository "security-upgrade"
"""
change-arch-0:2-2.x86_64
"""
When I execute dnf with args "list upgrades --security"
When I execute dnf with args "list --upgrades --security"
Then the exit code is 0
And stderr is
"""
Expand Down
2 changes: 2 additions & 0 deletions dnf-behave-tests/dnf/log-rotate.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Feature: Log rotation


@xfail
# https://github.com/rpm-software-management/dnf5/issues/1818
@bz1702690
@bz1816573
Scenario: Size and number of log files respects log_size and log_rotate options
Expand Down
4 changes: 4 additions & 0 deletions dnf-behave-tests/dnf/logs.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Feature: Logs


@xfail
# https://github.com/rpm-software-management/dnf5/issues/1819
@bz1802074
Scenario Outline: logfilelevel <level> controls verbosity of dnf.log
Given I use repository "dnf-ci-fedora-updates"
Expand Down Expand Up @@ -46,6 +48,8 @@ Given I use repository "dnf-ci-fedora-updates"
Given I set umask to "0022"


@xfail
# https://github.com/rpm-software-management/dnf5/issues/1820
@bz1910084
Scenario: Log rotation keeps file permissions
Given I use repository "dnf-ci-fedora-updates"
Expand Down
4 changes: 3 additions & 1 deletion dnf-behave-tests/dnf/obsoletes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ Scenario: Upgrade of obsoleted package if package specified by version with glob
| Replaced | PackageB-0:1.0-1.x86_64 | User | @System |


@xfail @bz1672618
@xfail
# https://github.com/rpm-software-management/dnf5/issues/1783
@bz1672618
Scenario: Keep reason of obsoleted package
When I execute dnf with args "install PackageB-1.0"
Then the exit code is 0
Expand Down

0 comments on commit c374112

Please sign in to comment.