double16 / ie-selenium

Sets up local IE instances for Selenium testing using Vagrant + modern.ie + VirtualBox
27 stars 8 forks source link

Can't install Selenium with post-boot-machine.sh using VirtualBox 5.x #1

Open MPV opened 8 years ago

MPV commented 8 years ago

Hi, For starters, I must say that this looks like an amazing project. Really like the initiative and I think this could be quite valuable.

I ran into this problem below when trying to set up Selenium in my VM.

Any ideas?

$ ./post-boot-machine.sh $(cat .vagrant/machines/IE11_Win81/virtualbox/id)
Waiting for VM "3b9f2a9d-7f85-4377-8b9c-0705aa281094" to power on...
VM "3b9f2a9d-7f85-4377-8b9c-0705aa281094" has been successfully started.
Waiting for VM "3b9f2a9d-7f85-4377-8b9c-0705aa281094" to power on...
VM "3b9f2a9d-7f85-4377-8b9c-0705aa281094" has been successfully started.
VBoxManage: error: The guest execution service is not ready (yet)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSessionWrap, interface IGuestSession, callee nsISupports
VBoxManage: error: Context: "WaitForArray(ComSafeArrayAsInParam(aSessionWaitFlags), 30 * 1000, &enmWaitResult)" at line 938 of file VBoxManageGuestCtrl.cpp
Oracle VM VirtualBox Command Line Management Interface Version 5.0.14
(C) 2005-2016 Oracle Corporation
All rights reserved.

Usage:

VBoxManage guestcontrol     <uuid|vmname> [--verbose|-v] [--quiet|-q]
                              [--username <name>] [--domain <domain>]
                              [--passwordfile <file> | --password <password>]

                              run [common-options]
                              [--exe <path to executable>] [--timeout <msec>]
                              [-E|--putenv <NAME>[=<VALUE>]] [--unquoted-args]
                              [--ignore-operhaned-processes] [--no-profile]
                              [--no-wait-stdout|--wait-stdout]
                              [--no-wait-stderr|--wait-stderr]
                              [--dos2unix] [--unix2dos]
                              -- <program/arg0> [argument1] ... [argumentN]]

                              start [common-options]
                              [--exe <path to executable>] [--timeout <msec>]
                              [-E|--putenv <NAME>[=<VALUE>]] [--unquoted-args]
                              [--ignore-operhaned-processes] [--no-profile]
                              -- <program/arg0> [argument1] ... [argumentN]]

                              copyfrom [common-options]
                              [--dryrun] [--follow] [-R|--recursive]
                              <guest-src0> [guest-src1 [...]] <host-dst>

                              copyfrom [common-options]
                              [--dryrun] [--follow] [-R|--recursive]
                              [--target-directory <host-dst-dir>]
                              <guest-src0> [guest-src1 [...]]

                              copyto [common-options]
                              [--dryrun] [--follow] [-R|--recursive]
                              <host-src0> [host-src1 [...]] <guest-dst>

                              copyto [common-options]
                              [--dryrun] [--follow] [-R|--recursive]
                              [--target-directory <guest-dst>]
                              <host-src0> [host-src1 [...]]

                              mkdir|createdir[ectory] [common-options]
                              [--parents] [--mode <mode>]
                              <guest directory> [...]

                              rmdir|removedir[ectory] [common-options]
                              [-R|--recursive]
                              <guest directory> [...]

                              removefile|rm [common-options] [-f|--force]
                              <guest file> [...]

                              mv|move|ren[ame] [common-options]
                              <source> [source1 [...]] <dest>

                              mktemp|createtemp[orary] [common-options]
                              [--secure] [--mode <mode>] [--tmpdir <directory>]
                              <template>

                              stat [common-options]
                              <file> [...]

VBoxManage guestcontrol     <uuid|vmname> [--verbose|-v] [--quiet|-q]

                              list <all|sessions|processes|files> [common-opts]

                              closeprocess [common-options]
                              <   --session-id <ID>
                                | --session-name <name or pattern>
                              <PID1> [PID1 [...]]

                              closesession [common-options]
                              <  --all | --session-id <ID>
                                | --session-name <name or pattern> >

                              updatega|updateguestadditions|updateadditions
                              [--source <guest additions .ISO>]
                              [--wait-start] [common-options]
                              [-- [<argument1>] ... [<argumentN>]]

                              watch [common-options]

Syntax error: Unknown sub-command: 'execute'
Oracle VM VirtualBox Command Line Management Interface Version 5.0.14
(C) 2005-2016 Oracle Corporation
All rights reserved.

Usage:

VBoxManage guestcontrol     <uuid|vmname> [--verbose|-v] [--quiet|-q]
                              [--username <name>] [--domain <domain>]
                              [--passwordfile <file> | --password <password>]
                              copyto [common-options]
                              [--dryrun] [--follow] [-R|--recursive]
                              <host-src0> [host-src1 [...]] <guest-dst>

                              copyto [common-options]
                              [--dryrun] [--follow] [-R|--recursive]
                              [--target-directory <guest-dst>]
                              <host-src0> [host-src1 [...]]

Syntax error: No destination specified!
kaililleby commented 8 years ago

Have you tried with virtual box 4.x?

MPV commented 8 years ago

No, I've only tried it with VirtualBox 5 (5.0.14 to be precise).

kaililleby commented 8 years ago

Virtual boxs command line changed between 4 and 5..

double16 commented 8 years ago

I will try to look at it in the new couple of days, unless someone submits a PR before then.

double16 commented 8 years ago

It appears there are problems with VBoxManage 5. https://www.virtualbox.org/ticket/14336 might be one of them. copyto is having issues.

rishi-khanna commented 7 years ago

Is this fixed? I am still facing this issue with VirtualBox v5.1.18 r114002 (Qt5.6.2) .

double16 commented 7 years ago

Sadly not yet. There is a branch in which I'm trying to get it working with 5.1. I'm also trying to get the script to download all of the dependencies for you.

On Thu, Apr 20, 2017 at 8:29 AM Rishi Khanna notifications@github.com wrote:

Is this fixed? I am still facing this issue with VirtualBox v5.1.18 r114002 (Qt5.6.2) .

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/double16/ie-selenium/issues/1#issuecomment-295738760, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYQKa3iu2hOrTcRtXEUKfCnpo40uBxhks5rx124gaJpZM4Hni02 .