Jenkins, New Katalon Studio 5.1.0.2 + Firefox won't work

When test start browser open fails:

11-29-2017 01:36:53 ip. - [INFO]   - Starting 'Firefox' driver
11-29-2017 01:36:53 ip. - [INFO]   - Action delay is set to 0 seconds

1511955414920	geckodriver	INFO	geckodriver 0.19.0
1511955414935	geckodriver	INFO	Listening on 127.0.0.1:45511

1511955416179	mozrunner::runner	INFO	Running command: "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" "C:\\Users\\NETBAR~1\\AppData\\Local\\Temp\\rust_mozprofile.GNxQFoT9kP7n"

1511955416533	addons.manager	DEBUG	Application has been upgraded
1511955416601	addons.manager	DEBUG	Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider", "XPIInternal"]
1511955416606	addons.manager	DEBUG	Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1511955416658	addons.manager	DEBUG	Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1511955416665	addons.manager	DEBUG	Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1511955416668	addons.manager	DEBUG	Starting provider: XPIProvider

And lot of same.....
And end of log:
Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'
System info: host: 'DESKTOP-xxxxxx', ip: '172.20.13.93', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_102'
Driver info: driver.version: CGeckoDriver
remote stacktrace: stack backtrace:
   0:           0x4821c4 - 
   1:           0x482933 - 
   2:           0x445159 - 
   3:           0x44c838 - 
   4:           0x43026a - 
   5:           0x40ba4e - 
   6:           0x4119b9 - 
   7:           0x6d2c89 - 
   8:           0x426006 - 
   9:           0x6cd490 - 
  10:     0x7ff9ac6c2774 - BaseThreadInitThunk)
11-29-2017 01:37:09 ip. - [END]    - End action : openBrowser
11-29-2017 01:37:09 ip. - [FAILED] - Test Cases/Common/Servers/Open old test FAILED because (of) Unable to open browser with url: '' (Root cause: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status: 0
Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'
System info: host: 'DESKTOP-xxxxxx', ip: '172.20.13.93', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_102'
Driver info: driver.version: CGeckoDriver
remote stacktrace: stack backtrace:
   0:           0x4821c4 - 
   1:           0x482933 - 
   2:           0x445159 - 
   3:           0x44c838 - 
   4:           0x43026a - 
   5:           0x40ba4e - 
   6:           0x4119b9 - 
   7:           0x6d2c89 - 
   8:           0x426006 - 
   9:           0x6cd490 - 
  10:     0x7ff9ac6c2774 - BaseThreadInitThunk)

I have earlier version of Katalon Studio and it also stop working with Firefox??

Well can you paste your logs again in cleaner format? I can’t see anything with that logs.

1-29-2017 09:23:15 ip. - [INFO] - Evaluating variables for test case
11-29-2017 09:23:16 ip. - [START] - Start action : openBrowser
11-29-2017 09:23:17 ip. - [INFO] - Opening browser
11-29-2017 09:23:17 ip. - [INFO] - Starting ‘Firefox’ driver
11-29-2017 09:23:17 ip. - [INFO] - Action delay is set to 0 seconds
1511983401375 geckodriver INFO geckodriver 0.19.0
1511983401386 geckodriver INFO Listening on 127.0.0.1:11900
1511983402119 mozrunner::runner INFO Running command: “C:\Program Files (x86)\Mozilla Firefox\firefox.exe” “-marionette” “-profile” “C:\Users\NETBAR~1\AppData\Local\Temp\rust_mozprofile.FeF5CmGvmdgP”
1511983402531 addons.manager DEBUG Application has been upgraded
1511983402601 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: [“XPIProvider”, “XPIInternal”]
1511983402605 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: [“LightweightThemeManager”]
1511983402642 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1511983402645 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1511983402646 addons.manager DEBUG Starting provider: XPIProvider
1511983402646 addons.xpi DEBUG startup
1511983402647 addons.xpi INFO SystemAddonInstallLocation directory is missing
1511983402647 addons.xpi INFO Removing all system add-on upgrades.
1511983402649 addons.xpi DEBUG checkForChanges
1511983402650 addons.xpi DEBUG Loaded add-on state: ${}
1511983402653 addons.xpi INFO Mapping activity-stream@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\activity-stream@mozilla.org.xpi
.
.
.
##!!! [Parent][MessageChannel] Error: (msgtype=0x15008F,name=PBrowser::Msg_UpdateNativeWindowHandle) Channel error: cannot send/recv

