Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 062b3a7

Browse files
Flutter 3.25 beta split out fuchsia tests to separate shard to avoid timeouts (#54665)
CP of #54591
1 parent a39fc55 commit 062b3a7

File tree

3 files changed

+304
-285
lines changed

3 files changed

+304
-285
lines changed

.ci.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,29 @@ targets:
206206

207207
- name: Linux linux_fuchsia
208208
recipe: engine_v2/engine_v2
209-
timeout: 60
209+
# Additional workaround for https://github.com/flutter/flutter/issues/152186
210+
timeout: 240
210211
properties:
211212
release_build: "true"
212213
config_name: linux_fuchsia
213214
# Do not remove(https://github.com/flutter/flutter/issues/144644)
214215
# Scheduler will fail to get the platform
215216
drone_dimensions:
216217
- os=Linux
218+
219+
- name: Linux linux_fuchsia_tests
220+
recipe: engine_v2/engine_v2
221+
bringup: true
222+
timeout: 90
223+
properties:
224+
# TODO(zanderso): Add this back when this issue is closed:
225+
# https://github.com/flutter/flutter/issues/152186
226+
# release_build: "true"
227+
config_name: linux_fuchsia_tests
228+
# Do not remove(https://github.com/flutter/flutter/issues/144644)
229+
# Scheduler will fail to get the platform
230+
drone_dimensions:
231+
- os=Linux
217232
dimensions:
218233
kvm: "1"
219234

ci/builders/linux_fuchsia.json

Lines changed: 0 additions & 284 deletions
Original file line numberDiff line numberDiff line change
@@ -29,52 +29,6 @@
2929
]
3030
}
3131
},
32-
{
33-
"cas_archive": false,
34-
"drone_dimensions": [
35-
"device_type=none",
36-
"kvm=1",
37-
"os=Linux"
38-
],
39-
"gclient_variables": {
40-
"download_android_deps": false,
41-
"run_fuchsia_emu": true,
42-
"use_rbe": true
43-
},
44-
"gn": [
45-
"--target-dir",
46-
"ci/fuchsia_profile_arm64_tester",
47-
"--fuchsia",
48-
"--fuchsia-cpu",
49-
"arm64",
50-
"--runtime-mode",
51-
"profile",
52-
"--no-lto",
53-
"--rbe",
54-
"--no-goma"
55-
],
56-
"name": "ci/fuchsia_profile_arm64_tester",
57-
"description": "Builds profile mode tests of arm64 Fuchsia.",
58-
"ninja": {
59-
"config": "ci/fuchsia_profile_arm64_tester",
60-
"targets": [
61-
"flutter/shell/platform/fuchsia:fuchsia",
62-
"flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests",
63-
"fuchsia_tests"
64-
]
65-
},
66-
"tests": [
67-
{
68-
"name": "arm64 emulator based profile / aot tests",
69-
"language": "python3",
70-
"script": "flutter/tools/fuchsia/with_envs.py",
71-
"parameters": [
72-
"testing/fuchsia/run_tests.py",
73-
"ci/fuchsia_profile_arm64_tester"
74-
]
75-
}
76-
]
77-
},
7832
{
7933
"drone_dimensions": [
8034
"device_type=none",
@@ -104,52 +58,6 @@
10458
]
10559
}
10660
},
107-
{
108-
"cas_archive": false,
109-
"drone_dimensions": [
110-
"device_type=none",
111-
"kvm=1",
112-
"os=Linux"
113-
],
114-
"gclient_variables": {
115-
"download_android_deps": false,
116-
"run_fuchsia_emu": true,
117-
"use_rbe": true
118-
},
119-
"gn": [
120-
"--target-dir",
121-
"ci/fuchsia_release_arm64_tester",
122-
"--fuchsia",
123-
"--fuchsia-cpu",
124-
"arm64",
125-
"--runtime-mode",
126-
"release",
127-
"--no-lto",
128-
"--rbe",
129-
"--no-goma"
130-
],
131-
"name": "ci/fuchsia_release_arm64_tester",
132-
"description": "Builds release mode tests of arm64 Fuchsia.",
133-
"ninja": {
134-
"config": "ci/fuchsia_release_arm64_tester",
135-
"targets": [
136-
"flutter/shell/platform/fuchsia:fuchsia",
137-
"flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests",
138-
"fuchsia_tests"
139-
]
140-
},
141-
"tests": [
142-
{
143-
"name": "arm64 emulator based release tests",
144-
"language": "python3",
145-
"script": "flutter/tools/fuchsia/with_envs.py",
146-
"parameters": [
147-
"testing/fuchsia/run_tests.py",
148-
"ci/fuchsia_release_arm64_tester"
149-
]
150-
}
151-
]
152-
},
15361
{
15462
"drone_dimensions": [
15563
"device_type=none",
@@ -195,52 +103,6 @@
195103
}
196104
]
197105
},
198-
{
199-
"cas_archive": false,
200-
"drone_dimensions": [
201-
"device_type=none",
202-
"kvm=1",
203-
"os=Linux"
204-
],
205-
"gclient_variables": {
206-
"download_android_deps": false,
207-
"run_fuchsia_emu": true,
208-
"use_rbe": true
209-
},
210-
"gn": [
211-
"--target-dir",
212-
"ci/fuchsia_debug_arm64_tester",
213-
"--fuchsia",
214-
"--fuchsia-cpu",
215-
"arm64",
216-
"--runtime-mode",
217-
"debug",
218-
"--no-lto",
219-
"--rbe",
220-
"--no-goma"
221-
],
222-
"name": "ci/fuchsia_debug_arm64_tester",
223-
"description": "Builds debug mode tests of arm64 Fuchsia.",
224-
"ninja": {
225-
"config": "ci/fuchsia_debug_arm64_tester",
226-
"targets": [
227-
"flutter/shell/platform/fuchsia:fuchsia",
228-
"flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests",
229-
"fuchsia_tests"
230-
]
231-
},
232-
"tests": [
233-
{
234-
"name": "arm64 emulator based debug tests",
235-
"language": "python3",
236-
"script": "flutter/tools/fuchsia/with_envs.py",
237-
"parameters": [
238-
"testing/fuchsia/run_tests.py",
239-
"ci/fuchsia_debug_arm64_tester"
240-
]
241-
}
242-
]
243-
},
244106
{
245107
"drone_dimensions": [
246108
"device_type=none",
@@ -270,52 +132,6 @@
270132
]
271133
}
272134
},
273-
{
274-
"cas_archive": false,
275-
"drone_dimensions": [
276-
"device_type=none",
277-
"kvm=1",
278-
"os=Linux"
279-
],
280-
"gclient_variables": {
281-
"download_android_deps": false,
282-
"run_fuchsia_emu": true,
283-
"use_rbe": true
284-
},
285-
"gn": [
286-
"--target-dir",
287-
"ci/fuchsia_profile_x64_tester",
288-
"--fuchsia",
289-
"--fuchsia-cpu",
290-
"x64",
291-
"--runtime-mode",
292-
"profile",
293-
"--no-lto",
294-
"--rbe",
295-
"--no-goma"
296-
],
297-
"name": "ci/fuchsia_profile_x64_tester",
298-
"description": "Builds profile mode tests of x64 Fuchsia.",
299-
"ninja": {
300-
"config": "ci/fuchsia_profile_x64_tester",
301-
"targets": [
302-
"flutter/shell/platform/fuchsia:fuchsia",
303-
"flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests",
304-
"fuchsia_tests"
305-
]
306-
},
307-
"tests": [
308-
{
309-
"name": "x64 emulator based profile / aot tests",
310-
"language": "python3",
311-
"script": "flutter/tools/fuchsia/with_envs.py",
312-
"parameters": [
313-
"testing/fuchsia/run_tests.py",
314-
"ci/fuchsia_profile_x64_tester"
315-
]
316-
}
317-
]
318-
},
319135
{
320136
"drone_dimensions": [
321137
"device_type=none",
@@ -346,52 +162,6 @@
346162
]
347163
}
348164
},
349-
{
350-
"cas_archive": false,
351-
"drone_dimensions": [
352-
"device_type=none",
353-
"kvm=1",
354-
"os=Linux"
355-
],
356-
"gclient_variables": {
357-
"download_android_deps": false,
358-
"run_fuchsia_emu": true,
359-
"use_rbe": true
360-
},
361-
"gn": [
362-
"--target-dir",
363-
"ci/fuchsia_release_x64_tester",
364-
"--fuchsia",
365-
"--fuchsia-cpu",
366-
"x64",
367-
"--runtime-mode",
368-
"release",
369-
"--no-lto",
370-
"--rbe",
371-
"--no-goma"
372-
],
373-
"name": "ci/fuchsia_release_x64_tester",
374-
"description": "Builds release mode tests of x64 Fuchsia.",
375-
"ninja": {
376-
"config": "ci/fuchsia_release_x64_tester",
377-
"targets": [
378-
"flutter/shell/platform/fuchsia:fuchsia",
379-
"flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests",
380-
"fuchsia_tests"
381-
]
382-
},
383-
"tests": [
384-
{
385-
"name": "x64 emulator based release tests",
386-
"language": "python3",
387-
"script": "flutter/tools/fuchsia/with_envs.py",
388-
"parameters": [
389-
"testing/fuchsia/run_tests.py",
390-
"ci/fuchsia_release_x64_tester"
391-
]
392-
}
393-
]
394-
},
395165
{
396166
"drone_dimensions": [
397167
"device_type=none",
@@ -437,60 +207,6 @@
437207
]
438208
}
439209
]
440-
},
441-
{
442-
"cas_archive": false,
443-
"drone_dimensions": [
444-
"device_type=none",
445-
"kvm=1",
446-
"os=Linux"
447-
],
448-
"gclient_variables": {
449-
"download_android_deps": false,
450-
"run_fuchsia_emu": true,
451-
"use_rbe": true
452-
},
453-
"gn": [
454-
"--target-dir",
455-
"ci/fuchsia_debug_x64_tester",
456-
"--fuchsia",
457-
"--fuchsia-cpu",
458-
"x64",
459-
"--runtime-mode",
460-
"debug",
461-
"--no-lto",
462-
"--rbe",
463-
"--no-goma"
464-
],
465-
"name": "ci/fuchsia_debug_x64_tester",
466-
"description": "Builds debug mode tests of x64 Fuchsia.",
467-
"ninja": {
468-
"config": "ci/fuchsia_debug_x64_tester",
469-
"targets": [
470-
"flutter/shell/platform/fuchsia:fuchsia",
471-
"flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests",
472-
"fuchsia_tests"
473-
]
474-
},
475-
"tests": [
476-
{
477-
"name": "run_tests test",
478-
"script": "flutter/testing/fuchsia/run_tests_test.py"
479-
},
480-
{
481-
"name": "build_fuchsia_artifacts test",
482-
"script": "flutter/tools/fuchsia/build_fuchsia_artifacts_test.py"
483-
},
484-
{
485-
"name": "x64 emulator based debug tests",
486-
"language": "python3",
487-
"script": "flutter/tools/fuchsia/with_envs.py",
488-
"parameters": [
489-
"testing/fuchsia/run_tests.py",
490-
"ci/fuchsia_debug_x64_tester"
491-
]
492-
}
493-
]
494210
}
495211
],
496212
"generators": {

0 commit comments

Comments
 (0)