After upgrading Jira to last LTS version (8.20.7), we are getting errors when running integration tests.
We run our test with `atlas-mvn integration-test ` command and we get the following output:
2022-04-08 14:25:41,541 main WARN [webdriver.testing.rule.JavaScriptErrorsRule] ----- START CONSOLE OUTPUT DUMP resource://gre/modules/URIFixup.jsm, line 281: NS_ERROR_FAILURE: Should pass a non-null uri 2022-04-08 14:25:41,541 main WARN [webdriver.testing.rule.JavaScriptErrorsRule] ----- END CONSOLE OUTPUT DUMP 2022-04-08 14:25:41,543 main ERROR [webdriver.testing.rule.FailsafeExternalResource] Tried to run command without establishing a connection Build info: version: '3.141.59-atlassian-1', revision: '8fea9e9515', time: '2021-03-31T05:00:23' System info: host: 'izar-release-notes-para-actualizar-a-la-version-8-20-7-57-bc5t6', ip: '10.150.104.242', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.181-99.354.amzn2.x86_64', java.version: '11.0.11' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 78.4.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20201013163257, moz:geckodriverVersion: 0.28.0, moz:headless: false, moz:processID: 1990, moz:profile: /tmp/rust_mozprofilegmMn2U, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 5.4.181-99.354.amzn2.x86_64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify} Session ID: 526eab39-82c8-4cdc-bac3-78cee7534a60 org.openqa.selenium.NoSuchSessionException: Tried to run command without establishing a connection Build info: version: '3.141.59-atlassian-1', revision: '8fea9e9515', time: '2021-03-31T05:00:23' System info: host: 'izar-release-notes-para-actualizar-a-la-version-8-20-7-57-bc5t6', ip: '10.150.104.242', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.181-99.354.amzn2.x86_64', java.version: '11.0.11' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 78.4.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20201013163257, moz:geckodriverVersion: 0.28.0, moz:headless: false, moz:processID: 1990, moz:profile: /tmp/rust_mozprofilegmMn2U, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 5.4.181-99.354.amzn2.x86_64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify} Session ID: 526eab39-82c8-4cdc-bac3-78cee7534a60 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:609) at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.alert(RemoteWebDriver.java:932) at org.openqa.selenium.support.ui.ExpectedConditions$28.apply(ExpectedConditions.java:806) at org.openqa.selenium.support.ui.ExpectedConditions$28.apply(ExpectedConditions.java:802) at com.atlassian.webdriver.testing.rule.SessionCleanupRule.cleanUp(SessionCleanupRule.java:62) at com.atlassian.webdriver.testing.rule.SessionCleanupRule.after(SessionCleanupRule.java:54) at com.atlassian.webdriver.testing.rule.FailsafeExternalResource.access$100(FailsafeExternalResource.java:18) at com.atlassian.webdriver.testing.rule.FailsafeExternalResource$1.evaluate(FailsafeExternalResource.java:38) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at com.atlassian.jira.functest.rule.LogTimeRule$1.evaluate(LogTimeRule.java:59) at com.atlassian.jira.functest.rule.RerunIfFailedGlobalRule$1.evaluate(RerunIfFailedGlobalRule.java:42) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at com.atlassian.jira.pageobjects.config.junit4.rule.RestoreDataClassRule$1.evaluate(RestoreDataClassRule.java:53) at com.atlassian.jira.pageobjects.config.junit4.rule.SetupJiraRule$1.evaluate(SetupJiraRule.java:40) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at com.atlassian.jira.pageobjects.config.junit4.JiraWebTestRunner$2.evaluate(JiraWebTestRunner.java:94) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.testng.junit.JUnit4TestRunner.start(JUnit4TestRunner.java:82) at org.testng.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:70) at org.testng.TestRunner$1.run(TestRunner.java:570) at org.testng.TestRunner.runJUnitWorkers(TestRunner.java:717) at org.testng.TestRunner.privateRunJUnit(TestRunner.java:601) at org.testng.TestRunner.run(TestRunner.java:502) at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) at org.testng.SuiteRunner.run(SuiteRunner.java:364) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187) at org.testng.TestNG.runSuitesLocally(TestNG.java:1116) at org.testng.TestNG.runSuites(TestNG.java:1028) at org.testng.TestNG.run(TestNG.java:996) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:198) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)