###!!! [Parent][MessageChannel] Error: (msgtype=0x150083,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv

A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
1511983411058 DeferredSave.webext.sc.lz4 DEBUG Starting write
1511983411066 DeferredSave.webext.sc.lz4 DEBUG Write succeeded
1511983414007 addons.manager DEBUG shutdown
1511983414009 addons.manager DEBUG Calling shutdown blocker for XPIProvider
1511983414010 addons.xpi DEBUG shutdown
1511983414010 addons.xpi-utils DEBUG shutdown
1511983414011 addons.manager DEBUG Calling shutdown blocker for LightweightThemeManager
1511983414011 addons.manager DEBUG Calling shutdown blocker for GMPProvider
1511983414012 addons.manager DEBUG Calling shutdown blocker for PluginProvider
1511983414013 addons.manager DEBUG Calling shutdown blocker for PreviousExperimentProvider
1511983414026 addons.manager DEBUG Async provider shutdown done
*** UTM:SVC TimerManager:registerTimer called after profile-before-change notification. Ignoring timer registration for id: telemetry_modules_ping
Unable to read VR Path Registry from C:\Users\netbaron-test\AppData\Local\openvr\openvrpaths.vrpath
[GPU 7768, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
11-29-2017 09:23:34 ip. - [FAILED] - Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status: 0
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘DESKTOP-xxxxx’, ip: ‘172.20.13.93’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’
Driver info: driver.version: CGeckoDriver
remote stacktrace: stack backtrace:
0: 0x4821c4 -
1: 0x482933 -
2: 0x445159 -
3: 0x44c838 -
4: 0x43026a -
5: 0x40ba4e -
6: 0x4119b9 -
7: 0x6d2c89 -
8: 0x426006 -
9: 0x6cd490 -
10: 0x7ff9ac6c2774 - BaseThreadInitThunk)
11-29-2017 09:23:34 ip. - [END] - End action : openBrowser
11-29-2017 09:23:34 ip. - [FAILED] - Test Cases/Common/Servers/Open app test FAILED because (of) Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status: 0
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘DESKTOP-xxxxx’, ip: ‘172.20.13.93’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’
Driver info: driver.version: CGeckoDriver
remote stacktrace: stack backtrace:
0: 0x4821c4 -
1: 0x482933 -
2: 0x445159 -
3: 0x44c838 -
4: 0x43026a -
5: 0x40ba4e -
6: 0x4119b9 -
7: 0x6d2c89 -
8: 0x426006 -
9: 0x6cd490 -
10: 0x7ff9ac6c2774 - BaseThreadInitThunk)

And this start after update to 5.1.0.2.

Which Firefox version you are using? Is it 57+

Yes

Any idea?

Hi Ilkka Kovalainen,

I’ve been trying to reproduce your issue on my side but it’s not reproducible. Some workround solutions I can give to you right now:
- Use latest version Katalon Studio 5.2
- Upgrade Firefox to the latest version.
- Change Jenkins service to have ‘Allow interaction with desktop’

2017-12-13_204508.png

No help

Btw, I have 2 Window10 compures with Jenkins and both have same situation after update Katalon Studio to 5.x

This is probably an issue of Appium itself. I think you should post this one on Appium page:

I have have the same issue on Windows 7- 64 bit with KS: 5.2.0 - 64-bit, geckodriver: geckodriver-v0.19.1-win64 and FF: 57.

My old version of KS has also stopped working :confused: , Let me know how I can help to get more close to be able to reproduce the issue?

I have the same issue with Firefox 57+ but **only ** when I execute the tests via Jenkins. If I run them normally in Katalon Studio, they are fine. I get a similar error in the logs as above:

2018-01-26 13:45:50 - [TEST_CASE][FAILED] - Test Cases/Whatever test case FAILED because (of) Unable to open browser with url: ‘https://whatever-url/’ (Root cause: org.openqa.selenium.WebDriverException: Process unexpectedly closed with status: 0
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

I find an solution from here:
https://support.mozilla.org/fi/questions/1060882

Create mozilla folder (where ever it is) defaults\pref\local-settings.js file and add there
pref(“general.config.filename”, “mozilla.cfg”);
pref(“general.config.obscure_value”, 0);

And now create mozilla.cfg file directly to mozilla folder and add there
//
pref(“security.sandbox.content.level”, 5);

(remember add // beginning of the file)

That work with me.

1 Like