Hi,
I am having problem in configuring Browserstack Local option through Jenkins. I cannot execute the job when ‘Browserstack Local’ in 'Build Environment' is checked. When I run the job then following exception is displayed on Jenkins console:
[BrowserStack] Local: Starting BrowserStack Local...
FATAL: A JSONObject text must begin with '{' at 1 [character 2 line 1]
ERROR: Failed to parse POMs
java.io.IOException at com.browserstack.automate.ci.jenkins.BrowserStackBuildWrapper.setUp(BrowserStackBuildWrapper.java:61)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:667)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1727)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
I have tried to execute the BrowserStackLocal binary on our host Jenkins machine using command:
./BrowserStackLocal --key MyPrivateAccessKey
I am getting following error message:
BrowserStackLocal: ../deps/uv/src/unix/linux-core.c:746: read_times: Assertion `num == numcpus' failed.
I have discussed this issue with my company DevOps expert, he figured out this is the bug on your side. Browserstack team should upgrade the libuv library in their linux build to at least v1.9.0. Otherwise, it won't run on any containers that limit the number of CPUs.
Kindly follow up this problem. Thanks!
Hi, I am having problem in configuring Browserstack Local option through Jenkins. I cannot execute the job when ‘Browserstack Local’ in 'Build Environment' is checked. When I run the job then following exception is displayed on Jenkins console: [BrowserStack] Local: Starting BrowserStack Local... FATAL: A JSONObject text must begin with '{' at 1 [character 2 line 1] ERROR: Failed to parse POMs java.io.IOException at com.browserstack.automate.ci.jenkins.BrowserStackBuildWrapper.setUp(BrowserStackBuildWrapper.java:61) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:667) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504) at hudson.model.Run.execute(Run.java:1727) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)
I have tried to execute the BrowserStackLocal binary on our host Jenkins machine using command:
./BrowserStackLocal --key MyPrivateAccessKey
I am getting following error message: BrowserStackLocal: ../deps/uv/src/unix/linux-core.c:746: read_times: Assertion `num == numcpus' failed.
I have discussed this issue with my company DevOps expert, he figured out this is the bug on your side. Browserstack team should upgrade the libuv library in their linux build to at least v1.9.0. Otherwise, it won't run on any containers that limit the number of CPUs. Kindly follow up this problem. Thanks!