[swd-e2e-tests] Add a NUC OTA longevity test
This adds a longevity test to run on the NUCs. Manual testing suggests
this will take approximately 50 minutes to execute.
Test: Manual verification of the tests.json.
Change-Id: I8b68e2dd2cacf0a8e8cd1b811ddf551d370382ee
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/377077
Commit-Queue: Erick Tryzelaar <etryzelaar@google.com>
Reviewed-by: Dan Johnson <computerdruid@google.com>
diff --git a/src/sys/pkg/tests/system-tests/BUILD.gn b/src/sys/pkg/tests/system-tests/BUILD.gn
index 70a5c78..75bf7d0 100644
--- a/src/sys/pkg/tests/system-tests/BUILD.gn
+++ b/src/sys/pkg/tests/system-tests/BUILD.gn
@@ -110,6 +110,26 @@
cycle_count = "1"
cycle_timeout = "10m"
}
+
+ system_test_upgrade_suite("nuc-release-upgrade-longevity") {
+ release_builder = "fuchsia/global.ci/fuchsia-x64-release-build_only"
+ service_account = _service_account
+
+ # FIXME(fxb/46175) This can be removed once NUCs support `dm reboot-recovery`.
+ ota_to_recovery = true
+ environments = [
+ {
+ dimensions = {
+ device_type = "Intel NUC Kit NUC7i5DNHE"
+ }
+ tags = [ "e2e-isolated" ]
+ },
+ ]
+ timeout = "4h"
+ pave_timeout = "5m"
+ cycle_count = "40"
+ cycle_timeout = "10m"
+ }
}
group("tests") {
@@ -118,6 +138,7 @@
":nuc-release-reboot($host_toolchain)",
":nuc-release-reboot-longevity($host_toolchain)",
":nuc-release-upgrade($host_toolchain)",
+ ":nuc-release-upgrade-longevity($host_toolchain)",
":system_tests",
]
}