aerokube / selenoid

Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
https://aerokube.com/selenoid/latest/
Apache License 2.0
2.59k stars 323 forks source link

Immediately when i run command selenoid/android:7.1 or any container crashes VM is hanged #988

Closed vikramnagaraju31 closed 7 months ago

vikramnagaraju31 commented 4 years ago

@vania-pooh Am running below command on ubuntu VM on MAC enabled with nested virtualisation enabled, once i run my virtual machine is hanged also container crashes, can you please help me on this if am missing something. docker run -d --name emulator-test -e ENABLE_VNC=true -e SKIN=WXGA800 --privileged -p 5900:5900 -p 8888:4444 selenoid/android:7.1

vania-pooh commented 4 years ago

@vikramnagaraju31 probably have try to rebuild image yourself if you are seeing segfaults in logs.

vikramnagaraju31 commented 4 years ago

@vania-pooh Thanks for the response.. Am getting below error when i run the container, device seems to be offline also i have enabled nested virtualization.

kvm-ok INFO: /dev/kvm exists KVM acceleration can be used

Error Logs qemu-system-i386: warning: TSC frequency mismatch between VM (1995379 kHz) and host (2304000 kHz), and TSC scaling unavailable qemu-system-i386: warning: TSC frequency mismatch between VM (1995379 kHz) and host (2304000 kHz), and TSC scaling unavailable KVM: entry failed, hardware error 0x80000021

If you're running a guest on an Intel machine without unrestricted mode support, the failure can be most likely due to the guest entering an invalid state for Intel VT. For example, the guest maybe running in big real mode which is not supported on less recent Intel processors.

vania-pooh commented 3 years ago

@vikramnagaraju31 I would try to rebuild the image under the same machine. Could be because of different VM memory snapshot format.

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.