
I run trigger manually => success
It runs by BitBucket trigger => failure
Stop and rerun build that was triggered by Bitbucket => success
Error:
build 27-Apr-2021 15:34:19 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.085 sec
build 27-Apr-2021 15:34:19 Running com.implemica.third_party.TelegraphAPITest
error 27-Apr-2021 15:34:19 Apr 27, 2021 3:34:19 PM org.openqa.selenium.remote.DesiredCapabilities chrome
error 27-Apr-2021 15:34:19 INFO: Using `new ChromeOptions()` is preferred to `DesiredCapabilities.chrome()`
build 27-Apr-2021 15:34:24 Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.442 sec <<< FAILURE!
build 27-Apr-2021 15:34:24 createPage(com.implemica.third_party.TelegraphAPITest) Time elapsed: 4.44 sec <<< ERROR!
build 27-Apr-2021 15:34:24 org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
build 27-Apr-2021 15:34:24 Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
build 27-Apr-2021 15:34:24 System info: host: 'SERVER', ip: '192.168.1.50', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_151'
build 27-Apr-2021 15:34:24 Driver info: driver.version: RemoteWebDriver
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:569)
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:143)
build 27-Apr-2021 15:34:24 at com.implemica.third_party.TelegraphAPITest.before(TelegraphAPITest.java:71)
build 27-Apr-2021 15:34:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
build 27-Apr-2021 15:34:24 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
build 27-Apr-2021 15:34:24 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
build 27-Apr-2021 15:34:24 at java.lang.reflect.Method.invoke(Method.java:498)
build 27-Apr-2021 15:34:24 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
build 27-Apr-2021 15:34:24 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
build 27-Apr-2021 15:34:24 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
build 27-Apr-2021 15:34:24 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
build 27-Apr-2021 15:34:24 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
build 27-Apr-2021 15:34:24 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
build 27-Apr-2021 15:34:24 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
build 27-Apr-2021 15:34:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
build 27-Apr-2021 15:34:24 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
build 27-Apr-2021 15:34:24 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
build 27-Apr-2021 15:34:24 at java.lang.reflect.Method.invoke(Method.java:498)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
build 27-Apr-2021 15:34:24 Caused by: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:4545
build 27-Apr-2021 15:34:24 at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:242)
build 27-Apr-2021 15:34:24 at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:160)
build 27-Apr-2021 15:34:24 at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
build 27-Apr-2021 15:34:24 at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
build 27-Apr-2021 15:34:24 at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
build 27-Apr-2021 15:34:24 at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
build 27-Apr-2021 15:34:24 at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
build 27-Apr-2021 15:34:24 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
build 27-Apr-2021 15:34:24 at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
build 27-Apr-2021 15:34:24 at okhttp3.RealCall.execute(RealCall.java:77)
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:105)
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:101)
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
build 27-Apr-2021 15:34:24 at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
build 27-Apr-2021 15:34:24 ... 34 more
build 27-Apr-2021 15:34:24 Caused by: java.net.ConnectException: Connection refused: connect
build 27-Apr-2021 15:34:24 at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
build 27-Apr-2021 15:34:24 at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
build 27-Apr-2021 15:34:24 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
build 27-Apr-2021 15:34:24 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
build 27-Apr-2021 15:34:24 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
build 27-Apr-2021 15:34:24 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
build 27-Apr-2021 15:34:24 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
build 27-Apr-2021 15:34:24 at java.net.Socket.connect(Socket.java:589)
build 27-Apr-2021 15:34:24 at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129)
build 27-Apr-2021 15:34:24 at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:240)
build 27-Apr-2021 15:34:24 ... 56 more
build 27-Apr-2021 15:34:24
build 27-Apr-2021 15:34:24 createPage(com.implemica.third_party.TelegraphAPITest) Time elapsed: 4.44 sec <<< ERROR!
build 27-Apr-2021 15:34:24 java.lang.NullPointerException
build 27-Apr-2021 15:34:24 at com.implemica.third_party.TelegraphAPITest.tearDown(TelegraphAPITest.java:66)
build 27-Apr-2021 15:34:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
build 27-Apr-2021 15:34:24 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
build 27-Apr-2021 15:34:24 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
build 27-Apr-2021 15:34:24 at java.lang.reflect.Method.invoke(Method.java:498)
build 27-Apr-2021 15:34:24 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
build 27-Apr-2021 15:34:24 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
build 27-Apr-2021 15:34:24 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
build 27-Apr-2021 15:34:24 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
build 27-Apr-2021 15:34:24 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
build 27-Apr-2021 15:34:24 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
build 27-Apr-2021 15:34:24 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
build 27-Apr-2021 15:34:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
build 27-Apr-2021 15:34:24 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
build 27-Apr-2021 15:34:24 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
build 27-Apr-2021 15:34:24 at java.lang.reflect.Method.invoke(Method.java:498)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
build 27-Apr-2021 15:34:24 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)