diff --git a/features/_version.feature b/features/_version.feature index 0321b3c020..14f30aa079 100644 --- a/features/_version.feature +++ b/features/_version.feature @@ -23,73 +23,65 @@ Feature: Pro is expected version """ Examples: version - | release | machine_type | - | xenial | lxd-container | - | xenial | lxd-vm | - | xenial | aws.generic | - | xenial | aws.pro | - | xenial | aws.pro-fips | - | xenial | azure.generic | - | xenial | azure.pro | - | xenial | azure.pro-fips | - | xenial | gcp.generic | - | xenial | gcp.pro | - | xenial | gcp.pro-fips | - | bionic | lxd-container | - | bionic | lxd-vm | - | bionic | aws.generic | - | bionic | aws.pro | - | bionic | aws.pro-fips | - | bionic | azure.generic | - | bionic | azure.pro | - | bionic | azure.pro-fips | - | bionic | gcp.generic | - | bionic | gcp.pro | - | bionic | gcp.pro-fips | - | focal | lxd-container | - | focal | lxd-vm | - | focal | aws.generic | - | focal | aws.pro | - | focal | aws.pro-fips | - | focal | azure.generic | - | focal | azure.pro | - | focal | azure.pro-fips | - | focal | gcp.generic | - | focal | gcp.pro | - | focal | gcp.pro-fips | - | jammy | lxd-container | - | jammy | lxd-vm | - | jammy | aws.generic | - | jammy | aws.pro | - | jammy | aws.pro-fips | - | jammy | azure.generic | - | jammy | azure.pro | - | jammy | azure.pro-fips | - | jammy | gcp.generic | - | jammy | gcp.pro | - | jammy | gcp.pro-fips | - | mantic | lxd-container | - | mantic | lxd-vm | - | mantic | aws.generic | - | mantic | aws.pro | - | mantic | aws.pro-fips | - | mantic | azure.generic | - | mantic | azure.pro | - | mantic | azure.pro-fips | - | mantic | gcp.generic | - | mantic | gcp.pro | - | mantic | gcp.pro-fips | - | noble | lxd-container | - | noble | lxd-vm | - | noble | aws.generic | - | noble | aws.pro | - | noble | aws.pro-fips | - | noble | azure.generic | - | noble | azure.pro | - | noble | azure.pro-fips | - | noble | gcp.generic | - | noble | gcp.pro | - | noble | gcp.pro-fips | + | release | machine_type | + | xenial | lxd-container | + | xenial | lxd-vm | + | xenial | aws.generic | + | xenial | aws.pro | + | xenial | aws.pro-fips | + | xenial | azure.generic | + | xenial | azure.pro | + | xenial | azure.pro-fips | + | xenial | gcp.generic | + | xenial | gcp.pro | + | xenial | gcp.pro-fips | + | bionic | lxd-container | + | bionic | lxd-vm | + | bionic | aws.generic | + | bionic | aws.pro | + | bionic | aws.pro-fips | + | bionic | azure.generic | + | bionic | azure.pro | + | bionic | azure.pro-fips | + | bionic | gcp.generic | + | bionic | gcp.pro | + | bionic | gcp.pro-fips | + | focal | lxd-container | + | focal | lxd-vm | + | focal | aws.generic | + | focal | aws.pro | + | focal | aws.pro-fips | + | focal | azure.generic | + | focal | azure.pro | + | focal | azure.pro-fips | + | focal | gcp.generic | + | focal | gcp.pro | + | focal | gcp.pro-fips | + | jammy | lxd-container | + | jammy | lxd-vm | + | jammy | aws.generic | + | jammy | aws.pro | + | jammy | aws.pro-fips | + | jammy | azure.generic | + | jammy | azure.pro | + | jammy | azure.pro-fips | + | jammy | gcp.generic | + | jammy | gcp.pro | + | jammy | gcp.pro-fips | + | noble | lxd-container | + | noble | lxd-vm | + | noble | aws.generic | + | noble | aws.pro | + | noble | aws.pro-fips | + | noble | azure.generic | + | noble | azure.pro | + | noble | azure.pro-fips | + | noble | gcp.generic | + | noble | gcp.pro | + | noble | gcp.pro-fips | + # no oracular on clouds yet - add it when those are available + | oracular | lxd-container | + | oracular | lxd-vm | @uses.config.check_version @upgrade Scenario Outline: Check pro version @@ -114,13 +106,13 @@ Feature: Pro is expected version """ Examples: version - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | @uses.config.contract_token Scenario Outline: Attached show version in a ubuntu machine @@ -136,13 +128,13 @@ Feature: Pro is expected version Then I will see the uaclient version on stdout Examples: ubuntu release - | release | machine_type | - | bionic | lxd-container | - | focal | lxd-container | - | xenial | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | focal | lxd-container | + | xenial | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Check for newer versions of the client in an ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -218,10 +210,10 @@ Feature: Pro is expected version """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/api/api.feature b/features/api/api.feature index 46c51e82bc..49cfdd1889 100644 --- a/features/api/api.feature +++ b/features/api/api.feature @@ -26,13 +26,13 @@ Feature: Client behaviour for the API endpoints When I run `python3 -c "from uaclient.api.u.pro.detach.v1 import detach"` as non-root Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: API invalid endpoint or args Given a `` `` machine with ubuntu-advantage-tools installed @@ -75,13 +75,13 @@ Feature: Client behaviour for the API endpoints """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Basic endpoints Given a `` `` machine with ubuntu-advantage-tools installed @@ -167,13 +167,13 @@ Feature: Client behaviour for the API endpoints """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | @uses.config.contract_token Scenario Outline: u.pro.status.is_attached.v1 @@ -279,10 +279,10 @@ Feature: Client behaviour for the API endpoints """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/api/enable.feature b/features/api/enable.feature index 97f3ad7f19..5924fd656e 100644 --- a/features/api/enable.feature +++ b/features/api/enable.feature @@ -166,8 +166,9 @@ Feature: u.pro.services.enable """ Examples: - | release | machine_type | - | mantic | lxd-container | + | release | machine_type | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: u.pro.services.enable.v1 vm services Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/api/fix_plan.feature b/features/api/fix_plan.feature index c49d852901..d5a007f6e0 100644 --- a/features/api/fix_plan.feature +++ b/features/api/fix_plan.feature @@ -3011,5 +3011,5 @@ Feature: Fix plan API endpoints """ Examples: ubuntu release details - | release | machine_type | - | mantic | lxd-vm | + | release | machine_type | + | oracular | lxd-vm | diff --git a/features/api/packages.feature b/features/api/packages.feature index 7690b21bd2..b3b02945cf 100644 --- a/features/api/packages.feature +++ b/features/api/packages.feature @@ -54,4 +54,5 @@ Feature: Package related API endpoints | focal | wsl | libcurl4 | 7.68.0-1ubuntu2 | standard-security | | jammy | lxd-container | libcurl4 | 7.81.0-1 | standard-security | | jammy | wsl | libcurl4 | 7.81.0-1 | standard-security | - | mantic | lxd-container | libcurl4 | 8.2.1-1ubuntu3 | standard-security | + +# TODO: add noble/oracular? diff --git a/features/api/services_dependencies.feature b/features/api/services_dependencies.feature index 7f4c3c6092..1d542387e4 100644 --- a/features/api/services_dependencies.feature +++ b/features/api/services_dependencies.feature @@ -365,9 +365,10 @@ Feature: u.pro.services.dependencies """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/api/unattended_upgrades.feature b/features/api/unattended_upgrades.feature index 766130b126..377ba23e37 100644 --- a/features/api/unattended_upgrades.feature +++ b/features/api/unattended_upgrades.feature @@ -247,10 +247,10 @@ Feature: api.u.unattended_upgrades.status.v1 """ Examples: ubuntu release - | release | machine_type | extra_field | - | xenial | lxd-container | | - | bionic | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "false" | - | focal | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "auto" | - | jammy | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "auto" | - | mantic | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "auto" | - | noble | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "auto" | + | release | machine_type | extra_field | + | xenial | lxd-container | | + | bionic | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "false" | + | focal | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "auto" | + | jammy | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "auto" | + | noble | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "auto" | + | oracular | lxd-container | ,\n"Unattended-Upgrade::DevRelease": "auto" | diff --git a/features/apt_messages.feature b/features/apt_messages.feature index 27ffcd7745..8298cdaf04 100644 --- a/features/apt_messages.feature +++ b/features/apt_messages.feature @@ -208,7 +208,7 @@ Feature: APT Messages When I run `pro detach --assume-yes` with sudo # We are doing this because ESM pin might prevent some packages to be upgraded (i.e. # distro-info-data) - When I apt upgrade + When I apt dist-upgrade Given a `focal` `` machine named `apt-news-server` When I apt install `nginx` on the `apt-news-server` machine When I run `sed -i "s/gzip on;/gzip on;\n\tgzip_min_length 1;\n\tgzip_types application\/json;\n/" /etc/nginx/nginx.conf` `with sudo` on the `apt-news-server` machine @@ -657,11 +657,78 @@ Feature: APT Messages | focal | lxd-vm | | jammy | lxd-container | | jammy | lxd-vm | - | mantic | lxd-container | - | mantic | lxd-vm | | noble | lxd-container | | noble | lxd-vm | + # This is a subset of the above test, only checking proper outputs for Oracular + # At some point in time, ideally before next LTS, we need to invert this: + # Have the new APT output in the full test, using latest releases, and a subset for the + # old output. + @uses.config.contract_token + Scenario Outline: APT News + Given a `` `` machine with ubuntu-advantage-tools installed + When I attach `contract_token` with sudo + When I remove support for `backports` in APT + When I apt upgrade including phased updates + When I apt autoremove + When I apt install `jq` + When I run `pro detach --assume-yes` with sudo + # We are doing this because ESM pin might prevent some packages to be upgraded (i.e. + # distro-info-data) + When I apt dist-upgrade + Given a `focal` `` machine named `apt-news-server` + When I apt install `nginx` on the `apt-news-server` machine + When I run `sed -i "s/gzip on;/gzip on;\n\tgzip_min_length 1;\n\tgzip_types application\/json;\n/" /etc/nginx/nginx.conf` `with sudo` on the `apt-news-server` machine + When I run `systemctl restart nginx` `with sudo` on the `apt-news-server` machine + When I run `pro config set apt_news_url=http://$behave_var{machine-ip apt-news-server}/aptnews.json` with sudo + When I create the file `/var/www/html/aptnews.json` on the `apt-news-server` machine with the following: + """ + { + "messages": [ + { + "begin": "$behave_var{today}", + "lines": [ + "one" + ] + } + ] + } + """ + When I run `pro refresh messages` with sudo + When I apt upgrade + Then I will see the following on stdout + """ + Reading package lists... + Building dependency tree... + Reading state information... + Calculating upgrade... + # + # one + # + Summary: + Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 + """ + When I run shell command `pro api u.apt_news.current_news.v1 | jq .data.attributes.current_news` as non-root + Then I will see the following on stdout + """ + "one" + """ + # Test that it is not shown in apt-get output + When I apt-get upgrade + Then I will see the following on stdout + """ + Reading package lists... + Building dependency tree... + Reading state information... + Calculating upgrade... + 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + """ + + Examples: ubuntu release + | release | machine_type | + | oracular | lxd-container | + | oracular | lxd-vm | + Scenario Outline: Cloud and series-specific URLs Given a `` `` machine with ubuntu-advantage-tools installed When I apt install `ansible` @@ -931,7 +998,7 @@ Feature: APT Messages { "begin": "$behave_var{today}", "selectors": { - "packages": [["", "<", "8.2.1-1ubuntu3.2"]] + "packages": [["", "<", "9.0.0"]] }, "lines": [ "one", @@ -1088,17 +1155,20 @@ Feature: APT Messages | bionic | lxd-container | focal | libcurl4 | 7.58.0-2ubuntu3 | | focal | lxd-container | bionic | libcurl4 | 7.68.0-1ubuntu2 | | jammy | lxd-container | focal | libcurl4 | 7.81.0-1 | - | mantic | lxd-container | jammy | libcurl4 | 8.2.1-1ubuntu3 | + # No -updates/-security version for oracular before release + # | oracular | lxd-container | jammy | libcurl4t64 | 8.8.0-3ubuntu3 | + | noble | lxd-container | jammy | libcurl4t64 | 8.5.0-2ubuntu10 | @uses.config.contract_token Scenario Outline: APT Hook do not advertises esm-apps on upgrade for interim releases Given a `` `` machine with ubuntu-advantage-tools installed When I apt upgrade including phased updates - When I apt autoremove - When I apt install `hello` - When I run `pro config set apt_news=false` with sudo - When I run `pro refresh messages` with sudo - When I apt upgrade + And I apt dist-upgrade + And I apt autoremove + And I apt install `hello` + And I run `pro config set apt_news=false` with sudo + And I run `pro refresh messages` with sudo + And I apt upgrade Then stdout does not match regexp: """ Get more security updates through Ubuntu Pro with 'esm-apps' enabled: @@ -1120,7 +1190,8 @@ Feature: APT Messages Building dependency tree... Reading state information... Calculating upgrade... - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded\. + Summary: + Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 """ When I apt upgrade When I run `pro detach --assume-yes` with sudo @@ -1132,9 +1203,10 @@ Feature: APT Messages Building dependency tree... Reading state information... Calculating upgrade... - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded\. + Summary: + Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 """ Examples: ubuntu release - | release | machine_type | - | mantic | lxd-container | + | release | machine_type | + | oracular | lxd-container | diff --git a/features/autocomplete.feature b/features/autocomplete.feature index e57b9670c9..16b495cbba 100644 --- a/features/autocomplete.feature +++ b/features/autocomplete.feature @@ -56,10 +56,10 @@ Feature: Pro autocomplete commands """ Examples: ubuntu release - | release | machine_type | + | release | machine_type | # | xenial | lxd-container | Can't rely on Xenial because of bash sorting things weirdly - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/cc_eal.feature b/features/cc_eal.feature index 115c1fc39f..a74e049434 100644 --- a/features/cc_eal.feature +++ b/features/cc_eal.feature @@ -64,7 +64,8 @@ Feature: Enable cc-eal on Ubuntu """ Examples: ubuntu release - | release | machine_type | version | full_name | - | focal | lxd-container | 20.04 LTS | Focal Fossa | - | jammy | lxd-container | 22.04 LTS | Jammy Jellyfish | - | mantic | lxd-container | 23.10 | Mantic Minotaur | + | release | machine_type | version | full_name | + | focal | lxd-container | 20.04 LTS | Focal Fossa | + | jammy | lxd-container | 22.04 LTS | Jammy Jellyfish | + | noble | lxd-container | 24.04 LTS | Noble Numbat | + | oracular | lxd-container | 24.10 | Oracular Oriole | diff --git a/features/cli/attach.feature b/features/cli/attach.feature index 8477b86357..83fa05f05b 100644 --- a/features/cli/attach.feature +++ b/features/cli/attach.feature @@ -1,41 +1,41 @@ @uses.config.contract_token Feature: CLI attach command - Scenario Outline: Attached command in a non-lts ubuntu machine - Given a `` `` machine with ubuntu-advantage-tools installed - When I attach `contract_token` with sudo - And I run `pro status` as non-root - Then stdout matches regexp: - """ - - """ - And stdout matches regexp: - """ - For a list of all Ubuntu Pro services, run 'pro status --all' - """ - When I run `pro status --all` as non-root - Then stdout matches regexp: - """ - SERVICE +ENTITLED +STATUS +DESCRIPTION - anbox-cloud +yes +n/a +.* - cc-eal +yes +n/a +Common Criteria EAL2 Provisioning Packages - cis +yes +n/a +Security compliance and audit tools - esm-apps +yes +n/a +Expanded Security Maintenance for Applications - esm-infra +yes +n/a +Expanded Security Maintenance for Infrastructure - fips +yes +n/a +NIST-certified FIPS crypto packages - fips-preview +yes +n/a +.* - fips-updates +yes +n/a +FIPS compliant crypto packages with stable security updates - landscape +yes + +Management and administration tool for Ubuntu - livepatch +yes +n/a +Canonical Livepatch service - """ - And stdout does not match regexp: - """ - For a list of all Ubuntu Pro services, run 'pro status --all' - """ - - Examples: ubuntu release - | release | machine_type | landscape | status_string | - | mantic | lxd-container | disabled | landscape +yes +disabled +Management and administration tool for Ubuntu | + # To be uncommented when Oracular backend definitions are done (at least for landscape) + # Scenario Outline: Attached command in a non-lts ubuntu machine + # Given a `` `` machine with ubuntu-advantage-tools installed + # When I attach `contract_token` with sudo + # And I run `pro status` as non-root + # Then stdout matches regexp: + # """ + # + # """ + # And stdout matches regexp: + # """ + # For a list of all Ubuntu Pro services, run 'pro status --all' + # """ + # When I run `pro status --all` as non-root + # Then stdout matches regexp: + # """ + # SERVICE +ENTITLED +STATUS +DESCRIPTION + # anbox-cloud +yes +n/a +.* + # cc-eal +yes +n/a +Common Criteria EAL2 Provisioning Packages + # cis +yes +n/a +Security compliance and audit tools + # esm-apps +yes +n/a +Expanded Security Maintenance for Applications + # esm-infra +yes +n/a +Expanded Security Maintenance for Infrastructure + # fips +yes +n/a +NIST-certified FIPS crypto packages + # fips-preview +yes +n/a +.* + # fips-updates +yes +n/a +FIPS compliant crypto packages with stable security updates + # landscape +yes + +Management and administration tool for Ubuntu + # livepatch +yes +n/a +Canonical Livepatch service + # """ + # And stdout does not match regexp: + # """ + # For a list of all Ubuntu Pro services, run 'pro status --all' + # """ + # Examples: ubuntu release + # | release | machine_type | landscape | status_string | + # | oracular | lxd-container | disabled | landscape +yes +disabled +Management and administration tool for Ubuntu | Scenario Outline: Attach command with attach config Given a `` `` machine with ubuntu-advantage-tools installed @@ -341,13 +341,13 @@ Feature: CLI attach command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | @uses.config.contract_token_staging_expired Scenario Outline: Attach command failure on expired token @@ -387,13 +387,13 @@ Feature: CLI attach command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Attach operation on a lxd vm Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/cli/auto_attach.feature b/features/cli/auto_attach.feature index 2c0d121df6..f8855c8543 100644 --- a/features/cli/auto_attach.feature +++ b/features/cli/auto_attach.feature @@ -28,13 +28,13 @@ Feature: CLI auto-attach command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Unattached auto-attach does nothing in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -57,10 +57,10 @@ Feature: CLI auto-attach command """ Examples: ubuntu release - | release | machine_type | - | bionic | lxd-container | - | focal | lxd-container | - | xenial | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | focal | lxd-container | + | xenial | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/cli/collect_logs.feature b/features/cli/collect_logs.feature index 6102cef7ba..b68279c02c 100644 --- a/features/cli/collect_logs.feature +++ b/features/cli/collect_logs.feature @@ -39,13 +39,13 @@ Feature: CLI collect-logs command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | @uses.config.contract_token Scenario Outline: Run collect-logs on an attached machine diff --git a/features/cli/config.feature b/features/cli/config.feature index c6dd45fa69..41c8511b19 100644 --- a/features/cli/config.feature +++ b/features/cli/config.feature @@ -47,8 +47,8 @@ Feature: CLI config command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/cli/detach.feature b/features/cli/detach.feature index 461de67cc2..d7abb5f0d8 100644 --- a/features/cli/detach.feature +++ b/features/cli/detach.feature @@ -159,13 +159,13 @@ Feature: CLI detach command """ Examples: pro commands - | release | machine_type | - | bionic | lxd-container | - | bionic | wsl | - | focal | lxd-container | - | focal | wsl | - | xenial | lxd-container | - | jammy | lxd-container | - | jammy | wsl | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | bionic | wsl | + | focal | lxd-container | + | focal | wsl | + | xenial | lxd-container | + | jammy | lxd-container | + | jammy | wsl | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/cli/disable.feature b/features/cli/disable.feature index 0cc42d5408..76a770249d 100644 --- a/features/cli/disable.feature +++ b/features/cli/disable.feature @@ -470,13 +470,13 @@ Feature: CLI disable command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | bionic | wsl | - | focal | lxd-container | - | focal | wsl | - | jammy | lxd-container | - | jammy | wsl | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | bionic | wsl | + | focal | lxd-container | + | focal | wsl | + | jammy | lxd-container | + | jammy | wsl | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/cli/enable.feature b/features/cli/enable.feature index 0f2f5cebb7..0798e17ac8 100644 --- a/features/cli/enable.feature +++ b/features/cli/enable.feature @@ -619,13 +619,13 @@ Feature: CLI enable command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | bionic | wsl | - | focal | lxd-container | - | focal | wsl | - | jammy | lxd-container | - | jammy | wsl | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | bionic | wsl | + | focal | lxd-container | + | focal | wsl | + | jammy | lxd-container | + | jammy | wsl | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/cli/help.feature b/features/cli/help.feature index b9db99bf30..815bdc9492 100644 --- a/features/cli/help.feature +++ b/features/cli/help.feature @@ -433,13 +433,13 @@ Feature: Pro Client help text """ Examples: ubuntu release - | release | machine_type | infra-status | - | bionic | lxd-container | enabled | - | xenial | lxd-container | enabled | - | focal | lxd-container | enabled | - | jammy | lxd-container | enabled | - | mantic | lxd-container | n/a | - | noble | lxd-container | enabled | + | release | machine_type | infra-status | + | bionic | lxd-container | enabled | + | xenial | lxd-container | enabled | + | focal | lxd-container | enabled | + | jammy | lxd-container | enabled | + | noble | lxd-container | enabled | + | oracular | lxd-container | n/a | Scenario Outline: Help command on an unattached machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -478,13 +478,13 @@ Feature: Pro Client help text """ Examples: ubuntu release - | release | machine_type | infra-available | - | xenial | lxd-container | yes | - | bionic | lxd-container | yes | - | bionic | wsl | yes | - | focal | lxd-container | yes | - | focal | wsl | yes | - | jammy | lxd-container | yes | - | jammy | wsl | yes | - | mantic | lxd-container | no | - | noble | lxd-container | yes | + | release | machine_type | infra-available | + | xenial | lxd-container | yes | + | bionic | lxd-container | yes | + | bionic | wsl | yes | + | focal | lxd-container | yes | + | focal | wsl | yes | + | jammy | lxd-container | yes | + | jammy | wsl | yes | + | noble | lxd-container | yes | + | oracular | lxd-container | no | diff --git a/features/cli/refresh.feature b/features/cli/refresh.feature index 8dc378fad1..41917b2ad8 100644 --- a/features/cli/refresh.feature +++ b/features/cli/refresh.feature @@ -36,16 +36,16 @@ Feature: CLI refresh command """ Examples: ubuntu release - | release | machine_type | - | bionic | lxd-container | - | bionic | wsl | - | focal | lxd-container | - | focal | wsl | - | xenial | lxd-container | - | jammy | lxd-container | - | jammy | wsl | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | bionic | wsl | + | focal | lxd-container | + | focal | wsl | + | xenial | lxd-container | + | jammy | lxd-container | + | jammy | wsl | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Unattached commands that requires enabled user in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -62,13 +62,13 @@ Feature: CLI refresh command """ Examples: pro commands - | release | machine_type | - | bionic | lxd-container | - | bionic | wsl | - | focal | lxd-container | - | focal | wsl | - | xenial | lxd-container | - | jammy | lxd-container | - | jammy | wsl | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | bionic | wsl | + | focal | lxd-container | + | focal | wsl | + | xenial | lxd-container | + | jammy | lxd-container | + | jammy | wsl | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/cli/security_status.feature b/features/cli/security_status.feature index 4190c1443c..9b1f8712c8 100644 --- a/features/cli/security_status.feature +++ b/features/cli/security_status.feature @@ -772,8 +772,8 @@ Feature: CLI security-status command | focal | wsl | # Latest released non-LTS - Scenario: Run security status in an Ubuntu machine - Given a `mantic` `lxd-container` machine with ubuntu-advantage-tools installed + Scenario Outline: Run security status in an Ubuntu machine + Given a `` `` machine with ubuntu-advantage-tools installed When I install third-party / unknown packages in the machine # Ansible is in esm-apps And I apt install `ansible` @@ -791,7 +791,7 @@ Feature: CLI security-status command pro security-status --help for a list of available options\. - Main/Restricted packages receive updates until 7/2024\. + Main/Restricted packages receive updates until 7/2025\. Ubuntu Pro is not available for non-LTS releases\. """ @@ -802,7 +802,7 @@ Feature: CLI security-status command \d+ packages installed: +\d+ packages from Ubuntu Main/Restricted repository - Main/Restricted packages receive updates until 7/2024\. + Main/Restricted packages receive updates until 7/2025\. Ubuntu Pro is not available for non-LTS releases\. """ @@ -833,7 +833,7 @@ Feature: CLI security-status command sudo apt update to get the latest package information from apt\. - Main/Restricted packages receive updates until 7/2024\. + Main/Restricted packages receive updates until 7/2025\. Ubuntu Pro is not available for non-LTS releases\. """ @@ -855,11 +855,15 @@ Feature: CLI security-status command sudo apt update to get the latest package information from apt\. - Main/Restricted packages receive updates until 7/2024\. + Main/Restricted packages receive updates until 7/2025\. Ubuntu Pro is not available for non-LTS releases\. """ + Examples: ubuntu release + | release | machine_type | + | oracular | lxd-container | + Scenario Outline: Pass custom APT configuration to the Client for updates information Given a `` `` machine with ubuntu-advantage-tools installed When I ensure -proposed is not enabled anymore diff --git a/features/cli/status.feature b/features/cli/status.feature index b0363e6cfa..d7b52043ce 100644 --- a/features/cli/status.feature +++ b/features/cli/status.feature @@ -69,13 +69,13 @@ Feature: CLI status command And I verify that `/var/lib/ubuntu-advantage/status.json` is owned by `root:root` with permission `644` Examples: ubuntu release - | release | machine_type | - | bionic | lxd-container | - | focal | lxd-container | - | xenial | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | focal | lxd-container | + | xenial | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | @uses.config.contract_token Scenario Outline: Non-root status can see in-progress operations @@ -521,13 +521,13 @@ Feature: CLI status command """ Examples: ubuntu release - | release | machine_type | - | bionic | lxd-container | - | focal | lxd-container | - | xenial | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | focal | lxd-container | + | xenial | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Unattached status in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -1190,12 +1190,13 @@ Feature: CLI status command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Warn users not to redirect/pipe human readable output Given a `` `` machine with ubuntu-advantage-tools installed @@ -1283,10 +1284,10 @@ Feature: CLI status command """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/daemon.feature b/features/daemon.feature index 012bc1c886..111d80662d 100644 --- a/features/daemon.feature +++ b/features/daemon.feature @@ -10,12 +10,12 @@ Feature: Pro Upgrade Daemon only runs in environments where necessary """ Examples: version - | release | machine_type | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | @uses.config.contract_token Scenario Outline: cloud-id-shim should run in postinst and on boot @@ -270,29 +270,28 @@ Feature: Pro Upgrade Daemon only runs in environments where necessary | jammy | azure.generic | | noble | azure.generic | - @uses.config.contract_token - Scenario Outline: daemon does not start on gcp,azure generic non lts - Given a `` `` machine with ubuntu-advantage-tools installed - When I wait `1` seconds - When I run `journalctl -o cat -u ubuntu-advantage.service` with sudo - Then stdout contains substring: - """ - daemon starting - """ - Then stdout contains substring: - """ - Not on LTS, shutting down - """ - Then stdout contains substring: - """ - daemon ending - """ - - Examples: version - | release | machine_type | - | mantic | azure.generic | - | mantic | gcp.generic | - + # Not available yet - uncomment when oracular is in the clouds + # @uses.config.contract_token + # Scenario Outline: daemon does not start on gcp,azure generic non lts + # Given a `` `` machine with ubuntu-advantage-tools installed + # When I wait `1` seconds + # When I run `journalctl -o cat -u ubuntu-advantage.service` with sudo + # Then stdout contains substring: + # """ + # daemon starting + # """ + # Then stdout contains substring: + # """ + # Not on LTS, shutting down + # """ + # Then stdout contains substring: + # """ + # daemon ending + # """ + # Examples: version + # | release | machine_type | + # | oracular | azure.generic | + # | oracular | gcp.generic | @uses.config.contract_token Scenario Outline: daemon does not start when not on gcpgeneric or azuregeneric Given a `` `` machine with ubuntu-advantage-tools installed @@ -313,25 +312,25 @@ Feature: Pro Upgrade Daemon only runs in environments where necessary """ Examples: version - | release | machine_type | - | xenial | lxd-container | - | xenial | lxd-vm | - | xenial | aws.generic | - | bionic | lxd-container | - | bionic | lxd-vm | - | bionic | aws.generic | - | focal | lxd-container | - | focal | lxd-vm | - | focal | aws.generic | - | jammy | lxd-container | - | jammy | lxd-vm | - | jammy | aws.generic | - | mantic | lxd-container | - | mantic | lxd-vm | - | mantic | aws.generic | - | noble | lxd-container | - | noble | lxd-vm | - | noble | aws.generic | + | release | machine_type | + | xenial | lxd-container | + | xenial | lxd-vm | + | xenial | aws.generic | + | bionic | lxd-container | + | bionic | lxd-vm | + | bionic | aws.generic | + | focal | lxd-container | + | focal | lxd-vm | + | focal | aws.generic | + | jammy | lxd-container | + | jammy | lxd-vm | + | jammy | aws.generic | + | noble | lxd-container | + | noble | lxd-vm | + | noble | aws.generic | + # | oracular | aws.generic | - not there yet + | oracular | lxd-container | + | oracular | lxd-vm | Scenario Outline: daemon does not start when not on gcpgeneric or azuregeneric Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/docker.feature b/features/docker.feature index c66a1bfa75..6f3d9c75bc 100644 --- a/features/docker.feature +++ b/features/docker.feature @@ -65,13 +65,13 @@ Feature: Build docker images with pro services Then I verify that running `DOCKER_BUILDKIT=1 docker build . --no-cache --secret id=ua-attach-config,src=ua-attach-config.yaml -t ua-test` `with sudo` exits `1` Examples: ubuntu release - | release | machine_type | container_release | enable_services | test_package_name | test_package_version | - | mantic | lxd-vm | xenial | [ esm-infra ] | curl | esm | - | mantic | lxd-vm | bionic | [ fips ] | openssl | fips | - | mantic | lxd-vm | focal | [ esm-apps ] | hello | esm | - | noble | lxd-vm | xenial | [ esm-infra ] | curl | esm | - | noble | lxd-vm | bionic | [ fips ] | openssl | fips | - | noble | lxd-vm | focal | [ esm-apps ] | hello | esm | + | release | machine_type | container_release | enable_services | test_package_name | test_package_version | + | noble | lxd-vm | xenial | [ esm-infra ] | curl | esm | + | noble | lxd-vm | bionic | [ fips ] | openssl | fips | + | noble | lxd-vm | focal | [ esm-apps ] | hello | esm | + | oracular | lxd-vm | xenial | [ esm-infra ] | curl | esm | + | oracular | lxd-vm | bionic | [ fips ] | openssl | fips | + | oracular | lxd-vm | focal | [ esm-apps ] | hello | esm | Scenario Outline: Build pro docker images auto-attached instances - settings_overrides method Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/fix.feature b/features/fix.feature index 85d5a96581..8377dedff2 100644 --- a/features/fix.feature +++ b/features/fix.feature @@ -22,13 +22,13 @@ Feature: Ua fix command behaviour """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Fix command on an unattached machine Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/i18n.feature b/features/i18n.feature index 6bf468fdf6..4974987cfa 100644 --- a/features/i18n.feature +++ b/features/i18n.feature @@ -62,8 +62,8 @@ Feature: Pro supports multiple languages """ Examples: ubuntu release - | release | machine_type | - | mantic | lxd-container | + | release | machine_type | + | oracular | lxd-container | # Note: Translations do work on xenial, but our test environment triggers a bug in python that # causes it to think we're in an ascii-only environment @@ -221,12 +221,13 @@ Feature: Pro supports multiple languages Then I will see the uaclient version on stdout Examples: ubuntu release - | release | machine_type | - | bionic | lxd-container | - | focal | lxd-container | - | xenial | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | focal | lxd-container | + | xenial | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | @uses.config.contract_token Scenario Outline: Pro client's commands run successfully in a non-utf8 locale @@ -278,10 +279,10 @@ Feature: Pro supports multiple languages """ Examples: ubuntu release - | release | machine_type | - | bionic | lxd-container | - | focal | lxd-container | - | xenial | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | bionic | lxd-container | + | focal | lxd-container | + | xenial | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/install_uninstall.feature b/features/install_uninstall.feature index c116f62988..89fc84e6d5 100644 --- a/features/install_uninstall.feature +++ b/features/install_uninstall.feature @@ -6,13 +6,13 @@ Feature: Pro Install and Uninstall related tests Then I verify that running `dpkg-reconfigure ` `with sudo` exits `0` Examples: ubuntu release - | release | machine_type | pkg_name | - | xenial | lxd-container | ubuntu-advantage-tools | - | bionic | lxd-container | ubuntu-advantage-tools | - | focal | lxd-container | ubuntu-advantage-tools | - | jammy | lxd-container | ubuntu-advantage-tools | - | mantic | lxd-container | ubuntu-advantage-tools | - | noble | lxd-container | ubuntu-pro-client | + | release | machine_type | pkg_name | + | xenial | lxd-container | ubuntu-advantage-tools | + | bionic | lxd-container | ubuntu-advantage-tools | + | focal | lxd-container | ubuntu-advantage-tools | + | jammy | lxd-container | ubuntu-advantage-tools | + | noble | lxd-container | ubuntu-pro-client | + | oracular | lxd-container | ubuntu-pro-client | @uses.config.contract_token Scenario Outline: Purge package after attaching it to a machine @@ -122,13 +122,13 @@ Feature: Pro Install and Uninstall related tests Then I verify that `ubuntu-advantage-tools` is installed Examples: ubuntu release - | release | machine_type | user_data_field | - | xenial | lxd-container | ubuntu-advantage | - | bionic | lxd-container | ubuntu_advantage | - | focal | lxd-container | ubuntu_advantage | - | jammy | lxd-container | ubuntu_advantage | - | mantic | lxd-container | ubuntu_advantage | - | noble | lxd-container | ubuntu_pro | + | release | machine_type | user_data_field | + | xenial | lxd-container | ubuntu-advantage | + | bionic | lxd-container | ubuntu_advantage | + | focal | lxd-container | ubuntu_advantage | + | jammy | lxd-container | ubuntu_advantage | + | noble | lxd-container | ubuntu_pro | + | oracular | lxd-container | ubuntu_pro | @uses.config.contract_token Scenario Outline: Create public machine token on postinst diff --git a/features/landscape.feature b/features/landscape.feature index b3c204abe3..7c6bd1ef14 100644 --- a/features/landscape.feature +++ b/features/landscape.feature @@ -103,7 +103,7 @@ Feature: Enable landscape on Ubuntu Examples: ubuntu release | release | machine_type | - | mantic | lxd-container | + # | oracular | lxd-container | - not yet in the backend | noble | lxd-container | Scenario Outline: Enable Landscape interactively @@ -178,7 +178,7 @@ Feature: Enable landscape on Ubuntu Examples: ubuntu release | release | machine_type | - | mantic | lxd-container | + # | oracular | lxd-container | - not yet in the backend | noble | lxd-container | Scenario Outline: Easily re-enable Landscape non-interactively after a disable @@ -265,7 +265,7 @@ Feature: Enable landscape on Ubuntu Examples: ubuntu release | release | machine_type | - | mantic | lxd-container | + # | oracular | lxd-container | - not yet in the backend | noble | lxd-container | Scenario Outline: Detaching/reattaching on an unsupported release does not affect landscape diff --git a/features/livepatch.feature b/features/livepatch.feature index ed849bf632..8f69b64188 100644 --- a/features/livepatch.feature +++ b/features/livepatch.feature @@ -191,8 +191,8 @@ Feature: Livepatch """ Examples: ubuntu release - | release | machine_type | pretty_name | - | mantic | lxd-vm | 23.10 (Mantic Minotaur) | + | release | machine_type | pretty_name | + | oracular | lxd-vm | 24.10 (Oracular Oriole) | Scenario Outline: Livepatch is supported on interim HWE kernel # This test is intended to ensure that an interim HWE kernel has the correct support status diff --git a/features/logs.feature b/features/logs.feature index d5e7420651..131cc25c08 100644 --- a/features/logs.feature +++ b/features/logs.feature @@ -20,13 +20,13 @@ Feature: Logs in Json Array Formatter """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Non-root user and root user log files are different Given a `` `` machine with ubuntu-advantage-tools installed @@ -53,13 +53,13 @@ Feature: Logs in Json Array Formatter """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Non-root user log files included in collect logs Given a `` `` machine with ubuntu-advantage-tools installed @@ -79,13 +79,13 @@ Feature: Logs in Json Array Formatter """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: logrotate configuration works Given a `` `` machine with ubuntu-advantage-tools installed @@ -128,9 +128,10 @@ Feature: Logs in Json Array Formatter """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | diff --git a/features/timer.feature b/features/timer.feature index 479d132256..fbd8bda913 100644 --- a/features/timer.feature +++ b/features/timer.feature @@ -12,11 +12,11 @@ Feature: Timer for regular background jobs while attached Then I verify the `ua-timer` systemd timer is disabled Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Run timer script on an attached machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -86,14 +86,14 @@ Feature: Timer for regular background jobs while attached """ Examples: ubuntu release - | release | machine_type | - | xenial | lxd-container | - | bionic | lxd-container | - | bionic | wsl | - | focal | lxd-container | - | jammy | lxd-container | - | mantic | lxd-container | - | noble | lxd-container | + | release | machine_type | + | xenial | lxd-container | + | bionic | lxd-container | + | bionic | wsl | + | focal | lxd-container | + | jammy | lxd-container | + | noble | lxd-container | + | oracular | lxd-container | Scenario Outline: Run timer script to validate machine activity endpoint Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/ubuntu_upgrade_unattached.feature b/features/ubuntu_upgrade_unattached.feature index 21f55e7a2e..fbc8028237 100644 --- a/features/ubuntu_upgrade_unattached.feature +++ b/features/ubuntu_upgrade_unattached.feature @@ -41,7 +41,7 @@ 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 apt update And I run shell command `cat /var/lib/ubuntu-advantage/apt-esm/etc/apt/sources.list.d/ubuntu-esm-apps.sources || true` with sudo - Then if `` not in `mantic or noble` and stdout matches regexp: + Then if `` not in `noble` and stdout matches regexp: """ Types: deb URIs: https://esm.ubuntu.com/apps/ubuntu diff --git a/features/yaml.feature b/features/yaml.feature index 0e634021fa..858b595705 100644 --- a/features/yaml.feature +++ b/features/yaml.feature @@ -30,7 +30,7 @@ Feature: YAML related interactions with Pro client esm-cache.service """ When I apt install `python3-pip` - And I run `pip3 install pyyaml==3.10 ` with sudo + And I run `pip3 install pyyaml==3.10` with sudo And I run `ls /usr/local/lib//dist-packages/` with sudo Then stdout matches regexp: """ @@ -64,10 +64,5 @@ Feature: YAML related interactions with Pro client """ Examples: ubuntu release - | release | machine_type | python_version | suffix | - | jammy | lxd-container | python3.10 | | - # mantic has a BIG error message explaining why this is a clear user error... - | mantic | lxd-container | python3.11 | --break-system-packages | - -# noble doesn't even allow --break-system-packages to work -# | noble | lxd-container | python3.11 | --break-system-packages | + | release | machine_type | python_version | + | jammy | lxd-container | python3.10 |