Skip to content

Commit 6b1d18e

Browse files
committed
Swap remaining non-orchestrator cases
One of the e2etests fails if they are changed. The build from `aosp-android-latest-release` is missing the flag from aosp/3451951. Since the swap is not pressing, we can stay on the frozen `aosp-main` build. Once the next quarterly release comes out, or we use the CF host tools from the debian package in tests, we can swap the rest.
1 parent a7a2786 commit 6b1d18e

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

base/cvd/cuttlefish/host/commands/cvd/acloud/converter.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ Result<ConvertedAcloudCreateCommand> ConvertAcloudCreate(
356356
parsed_flags.build_target) {
357357
auto target = parsed_flags.build_target ? *parsed_flags.build_target : "";
358358
auto build = parsed_flags.build_id.value_or(
359-
parsed_flags.branch.value_or("aosp-main"));
359+
parsed_flags.branch.value_or("aosp-android-latest-release"));
360360
host_dir += (build + target);
361361
} else {
362362
given_branch_target_info = CF_EXPECT(GetDefaultBranchBuildTarget("git_"));
@@ -383,7 +383,7 @@ Result<ConvertedAcloudCreateCommand> ConvertAcloudCreate(
383383
auto target =
384384
parsed_flags.build_target ? "/" + *parsed_flags.build_target : "";
385385
auto build = parsed_flags.build_id.value_or(
386-
parsed_flags.branch.value_or("aosp-main"));
386+
parsed_flags.branch.value_or("aosp-android-latest-release"));
387387
fetch_request_builder.AddArguments({build + target});
388388
fetch_command_str += (build + target);
389389
}
@@ -393,8 +393,8 @@ Result<ConvertedAcloudCreateCommand> ConvertAcloudCreate(
393393
if (!target.empty()) {
394394
target = "/" + target;
395395
}
396-
auto build =
397-
system_build_id.value_or(system_branch.value_or("aosp-main"));
396+
auto build = system_build_id.value_or(
397+
system_branch.value_or("aosp-android-latest-release"));
398398
fetch_request_builder.AddArguments({"--system_build", build + target});
399399
fetch_command_str += " --system_build=" + build + target;
400400
}
@@ -414,7 +414,8 @@ Result<ConvertedAcloudCreateCommand> ConvertAcloudCreate(
414414
if (!target.empty()) {
415415
target = "/" + target;
416416
}
417-
auto build = boot_build_id.value_or(boot_branch.value_or("aosp-main"));
417+
auto build = boot_build_id.value_or(
418+
boot_branch.value_or("aosp-android-latest-release"));
418419
fetch_request_builder.AddArguments({"--boot_build", build + target});
419420
fetch_command_str += " --boot_build=" + build + target;
420421
}

base/cvd/cuttlefish/host/commands/cvd/unittests/fetch/fetch_cvd_parser_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ using testing::Eq;
3030

3131
inline constexpr char kTargetDirectory[] = "--target_directory=/tmp/fetch_test";
3232
inline constexpr char kDefaultBuild[] =
33-
"--default_build=aosp-main/aosp_cf_x86_64_phone-trunk_staging-userdebug";
33+
"--default_build=aosp-android-latest-release/"
34+
"aosp_cf_x86_64_only_phone-userdebug";
3435
inline constexpr char kCasDownloaderPath[] =
3536
"--cas_downloader_path=/tmp/casdownloader";
3637
inline constexpr char kCasCacheDir[] = "--cas_cache_dir=/tmp/cas_cache";

staging/host/cvd_test_configs/local_tests/local_mixed_3_fetch_host.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"common": {
3-
"host_package": "@ab/aosp-main"
3+
"host_package": "@ab/aosp-android-latest-release"
44
},
55
"instances": [
66
{

staging/host/cvd_test_configs/main_phone.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"common": {
3-
"host_package": "@ab/aosp-main/aosp_cf_x86_64_phone-trunk_staging-userdebug"
3+
"host_package": "@ab/aosp-android-latest-release/aosp_cf_x86_64_only_phone-userdebug"
44
},
55
"instances": [
66
{

staging/host/cvd_test_configs/tm_phone-tm_watch-main_host_pkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"common": {
3-
"host_package": "@ab/aosp-main/aosp_cf_x86_64_phone-trunk_staging-userdebug"
3+
"host_package": "@ab/aosp-android-latest-release/aosp_cf_x86_64_only_phone-userdebug"
44
},
55
"instances": [
66
{

staging/host/cvd_test_configs/validation_failures/field_name_error.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"common": {
3-
"host_package": "@ab/aosp-main/aosp_cf_x86_64_phone-trunk_staging-userdebug"
3+
"host_package": "@ab/aosp-android-latest-release/aosp_cf_x86_64_only_phone-userdebug"
44
},
55
"instances": [
66
{

staging/host/cvd_test_configs/validation_failures/type_error.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"common": {
3-
"host_package": "@ab/aosp-main/aosp_cf_x86_64_phone-trunk_staging-userdebug"
3+
"host_package": "@ab/aosp-android-latest-release/aosp_cf_x86_64_only_phone-userdebug"
44
},
55
"instances": [
66
{

0 commit comments

Comments
 (0)