Open GoogleCodeExporter opened 9 years ago
Tested on Ubuntu 14.04 LTS with chrome version 43.0.2357.81, Chromedriver
version 2.15 and it works fine.
Could you please provide more information about your testsetup?
Original comment by gmanikp...@chromium.org
on 26 May 2015 at 9:28
Mac OS X tested fine as well.
Original comment by Dennis.H...@gmail.com
on 26 May 2015 at 9:43
I have a test-kitchen test suite to test centos and ubuntu:
https://github.com/dhoer/chef-selenium/blob/master/.kitchen.yml
Mac works and is setup the same way as Ubuntu and CentOS.
The drivers directory for centos where I create a link to the driver I
downloaded and unzipped:
[vagrant@selenium-test-centos-70 drivers]$ ls -al
total 0
drwxr-xr-x. 3 root root 57 May 26 23:06 .
drwxr-xr-x. 5 root root 46 May 26 23:05 ..
lrwxrwxrwx. 1 root root 53 May 26 23:06 chromedriver ->
/usr/local/selenium/drivers/chromedriver_linux64-2.15
drwxr-xr-x. 2 root root 25 May 26 23:06 chromedriver_linux64-2.15
The permissions for chromedriver:
[vagrant@selenium-test-centos-70 chromedriver]$ ls -al
total 4916
drwxr-xr-x. 2 root root 25 May 26 23:06 .
drwxr-xr-x. 3 root root 57 May 26 23:06 ..
-rwx------. 1 root root 5031816 Mar 26 18:15 chromedriver
Selenium runs as root. Changing the permissions to 755 didn't help.
The args passed to init.d:
+args="-Xms1024m -jar "/usr/local/selenium/server/selenium-server-standalone.jar" -role node -nodeConfig "/usr/local/selenium/config/selenium_node.json" -Dwebdriver.chrome.driver="/usr/local/selenium/drivers/chromedriver/chromedriver""
Let me know if you need more info.
Original comment by Dennis.H...@gmail.com
on 26 May 2015 at 11:20
Let me add
[vagrant@selenium-test-centos-70 chromedriver]$ google-chrome --version
Google Chrome 43.0.2357.81
[vagrant@selenium-test-centos-70 chromedriver]$ which google-chrome
/usr/bin/google-chrome
Original comment by Dennis.H...@gmail.com
on 26 May 2015 at 11:23
I am also able to fire up chrome with x11 successfully. I always have had
errors like below in the past. But the errors never seem to cause problems, so
I always ignored them.
hoerde ~/chef/cookbooks/selenium$ ssh -X vagrant google-chrome
/usr/bin/xauth: file /home/vagrant/.Xauthority does not exist
[1:1:0526/232536:ERROR:image_metadata_extractor.cc(111)] Couldn't load libexif.
[24355:24355:0526/232536:ERROR:x11_util.cc(70)] X error received: serial 232,
error_code 10, request_code 132, minor_code 5
[24355:24355:0526/232536:ERROR:x11_util.cc(70)] X error received: serial 234,
error_code 9, request_code 62, minor_code 0
[24355:24355:0526/232536:ERROR:x11_util.cc(70)] X error received: serial 256,
error_code 9, request_code 62, minor_code 0
[24355:24355:0526/232536:ERROR:x11_util.cc(70)] X error received: serial 275,
error_code 9, request_code 62, minor_code 0
libGL error: dlopen /usr/lib64/dri/swrast_dri.so failed
(/usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or
directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[24420:24420:0526/232537:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24432:24432:0526/232537:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24417:24417:0526/232537:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24431:24431:0526/232537:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24418:24418:0526/232537:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24474:24474:0526/232540:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24531:24531:0526/232541:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24533:24533:0526/232541:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24583:24583:0526/232542:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24594:24594:0526/232542:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24606:24606:0526/232543:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24621:24621:0526/232543:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24625:24625:0526/232543:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
[24940:24940:0526/232543:ERROR:image_metadata_extractor.cc(111)] Couldn't load
libexif.
xdg-settings: unknown desktop environment
[24355:24398:0526/232555:ERROR:channel.cc(300)] RawChannel read error
(connection broken)
[46:46:0526/232558:ERROR:dispatcher.cc(256)] Extension
"chrome://chrome-signin/" not found
[46:46:0526/232558:ERROR:dispatcher.cc(256)] Extension
"chrome://chrome-signin/" not found
[46:46:0526/232558:ERROR:dispatcher.cc(256)] Extension
"chrome://chrome-signin/" not found
[46:46:0526/232558:ERROR:dispatcher.cc(256)] Extension
"chrome://chrome-signin/" not found
[46:46:0526/232558:ERROR:dispatcher.cc(256)] Extension
"chrome://chrome-signin/" not found
[46:46:0526/232558:ERROR:dispatcher.cc(256)] Extension
"chrome://chrome-signin/" not found
[46:46:0526/232558:ERROR:dispatcher.cc(256)] Extension
"chrome://chrome-signin/" not found
[46:46:0526/232558:ERROR:dispatcher.cc(256)] Extension
"chrome://chrome-signin/" not found
Original comment by Dennis.H...@gmail.com
on 26 May 2015 at 11:33
Reference this ticket from GitHub:
https://github.com/dhoer/chef-selenium/issues/13
Original comment by Dennis.H...@gmail.com
on 27 May 2015 at 4:52
To mimic test setup:
Download and install the following tools for your platform:
- ChefDK https://downloads.chef.io/chef-dk/
- Vagrant http://www.vagrantup.com/downloads.html
- VirtualBox & Extension Pack (Windows)
https://www.virtualbox.org/wiki/Downloads
Verify issue:
- git clone https://github.com/dhoer/chef-selenium
- cd chef-selenium
- chef exec kitchen verify 70 # Performs integration testing against CentOS 7.0
Original comment by Dennis.H...@gmail.com
on 27 May 2015 at 10:53
Starting ChromeDriver 2.15.322448 (52179c1b310fec1797c81ea9a20326839860b7d3) on
port 54368
Only local connections are allowed.
Exceção Sem Tratamento: System.InvalidOperationException: chrome not reachable
(Driver info: chromedriver=2.15.322448 (52179c1b310fec1797c81ea9a20326839860b7
d3),platform=Windows NT 6.1 SP1 x86_64) (100)
em OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response erro
rResponse)
em OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecu
te, Dictionary`2 parameters)
em OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredC
apabilities)
em OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecu
tor, ICapabilities desiredCapabilities)
em OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, Chr
omeOptions options, TimeSpan commandTimeout)
em OpenQA.Selenium.Chrome.ChromeDriver..ctor(String chromeDriverDirectory, Ch
romeOptions options, TimeSpan commandTimeout)
em TesteChrome.Teste.TesteWithChrome() na c:\Projetos\TestChrome\TesteChrome\
Teste.cs:linha 24
em TesteChrome.Program.Main(String[] args) na c:\Projetos\TestChrome\TesteChr
ome\Program.cs:linha 15
em System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args
)
em System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySec
urity, String[] args)
em Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
em System.Threading.ThreadHelper.ThreadStart_Context(Object state)
em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state, Boolean preserveSyncCtx)
em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
em System.Threading.ThreadHelper.ThreadStart()
Original comment by bruno.al...@clear.com.br
on 3 Jun 2015 at 9:16
Dennis, you run selenium and chromedriver under root?
I have this issue, I'm run selenium hub and node driver under root and get
exception like you, but the google-chrome does not start under root, it need to
be started under another user, today I run selenium hub and node driver under
another user and chrome started successfully.
Original comment by amateur...@gmail.com
on 4 Jun 2015 at 3:16
That is good to know. This has been working as is since October last year. It
seems the Chrome 43 release has caused this to surface? Anyway, I will look at
this and see if it fixes it. Thanks for the tip.
Original comment by Dennis.H...@gmail.com
on 4 Jun 2015 at 4:02
Same issue here, running selenium under an other user fixed the problem. Thx
Original comment by lol...@lemonde.fr
on 5 Jun 2015 at 11:36
[deleted comment]
This issue is now fixed under chef-selenium release 2.3.3. Please close.
Original comment by Dennis.H...@gmail.com
on 9 Jun 2015 at 10:49
Dennis.Hoer@
thanks for update that this issue is fixed for you.
we are leaving this bug open for some time to get more reports if anyone else
is facing similar issue.
thanks
Original comment by agau...@chromium.org
on 22 Jun 2015 at 11:49
Hello,
I'm having the same problem. Under Kubuntu 15.04 Chrome fails to retrieve the
passwords for some of my sites, but in Windows 8.1 it works well. My Chrome
version is: 43.0.2357.130 (64-bit)
This is the log from Kubuntu:
[5246:5246:0623/222050:ERROR:url_pattern_set.cc(240)] Invalid url pattern:
chrome://print/*
[5278:5278:0624/042050:ERROR:gles2_cmd_decoder.cc(11539)]
[GroupMarkerNotSet(crbug.com/242999)!:D0E89CEE92320000]GL ERROR
:GL_INVALID_OPERATION : glTexStorage2DEXT: <- error from previous GL command
[5246:5269:0623/222058:ERROR:native_backend_kwallet_x.cc(103)] Failed to
deserialize version 6 KWallet entry (realm: DansGuardian)
[5246:5269:0623/222058:ERROR:native_backend_kwallet_x.cc(86)] Failed to
deserialize URL.
[5246:5269:0623/222058:ERROR:native_backend_kwallet_x.cc(103)] Failed to
deserialize version 6 KWallet entry (realm: http://127.0.0.1:8080/)
[5246:5269:0623/222058:ERROR:native_backend_kwallet_x.cc(103)] Failed to
deserialize version 6 KWallet entry (realm: http://157.253.192.193/)
[5246:5269:0623/222058:ERROR:native_backend_kwallet_x.cc(86)] Failed to
deserialize URL.
[5246:5269:0623/222058:ERROR:native_backend_kwallet_x.cc(103)] Failed to
deserialize version 6 KWallet entry (realm: http://190.145.91.56/)
[5246:5269:0623/222058:ERROR:native_backend_kwallet_x.cc(103)] Failed to
deserialize version 6 KWallet entry (realm:
http://192.168.0.1/TP-LINK%20Wireless%20Dual%20Band%20Router%20WDR3500)
...
My entire log is 1600+ lines full of those error messages. I checked the sites
for which Chrome is not remembering my passwords and they are listed in one of
these error lines.
Thanks.
Original comment by dwilc...@gmail.com
on 24 Jun 2015 at 4:26
Original issue reported on code.google.com by
Dennis.H...@gmail.com
on 26 May 2015 at 8:30