Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Deniss-Air:qaframework-bdd-tests juliet$ npm run refapp2OpenConceptLab
- > openmrs-contrib-qaframework@0.1.0 refapp2OpenConceptLab /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests
- > mvn test -Dcucumber.filter.tags='@selenium and @openConceptLab'
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.contrib:qaframework-bdd-tests:jar:1.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 183, column 21
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] -------------< org.openmrs.contrib:qaframework-bdd-tests >--------------
- [INFO] Building qaframework-bdd-tests 1.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node and npm) @ qaframework-bdd-tests ---
- [INFO] Node v15.8.0 is already installed.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ qaframework-bdd-tests ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ qaframework-bdd-tests ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qaframework-bdd-tests ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 54 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ qaframework-bdd-tests ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-mac-chromedriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-linux-chromedriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-windows-chromedriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-mac-firefoxdriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-linux-firefoxdriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-windows-firefoxdriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ qaframework-bdd-tests ---
- [INFO] Surefire report directory: /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.contrib.qaframework.RunTest
- Running locally...
- log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
- log4j:WARN Please initialize the log4j system properly.
- /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/target/test-classes/firefoxdriver/mac/geckodriver: error: Found argument '--websocket-port' which wasn't expected, or isn't valid in this context
- USAGE:
- geckodriver --port <PORT>
- For more information try --help
- Running locally...
- /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/target/test-classes/firefoxdriver/mac/geckodriver: error: Found argument '--websocket-port' which wasn't expected, or isn't valid in this context
- USAGE:
- geckodriver --port <PORT>
- For more information try --help
- Running locally...
- /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/target/test-classes/firefoxdriver/mac/geckodriver: error: Found argument '--websocket-port' which wasn't expected, or isn't valid in this context
- USAGE:
- geckodriver --port <PORT>
- For more information try --help
- Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 5.971 sec <<< FAILURE!
- OCL MANAGEMENT(OCL Subscription module) Time elapsed: 3.369 sec <<< ERROR!
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.OpenConceptLabSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:59)
- at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46)
- at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:98)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:151)
- at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:135)
- at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:27)
- 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 org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
- at io.cucumber.junit.Cucumber.runChild(Cucumber.java:199)
- at io.cucumber.junit.Cucumber.runChild(Cucumber.java:90)
- 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 io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:234)
- at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 42 more
- Caused by: java.lang.AssertionError: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:47)
- at org.openmrs.contrib.qaframework.automation.OpenConceptLabSteps.<init>(OpenConceptLabSteps.java:28)
- ... 47 more
- OCL MANAGEMENT(OCL Subscription module) Time elapsed: 3.372 sec <<< ERROR!
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.OpenConceptLabSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:59)
- at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46)
- at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:110)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:151)
- at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:135)
- at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:27)
- 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 org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
- at io.cucumber.junit.Cucumber.runChild(Cucumber.java:199)
- at io.cucumber.junit.Cucumber.runChild(Cucumber.java:90)
- 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 io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:234)
- at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 42 more
- Caused by: java.lang.AssertionError: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:47)
- at org.openmrs.contrib.qaframework.automation.OpenConceptLabSteps.<init>(OpenConceptLabSteps.java:28)
- ... 47 more
- OCL MANAGEMENT(OCL Subscription module) Time elapsed: 3.372 sec <<< ERROR!
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:59)
- at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46)
- at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:110)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:151)
- at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:135)
- at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:27)
- 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 org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
- at io.cucumber.junit.Cucumber.runChild(Cucumber.java:199)
- at io.cucumber.junit.Cucumber.runChild(Cucumber.java:90)
- 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 io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:234)
- at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 42 more
- Caused by: java.lang.AssertionError: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:47)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:24)
- ... 47 more
- Results :
- Tests in error:
- OCL MANAGEMENT(OCL Subscription module): Failed to instantiate class org.openmrs.contrib.qaframework.automation.OpenConceptLabSteps
- OCL MANAGEMENT(OCL Subscription module): Failed to instantiate class org.openmrs.contrib.qaframework.automation.OpenConceptLabSteps
- OCL MANAGEMENT(OCL Subscription module): Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- Tests run: 3, Failures: 0, Errors: 3, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 13.332 s
- [INFO] Finished at: 2022-02-23T18:43:24+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project qaframework-bdd-tests: There are test failures.
- [ERROR]
- [ERROR] Please refer to /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/target/surefire-reports for the individual test results.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! openmrs-contrib-qaframework@0.1.0 refapp2OpenConceptLab: `mvn test -Dcucumber.filter.tags='@selenium and @openConceptLab'`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the openmrs-contrib-qaframework@0.1.0 refapp2OpenConceptLab script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm WARN Local package.json exists, but node_modules missing, did you mean to install?
- npm ERR! A complete log of this run can be found in:
- npm ERR! /Users/juliet/.npm/_logs/2022-02-23T15_43_24_657Z-debug.log
- Deniss-Air:qaframework-bdd-tests juliet$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement