Skip to content

Commit

Permalink
wip: noble: add noble to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
orndorffgrant committed Nov 28, 2023
1 parent 483d715 commit 689622c
Show file tree
Hide file tree
Showing 38 changed files with 144 additions and 4 deletions.
12 changes: 12 additions & 0 deletions features/_version.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -120,3 +131,4 @@ Feature: Pro is expected version
| jammy | lxd-container |
| lunar | lxd-container |
| mantic | lxd-container |
| noble | lxd-container |
1 change: 1 addition & 0 deletions features/airgapped.feature
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ Feature: Performing attach using ua-airgapped
Examples: ubuntu release
| release | machine_type |
| jammy | lxd-container |
| noble | lxd-container |
3 changes: 3 additions & 0 deletions features/api.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand All @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -90,3 +92,4 @@ Feature: Client behaviour for the API endpoints
| jammy | lxd-container |
| lunar | lxd-container |
| mantic | lxd-container |
| noble | lxd-container |
1 change: 1 addition & 0 deletions features/api_configure_retry_service.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
1 change: 1 addition & 0 deletions features/api_fix_execute.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down
1 change: 1 addition & 0 deletions features/api_fix_plan.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down
3 changes: 3 additions & 0 deletions features/api_full_auto_attach.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

1 change: 1 addition & 0 deletions features/api_magic_attach.feature
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ Feature: Magic Attach endpoints
| bionic | lxd-container |
| focal | lxd-container |
| jammy | lxd-container |
| noble | lxd-container |
1 change: 1 addition & 0 deletions features/api_packages.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
1 change: 1 addition & 0 deletions features/api_unattended_upgrades.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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" |
2 changes: 2 additions & 0 deletions features/apt_messages.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down
2 changes: 2 additions & 0 deletions features/attach_invalidtoken.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 |
5 changes: 5 additions & 0 deletions features/attach_validtoken.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand All @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down
16 changes: 16 additions & 0 deletions features/attached_commands.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand All @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand All @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand All @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand All @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand All @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand Down Expand Up @@ -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 `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
Expand All @@ -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
Expand Down
Loading

0 comments on commit 689622c

Please sign in to comment.