VirtualBox和Genymotion从命令行问题启动

时间:2015-03-24 09:17:36

标签: macos jenkins virtualbox tcpclient genymotion

我安装了最新的Genymotion版本2.4.0和Virtual Box 4.3.26 r98988。 当我从Jenkins运行genymotion或在MacOSX Yosemite上运行命令行时:

/Applications/Genymotion.app/Contents/MacOS/player --vm-name "Google Nexus 5 - 4.4.4 - API 19 - 1080x1920"

我有这个问题:

Logging activities to file: .Genymobile/genymotion.log
Logging activities to file: .Genymobile/Genymotion/deployed/Google Nexus 5 - 4.4.4 - API 19 - 1080x1920/genymotion-player.log
OpenGL connected to 192.168.56.101:25000
Port 22468 will be used for OpenGL data connections
Unknown TCPCLI command 1003

詹金斯无限期地等待,葫芦测试没有运行。

genymotion的日志没有特别的错误,但是virtualbox的日志(VBoxSVC.log)有这个错误:

00:00:00.130196 nspr-2   HostDnsMonitorProxy::notify
00:00:00.130211 nspr-2   HostDnsMonitorProxy: Host's DNS information updated:
00:00:00.130214 nspr-2     server 1: 10.10.0.30
00:00:00.130217 nspr-2     server 2: 10.10.0.31
00:00:00.130221 nspr-2     no search string entries
00:00:00.130223 nspr-2     no domain set
00:00:00.134010 nspr-2   failed to create vboxnet0, error (0x80004005)
00:00:00.134189 nspr-2   VDInit finished

1 个答案:

答案 0 :(得分:1)

您可能想尝试" - 安静"在运行播放器时。 我有相同的错误"未知的TCPCLI命令1003"但它似乎仍然工作正常。 这就是我跑我的方式。

文件:run.sh

vboxmanage snapshot "Google Nexus S - 2.3.7 - API 10 - 480x800" restore "factory"
/Applications/Genymotion.app/Contents/MacOS/player --quiet --vm-name "Google   Nexus S - 2.3.7 - API 10 - 480x800" &
echo "going to sleep"
sleep 30
echo "wake up"