Skip to content

Commit aafd922

Browse files
committed
Add ubuntu24 AMI search to test utils
1 parent 314408f commit aafd922

File tree

5 files changed

+19
-12
lines changed

5 files changed

+19
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CHANGELOG
33
3.13.0
44
------
55
**ENHANCEMENTS**
6-
- Add support Ubuntu2404
6+
- Add support for Ubuntu24.
77
- Add support for ap-southeast-5 region.
88

99
**CHANGES**

cli/src/pcluster/resources/imagebuilder/parallelcluster_validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ phases:
4242
OS='ubuntu2004'
4343
elif [ `echo "${RELEASE}" | grep '^ubuntu\.22'` ]; then
4444
OS='ubuntu2204'
45-
elif [ `echo "${!RELEASE}" | grep '^ubuntu\.24'` ]; then
45+
elif [ `echo "${RELEASE}" | grep '^ubuntu\.24'` ]; then
4646
OS='ubuntu2404'
4747
elif [ `echo "${RELEASE}" | grep '^rhel\.8'` ]; then
4848
OS='rhel8'

tests/integration-tests/configs/develop.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ test-suites:
88
dimensions:
99
- regions: [ "ap-southeast-1" ]
1010
instances: {{ common.INSTANCES_DEFAULT_X86 }}
11-
oss: [ {{ OS_X86_0 }}, {{ OS_X86_2 }}]
11+
oss: [ {{ LUSTRE_OS_X86_0 }}, {{ LUSTRE_OS_X86_2 }}]
1212
schedulers: ["slurm"]
1313
- regions: ["ap-northeast-1"]
1414
instances: {{ common.INSTANCES_DEFAULT_X86 }}
15-
oss: [{{ OS_X86_4 }}, {{ OS_X86_6 }}]
15+
oss: [{{ LUSTRE_OS_X86_4 }}, {{ LUSTRE_OS_X86_6 }}]
1616
schedulers: ["slurm"]
1717
basic:
1818
test_essential_features.py::test_essential_features:
@@ -341,7 +341,7 @@ test-suites:
341341
dimensions:
342342
- regions: ["il-central-1"]
343343
instances: {{ common.INSTANCES_DEFAULT_X86 }}
344-
oss: [{{ OS_X86_6 }}]
344+
oss: [{{ LUSTRE_OS_X86_6 }}]
345345
schedulers: ["slurm"]
346346
test_cluster_networking.py::test_existing_eip:
347347
dimensions:
@@ -361,15 +361,15 @@ test-suites:
361361
# S3 bucket belonging to the same region and S3 VPC Endpoints only work within the region.
362362
- regions: ["us-east-1"]
363363
instances: {{ common.INSTANCES_DEFAULT_ARM }}
364-
oss: [{{ DCV_OS_ARM_3 }}]
364+
oss: ["rhel8"]
365365
schedulers: ["slurm"]
366366
- regions: ["cn-north-1"]
367367
instances: {{ common.INSTANCES_DEFAULT_X86 }}
368-
oss: [{{ DCV_OS_X86_3 }}]
368+
oss: ["ubuntu2204"]
369369
schedulers: ["slurm"]
370370
- regions: ["us-gov-west-1"]
371371
instances: {{ common.INSTANCES_DEFAULT_X86 }}
372-
oss: [{{ DCV_OS_X86_4 }}]
372+
oss: ["alinux2"]
373373
schedulers: ["slurm"]
374374
test_multi_cidr.py::test_multi_cidr:
375375
dimensions:
@@ -387,7 +387,7 @@ test-suites:
387387
dimensions:
388388
- regions: ["ap-southeast-3"]
389389
instances: {{ common.INSTANCES_DEFAULT_X86 }}
390-
oss: [{{ OS_X86_6 }}]
390+
oss: [{{ LUSTRE_OS_X86_6 }}]
391391
schedulers: ["slurm"]
392392
test_placement_group.py::test_placement_group:
393393
dimensions:
@@ -709,7 +709,7 @@ test-suites:
709709
dimensions:
710710
- regions: [ "us-west-1" ]
711711
instances: {{ common.INSTANCES_DEFAULT_X86 }}
712-
oss: [{{ OS_X86_0 }}]
712+
oss: [{{ LUSTRE_OS_X86_0 }}]
713713
schedulers: [ "slurm" ]
714714
pcluster_api:
715715
test_api_infrastructure.py::test_api_infrastructure_with_default_parameters:
@@ -783,13 +783,13 @@ test-suites:
783783
dimensions:
784784
- regions: ["eu-west-2"]
785785
instances: {{ common.INSTANCES_DEFAULT_X86 }}
786-
oss: [{{ OS_X86_2 }}]
786+
oss: [{{ LUSTRE_OS_X86_2 }}]
787787
schedulers: ["slurm"]
788788
test_update.py::test_dynamic_file_systems_update_data_loss:
789789
dimensions:
790790
- regions: [ "eu-west-2" ]
791791
instances: {{ common.INSTANCES_DEFAULT_X86 }}
792-
oss: [{{ OS_X86_4 }}]
792+
oss: [{{ LUSTRE_OS_X86_4 }}]
793793
schedulers: [ "slurm" ]
794794
test_update.py::test_dynamic_file_systems_update_rollback:
795795
dimensions:

