From 689622c9977cef2e45b1fb25aff5854621290543 Mon Sep 17 00:00:00 2001 From: Grant Orndorff Date: Thu, 16 Nov 2023 14:10:08 -0500 Subject: [PATCH] wip: noble: add noble to tests --- features/_version.feature | 12 ++++++++++++ features/airgapped.feature | 1 + features/api.feature | 3 +++ features/api_configure_retry_service.feature | 1 + features/api_fix_execute.feature | 1 + features/api_fix_plan.feature | 1 + features/api_full_auto_attach.feature | 3 +++ features/api_magic_attach.feature | 1 + features/api_packages.feature | 1 + features/api_unattended_upgrades.feature | 1 + features/apt_messages.feature | 2 ++ features/attach_invalidtoken.feature | 2 ++ features/attach_validtoken.feature | 5 +++++ features/attached_commands.feature | 16 ++++++++++++++++ features/attached_enable.feature | 7 +++++++ features/attached_status.feature | 2 ++ features/collect_logs.feature | 2 ++ features/config.feature | 1 + features/daemon.feature | 7 +++++++ features/detached_auto_attach.feature | 3 +++ features/docker.feature | 9 ++++++--- features/fix.feature | 1 + features/i18n.feature | 2 ++ features/install_uninstall.feature | 3 +++ features/landscape.feature | 2 ++ features/livepatch.feature | 1 + features/logs.feature | 3 +++ features/magic_attach.feature | 1 + features/motd_messages.feature | 4 +++- features/proxy_config.feature | 9 +++++++++ features/realtime_kernel.feature | 3 +++ features/retry_auto_attach.feature | 10 ++++++++++ features/timer.feature | 1 + features/ubuntu_pro.feature | 10 ++++++++++ features/ubuntu_upgrade.feature | 1 + features/ubuntu_upgrade_unattached.feature | 1 + features/unattached_commands.feature | 11 +++++++++++ features/unattached_status.feature | 4 ++++ 38 files changed, 144 insertions(+), 4 deletions(-) diff --git a/features/_version.feature b/features/_version.feature index 802485f338..5ad55e45f1 100644 --- a/features/_version.feature +++ b/features/_version.feature @@ -89,6 +89,17 @@ Feature: Pro is expected version | 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 | @uses.config.check_version @upgrade @@ -120,3 +131,4 @@ Feature: Pro is expected version | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | diff --git a/features/airgapped.feature b/features/airgapped.feature index 77766a6f8f..0e6a90ad75 100644 --- a/features/airgapped.feature +++ b/features/airgapped.feature @@ -50,3 +50,4 @@ Feature: Performing attach using ua-airgapped Examples: ubuntu release | release | machine_type | | jammy | lxd-container | + | noble | lxd-container | diff --git a/features/api.feature b/features/api.feature index 265d12d241..c95aa0bbdc 100644 --- a/features/api.feature +++ b/features/api.feature @@ -31,6 +31,7 @@ Feature: Client behaviour for the API endpoints | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: API invalid endpoint or args Given a `` `` machine with ubuntu-advantage-tools installed @@ -53,6 +54,7 @@ Feature: Client behaviour for the API endpoints | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Basic endpoints Given a `` `` machine with ubuntu-advantage-tools installed @@ -90,3 +92,4 @@ Feature: Client behaviour for the API endpoints | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | diff --git a/features/api_configure_retry_service.feature b/features/api_configure_retry_service.feature index f539341202..9ea02a4922 100644 --- a/features/api_configure_retry_service.feature +++ b/features/api_configure_retry_service.feature @@ -55,3 +55,4 @@ Feature: api.u.pro.attach.auto.configure_retry_service | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | diff --git a/features/api_fix_execute.feature b/features/api_fix_execute.feature index 44b19b65a8..aa8cf21a2a 100644 --- a/features/api_fix_execute.feature +++ b/features/api_fix_execute.feature @@ -37,6 +37,7 @@ Feature: Fix execute API endpoints | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Fix execute on a Focal machine Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/api_fix_plan.feature b/features/api_fix_plan.feature index 44db954ec9..b548010b2d 100644 --- a/features/api_fix_plan.feature +++ b/features/api_fix_plan.feature @@ -37,6 +37,7 @@ Feature: Fix plan API endpoints | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Fix command on an unattached machine Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/api_full_auto_attach.feature b/features/api_full_auto_attach.feature index 9a8f9b5350..7310a94af1 100644 --- a/features/api_full_auto_attach.feature +++ b/features/api_full_auto_attach.feature @@ -39,4 +39,7 @@ Feature: Full Auto-Attach Endpoint | jammy | aws.pro | | jammy | azure.pro | | jammy | gcp.pro | + | noble | aws.pro | + | noble | azure.pro | + | noble | gcp.pro | diff --git a/features/api_magic_attach.feature b/features/api_magic_attach.feature index 021c1e9fd0..e5d3a65dca 100644 --- a/features/api_magic_attach.feature +++ b/features/api_magic_attach.feature @@ -70,3 +70,4 @@ Feature: Magic Attach endpoints | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | diff --git a/features/api_packages.feature b/features/api_packages.feature index 923cedcdc7..582f282922 100644 --- a/features/api_packages.feature +++ b/features/api_packages.feature @@ -34,3 +34,4 @@ Feature: Package related API endpoints | focal | lxd-container | libcurl4 | 7.68.0-1ubuntu2 | standard-security | | jammy | lxd-container | libcurl4 | 7.81.0-1 | standard-security | | lunar | lxd-container | libcurl4 | 7.88.1-8ubuntu1 | standard-security | + | noble | lxd-container | libcurl4 | 7.81.0-1 | standard-security | diff --git a/features/api_unattended_upgrades.feature b/features/api_unattended_upgrades.feature index 49a81125e5..0236e711d3 100644 --- a/features/api_unattended_upgrades.feature +++ b/features/api_unattended_upgrades.feature @@ -209,3 +209,4 @@ Feature: api.u.unattended_upgrades.status.v1 | jammy | lxd-container | "Unattended-Upgrade::DevRelease": "auto" | | lunar | lxd-container | "Unattended-Upgrade::DevRelease": "auto" | | mantic | lxd-container | "Unattended-Upgrade::DevRelease": "auto" | + | noble | lxd-container | "Unattended-Upgrade::DevRelease": "auto" | diff --git a/features/apt_messages.feature b/features/apt_messages.feature index 781b197da7..d3206a5bb1 100644 --- a/features/apt_messages.feature +++ b/features/apt_messages.feature @@ -210,6 +210,7 @@ Feature: APT Messages | release | machine_type | package | more_msg | learn_more_msg | | focal | lxd-container | hello | another security update | Learn more about Ubuntu Pro at https://ubuntu.com/pro | | jammy | lxd-container | hello | another security update | Learn more about Ubuntu Pro at https://ubuntu.com/pro | + | noble | lxd-container | hello | another security update | Learn more about Ubuntu Pro at https://ubuntu.com/pro | @uses.config.contract_token Scenario Outline: APT News @@ -674,6 +675,7 @@ Feature: APT Messages | focal | lxd-container | | jammy | lxd-container | | lunar | lxd-container | + | noble | lxd-container | Scenario Outline: Cloud and series-specific URLs Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/attach_invalidtoken.feature b/features/attach_invalidtoken.feature index 9db951f9a6..7680d70377 100644 --- a/features/attach_invalidtoken.feature +++ b/features/attach_invalidtoken.feature @@ -28,6 +28,7 @@ Feature: Command behaviour when trying to attach a machine to an Ubuntu | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | @uses.config.contract_token_staging_expired Scenario Outline: Attach command failure on expired token @@ -54,3 +55,4 @@ Feature: Command behaviour when trying to attach a machine to an Ubuntu | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | diff --git a/features/attach_validtoken.feature b/features/attach_validtoken.feature index e161ed369d..15fe89cc9a 100644 --- a/features/attach_validtoken.feature +++ b/features/attach_validtoken.feature @@ -95,6 +95,7 @@ Feature: Command behaviour when attaching a machine to an Ubuntu Pro | bionic | lxd-container | libkrad0=1.16-2build1 | disabled | cis | disabled | disabled | Canonical Livepatch service | | focal | lxd-container | hello=2.10-2ubuntu2 | n/a | usg | disabled | disabled | Canonical Livepatch service | | jammy | lxd-container | hello=2.10-2ubuntu4 | n/a | usg | n/a | n/a | Canonical Livepatch service | + | noble | lxd-container | hello=2.10-2ubuntu4 | n/a | usg | n/a | n/a | Canonical Livepatch service | Scenario Outline: Attach command with attach config Given a `` `` machine with ubuntu-advantage-tools installed @@ -239,6 +240,7 @@ Feature: Command behaviour when attaching a machine to an Ubuntu Pro | bionic | aws.generic | disabled |enabled | Canonical Livepatch service | disabled | cis | disabled | | focal | aws.generic | disabled |enabled | Canonical Livepatch service | n/a | usg | disabled | | jammy | aws.generic | n/a |enabled | Canonical Livepatch service | n/a | usg | n/a | + | noble | aws.generic | n/a |enabled | Canonical Livepatch service | n/a | usg | n/a | Scenario Outline: Attach command in an generic Azure Ubuntu VM Given a `` `` machine with ubuntu-advantage-tools installed @@ -274,6 +276,7 @@ Feature: Command behaviour when attaching a machine to an Ubuntu Pro | bionic | azure.generic | enabled | disabled | disabled | cis | disabled | | focal | azure.generic | enabled | disabled | n/a | usg | disabled | | jammy | azure.generic | enabled | n/a | n/a | usg | n/a | + | noble | azure.generic | enabled | n/a | n/a | usg | n/a | Scenario Outline: Attach command in an generic GCP Ubuntu VM Given a `` `` machine with ubuntu-advantage-tools installed @@ -309,6 +312,7 @@ Feature: Command behaviour when attaching a machine to an Ubuntu Pro | bionic | gcp.generic | enabled | disabled | disabled | cis | disabled | | focal | gcp.generic | enabled | disabled | n/a | usg | disabled | | jammy | gcp.generic | enabled | n/a | n/a | usg | n/a | + | noble | gcp.generic | enabled | n/a | n/a | usg | n/a | Scenario Outline: Attach command with json output Given a `` `` machine with ubuntu-advantage-tools installed @@ -335,6 +339,7 @@ Feature: Command behaviour when attaching a machine to an Ubuntu Pro | bionic | lxd-container | disabled | | focal | lxd-container | n/a | | jammy | lxd-container | n/a | + | noble | lxd-container | n/a | Scenario Outline: Attach and Check for contract change in status checking Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/attached_commands.feature b/features/attached_commands.feature index ac40940dce..cd300e48ad 100644 --- a/features/attached_commands.feature +++ b/features/attached_commands.feature @@ -53,6 +53,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Attached disable of an already disabled service in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -77,6 +78,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Attached disable with json format Given a `` `` machine with ubuntu-advantage-tools installed @@ -131,6 +133,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | anbox-cloud, cc-eal, cis, esm-apps, esm-infra, fips, fips-preview,\nfips-updates, landscape, livepatch, realtime-kernel, ros, ros-updates. | | focal | lxd-container | anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | | jammy | lxd-container | anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | + | noble | lxd-container | anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | Scenario Outline: Attached disable of a service in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -169,6 +172,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | Try anbox-cloud, cc-eal, cis, esm-apps, esm-infra, fips, fips-preview,\nfips-updates, landscape, livepatch, realtime-kernel, ros, ros-updates. | | focal | lxd-container | Try anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | | jammy | lxd-container | Try anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | + | noble | lxd-container | Try anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | Scenario Outline: Attached detach in an ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -254,6 +258,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | no | yes | yes | yes | yes | yes | yes | yes | cis | no | | focal | lxd-container | yes | yes | no | yes | yes | yes | yes | no | usg | no | | jammy | lxd-container | yes | yes | no | yes | no | yes | no | no | usg | yes | + | noble | lxd-container | no | yes | no | no | no | no | no | no | usg | no | Scenario Outline: Attached auto-attach in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -278,6 +283,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Attached show version in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -299,6 +305,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Attached status in a ubuntu machine with feature overrides Given a `` `` machine with ubuntu-advantage-tools installed @@ -368,6 +375,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Attached disable of different services in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -413,6 +421,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | Try anbox-cloud, cc-eal, cis, esm-apps, esm-infra, fips, fips-preview,\nfips-updates, landscape, livepatch, realtime-kernel, ros, ros-updates. | | focal | lxd-container | Try anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | | jammy | lxd-container | Try anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | + | noble | lxd-container | Try anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | Scenario Outline: Help command on an attached machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -655,6 +664,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | release | machine_type | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Run timer script on an attached machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -731,6 +741,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Run timer script to valid machine activity endpoint Given a `` `` machine with ubuntu-advantage-tools installed @@ -801,6 +812,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Run timer script to valid machine activity endpoint Given a `` `` machine with ubuntu-advantage-tools installed @@ -825,6 +837,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Disable with purge does not work with assume-yes Given a `` `` machine with ubuntu-advantage-tools installed @@ -840,6 +853,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Disable with purge works and purges repo services not involving a kernel Given a `` `` machine with ubuntu-advantage-tools installed @@ -870,6 +884,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | bionic-updates | | focal | lxd-container | focal | | jammy | lxd-container | jammy | + | noble | lxd-container | noble | Scenario Outline: Disable with purge unsupported services Given a `` `` machine with ubuntu-advantage-tools installed @@ -886,6 +901,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-vm | | focal | lxd-vm | | jammy | lxd-vm | + | noble | lxd-vm | @slow Scenario Outline: Disable and purge fips diff --git a/features/attached_enable.feature b/features/attached_enable.feature index 0a0f6babe5..e27bd313d7 100644 --- a/features/attached_enable.feature +++ b/features/attached_enable.feature @@ -63,6 +63,7 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | 22.04 LTS | Jammy Jellyfish | | lunar | lxd-container | 23.04 | Lunar Lobster | | mantic | lxd-container | 23.10 | Mantic Minotaur | + | noble | lxd-container | 24.04 LTS | Noble Numbat | Scenario Outline: Empty series affordance means no series, null means all series Given a `` `` machine with ubuntu-advantage-tools installed @@ -112,6 +113,7 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Attached enable of different services using json format Given a `` `` machine with ubuntu-advantage-tools installed @@ -180,6 +182,7 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | anbox-cloud, cc-eal, cis, esm-apps, esm-infra, fips, fips-preview,\nfips-updates, landscape, livepatch, realtime-kernel, ros, ros-updates. | | focal | lxd-container | anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | | jammy | lxd-container | anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | + | noble | lxd-container | anbox-cloud, cc-eal, esm-apps, esm-infra, fips, fips-preview, fips-updates,\nlandscape, livepatch, realtime-kernel, ros, ros-updates, usg. | Scenario Outline: Attached enable of a service in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -262,6 +265,7 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Attached enable not entitled service in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -293,6 +297,7 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Attached enable of cis service in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -1130,3 +1135,5 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | + diff --git a/features/attached_status.feature b/features/attached_status.feature index 994f1085ba..7f9d09b4e1 100644 --- a/features/attached_status.feature +++ b/features/attached_status.feature @@ -38,6 +38,7 @@ Feature: Attached status | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Non-root status can see in-progress operations Given a `` `` machine with ubuntu-advantage-tools installed @@ -215,3 +216,4 @@ Feature: Attached status Examples: ubuntu release | release | machine_type | | jammy | lxd-container | + | noble | lxd-container | diff --git a/features/collect_logs.feature b/features/collect_logs.feature index fbece0bc22..0f0678b818 100644 --- a/features/collect_logs.feature +++ b/features/collect_logs.feature @@ -42,6 +42,7 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | @uses.config.contract_token Scenario Outline: Run collect-logs on an attached machine @@ -87,3 +88,4 @@ Feature: Command behaviour when attached to an Ubuntu Pro subscription | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | diff --git a/features/config.feature b/features/config.feature index 75eb8e2105..310df77eff 100644 --- a/features/config.feature +++ b/features/config.feature @@ -50,3 +50,4 @@ Feature: pro config sub-command | xenial | lxd-container | | jammy | lxd-container | | lunar | lxd-container | + | noble | lxd-container | diff --git a/features/daemon.feature b/features/daemon.feature index c518dcaf3f..d19eafa2f6 100644 --- a/features/daemon.feature +++ b/features/daemon.feature @@ -15,6 +15,7 @@ Feature: Pro Upgrade Daemon only runs in environments where necessary | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | @uses.config.contract_token Scenario Outline: cloud-id-shim should run in postinst and on boot @@ -106,6 +107,7 @@ Feature: Pro Upgrade Daemon only runs in environments where necessary Then on `bionic`, systemd status output says memory usage is less than `15` MB Then on `focal`, systemd status output says memory usage is less than `13` MB Then on `jammy`, systemd status output says memory usage is less than `14` MB + Then on `noble`, systemd status output says memory usage is less than `14` MB When I run `journalctl -o cat -u ubuntu-advantage.service` with sudo Then stdout contains substring: @@ -205,6 +207,7 @@ Feature: Pro Upgrade Daemon only runs in environments where necessary | bionic | gcp.generic | | focal | gcp.generic | | jammy | gcp.generic | + | noble | gcp.generic | @uses.config.contract_token Scenario Outline: daemon should run when appropriate on azure generic lts @@ -271,6 +274,7 @@ Feature: Pro Upgrade Daemon only runs in environments where necessary | bionic | azure.generic | | focal | azure.generic | | jammy | azure.generic | + | noble | azure.generic | @uses.config.contract_token Scenario Outline: daemon does not start on gcp,azure generic non lts @@ -329,6 +333,9 @@ Feature: Pro Upgrade Daemon only runs in environments where necessary | lunar | lxd-container | | lunar | lxd-vm | | lunar | aws.generic | + | noble | lxd-container | + | noble | lxd-vm | + | noble | aws.generic | Scenario Outline: daemon does not start when not on gcpgeneric or azuregeneric Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/detached_auto_attach.feature b/features/detached_auto_attach.feature index 83a062f07f..7869309c6f 100644 --- a/features/detached_auto_attach.feature +++ b/features/detached_auto_attach.feature @@ -34,3 +34,6 @@ Feature: Attached cloud does not detach when auto-attaching after manually attac | focal | aws.generic | enabled | | focal | azure.generic | enabled | | focal | gcp.generic | enabled | + | noble | aws.generic | enabled | + | noble | azure.generic | enabled | + | noble | gcp.generic | enabled | diff --git a/features/docker.feature b/features/docker.feature index 583e627f34..13606b2507 100644 --- a/features/docker.feature +++ b/features/docker.feature @@ -71,6 +71,9 @@ Feature: Build docker images with pro services 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 | + | jammy | lxd-vm | xenial | [ esm-infra ] | curl | esm | + | jammy | lxd-vm | bionic | [ fips ] | openssl | fips | + | jammy | 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 | diff --git a/features/fix.feature b/features/fix.feature index cc766d0c27..d08cfde1c9 100644 --- a/features/fix.feature +++ b/features/fix.feature @@ -29,6 +29,7 @@ Feature: Ua fix command behaviour | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | 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 62670663d2..a8fea89967 100644 --- a/features/i18n.feature +++ b/features/i18n.feature @@ -34,6 +34,7 @@ Feature: Pro supports multiple languages | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Translation works Given a `` `` machine with ubuntu-advantage-tools installed @@ -225,3 +226,4 @@ Feature: Pro supports multiple languages | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | diff --git a/features/install_uninstall.feature b/features/install_uninstall.feature index 41f2f392b6..bbf2cf8ae7 100644 --- a/features/install_uninstall.feature +++ b/features/install_uninstall.feature @@ -13,6 +13,7 @@ Feature: Pro Install and Uninstall related tests | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | @uses.config.contract_token Scenario Outline: Purge package after attaching it to a machine @@ -43,6 +44,7 @@ Feature: Pro Install and Uninstall related tests | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario Outline: Do not fail during postinst with nonstandard python setup @@ -83,3 +85,4 @@ Feature: Pro Install and Uninstall related tests | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | diff --git a/features/landscape.feature b/features/landscape.feature index 992cbb9e2c..b27e892960 100644 --- a/features/landscape.feature +++ b/features/landscape.feature @@ -163,6 +163,7 @@ Feature: Enable landscape on Ubuntu Examples: ubuntu release | release | machine_type | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Enable Landscape interactively Given a `` `` machine with ubuntu-advantage-tools installed @@ -249,3 +250,4 @@ Feature: Enable landscape on Ubuntu Examples: ubuntu release | release | machine_type | | mantic | lxd-container | + | noble | lxd-container | diff --git a/features/livepatch.feature b/features/livepatch.feature index 0e71d2d32a..db6b239626 100644 --- a/features/livepatch.feature +++ b/features/livepatch.feature @@ -37,6 +37,7 @@ Feature: Livepatch | release | machine_type | livepatch_url | | focal | lxd-vm | https://livepatch.canonical.com | | focal | lxd-vm | https://livepatch.staging.canonical.com | + | noble | lxd-vm | https://livepatch.canonical.com | Scenario Outline: Attached livepatch status shows warning when on unsupported kernel Given a `` `` machine with ubuntu-advantage-tools installed diff --git a/features/logs.feature b/features/logs.feature index 1739e0d67a..e2bdd47f41 100644 --- a/features/logs.feature +++ b/features/logs.feature @@ -27,6 +27,7 @@ Feature: Logs in Json Array Formatter | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Non-root user and root user log files are different Given a `` `` machine with ubuntu-advantage-tools installed @@ -57,6 +58,7 @@ Feature: Logs in Json Array Formatter | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Non-root user log files included in collect logs Given a `` `` machine with ubuntu-advantage-tools installed @@ -82,3 +84,4 @@ Feature: Logs in Json Array Formatter | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | diff --git a/features/magic_attach.feature b/features/magic_attach.feature index ec0dc704ae..71f3b052de 100644 --- a/features/magic_attach.feature +++ b/features/magic_attach.feature @@ -52,3 +52,4 @@ Feature: Magic attach flow related tests | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | diff --git a/features/motd_messages.feature b/features/motd_messages.feature index ad2c9d1e2c..f239c91ef4 100644 --- a/features/motd_messages.feature +++ b/features/motd_messages.feature @@ -48,7 +48,8 @@ Feature: MOTD Messages Examples: ubuntu release | release | machine_type | service | | xenial | lxd-container | esm-infra | - | bionic | lxd-container | esm-apps | + | bionic | lxd-container | esm-infra | + | noble | lxd-container | esm-apps | Scenario Outline: Contract Expiration Messages @@ -144,3 +145,4 @@ Feature: MOTD Messages | release | machine_type | service | | xenial | lxd-container | esm-infra | | bionic | lxd-container | esm-infra | + | noble | lxd-container | esm-apps | diff --git a/features/proxy_config.feature b/features/proxy_config.feature index 4ff0c1a3fd..54b944b748 100644 --- a/features/proxy_config.feature +++ b/features/proxy_config.feature @@ -154,6 +154,7 @@ Feature: Proxy configuration | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario Outline: Attach command when proxy is configured @@ -343,6 +344,7 @@ Feature: Proxy configuration | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario Outline: Attach command when authenticated proxy is configured @@ -532,6 +534,7 @@ Feature: Proxy configuration | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario Outline: Attach command when authenticated proxy is configured manually for uaclient @@ -606,6 +609,7 @@ Feature: Proxy configuration | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario Outline: Attach command when proxy is configured globally @@ -766,6 +770,7 @@ Feature: Proxy configuration | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario Outline: Attach command when authenticated proxy is configured globally @@ -864,6 +869,7 @@ Feature: Proxy configuration | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario Outline: Get warning when configuring global or uaclient proxy @@ -1015,6 +1021,7 @@ Feature: Proxy configuration | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario Outline: apt_http(s)_proxy still works @@ -1150,6 +1157,7 @@ Feature: Proxy configuration | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | @slow Scenario: Enable realtime kernel through proxy on a machine with no internet @@ -1306,3 +1314,4 @@ Feature: Proxy configuration | focal | lxd-vm | | jammy | lxd-vm | | mantic | lxd-vm | + | noble | lxd-vm | diff --git a/features/realtime_kernel.feature b/features/realtime_kernel.feature index ba6973b96a..73a55495e1 100644 --- a/features/realtime_kernel.feature +++ b/features/realtime_kernel.feature @@ -18,6 +18,7 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription Examples: ubuntu release | release | machine_type | | jammy | lxd-container | + | noble | lxd-container | Scenario Outline: Enable Real-time kernel service on unsupported release Given a `` `` machine with ubuntu-advantage-tools installed @@ -330,6 +331,7 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription Examples: ubuntu release | release | machine_type | | jammy | lxd-vm | + | noble | lxd-vm | Scenario Outline: Enable Real-time kernel service access-only Given a `` `` machine with ubuntu-advantage-tools installed @@ -365,3 +367,4 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription Examples: ubuntu release | release | machine_type | | jammy | lxd-vm | + | noble | lxd-vm | diff --git a/features/retry_auto_attach.feature b/features/retry_auto_attach.feature index 547ed68e98..cbb53b0b50 100644 --- a/features/retry_auto_attach.feature +++ b/features/retry_auto_attach.feature @@ -129,6 +129,9 @@ Feature: auto-attach retries periodically on failures | jammy | aws.generic | | jammy | azure.generic | | jammy | gcp.generic | + | noble | aws.generic | + | noble | azure.generic | + | noble | gcp.generic | Scenario Outline: auto-attach retries stop if manual auto-attach succeeds @@ -218,6 +221,9 @@ Feature: auto-attach retries periodically on failures | jammy | aws.pro | | jammy | azure.pro | | jammy | gcp.pro | + | noble | aws.pro | + | noble | azure.pro | + | noble | gcp.pro | Scenario Outline: gcp auto-detect triggers retries on fail Given a `` `` machine with ubuntu-advantage-tools installed @@ -282,6 +288,7 @@ Feature: auto-attach retries periodically on failures | bionic | gcp.pro | | focal | gcp.pro | | jammy | gcp.pro | + | noble | gcp.pro | Scenario Outline: auto-attach retries eventually succeed and clean up @@ -373,3 +380,6 @@ Feature: auto-attach retries periodically on failures | jammy | aws.pro | | jammy | azure.pro | | jammy | gcp.pro | + | noble | aws.pro | + | noble | azure.pro | + | noble | gcp.pro | diff --git a/features/timer.feature b/features/timer.feature index ef93f9128b..6e8cd0634c 100644 --- a/features/timer.feature +++ b/features/timer.feature @@ -15,3 +15,4 @@ Feature: Timer for regular background jobs while attached | xenial | lxd-container | | jammy | lxd-container | | mantic | lxd-container | + | noble | lxd-container | diff --git a/features/ubuntu_pro.feature b/features/ubuntu_pro.feature index 8e660ff589..a52df0a403 100644 --- a/features/ubuntu_pro.feature +++ b/features/ubuntu_pro.feature @@ -208,6 +208,7 @@ Feature: Command behaviour when auto-attached in an ubuntu PRO image | bionic | aws.pro | disabled | disabled | disabled | libkrad0 | bundler | cis | enabled | n/a | | focal | aws.pro | disabled | n/a | disabled | hello | ant | usg | enabled | n/a | | jammy | aws.pro | n/a | n/a | disabled | hello | hello | usg | warning | disabled | + | noble | aws.pro | n/a | n/a | disabled | hello | hello | usg | warning | disabled | Scenario Outline: Attached refresh in an Ubuntu pro Azure machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -334,6 +335,7 @@ Feature: Command behaviour when auto-attached in an ubuntu PRO image | bionic | azure.pro | disabled | disabled | disabled | libkrad0 | bundler | enabled | cis | n/a | | focal | azure.pro | disabled | n/a | disabled | hello | ant | enabled | usg | n/a | | jammy | azure.pro | n/a | n/a | disabled | hello | hello | enabled | usg | disabled | + | noble | azure.pro | n/a | n/a | disabled | hello | hello | enabled | usg | disabled | Scenario Outline: Attached refresh in an Ubuntu pro GCP machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -460,6 +462,7 @@ Feature: Command behaviour when auto-attached in an ubuntu PRO image | bionic | gcp.pro | disabled | disabled | disabled | libkrad0 | bundler | enabled | Canonical Livepatch service | cis | n/a | | focal | gcp.pro | disabled | n/a | disabled | hello | ant | enabled | Canonical Livepatch service | usg | n/a | | jammy | gcp.pro | n/a | n/a | disabled | hello | hello | enabled | Canonical Livepatch service | usg | disabled | + | noble | gcp.pro | n/a | n/a | disabled | hello | hello | enabled | Canonical Livepatch service | usg | disabled | Scenario Outline: Auto-attach service works on Pro Machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -493,6 +496,9 @@ Feature: Command behaviour when auto-attached in an ubuntu PRO image | jammy | aws.pro | | jammy | azure.pro | | jammy | gcp.pro | + | noble | aws.pro | + | noble | azure.pro | + | noble | gcp.pro | Scenario Outline: Auto-attach no-op when cloud-init has ubuntu_advantage on userdata Given a `` `` machine with ubuntu-advantage-tools installed adding this cloud-init user_data: @@ -557,6 +563,9 @@ Feature: Command behaviour when auto-attached in an ubuntu PRO image | jammy | aws.pro | | jammy | azure.pro | | jammy | gcp.pro | + | noble | aws.pro | + | noble | azure.pro | + | noble | gcp.pro | Scenario Outline: Unregistered Pro machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -573,3 +582,4 @@ Feature: Command behaviour when auto-attached in an ubuntu PRO image | bionic | aws.generic | | focal | aws.generic | | jammy | aws.generic | + | noble | aws.generic | diff --git a/features/ubuntu_upgrade.feature b/features/ubuntu_upgrade.feature index 85962f01b8..911edf21e8 100644 --- a/features/ubuntu_upgrade.feature +++ b/features/ubuntu_upgrade.feature @@ -54,6 +54,7 @@ Feature: Upgrade between releases when uaclient is attached | jammy | lxd-container | lunar | normal | | esm-infra | n/a | esm-apps | n/a | true | | lunar | lxd-container | mantic | normal | | esm-infra | n/a | esm-apps | n/a | true | | mantic | lxd-container | noble | normal | --devel-release | esm-infra | n/a | esm-apps | n/a | true | + | jammy | lxd-container | noble | normal | --devel-release | esm-infra | n/a | esm-apps | n/a | true | @slow @upgrade diff --git a/features/ubuntu_upgrade_unattached.feature b/features/ubuntu_upgrade_unattached.feature index 2286d75e22..b7947b0b1c 100644 --- a/features/ubuntu_upgrade_unattached.feature +++ b/features/ubuntu_upgrade_unattached.feature @@ -64,3 +64,4 @@ Feature: Upgrade between releases when uaclient is unattached | jammy | lxd-container | lunar | normal | | n/a | | lunar | lxd-container | mantic | normal | | n/a | | mantic | lxd-container | noble | normal | --devel-release | n/a | + | jammy | lxd-container | noble | normal | --devel-release | n/a | diff --git a/features/unattached_commands.feature b/features/unattached_commands.feature index 96096a3711..8f2efde58d 100644 --- a/features/unattached_commands.feature +++ b/features/unattached_commands.feature @@ -28,6 +28,7 @@ Feature: Command behaviour when unattached | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Unattached commands that requires enabled user in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -57,6 +58,8 @@ Feature: Command behaviour when unattached | lunar | lxd-container | refresh | | mantic | lxd-container | detach | | mantic | lxd-container | refresh | + | noble | lxd-container | detach | + | noble | lxd-container | refresh | Scenario Outline: Help command on an unattached machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -102,6 +105,7 @@ Feature: Command behaviour when unattached | jammy | lxd-container | yes | | lunar | lxd-container | no | | mantic | lxd-container | no | + | noble | lxd-container | yes | Scenario Outline: Unattached enable/disable fails in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -174,6 +178,8 @@ Feature: Command behaviour when unattached | lunar | lxd-container | disable | | mantic | lxd-container | enable | | mantic | lxd-container | disable | + | noble | lxd-container | enable | + | noble | lxd-container | disable | Scenario Outline: Check for newer versions of the client in an ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -256,6 +262,7 @@ Feature: Command behaviour when unattached | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | # Side effect: this verifies that `ua` still works as a command Scenario Outline: Verify autocomplete options @@ -370,6 +377,7 @@ Feature: Command behaviour when unattached | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: esm cache failures don't generate errors Given a `` `` machine with ubuntu-advantage-tools installed @@ -404,6 +412,7 @@ Feature: Command behaviour when unattached | bionic | lxd-container | | focal | lxd-container | | jammy | lxd-container | + | noble | lxd-container | # Services fail, degraded systemctl, but no crashes. Scenario Outline: services fail gracefully when yaml is broken/absent @@ -475,6 +484,7 @@ Feature: Command behaviour when unattached # Lunar+ has a BIG error message explaining why this is a clear user error... | lunar | lxd-container | python3.11 | --break-system-packages | | mantic | lxd-container | python3.11 | --break-system-packages | + | noble | lxd-container | python3.10 | | Scenario Outline: Warn users not to redirect/pipe human readable output @@ -568,3 +578,4 @@ Feature: Command behaviour when unattached | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | diff --git a/features/unattached_status.feature b/features/unattached_status.feature index 87c863cc06..6bba8272db 100644 --- a/features/unattached_status.feature +++ b/features/unattached_status.feature @@ -38,6 +38,7 @@ Feature: Unattached status | jammy | lxd-container | | lunar | lxd-container | | mantic | lxd-container | + | noble | lxd-container | Scenario Outline: Unattached status in a ubuntu machine Given a `` `` machine with ubuntu-advantage-tools installed @@ -268,6 +269,7 @@ Feature: Unattached status Examples: ubuntu release | release | machine_type | | jammy | lxd-container | + | noble | lxd-container | @uses.config.contract_token Scenario Outline: Simulate status in a ubuntu machine @@ -457,6 +459,7 @@ Feature: Unattached status Examples: ubuntu release | release | machine_type | | jammy | lxd-container | + | noble | lxd-container | @uses.config.contract_token_staging_expired @@ -598,3 +601,4 @@ Feature: Unattached status Examples: ubuntu release | release | machine_type | | jammy | lxd-container | + | noble | lxd-container |