Error in Bamboo logs when using Chrome
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Using Chrome, following error shows up in the logs:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
build 27-Jan-2014 10:14:41 27/01/2014 10:14:41 - Opening browser.Object = | Data = Chrome
build 27-Jan-2014 10:14:41 27/01/2014 10:14:41 - createDefaultDriver() - Chrome
build 27-Jan-2014 10:14:41 C:\bamboo-home\xml-data\build-dir\AD-HN-HY\lib\drivers\chrome\profile
build 27-Jan-2014 10:14:41 27/01/2014 10:14:41 - Driverpath: C:\bamboo-home\xml-data\build-dir\AD-HN-HY\lib\drivers\chrome\chromedriver.exe
error 27-Jan-2014 10:14:42 Starting ChromeDriver (v2.8.241075) on port 22330
build 27-Jan-2014 10:14:44 27/01/2014 10:14:44 - ====> Keyword FAILED to execute!
build 27-Jan-2014 10:14:44 27/01/2014 10:14:44 - Suite: Login - Test Case: UnSuccessfulLogin - Keyword: openBrowser - Return value is: Result = false - Exception = unknown error: cannot create temp dir for unpacking extensions
build 27-Jan-2014 10:14:44 (Driver info: chromedriver=2.8.241075,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
build 27-Jan-2014 10:14:44 Command duration or timeout: 1.37 seconds
build 27-Jan-2014 10:14:44 Build info: version: '2.39.0', revision: '14fa800511cc5d66d426abhuysjgg2ab926c7ed7398', time: '2013-12-16 13:18:38'
build 27-Jan-2014 10:14:44 System info: host: 'US26', ip: '10.192.3.25', os.name: 'Windows Server 2008 R2', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_25'
build 27-Jan-2014 10:14:44 Driver info: org.openqa.selenium.chrome.ChromeDriver
build 27-Jan-2014 10:14:44 27/01/2014 10:14:44 - Starting: Suite: Login - Test Case: SuccessfulLogin
build 27-Jan-2014 10:14:44 27/01/2014 10:14:44 - Step: AD05 - Keyword to run: openBrowser
build 27-Jan-2014 10:14:44 27/01/2014 10:14:44 - Executing keyword with parameters: (Object = '' | Data = '')
Cause
The user running Bamboo is not a local admin account.
Resolution
If running Bamboo as a service, follow the guidelines on this page to run Bamboo as a local user: Running Bamboo as a Windows service as the local user
Was this helpful?