Move Fuchsia tests to a separate config file (flutter/engine#54591)

Temporary workaround for https://github.com/flutter/flutter/issues/152186.
This commit is contained in:
Zachary Anderson
2024-08-16 15:32:05 -07:00
committed by GitHub
parent 9f1804cd2f
commit ba0110c34f
3 changed files with 302 additions and 284 deletions

View File

@@ -214,6 +214,20 @@ targets:
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
- name: Linux linux_fuchsia_tests
recipe: engine_v2/engine_v2
bringup: true
timeout: 90
properties:
# TODO(zanderso): Add this back when this issue is closed:
# https://github.com/flutter/flutter/issues/152186
# release_build: "true"
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:
kvm: "1"

View File

@@ -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": {

View File

@@ -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"
]
}
]
}
]
}