-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I'm trying to start VM using aosp_cf_x86_64_only_phone-img-14730901.zip and host tools from same build (this worked on android13+ branches) but booting fail withfolowing message:
./cvdr create cloud_farm.json
Creating Host........................................ OK
Uploading "cvd-host_package.tar.gz".................. OK
Extracting archives and preparing image directory.... Failed
Uploading "aosp_cf_x86_64_only_phone-img-14730901.... OK
Extracting archives and preparing image directory.... OK
Fetching, starting and waiting for boot complete..... Failed
failed to create cvd: api call error: message: failed to launch cvd
DETAILS: failed to launch cvd: failed execution of `cvd load`: execution of "/usr/bin/cvd" command with args ["/usr/bin/cvd" "load" "/tmp/cvdload2160811552.json"] failed: exit status 255
Stderr:
01-29 22:24:12.571 1934 1934 I cvd : main.cc:163 version: 1.32.0 | VCS: 0d29cd6b70ad78a5b8ab32f89a94067af956a6c5
********************************************************************************
Executing `ANDROID_SOONG_HOST_OUT=/tmp/cvd/101/1769725452586688/artifacts/host_tools HOME=/tmp/cvd/101/1769725452586688/home ANDROID_HOST_OUT=/tmp/cvd/101/1769725452586688/artifacts/host_tools cvd create '--group_name=cvd_1' '--instance_name=' --daemon '--system_image_dir=/tmp/cvd/101/1769725452586688/artifacts/0' '--num_instances=1' '--report_anonymous_usage_stats=n' '--enable_bootanimation=true' '--extra_bootconfig_args_base64=' '--displays_binproto=Cg0KCwiACBCABhigASA8' '--record_screen=false' '--gpu_mode=guest_swiftshader' '--serial_number=CUTTLEFISHCVD01' '--use_random_serial=false' '--guest_enforce_security=true' '--webrtc_device_id=' '--vm_manager=crosvm' '--cpus=1' '--memory_mb=4096' '--use_sdcard=true' '--setupwizard_mode=DISABLED' '--uuid=699acfc4-c8c4-11e7-882b-5065f31dc101' '--enable_sandbox=false' '--crosvm_simple_media_device=false' '--crosvm_v4l2_proxy=' '--vsock_guest_group=' '--undefok=num_instances,report_anonymous_usage_stats,enable_bootanimation,extra_bootconfig_args_base64,displays_binproto,record_screen,gpu_mode,serial_number,use_random_serial,guest_enforce_security,webrtc_device_id,vm_manager,cpus,memory_mb,use_sdcard,setupwizard_mode,uuid,enable_sandbox,crosvm_simple_media_device,crosvm_v4l2_proxy,vsock_guest_group'`
9. main.cc:205 | CvdMain |
8. cvd.cpp:78 | HandleCvdCommand |
7. cvd.cpp:64 | HandleCommand |
6. load_configs.cpp:145 | Handle |
5. load_configs.cpp:177 | LoadGroup |
4. command_sequence.cpp:99 | ExecuteOne |
3. command_sequence.cpp:91 | Execute |
2. create.cpp:386 | Handle |
Could not find the required host tools to launch a device.
If you already have the host tools and devices images downloaded use the `--host_path` and `--product_path` flags.
See `cvd help create` for more details.
If you need to download host tools or system images try using `cvd fetch`.
For example: `cvd fetch --default_build=<branch>/<target>`
If you are building Android from source, try running `lunch <target>; m` to set up your environment and build the images.
1. host_tool_target.cpp:78 | GetStartBinName |
| cuttlefish/host/commands/cvd/cli/commands/host_tool_target.cpp:117
v Result<std::string> cuttlefish::HostToolTarget::GetBinName(const std::vector<std::string> &) const
'/tmp/cvd/101/1769725452586688/artifacts/host_tools/bin/' does not contain any of '[cvd_internal_start, launch_cvd]'.
If the error above is unclear, please copy the text and `cvd version` output into an issue at:
http://go/cuttlefish-bug
Here is my config file:
{
"common": {
"host_package": "/home/mluk88/Downloads/cvd-host_package.tar.gz"
},
"instances": [
{
"vm": {
"memory_mb": 4096,
"cpus": 1
},
"disk": {
"default_build": "/home/mluk88/Downloads/aosp_cf_x86_64_only_phone-img-14730901.zip"
},
"graphics": {
"displays": [
{
"width": "1024",
"height": "768",
"dpi": "160"
}
],
"gpu_mode": "guest_swiftshader"
}
}
]
}
Am I doing somthing wrong? Also is there any documentation on config options?
Metadata
Metadata
Assignees
Labels
No labels