Mhermank

full build plan

Oct 19th, 2021
758
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mherman22@mherman22:~/Documents/qaTests/openmrs-contrib-qaframework$ npm run refapp2Conditions
  2.  
  3. > openmrs-contrib-qaframework@0.1.0 refapp2Conditions /home/mherman22/Documents/qaTests/openmrs-contrib-qaframework
  4. > mvn test -Dcucumber.filter.tags='@selenium and @conditions'
  5.  
  6. [INFO] Scanning for projects...
  7. [WARNING]
  8. [WARNING] Some problems were encountered while building the effective model for org.openmrs.contrib:qaframework:jar:1.0-SNAPSHOT
  9. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 169, column 21
  10. [WARNING]
  11. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  12. [WARNING]
  13. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  14. [WARNING]
  15. [INFO]
  16. [INFO] ------------------< org.openmrs.contrib:qaframework >-------------------
  17. [INFO] Building OpenMRS QA Framework 1.0-SNAPSHOT
  18. [INFO] --------------------------------[ jar ]---------------------------------
  19. [INFO]
  20. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ qaframework ---
  21. [INFO] Using 'UTF-8' encoding to format source files.
  22. [INFO] Number of files to be formatted: 17
  23. [INFO] Successfully formatted: 0 file(s)
  24. [INFO] Fail to format        : 0 file(s)
  25. [INFO] Skipped               : 17 file(s)
  26. [INFO] Approximate time taken: 0s
  27. [INFO]
  28. [INFO] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node and npm) @ qaframework ---
  29. [INFO] Node v15.8.0 is already installed.
  30. [INFO]
  31. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ qaframework ---
  32. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  33. [INFO] skip non existing resourceDirectory /home/mherman22/Documents/qaTests/openmrs-contrib-qaframework/src/main/resources
  34. [INFO]
  35. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ qaframework ---
  36. [INFO] No sources to compile
  37. [INFO]
  38. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qaframework ---
  39. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  40. [INFO] Copying 43 resources
  41. [INFO]
  42. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ qaframework ---
  43. [INFO] Nothing to compile - all classes are up to date
  44. [INFO]
  45. [INFO] --- maven-antrun-plugin:1.8:run (make-mac-chromedriver-executable) @ qaframework ---
  46. [INFO] Executing tasks
  47.  
  48. main:
  49. [INFO] Executed tasks
  50. [INFO]
  51. [INFO] --- maven-antrun-plugin:1.8:run (make-linux-chromedriver-executable) @ qaframework ---
  52. [INFO] Executing tasks
  53.  
  54. main:
  55. [INFO] Executed tasks
  56. [INFO]
  57. [INFO] --- maven-antrun-plugin:1.8:run (make-windows-chromedriver-executable) @ qaframework ---
  58. [INFO] Executing tasks
  59.  
  60. main:
  61. [INFO] Executed tasks
  62. [INFO]
  63. [INFO] --- maven-antrun-plugin:1.8:run (make-mac-firefoxdriver-executable) @ qaframework ---
  64. [INFO] Executing tasks
  65.  
  66. main:
  67. [INFO] Executed tasks
  68. [INFO]
  69. [INFO] --- maven-antrun-plugin:1.8:run (make-linux-firefoxdriver-executable) @ qaframework ---
  70. [INFO] Executing tasks
  71.  
  72. main:
  73. [INFO] Executed tasks
  74. [INFO]
  75. [INFO] --- maven-antrun-plugin:1.8:run (make-windows-firefoxdriver-executable) @ qaframework ---
  76. [INFO] Executing tasks
  77.  
  78. main:
  79. [INFO] Executed tasks
  80. [INFO]
  81. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ qaframework ---
  82. [INFO] Surefire report directory: /home/mherman22/Documents/qaTests/openmrs-contrib-qaframework/target/surefire-reports
  83.  
  84. -------------------------------------------------------
  85.  T E S T S
  86. -------------------------------------------------------
  87. Running org.openmrs.contrib.qaframework.RunTest
  88. Running locally...
  89. log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
  90. log4j:WARN Please initialize the log4j system properly.
  91. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  92. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 31399
  93. Only local connections are allowed.
  94. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  95. ChromeDriver was started successfully.
  96. Oct 19, 2021 11:24:23 AM org.openqa.selenium.remote.ProtocolHandshake createSession
  97. INFO: Detected dialect: W3C
  98. Running locally...
  99. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 5373
  100. Only local connections are allowed.
  101. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  102. ChromeDriver was started successfully.
  103. Oct 19, 2021 11:24:40 AM org.openqa.selenium.remote.ProtocolHandshake createSession
  104. INFO: Detected dialect: W3C
  105. Running locally...
  106. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 6033
  107. Only local connections are allowed.
  108. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  109. ChromeDriver was started successfully.
  110. Oct 19, 2021 11:24:42 AM org.openqa.selenium.remote.ProtocolHandshake createSession
  111. INFO: Detected dialect: W3C
  112. Running locally...
  113. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 16756
  114. Only local connections are allowed.
  115. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  116. ChromeDriver was started successfully.
  117. Oct 19, 2021 11:24:52 AM org.openqa.selenium.remote.ProtocolHandshake createSession
  118. INFO: Detected dialect: W3C
  119. Running locally...
  120. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 4777
  121. Only local connections are allowed.
  122. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  123. ChromeDriver was started successfully.
  124. Oct 19, 2021 11:24:54 AM org.openqa.selenium.remote.ProtocolHandshake createSession
  125. INFO: Detected dialect: W3C
  126. Running locally...
  127. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 16354
  128. Only local connections are allowed.
  129. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  130. ChromeDriver was started successfully.
  131. Oct 19, 2021 11:28:01 AM org.openqa.selenium.remote.ProtocolHandshake createSession
  132. INFO: Detected dialect: W3C
  133. Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 282.576 sec <<< FAILURE!
  134. Delete first condition(Patient's Conditions Managment)  Time elapsed: 247.286 sec  <<< ERROR!
  135. org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
  136. Build info: version: '4.0.0-alpha-6', revision: '5f43a29cfc'
  137. System info: host: 'mherman22', ip: '192.168.43.144', os.name: 'Linux', os.arch: 'amd64', os.version: '5.11.0-37-generic', java.version: '1.8.0_292'
  138. Driver info: driver.version: RemoteWebDriver
  139. Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 93.0.4577.82, chrome: {chromedriverVersion: 93.0.4577.63 (ff5c0da2ec0ad..., userDataDir: /tmp/.com.google.Chrome.idWOoa}, goog:chromeOptions: {debuggerAddress: localhost:44861}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
  140. Session ID: 9e7fd97f09d2b343e9761f2ee3efef7a
  141.     at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:603)
  142.     at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:333)
  143.     at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:441)
  144.     at org.openqa.selenium.By$ByCssSelector.findElement(By.java:494)
  145.     at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:325)
  146.     at org.openmrs.contrib.qaframework.automation.ConditionsSteps.delete(ConditionsSteps.java:173)
  147.     at ✽.User clicks delete condition(file:///home/mherman22/Documents/qaTests/openmrs-contrib-qaframework/src/test/resources/features/refapp-2.x/12-condition/conditions.feature:47)
  148. Caused by: java.lang.RuntimeException: NettyHttpHandler request execution error
  149.     at org.openqa.selenium.remote.http.netty.NettyHttpHandler.makeCall(NettyHttpHandler.java:72)
  150.     at org.openqa.selenium.remote.http.AddSeleniumUserAgent.lambda$apply$0(AddSeleniumUserAgent.java:42)
  151.     at org.openqa.selenium.remote.http.Filter.lambda$andFinally$1(Filter.java:56)
  152.     at org.openqa.selenium.remote.http.netty.NettyHttpHandler.execute(NettyHttpHandler.java:47)
  153.     at org.openqa.selenium.remote.http.AddSeleniumUserAgent.lambda$apply$0(AddSeleniumUserAgent.java:42)
  154.     at org.openqa.selenium.remote.http.Filter.lambda$andFinally$1(Filter.java:56)
  155.     at org.openqa.selenium.remote.http.netty.NettyClient.execute(NettyClient.java:55)
  156.     at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:157)
  157.     at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
  158.     at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:582)
  159.     at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:333)
  160.     at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:441)
  161.     at org.openqa.selenium.By$ByCssSelector.findElement(By.java:494)
  162.     at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:325)
  163.     at org.openmrs.contrib.qaframework.automation.ConditionsSteps.delete(ConditionsSteps.java:173)
  164.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  165.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  166.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  167.     at java.lang.reflect.Method.invoke(Method.java:498)
  168.     at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
  169.     at io.cucumber.java.Invoker.invoke(Invoker.java:24)
  170.     at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  171.     at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  172.     at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  173.     at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  174.     at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  175.     at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  176.     at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  177.     at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  178.     at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  179.     at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  180.     at io.cucumber.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:151)
  181.     at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:135)
  182.     at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:27)
  183.     at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
  184.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
  185.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
  186.     at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
  187.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
  188.     at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
  189.     at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
  190.     at io.cucumber.junit.Cucumber.runChild(Cucumber.java:199)
  191.     at io.cucumber.junit.Cucumber.runChild(Cucumber.java:90)
  192.     at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
  193.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
  194.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
  195.     at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
  196.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
  197.     at io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:234)
  198.     at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
  199.     at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
  200.     at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  201.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  202.     at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  203.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  204.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  205.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  206.     at java.lang.reflect.Method.invoke(Method.java:498)
  207.     at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  208.     at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  209.     at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  210.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  211.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  212. Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException: Request timeout to localhost/127.0.0.1:4777 after 60000 ms
  213.     at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
  214.     at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
  215.     at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201)
  216.     at org.openqa.selenium.remote.http.netty.NettyHttpHandler.makeCall(NettyHttpHandler.java:57)
  217.     ... 62 more
  218. Caused by: java.util.concurrent.TimeoutException: Request timeout to localhost/127.0.0.1:4777 after 60000 ms
  219.     at org.asynchttpclient.netty.timeout.TimeoutTimerTask.expire(TimeoutTimerTask.java:43)
  220.     at org.asynchttpclient.netty.timeout.RequestTimeoutTimerTask.run(RequestTimeoutTimerTask.java:50)
  221.     at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
  222.     at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
  223.     at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
  224.     at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
  225.     at java.lang.Thread.run(Thread.java:748)
  226.  
  227.  
  228. Results :
  229.  
  230. Tests in error:
  231.  Delete first condition(Patient's Conditions Managment): Error communicating with the remote browser. It may have died.(..)
  232.  
  233. Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
  234.  
  235. [INFO] ------------------------------------------------------------------------
  236. [INFO] BUILD FAILURE
  237. [INFO] ------------------------------------------------------------------------
  238. [INFO] Total time:  04:51 min
  239. [INFO] Finished at: 2021-10-19T11:29:01+03:00
  240. [INFO] ------------------------------------------------------------------------
  241. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project qaframework: There are test failures.
  242. [ERROR]
  243. [ERROR] Please refer to /home/mherman22/Documents/qaTests/openmrs-contrib-qaframework/target/surefire-reports for the individual test results.
  244. [ERROR] -> [Help 1]
  245. [ERROR]
  246. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  247. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  248. [ERROR]
  249. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  250. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  251. npm ERR! code ELIFECYCLE
  252. npm ERR! errno 1
  253. npm ERR! openmrs-contrib-qaframework@0.1.0 refapp2Conditions: `mvn test -Dcucumber.filter.tags='@selenium and @conditions'`
  254. npm ERR! Exit status 1
  255. npm ERR!
  256. npm ERR! Failed at the openmrs-contrib-qaframework@0.1.0 refapp2Conditions script.
  257. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  258. npm WARN Local package.json exists, but node_modules missing, did you mean to install?
  259.  
  260. npm ERR! A complete log of this run can be found in:
  261. npm ERR!     /home/mherman22/.npm/_logs/2021-10-19T08_29_01_496Z-debug.log
  262.  
RAW Paste Data