Skip to content

Commit b32710d

Browse files
Enrico Usaienrico-usai
authored andcommitted
Create new integ test file to validate cookbook refactoring
I selected a subset of tests, by removing some AWS Batch tests, reducing dimensions per feature (FSx, EFS, EBS, DCV) Signed-off-by: Enrico Usai <[email protected]>
1 parent 0256023 commit b32710d

File tree

1 file changed

+276
-0
lines changed

1 file changed

+276
-0
lines changed
Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
{%- import 'common.jinja2' as common -%}
2+
---
3+
test-suites:
4+
ad_integration:
5+
test_ad_integration.py::test_ad_integration:
6+
dimensions:
7+
- regions: ["ap-southeast-2"]
8+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
9+
oss: ["ubuntu1804"]
10+
schedulers: ["slurm"]
11+
# m6g.xlarge is available in the following region: ap-south-1, eu-north-1, eu-west-3, eu-south-1, eu-west-2, eu-west-1, ap-northeast-2, me-south-1, ap-northeast-1, ca-central-1, sa-east-1, ap-east-1, ap-southeast-1, ap-southeast-2, eu-central-1, ap-southeast-3, us-east-1, us-east-2, us-west-1, us-west-2
12+
arm_pl:
13+
test_arm_pl.py::test_arm_pl:
14+
dimensions:
15+
- regions: ["ap-northeast-1"]
16+
instances: {{ common.INSTANCES_DEFAULT_ARM }}
17+
oss: {{ common.OSS_COMMERCIAL_ARM }}
18+
schedulers: ["slurm"]
19+
cli_commands:
20+
test_cli_commands.py::test_slurm_cli_commands:
21+
dimensions:
22+
- regions: ["ap-northeast-2"]
23+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
24+
oss: ["ubuntu1804"]
25+
schedulers: ["slurm"]
26+
cloudwatch_logging:
27+
test_cloudwatch_logging.py::test_cloudwatch_logging:
28+
dimensions:
29+
# 2) run the test for all x86 OSes with slurm
30+
- regions: ["ap-east-1"]
31+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
32+
oss: {{ common.OSS_COMMERCIAL_X86 }}
33+
schedulers: ["slurm"]
34+
# 3) run the test for all ARM OSes on an ARM instance
35+
- regions: ["ap-east-1"]
36+
instances: {{ common.INSTANCES_DEFAULT_ARM }}
37+
oss: {{ common.OSS_COMMERCIAL_ARM }}
38+
schedulers: ["slurm"]
39+
configure:
40+
test_pcluster_configure.py::test_pcluster_configure:
41+
dimensions:
42+
- regions: ["af-south-1"]
43+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
44+
oss: {{ common.OSS_ONE_PER_DISTRO }}
45+
schedulers: ["slurm"]
46+
createami:
47+
test_createami.py::test_build_image:
48+
dimensions:
49+
- regions: ["eu-west-3"]
50+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
51+
oss: ["alinux2", "ubuntu2004", "centos7"]
52+
test_createami.py::test_kernel4_build_image_run_cluster:
53+
dimensions:
54+
- regions: ["eu-south-1"]
55+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
56+
schedulers: ["awsbatch", "slurm"]
57+
oss: ["alinux2"]
58+
dcv:
59+
test_dcv.py::test_dcv_configuration:
60+
dimensions:
61+
# DCV on GPU enabled instance
62+
- regions: ["us-east-1"]
63+
instances: ["g4dn.2xlarge"]
64+
oss: {{common.OSS_COMMERCIAL_X86}}
65+
schedulers: ["slurm"]
66+
# DCV on ARM + GPU
67+
- regions: ["us-east-1"]
68+
instances: ["g5g.2xlarge"]
69+
oss: ["alinux2", "ubuntu1804"]
70+
schedulers: ["slurm"]
71+
disable_hyperthreading:
72+
test_disable_hyperthreading.py::test_hit_disable_hyperthreading:
73+
dimensions:
74+
- regions: ["us-west-1"]
75+
instances: ["m4.xlarge"]
76+
oss: ["alinux2", "centos7"]
77+
schedulers: ["slurm"]
78+
dns:
79+
test_dns.py::test_hit_no_cluster_dns_mpi:
80+
dimensions:
81+
- regions: ["af-south-1"]
82+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
83+
oss: {{ common.OSS_COMMERCIAL_X86 }}
84+
schedulers: ["slurm"]
85+
efa:
86+
test_efa.py::test_efa:
87+
dimensions:
88+
- regions: ["sa-east-1"]
89+
instances: ["c5n.9xlarge"]
90+
oss: ["alinux2"]
91+
schedulers: ["slurm"]
92+
- regions: ["us-east-1"]
93+
instances: ["p4d.24xlarge"]
94+
oss: ["alinux2"]
95+
schedulers: ["slurm"]
96+
- regions: ["us-east-1"]
97+
instances: ["c6gn.16xlarge"]
98+
oss: ["ubuntu1804", "ubuntu2004"]
99+
schedulers: ["slurm"]
100+
- regions: [ "us-east-2" ]
101+
instances: [{{ common.instance("instance_type_1") }}]
102+
oss: [ "centos7" ]
103+
schedulers: [ "slurm" ]
104+
intel_hpc:
105+
test_intel_hpc.py::test_intel_hpc:
106+
dimensions:
107+
- regions: ["us-east-2"]
108+
instances: ["c5.18xlarge"]
109+
oss: ["centos7"]
110+
schedulers: ["slurm"]
111+
networking:
112+
test_cluster_networking.py::test_cluster_in_private_subnet:
113+
dimensions:
114+
- regions: ["me-south-1"]
115+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
116+
oss: ["centos7"]
117+
schedulers: ["slurm"]
118+
test_cluster_networking.py::test_cluster_in_no_internet_subnet:
119+
dimensions:
120+
# The region needs to be the same of the Jenkins server since default pre/post install scripts are hosted in an
121+
# S3 bucket belonging to the same region and S3 VPC Endpoints only work within the region.
122+
- regions: ["us-east-1"]
123+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
124+
oss: {{ common.OSS_COMMERCIAL_X86 }}
125+
schedulers: ["slurm"]
126+
test_multi_cidr.py::test_multi_cidr:
127+
dimensions:
128+
- regions: ["ap-northeast-2"]
129+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
130+
oss: ["alinux2"]
131+
schedulers: ["slurm"]
132+
test_on_demand_capacity_reservation.py::test_on_demand_capacity_reservation:
133+
dimensions:
134+
- regions: [ "us-west-2" ]
135+
oss: [ "alinux2" ]
136+
scaling:
137+
test_mpi.py::test_mpi:
138+
dimensions:
139+
- regions: ["eu-north-1"]
140+
instances: {{ common.INSTANCES_DEFAULT_ARM }}
141+
oss: {{ common.OSS_COMMERCIAL_ARM }}
142+
schedulers: ["slurm"]
143+
test_mpi.py::test_mpi_ssh:
144+
dimensions:
145+
- regions: ["eu-north-1"]
146+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
147+
oss: {{ common.OSS_COMMERCIAL_X86 }}
148+
schedulers: ["slurm"]
149+
schedulers:
150+
test_awsbatch.py::test_awsbatch:
151+
dimensions:
152+
- regions: ["eu-north-1", "us-gov-west-1", "cn-north-1"]
153+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
154+
oss: ["alinux2"]
155+
schedulers: ["awsbatch"]
156+
test_slurm.py::test_slurm:
157+
dimensions:
158+
- regions: ["eu-central-1"]
159+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
160+
oss: {{ common.OSS_COMMERCIAL_X86 }}
161+
schedulers: ["slurm"]
162+
test_slurm.py::test_slurm_pmix:
163+
dimensions:
164+
- regions: ["ap-south-1"]
165+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
166+
oss: {{ common.OSS_COMMERCIAL_X86 }}
167+
schedulers: ["slurm"]
168+
- regions: ["ap-northeast-1"]
169+
instances: {{ common.INSTANCES_DEFAULT_ARM }}
170+
oss: {{ common.OSS_COMMERCIAL_ARM }}
171+
schedulers: ["slurm"]
172+
test_slurm.py::test_slurm_scaling:
173+
dimensions:
174+
- regions: ["us-west-1"]
175+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
176+
oss: {{ common.OSS_ONE_PER_DISTRO }}
177+
schedulers: ["slurm"]
178+
- regions: [ "us-east-2" ]
179+
instances: [{{ common.instance("instance_type_1") }}]
180+
oss: [ "alinux2" ]
181+
schedulers: [ "slurm" ]
182+
storage:
183+
# Commercial regions that can't test FSx: ap-northeast-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-north-1, eu-west-1, eu-west-2, us-east-1, us-east-2, us-west-1, us-west-2
184+
test_fsx_lustre.py::test_fsx_lustre:
185+
dimensions:
186+
- regions: ["eu-west-2"]
187+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
188+
oss: ["centos7"]
189+
schedulers: ["slurm"]
190+
- regions: ["eu-north-1"]
191+
instances: {{ common.INSTANCES_DEFAULT_ARM }}
192+
oss: ["ubuntu2004"]
193+
schedulers: ["slurm"]
194+
# The checks performed in test_multiple_fsx is the same as test_fsx_lustre.
195+
# We should consider this when assigning dimensions to each test.
196+
test_fsx_lustre.py::test_multiple_fsx:
197+
dimensions:
198+
- regions: ["eu-west-2"]
199+
instances: {{ common.INSTANCES_DEFAULT_ARM }}
200+
oss: {{ common.OSS_COMMERCIAL_ARM }}
201+
schedulers: ["slurm"]
202+
test_fsx_lustre.py::test_fsx_lustre_configuration_options:
203+
dimensions:
204+
- regions: ["us-east-2"]
205+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
206+
oss: ["alinux2"]
207+
schedulers: ["slurm"]
208+
test_efs.py::test_multiple_efs:
209+
dimensions:
210+
- regions: [ "eu-west-2" ]
211+
instances: {{ common.INSTANCES_DEFAULT_ARM }}
212+
oss: {{ common.OSS_COMMERCIAL_ARM }}
213+
schedulers: [ "slurm" ]
214+
test_raid.py::test_raid_performance_mode:
215+
dimensions:
216+
- regions: ["ap-south-1"]
217+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
218+
oss: {{ common.OSS_COMMERCIAL_X86 }}
219+
schedulers: ["slurm"]
220+
test_ebs.py::test_ebs_multiple:
221+
dimensions:
222+
- regions: ["eu-west-2"]
223+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
224+
oss: ["ubuntu1804"]
225+
schedulers: ["slurm"]
226+
test_ebs.py::test_ebs_existing:
227+
dimensions:
228+
- regions: ["eu-west-2"]
229+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
230+
oss: ["centos7"]
231+
schedulers: ["slurm"]
232+
# Ephemeral test requires instance type with instance store
233+
test_ephemeral.py::test_head_node_stop:
234+
dimensions:
235+
- regions: ["us-east-1"]
236+
instances: ["m5d.xlarge", "h1.2xlarge"]
237+
oss: ["alinux2"]
238+
schedulers: ["slurm"]
239+
update:
240+
test_update.py::test_update_slurm:
241+
dimensions:
242+
- regions: ["eu-central-1"]
243+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
244+
oss: {{ common.OSS_COMMERCIAL_X86 }}
245+
test_update.py::test_update_compute_ami:
246+
dimensions:
247+
- regions: ["eu-west-1"]
248+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
249+
oss: ["alinux2"]
250+
test_update.py::test_update_instance_list:
251+
dimensions:
252+
- regions: ["ap-south-1"]
253+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
254+
oss: ["alinux2"]
255+
schedulers: ["slurm"]
256+
test_update.py::test_queue_parameters_update:
257+
dimensions:
258+
- regions: ["ap-south-1"]
259+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
260+
oss: ["alinux2"]
261+
schedulers: ["slurm"]
262+
test_update.py::test_dynamic_file_systems_update:
263+
dimensions:
264+
- regions: ["eu-west-2"]
265+
instances: {{ common.INSTANCES_DEFAULT_X86 }}
266+
oss: {{ common.OSS_COMMERCIAL_X86 }}
267+
schedulers: ["slurm"]
268+
- regions: ["ap-northeast-1"]
269+
instances: {{ common.INSTANCES_DEFAULT_ARM }}
270+
oss: {{ common.OSS_COMMERCIAL_ARM }}
271+
schedulers: ["slurm"]
272+
test_update.py::test_multi_az_create_and_update:
273+
dimensions:
274+
- regions: [ "eu-west-2" ]
275+
schedulers: [ "slurm" ]
276+
oss: ["alinux2"]

0 commit comments

Comments
 (0)