Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369406 - Install latest Chrome on Hudson Windows slave
Summary: Install latest Chrome on Hudson Windows slave
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: CI-Jenkins (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 358931
  Show dependency tree
 
Reported: 2012-01-23 10:31 EST by John Arthorne CLA
Modified: 2012-12-06 16:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2012-01-23 10:31:42 EST
It appears the only valid way to install Chrome on Linux is by installing the RPM. I believe regular users don't have the ability to do this, so can webmaster RPM install the latest chrome on build.eclipse.org? We need this for automated JavaScript testing in Orion, but I expect other projects could find this useful too. 

We had previously been hacking together an install manually by cracking open the RPM and manually inserting what appeared to be the libraries it needs. This is error prone and changes with each Chrome release (every 6 weeks). For reference see bug 358931. We have been putting it under /shared/common, but are flexible on location.
Comment 1 Eclipse Webmaster CLA 2012-01-31 16:10:49 EST
Well, I installed and it doesn't work.  I don't know which version(since the rpm is ever so helpfully named 'google-chrome-stable_current_x86_64.rpm'), but I did grab it today.

It's not relocatable(as far as I can tell), so it had to go into /opt/google.

When I try to run it I get some lib link errors(it's expecting libs with .so.0 ) and even when I resolve those it explodes as it wants libstdc++3.4.11 and our distro is currently at 3.3.3 .

Based on this I think it's safe to say that Chrome doesn't support SLES.

-M.
Comment 2 John Arthorne CLA 2012-01-31 16:21:48 EST
Wow! Thanks for trying this out. I did some digging and found:

http://code.google.com/p/chromium/issues/detail?id=93054

Quote: "In short, you are out of luck. SLES / SLED 11 is unsupported as of Google Chrome 13."

Is build.eclipse.org running SLES 11? Unless you're updating to a newer distro soon it sounds like we're out of luck.
Comment 3 Eclipse Webmaster CLA 2012-01-31 16:31:28 EST
Yes it runs SLES 11, and I don't think there are any plans to change that.

Since it's not supported I"ll remove the rpm.  

Closing as 'not_eclipse'.

-M.
Comment 4 John Arthorne CLA 2012-02-02 15:19:03 EST
I don't know why I didn't think of this... Webmaster can you install Chrome on the Hudson windows slave instead? If there is a way for me to install stuff there just point me in the right direction...
Comment 5 Denis Roy CLA 2012-02-02 15:28:24 EST
> I don't know why I didn't think of this... 

Because all our servers run SLES 11, none of which are supported?
Comment 6 John Arthorne CLA 2012-02-02 15:30:08 EST
(In reply to comment #5)
> > I don't know why I didn't think of this... 
> 
> Because all our servers run SLES 11, none of which are supported?

The Hudson Windows 7 slave... We run our Orion Internet Explorer tests there so we should able to do the same for our Chrome tests. I know Chrome runs on Windows 7...
Comment 7 John Arthorne CLA 2012-02-23 15:58:10 EST
Installed Google Chrome at:

C:\Users\kmoir\AppData\Local\Google\Chrome\Application\chrome.exe

Leaving this open until I can verify this works from a hudson test.
Comment 8 Denis Roy CLA 2012-03-15 15:08:24 EDT
> Leaving this open until I can verify this works from a hudson test.

John, how'd it go?
Comment 9 John Arthorne CLA 2012-03-15 16:46:14 EDT
I haven't had a chance to try it. I'll assign this to myself so it is on my plate to resolve it.
Comment 10 John Arthorne CLA 2012-12-05 09:37:56 EST
I finally had time to look into this. I was able to install Chrome on the Hudson Windows machine using the e4build login that was created for us. However the Hudson build user does not have access to it:

    [apply] Failure 1: java.lang.RuntimeException: java.io.IOException: Cannot run program "C:\\Users\\kmoir\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe": CreateProcess error=5, Access is denied

So I will need help from the webmaster to install Chrome as either administrator or hudson build user, so that the build will have permission to run it.
Comment 11 Eclipse Webmaster CLA 2012-12-06 10:55:39 EST
I've installed chrome for the Hudson user.

-M.
Comment 12 John Arthorne CLA 2012-12-06 11:16:46 EST
Thanks Matt! Can you let me know if this is the path of the chrome executable:

C:\Users\HUDSONBUILD\AppData\Local\Google\Chrome\Application\chrome.exe
Comment 13 Eclipse Webmaster CLA 2012-12-06 11:20:37 EST
The shortcut points at: 

c:\Program Files\Google\Chrome\Application\chrome.exe

-M.
Comment 14 John Arthorne CLA 2012-12-06 16:04:01 EST
Works like a charm. Thanks again!