Skip to content

Commit 69bc04e

Browse files
committed
Add support for ubuntu24 in unit tests
1 parent b005ec6 commit 69bc04e

File tree

15 files changed

+73
-57
lines changed

15 files changed

+73
-57
lines changed

cli/src/pcluster/config/cluster_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
DefaultUserHomeType,
3333
)
3434
from pcluster.config.common import Imds as TopLevelImds
35-
from pcluster.config.common import Resource
35+
from pcluster.config.common import (
36+
Resource,
37+
)
3638
from pcluster.constants import (
3739
CIDR_ALL_IPS,
3840
CW_ALARMS_ENABLED_DEFAULT,

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_disabled_efa_no_placement_group/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
The EC2 instance selected supports enhanced networking capabilities using Elastic Fabric Adapter (EFA). EFA enables you to run applications requiring high levels of inter-node communications at scale on AWS at no additional charge (https://docs.aws.amazon.com/parallelcluster/latest/ug/efa-v3.html).
4243
Allowed values for VPC ID:
4344
# id name number_of_subnets

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_efa_not_supported/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
Allowed values for VPC ID:
4243
# id name number_of_subnets
4344
--- ------------ --------------------------------- -------------------

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_enabled_efa_default_placement_group/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
The EC2 instance selected supports enhanced networking capabilities using Elastic Fabric Adapter (EFA). EFA enables you to run applications requiring high levels of inter-node communications at scale on AWS at no additional charge (https://docs.aws.amazon.com/parallelcluster/latest/ug/efa-v3.html).
4243
Enabling EFA requires compute instances to be placed within a Placement Group. Please specify an existing Placement Group name or leave it blank for ParallelCluster to create one.
4344
Allowed values for VPC ID:

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_enabled_efa_existing_placement_group/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
The EC2 instance selected supports enhanced networking capabilities using Elastic Fabric Adapter (EFA). EFA enables you to run applications requiring high levels of inter-node communications at scale on AWS at no additional charge (https://docs.aws.amazon.com/parallelcluster/latest/ug/efa-v3.html).
4243
Enabling EFA requires compute instances to be placed within a Placement Group. Please specify an existing Placement Group name or leave it blank for ParallelCluster to create one.
4344
Allowed values for VPC ID:

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_enabled_efa_non_existent_placement_group/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
The EC2 instance selected supports enhanced networking capabilities using Elastic Fabric Adapter (EFA). EFA enables you to run applications requiring high levels of inter-node communications at scale on AWS at no additional charge (https://docs.aws.amazon.com/parallelcluster/latest/ug/efa-v3.html).
4243
Enabling EFA requires compute instances to be placed within a Placement Group. Please specify an existing Placement Group name or leave it blank for ParallelCluster to create one.
4344
ERROR: non-existent-test-pg is not an acceptable value for Placement Group name

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_filtered_subnets_by_az/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
Allowed values for VPC ID:
4243
# id name number_of_subnets
4344
--- ------------ --------------------------------- -------------------

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_no_automation_no_awsbatch_no_errors/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
Allowed values for VPC ID:
4243
# id name number_of_subnets
4344
--- ------------ --------------------------------- -------------------

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_no_input_no_automation_no_errors/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
Allowed values for VPC ID:
4243
# id name number_of_subnets
4344
--- ------------ --------------------------------- -------------------

cli/tests/pcluster/cli/configure/test_pcluster_configure/test_subnet_automation_no_awsbatch_no_errors/output.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ Allowed values for Operating System:
3434
2. alinux2023
3535
3. ubuntu2004
3636
4. ubuntu2204
37-
5. rhel8
38-
6. rocky8
39-
7. rhel9
40-
8. rocky9
37+
5. ubuntu2404
38+
6. rhel8
39+
7. rocky8
40+
8. rhel9
41+
9. rocky9
4142
Allowed values for VPC ID:
4243
# id name number_of_subnets
4344
--- ------------ --------------------------------- -------------------

0 commit comments

Comments
 (0)