tests/integration-tests/tests/common/utils.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
"name": "ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-*-server-*",
4646
"owners": ["099720109477"],
4747
},
48+
"ubuntu2404": {
49+
"name": "ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-*-server-*",
50+
"owners": ["099720109477"],
51+
},
4852
# FIXME: unpin once Lustre client is available for RHEL8.9
4953
# FIXME: when fixed upstream, unpin the timestamp introduced because the `kernel-devel` package was missing for
5054
# the kernel released in 20231127 RHEL 8.8 AMI
@@ -83,6 +87,7 @@
8387
"alinux2023": {"name": "amzn2023-hvm-*-*", "owners": PCLUSTER_AMI_OWNERS},
8488
"ubuntu2004": {"name": "ubuntu-2004-lts-hvm-*-*", "owners": PCLUSTER_AMI_OWNERS},
8589
"ubuntu2204": {"name": "ubuntu-2204-lts-hvm-*-*", "owners": PCLUSTER_AMI_OWNERS},
90+
"ubuntu2404": {"name": "ubuntu-2404-lts-hvm-*-*", "owners": PCLUSTER_AMI_OWNERS},
8691
"rhel8": {"name": "rhel8-hvm-*-*", "owners": PCLUSTER_AMI_OWNERS},
8792
"rocky8": {"name": "rocky8-hvm-*-*", "owners": PCLUSTER_AMI_OWNERS},
8893
"rhel9": {"name": "rhel9-hvm-*-*", "owners": PCLUSTER_AMI_OWNERS},
@@ -95,6 +100,7 @@
95100
"alinux2023": {"name": "first-stage-aws-parallelcluster-*-amzn2023-*", "owners": FIRST_STAGE_AMI_OWNERS},
96101
"ubuntu2004": {"name": "first-stage-aws-parallelcluster-*-ubuntu-2004-*", "owners": FIRST_STAGE_AMI_OWNERS},
97102
"ubuntu2204": {"name": "first-stage-aws-parallelcluster-*-ubuntu-2204-*", "owners": FIRST_STAGE_AMI_OWNERS},
103+
"ubuntu2404": {"name": "first-stage-aws-parallelcluster-*-ubuntu-2404-*", "owners": FIRST_STAGE_AMI_OWNERS},
98104
"rhel8": {"name": "first-stage-aws-parallelcluster-*-rhel8-*", "owners": FIRST_STAGE_AMI_OWNERS},
99105
"rocky8": {"name": "first-stage-aws-parallelcluster-*-rocky8-*", "owners": FIRST_STAGE_AMI_OWNERS},
100106
"rhel9": {"name": "first-stage-aws-parallelcluster-*-rhel9-*", "owners": FIRST_STAGE_AMI_OWNERS},

tests/integration-tests/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@ def get_username_for_os(os):
535535
"alinux2023": "ec2-user",
536536
"ubuntu2004": "ubuntu",
537537
"ubuntu2204": "ubuntu",
538+
"ubuntu2404": "ubuntu",
538539
"rhel8": "ec2-user",
539540
"rocky8": "rocky",
540541
"rhel9": "ec2-user",

0 commit comments

Comments
 (0)