-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Powered by SuggestiMate
We are getting the below error block while building this plugin:
Command used: mvn install
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.biouno:uno-choice:2.8.3 (/root/active-choices-plugin/pom.xml) has 1 error
[ERROR] Unknown packaging: hpi @ line 16, column 16
[JENKINS-73730] Unable to create active-choices-plugin:2.8.3
harsha_vardhan_987 that's a bit hard to troubleshoot remotely, but in case this helps, here's what I have in my dev environment:
Apache Maven 3.8.7 Maven home: /usr/share/maven Java version: 17.0.12, vendor: Ubuntu, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "6.8.0-41-generic", arch: "amd64", family: "unix"
I don't have anything special in my .m2/settings.xml. And I create the package with `mvn clean package`, and then run it with `mvn hpi:run`. Hope this helps.
We are building on Java 17.0.8 , Maven version : 3.9.4 .
creation of package is successful.
We are getting below logs while running the test command. Please provide any insight you have.
09 10:42:37.536] | Running tests for org.biouno:uno-choice:2.8.3
[09 10:42:38.823] | [INFO] Running InjectedTest
[09 10:42:47.502] | [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.652 s – in InjectedTest
[09 10:42:48.425] | [INFO] Running org.biouno.unochoice.Security470Test
[09 10:42:54.928] | [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.491 s – in org.biouno.unochoice.Security470Test
[09 10:42:55.842] | [INFO] Running org.biouno.unochoice.TestAbstractUnoChoiceParameter
[09 10:43:02.906] | [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.050 s – in org.biouno.unochoice.TestAbstractUnoChoiceParameter
[09 10:43:03.809] | [INFO] Running org.biouno.unochoice.TestCascadeChoiceParameter
[09 10:43:13.595] | [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.772 s – in org.biouno.unochoice.TestCascadeChoiceParameter
[09 10:43:14.501] | [INFO] Running org.biouno.unochoice.TestChoiceParameter
[09 10:43:23.663] | [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.152 s – in org.biouno.unochoice.TestChoiceParameter
[09 10:43:24.564] | [INFO] Running org.biouno.unochoice.TestDynamicReferenceParameter
[09 10:43:32.667] | [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.094 s – in org.biouno.unochoice.TestDynamicReferenceParameter
[09 10:43:33.546] | [INFO] Running org.biouno.unochoice.TestParametersOrder
[09 10:43:39.387] | [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.831 s – in org.biouno.unochoice.TestParametersOrder
[09 10:43:40.302] | [INFO] Running org.biouno.unochoice.TestPersistingParameters
[09 10:43:55.191] | [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.88 s – in org.biouno.unochoice.TestPersistingParameters
[09 10:43:56.113] | [INFO] Running org.biouno.unochoice.UiAcceptanceTest
[09 10:44:05.370] | [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 9.246 s <<< FAILURE! – in org.biouno.unochoice.UiAcceptanceTest
[09 10:44:05.370] | [ERROR] org.biouno.unochoice.UiAcceptanceTest.test – Time elapsed: 6.050 s <<< FAILURE!
[09 10:44:05.371] | org.opentest4j.MultipleFailuresError:
[09 10:44:05.371] | Multiple Failures (2 failures)
[09 10:44:05.371] | org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
[09 10:44:05.371] | Host info: host: ‘runner-1derwium-project-75149-concurrent-4’, ip: ‘172.17.0.9’
[09 10:44:05.371] | java.lang.NullPointerException: Cannot invoke “org.openqa.selenium.WebDriver.quit()” because “this.driver” is null
[09 10:44:05.371] | Suppressed: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
[09 10:44:05.371] | Host info: host: ‘runner-1derwium-project-75149-concurrent-4’, ip: ‘172.17.0.9’
[09 10:44:05.371] | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:537)
[09 10:44:05.371] | at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:233)
[09 10:44:05.371] | at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:162)
[09 10:44:05.371] | at org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:114)
[09 10:44:05.371] | at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:89)
[09 10:44:05.371] | at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:84)
[09 10:44:05.371] | at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:73)
[09 10:44:05.371] | at org.biouno.unochoice.UiAcceptanceTest.setUp(UiAcceptanceTest.java:68)
[09 10:44:05.371] | at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[09 10:44:05.371] | at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:656)
[09 10:44:05.371] | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[09 10:44:05.371] | at java.base/java.lang.Thread.run(Thread.java:833)
[09 10:44:05.371] | Caused by: org.openqa.selenium.WebDriverException: Driver server process died prematurely.
[09 10:44:05.371] | Build info: version: ‘4.18.1’, revision: ‘b1d3319b48’
[09 10:44:05.371] | System info: os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.17-2136.327.2.el8uek.x86_64’, java.version: ‘17’
[09 10:44:05.371] | Driver info: driver.version: ChromeDriver
[09 10:44:05.371] | at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:246)
[09 10:44:05.371] | at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:117)
[09 10:44:05.372] | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:519)
[09 10:44:05.372] | ... 11 more
[09 10:44:05.372] | Suppressed: java.lang.NullPointerException: Cannot invoke “org.openqa.selenium.WebDriver.quit()” because “this.driver” is null
[09 10:44:05.372] | at org.biouno.unochoice.UiAcceptanceTest.tearDown(UiAcceptanceTest.java:78)
[09 10:44:05.372] | at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[09 10:44:05.372] | at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:656)
[09 10:44:05.372] | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[09 10:44:05.372] | at java.base/java.lang.Thread.run(Thread.java:833)
[09 10:44:05.372] |
[09 10:44:05.372] | [ERROR] org.biouno.unochoice.UiAcceptanceTest.testHelpFiles – Time elapsed: 1.994 s <<< FAILURE!
[09 10:44:05.372] | org.opentest4j.MultipleFailuresError:
[09 10:44:05.372] | Multiple Failures (2 failures)
[09 10:44:05.372] | org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
[09 10:44:05.372] | Host info: host: ‘runner-1derwium-project-75149-concurrent-4’, ip: ‘172.17.0.9’
[09 10:44:05.372] | java.lang.NullPointerException: Cannot invoke “org.openqa.selenium.WebDriver.quit()” because “this.driver” is null
[09 10:44:05.372] | Suppressed: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
[09 10:44:05.372] | Host info: host: ‘runner-1derwium-project-75149-concurrent-4’, ip: ‘172.17.0.9’
[09 10:44:05.372] | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:537)
[09 10:44:05.372] | at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:233)
[09 10:44:05.372] | at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:162)
[09 10:44:05.372] | at org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:114)
[09 10:44:05.372] | at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:89)
[09 10:44:05.372] | at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:84)
[09 10:44:05.372] | at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:73)
[09 10:44:05.372] | at org.biouno.unochoice.UiAcceptanceTest.setUp(UiAcceptanceTest.java:68)
[09 10:44:05.372] | at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[09 10:44:05.372] | at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:656)
[09 10:44:05.372] | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[09 10:44:05.372] | at java.base/java.lang.Thread.run(Thread.java:833)
[09 10:44:05.372] | Caused by: org.openqa.selenium.WebDriverException: Driver server process died prematurely.
[09 10:44:05.372] | Build info: version: ‘4.18.1’, revision: ‘b1d3319b48’
[09 10:44:05.372] | System info: os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.17-2136.327.2.el8uek.x86_64’, java.version: ‘17’
[09 10:44:05.372] | Driver info: driver.version: ChromeDriver
[09 10:44:05.372] | at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:246)
[09 10:44:05.372] | at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:117)
[09 10:44:05.372] | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:519)
[09 10:44:05.372] | ... 11 more
[09 10:44:05.372] | Suppressed: java.lang.NullPointerException: Cannot invoke “org.openqa.selenium.WebDriver.quit()” because “this.driver” is null
[09 10:44:05.373] | at org.biouno.unochoice.UiAcceptanceTest.tearDown(UiAcceptanceTest.java:78)
[09 10:44:05.373] | at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[09 10:44:05.373] | at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:656)
[09 10:44:05.373] | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[09 10:44:05.373] | at java.base/java.lang.Thread.run(Thread.java:833)
[09 10:44:05.373] |
[09 10:44:06.363] | [INFO] Running org.biouno.unochoice.issue34818.TestGlobalNodePropertiesScript
[09 10:44:12.448] | [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.074 s – in org.biouno.unochoice.issue34818.TestGlobalNodePropertiesScript
[09 10:44:13.329] | [INFO] Running org.biouno.unochoice.issue38532.TestParameterValuesWithEquals
[09 10:44:19.695] | [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.355 s – in org.biouno.unochoice.issue38532.TestParameterValuesWithEquals
[09 10:44:20.584] | [INFO] Running org.biouno.unochoice.issue48448.TestParameterObjectIsPresent
[09 10:44:27.176] | [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.579 s – in org.biouno.unochoice.issue48448.TestParameterObjectIsPresent
[09 10:44:28.165] | [INFO] Running org.biouno.unochoice.issue49260.TestProjectDifferenceAcrossFolders
[09 10:44:34.115] | [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.937 s – in org.biouno.unochoice.issue49260.TestProjectDifferenceAcrossFolders
[09 10:44:35.034] | [INFO] Running org.biouno.unochoice.issue51296.TestProjectNameAfterRenaming
[09 10:44:41.264] | [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.219 s – in org.biouno.unochoice.issue51296.TestProjectNameAfterRenaming
[09 10:44:42.181] | [INFO] Running org.biouno.unochoice.issue61068.TestDefaultValuesOnParamBuildPage
[09 10:45:01.767] | [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.58 s – in org.biouno.unochoice.issue61068.TestDefaultValuesOnParamBuildPage
[09 10:45:02.664] | [INFO] Running org.biouno.unochoice.issue62215.TestMarkupFormatterAllowsRequiredElementsInScriptOutput
[09 10:45:13.542] | [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.87 s – in org.biouno.unochoice.issue62215.TestMarkupFormatterAllowsRequiredElementsInScriptOutput
[09 10:45:14.443] | [INFO] Running org.biouno.unochoice.issue62835.TestForNodeLabelParameter
[09 10:45:25.447] | [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.99 s <<< FAILURE! – in org.biouno.unochoice.issue62835.TestForNodeLabelParameter
[09 10:45:25.447] | [ERROR] org.biouno.unochoice.issue62835.TestForNodeLabelParameter.testNodeLabelParameterValueFound – Time elapsed: 10.98 s <<< ERROR!
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Do you have the appropriate web browser(s) installed?
Are you using Java 11 or 17? That looks like you're running Java 8.