Skip to content

Commit

Permalink
tests: add mantic->noble upgrade test
Browse files Browse the repository at this point in the history
Signed-off-by: Renan Rodrigo <[email protected]>
  • Loading branch information
renanrodrigo committed Nov 15, 2023
1 parent 896a90d commit b93f67f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions features/ubuntu_upgrade.feature
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Feature: Upgrade between releases when uaclient is attached
| focal | jammy | lts | | esm-infra | enabled | esm-apps | enabled | true |
| jammy | lunar | normal | | esm-infra | n/a | esm-apps | n/a | true |
| lunar | mantic | normal | | esm-infra | n/a | esm-apps | n/a | true |
| mantic | noble | normal | --devel-release | esm-infra | n/a | esm-apps | n/a | true |

@slow
@series.xenial
Expand Down
5 changes: 3 additions & 2 deletions features/ubuntu_upgrade_unattached.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ Feature: Upgrade between releases when uaclient is unattached
And I verify that the folder `/var/lib/ubuntu-advantage/apt-esm` does not exist
When I run `apt update` with sudo
And I run shell command `cat /var/lib/ubuntu-advantage/apt-esm/etc/apt/sources.list.d/ubuntu-esm-apps.list || true` with sudo
Then if `<next_release>` not in `lunar or mantic` and stdout matches regexp:
Then if `<next_release>` not in `lunar or mantic or noble` and stdout matches regexp:
"""
deb https://esm.ubuntu.com/apps/ubuntu <next_release>-apps-security main
"""
And if `<next_release>` not in `lunar or mantic` and stdout matches regexp:
And if `<next_release>` not in `lunar or mantic or noble` and stdout matches regexp:
"""
deb https://esm.ubuntu.com/apps/ubuntu <next_release>-apps-updates main
"""
Expand All @@ -65,3 +65,4 @@ Feature: Upgrade between releases when uaclient is unattached
| focal | jammy | lts | | enabled |
| jammy | lunar | normal | | n/a |
| lunar | mantic | normal | | n/a |
| mantic | noble | normal | --devel-release | n/a |
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ commands =
behave-upgrade-20.04: behave -v {posargs} --tags="upgrade" --tags="series.focal,series.all"
behave-upgrade-22.04: behave -v {posargs} --tags="upgrade" --tags="series.jammy,series.all"
behave-upgrade-23.04: behave -v {posargs} --tags="upgrade" --tags="series.lunar,series.all"
behave-upgrade-23.10: behave -v {posargs} --tags="upgrade" --tags="series.mantic,series.all"

behave-awsgeneric-16.04: behave -v {posargs} --tags="uses.config.machine_type.aws.generic" --tags="series.xenial,series.lts,series.all" --tags="~upgrade"
behave-awsgeneric-18.04: behave -v {posargs} --tags="uses.config.machine_type.aws.generic" --tags="series.bionic,series.lts,series.all" --tags="~upgrade"
Expand Down

0 comments on commit b93f67f

Please sign in to comment.