diff --git a/.ci.yaml b/.ci.yaml index 4a0b5afa662db..a3e0663e025bb 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -174,6 +174,23 @@ targets: config_name: linux_fuchsia # Do not remove(https://github.com/flutter/flutter/issues/144644) # Scheduler will fail to get the platform + drone_dimensions: + - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" + + - name: Linux linux_fuchsia_tests + recipe: engine_v2/engine_v2 + bringup: true + timeout: 90 + properties: + config_name: linux_fuchsia_tests + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux dimensions: @@ -204,8 +221,16 @@ targets: add_recipes_cq: "true" release_build: "true" config_name: linux_arm_host_engine + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" - name: Linux linux_host_engine recipe: engine_v2/engine_v2 @@ -218,8 +243,16 @@ targets: [ {"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"} ] + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" - name: Linux linux_host_desktop_engine recipe: engine_v2/engine_v2 @@ -228,8 +261,16 @@ targets: add_recipes_cq: "true" release_build: "true" config_name: linux_host_desktop_engine + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" - name: Linux linux_android_aot_engine recipe: engine_v2/engine_v2 @@ -238,8 +279,16 @@ targets: add_recipes_cq: "true" release_build: "true" config_name: linux_android_aot_engine + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" - name: Linux linux_android_debug_engine recipe: engine_v2/engine_v2 @@ -248,8 +297,16 @@ targets: add_recipes_cq: "true" release_build: "true" config_name: linux_android_debug_engine + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" - name: Linux linux_license recipe: engine_v2/builder @@ -265,8 +322,16 @@ targets: properties: release_build: "true" config_name: linux_web_engine + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" runIf: - DEPS - .ci.yaml @@ -325,8 +390,16 @@ targets: add_recipes_cq: "true" release_build: "true" config_name: mac_android_aot_engine + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" - name: Mac mac_clang_tidy recipe: engine_v2/engine_v2 @@ -364,13 +437,17 @@ targets: { "sdk_version": "15a240d" } + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Mac-13|Mac-14 + # Avoid using a Mac orchestrator to save ~5 minutes of Mac host time. - name: Linux mac_clangd recipe: engine_v2/engine_v2 timeout: 240 - # Avoid using a Mac orchestrator to save ~5 minutes of Mac host time. + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Linux properties: @@ -394,6 +471,8 @@ targets: { "sdk_version": "15a240d" } + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Mac-13|Mac-14 - cpu=x86 @@ -413,6 +492,8 @@ targets: add_recipes_cq: "true" release_build: "true" config_name: windows_android_aot_engine + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Windows @@ -423,6 +504,8 @@ targets: add_recipes_cq: "true" release_build: "true" config_name: windows_host_engine + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform drone_dimensions: - os=Windows diff --git a/ci/builders/linux_fuchsia.json b/ci/builders/linux_fuchsia.json index 271bcf419318c..74650d8186322 100644 --- a/ci/builders/linux_fuchsia.json +++ b/ci/builders/linux_fuchsia.json @@ -29,52 +29,6 @@ ] } }, - { - "cas_archive": false, - "drone_dimensions": [ - "device_type=none", - "kvm=1", - "os=Linux" - ], - "gclient_variables": { - "download_android_deps": false, - "run_fuchsia_emu": true, - "use_rbe": true - }, - "gn": [ - "--target-dir", - "ci/fuchsia_profile_arm64_tester", - "--fuchsia", - "--fuchsia-cpu", - "arm64", - "--runtime-mode", - "profile", - "--no-lto", - "--rbe", - "--no-goma" - ], - "name": "ci/fuchsia_profile_arm64_tester", - "description": "Builds profile mode tests of arm64 Fuchsia.", - "ninja": { - "config": "ci/fuchsia_profile_arm64_tester", - "targets": [ - "flutter/shell/platform/fuchsia:fuchsia", - "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", - "fuchsia_tests" - ] - }, - "tests": [ - { - "name": "arm64 emulator based profile / aot tests", - "language": "python3", - "script": "flutter/tools/fuchsia/with_envs.py", - "parameters": [ - "testing/fuchsia/run_tests.py", - "ci/fuchsia_profile_arm64_tester" - ] - } - ] - }, { "drone_dimensions": [ "device_type=none", @@ -104,52 +58,6 @@ ] } }, - { - "cas_archive": false, - "drone_dimensions": [ - "device_type=none", - "kvm=1", - "os=Linux" - ], - "gclient_variables": { - "download_android_deps": false, - "run_fuchsia_emu": true, - "use_rbe": true - }, - "gn": [ - "--target-dir", - "ci/fuchsia_release_arm64_tester", - "--fuchsia", - "--fuchsia-cpu", - "arm64", - "--runtime-mode", - "release", - "--no-lto", - "--rbe", - "--no-goma" - ], - "name": "ci/fuchsia_release_arm64_tester", - "description": "Builds release mode tests of arm64 Fuchsia.", - "ninja": { - "config": "ci/fuchsia_release_arm64_tester", - "targets": [ - "flutter/shell/platform/fuchsia:fuchsia", - "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", - "fuchsia_tests" - ] - }, - "tests": [ - { - "name": "arm64 emulator based release tests", - "language": "python3", - "script": "flutter/tools/fuchsia/with_envs.py", - "parameters": [ - "testing/fuchsia/run_tests.py", - "ci/fuchsia_release_arm64_tester" - ] - } - ] - }, { "drone_dimensions": [ "device_type=none", @@ -195,52 +103,6 @@ } ] }, - { - "cas_archive": false, - "drone_dimensions": [ - "device_type=none", - "kvm=1", - "os=Linux" - ], - "gclient_variables": { - "download_android_deps": false, - "run_fuchsia_emu": true, - "use_rbe": true - }, - "gn": [ - "--target-dir", - "ci/fuchsia_debug_arm64_tester", - "--fuchsia", - "--fuchsia-cpu", - "arm64", - "--runtime-mode", - "debug", - "--no-lto", - "--rbe", - "--no-goma" - ], - "name": "ci/fuchsia_debug_arm64_tester", - "description": "Builds debug mode tests of arm64 Fuchsia.", - "ninja": { - "config": "ci/fuchsia_debug_arm64_tester", - "targets": [ - "flutter/shell/platform/fuchsia:fuchsia", - "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", - "fuchsia_tests" - ] - }, - "tests": [ - { - "name": "arm64 emulator based debug tests", - "language": "python3", - "script": "flutter/tools/fuchsia/with_envs.py", - "parameters": [ - "testing/fuchsia/run_tests.py", - "ci/fuchsia_debug_arm64_tester" - ] - } - ] - }, { "drone_dimensions": [ "device_type=none", @@ -270,52 +132,6 @@ ] } }, - { - "cas_archive": false, - "drone_dimensions": [ - "device_type=none", - "kvm=1", - "os=Linux" - ], - "gclient_variables": { - "download_android_deps": false, - "run_fuchsia_emu": true, - "use_rbe": true - }, - "gn": [ - "--target-dir", - "ci/fuchsia_profile_x64_tester", - "--fuchsia", - "--fuchsia-cpu", - "x64", - "--runtime-mode", - "profile", - "--no-lto", - "--rbe", - "--no-goma" - ], - "name": "ci/fuchsia_profile_x64_tester", - "description": "Builds profile mode tests of x64 Fuchsia.", - "ninja": { - "config": "ci/fuchsia_profile_x64_tester", - "targets": [ - "flutter/shell/platform/fuchsia:fuchsia", - "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", - "fuchsia_tests" - ] - }, - "tests": [ - { - "name": "x64 emulator based profile / aot tests", - "language": "python3", - "script": "flutter/tools/fuchsia/with_envs.py", - "parameters": [ - "testing/fuchsia/run_tests.py", - "ci/fuchsia_profile_x64_tester" - ] - } - ] - }, { "drone_dimensions": [ "device_type=none", @@ -346,52 +162,6 @@ ] } }, - { - "cas_archive": false, - "drone_dimensions": [ - "device_type=none", - "kvm=1", - "os=Linux" - ], - "gclient_variables": { - "download_android_deps": false, - "run_fuchsia_emu": true, - "use_rbe": true - }, - "gn": [ - "--target-dir", - "ci/fuchsia_release_x64_tester", - "--fuchsia", - "--fuchsia-cpu", - "x64", - "--runtime-mode", - "release", - "--no-lto", - "--rbe", - "--no-goma" - ], - "name": "ci/fuchsia_release_x64_tester", - "description": "Builds release mode tests of x64 Fuchsia.", - "ninja": { - "config": "ci/fuchsia_release_x64_tester", - "targets": [ - "flutter/shell/platform/fuchsia:fuchsia", - "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", - "fuchsia_tests" - ] - }, - "tests": [ - { - "name": "x64 emulator based release tests", - "language": "python3", - "script": "flutter/tools/fuchsia/with_envs.py", - "parameters": [ - "testing/fuchsia/run_tests.py", - "ci/fuchsia_release_x64_tester" - ] - } - ] - }, { "drone_dimensions": [ "device_type=none", @@ -437,60 +207,6 @@ ] } ] - }, - { - "cas_archive": false, - "drone_dimensions": [ - "device_type=none", - "kvm=1", - "os=Linux" - ], - "gclient_variables": { - "download_android_deps": false, - "run_fuchsia_emu": true, - "use_rbe": true - }, - "gn": [ - "--target-dir", - "ci/fuchsia_debug_x64_tester", - "--fuchsia", - "--fuchsia-cpu", - "x64", - "--runtime-mode", - "debug", - "--no-lto", - "--rbe", - "--no-goma" - ], - "name": "ci/fuchsia_debug_x64_tester", - "description": "Builds debug mode tests of x64 Fuchsia.", - "ninja": { - "config": "ci/fuchsia_debug_x64_tester", - "targets": [ - "flutter/shell/platform/fuchsia:fuchsia", - "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", - "fuchsia_tests" - ] - }, - "tests": [ - { - "name": "run_tests test", - "script": "flutter/testing/fuchsia/run_tests_test.py" - }, - { - "name": "build_fuchsia_artifacts test", - "script": "flutter/tools/fuchsia/build_fuchsia_artifacts_test.py" - }, - { - "name": "x64 emulator based debug tests", - "language": "python3", - "script": "flutter/tools/fuchsia/with_envs.py", - "parameters": [ - "testing/fuchsia/run_tests.py", - "ci/fuchsia_debug_x64_tester" - ] - } - ] } ], "generators": { diff --git a/ci/builders/linux_fuchsia_tests.json b/ci/builders/linux_fuchsia_tests.json new file mode 100644 index 0000000000000..4acd01e972a0d --- /dev/null +++ b/ci/builders/linux_fuchsia_tests.json @@ -0,0 +1,288 @@ +{ + "builds": [ + { + "cas_archive": false, + "drone_dimensions": [ + "device_type=none", + "kvm=1", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false, + "run_fuchsia_emu": true, + "use_rbe": true + }, + "gn": [ + "--target-dir", + "ci/fuchsia_profile_arm64_tester", + "--fuchsia", + "--fuchsia-cpu", + "arm64", + "--runtime-mode", + "profile", + "--no-lto", + "--rbe", + "--no-goma" + ], + "name": "ci/fuchsia_profile_arm64_tester", + "description": "Builds profile mode tests of arm64 Fuchsia.", + "ninja": { + "config": "ci/fuchsia_profile_arm64_tester", + "targets": [ + "flutter/shell/platform/fuchsia:fuchsia", + "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", + "fuchsia_tests" + ] + }, + "tests": [ + { + "name": "arm64 emulator based profile / aot tests", + "language": "python3", + "script": "flutter/tools/fuchsia/with_envs.py", + "parameters": [ + "testing/fuchsia/run_tests.py", + "ci/fuchsia_profile_arm64_tester" + ] + } + ] + }, + { + "cas_archive": false, + "drone_dimensions": [ + "device_type=none", + "kvm=1", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false, + "run_fuchsia_emu": true, + "use_rbe": true + }, + "gn": [ + "--target-dir", + "ci/fuchsia_release_arm64_tester", + "--fuchsia", + "--fuchsia-cpu", + "arm64", + "--runtime-mode", + "release", + "--no-lto", + "--rbe", + "--no-goma" + ], + "name": "ci/fuchsia_release_arm64_tester", + "description": "Builds release mode tests of arm64 Fuchsia.", + "ninja": { + "config": "ci/fuchsia_release_arm64_tester", + "targets": [ + "flutter/shell/platform/fuchsia:fuchsia", + "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", + "fuchsia_tests" + ] + }, + "tests": [ + { + "name": "arm64 emulator based release tests", + "language": "python3", + "script": "flutter/tools/fuchsia/with_envs.py", + "parameters": [ + "testing/fuchsia/run_tests.py", + "ci/fuchsia_release_arm64_tester" + ] + } + ] + }, + { + "cas_archive": false, + "drone_dimensions": [ + "device_type=none", + "kvm=1", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false, + "run_fuchsia_emu": true, + "use_rbe": true + }, + "gn": [ + "--target-dir", + "ci/fuchsia_debug_arm64_tester", + "--fuchsia", + "--fuchsia-cpu", + "arm64", + "--runtime-mode", + "debug", + "--no-lto", + "--rbe", + "--no-goma" + ], + "name": "ci/fuchsia_debug_arm64_tester", + "description": "Builds debug mode tests of arm64 Fuchsia.", + "ninja": { + "config": "ci/fuchsia_debug_arm64_tester", + "targets": [ + "flutter/shell/platform/fuchsia:fuchsia", + "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", + "fuchsia_tests" + ] + }, + "tests": [ + { + "name": "arm64 emulator based debug tests", + "language": "python3", + "script": "flutter/tools/fuchsia/with_envs.py", + "parameters": [ + "testing/fuchsia/run_tests.py", + "ci/fuchsia_debug_arm64_tester" + ] + } + ] + }, + { + "cas_archive": false, + "drone_dimensions": [ + "device_type=none", + "kvm=1", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false, + "run_fuchsia_emu": true, + "use_rbe": true + }, + "gn": [ + "--target-dir", + "ci/fuchsia_profile_x64_tester", + "--fuchsia", + "--fuchsia-cpu", + "x64", + "--runtime-mode", + "profile", + "--no-lto", + "--rbe", + "--no-goma" + ], + "name": "ci/fuchsia_profile_x64_tester", + "description": "Builds profile mode tests of x64 Fuchsia.", + "ninja": { + "config": "ci/fuchsia_profile_x64_tester", + "targets": [ + "flutter/shell/platform/fuchsia:fuchsia", + "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", + "fuchsia_tests" + ] + }, + "tests": [ + { + "name": "x64 emulator based profile / aot tests", + "language": "python3", + "script": "flutter/tools/fuchsia/with_envs.py", + "parameters": [ + "testing/fuchsia/run_tests.py", + "ci/fuchsia_profile_x64_tester" + ] + } + ] + }, + { + "cas_archive": false, + "drone_dimensions": [ + "device_type=none", + "kvm=1", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false, + "run_fuchsia_emu": true, + "use_rbe": true + }, + "gn": [ + "--target-dir", + "ci/fuchsia_release_x64_tester", + "--fuchsia", + "--fuchsia-cpu", + "x64", + "--runtime-mode", + "release", + "--no-lto", + "--rbe", + "--no-goma" + ], + "name": "ci/fuchsia_release_x64_tester", + "description": "Builds release mode tests of x64 Fuchsia.", + "ninja": { + "config": "ci/fuchsia_release_x64_tester", + "targets": [ + "flutter/shell/platform/fuchsia:fuchsia", + "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", + "fuchsia_tests" + ] + }, + "tests": [ + { + "name": "x64 emulator based release tests", + "language": "python3", + "script": "flutter/tools/fuchsia/with_envs.py", + "parameters": [ + "testing/fuchsia/run_tests.py", + "ci/fuchsia_release_x64_tester" + ] + } + ] + }, + { + "cas_archive": false, + "drone_dimensions": [ + "device_type=none", + "kvm=1", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false, + "run_fuchsia_emu": true, + "use_rbe": true + }, + "gn": [ + "--target-dir", + "ci/fuchsia_debug_x64_tester", + "--fuchsia", + "--fuchsia-cpu", + "x64", + "--runtime-mode", + "debug", + "--no-lto", + "--rbe", + "--no-goma" + ], + "name": "ci/fuchsia_debug_x64_tester", + "description": "Builds debug mode tests of x64 Fuchsia.", + "ninja": { + "config": "ci/fuchsia_debug_x64_tester", + "targets": [ + "flutter/shell/platform/fuchsia:fuchsia", + "flutter/shell/platform/fuchsia/dart_runner:dart_runner_tests", + "fuchsia_tests" + ] + }, + "tests": [ + { + "name": "run_tests test", + "script": "flutter/testing/fuchsia/run_tests_test.py" + }, + { + "name": "build_fuchsia_artifacts test", + "script": "flutter/tools/fuchsia/build_fuchsia_artifacts_test.py" + }, + { + "name": "x64 emulator based debug tests", + "language": "python3", + "script": "flutter/tools/fuchsia/with_envs.py", + "parameters": [ + "testing/fuchsia/run_tests.py", + "ci/fuchsia_debug_x64_tester" + ] + } + ] + } + ] +}