Advertisement
Guest User

Untitled

a guest
Oct 25th, 2021
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.60 KB | None | 0 0
  1. mherman22@mherman22:~/newForks/openmrs-contrib-qaframework$ npm run refapp2Conditions
  2.  
  3. > openmrs-contrib-qaframework@0.1.0 refapp2Conditions /home/mherman22/newForks/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 194, 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: 92
  23. [INFO] Successfully formatted: 0 file(s)
  24. [INFO] Fail to format        : 0 file(s)
  25. [INFO] Skipped               : 92 file(s)
  26. [INFO] Approximate time taken: 1s
  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/newForks/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 45 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/newForks/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. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 24161
  92. Only local connections are allowed.
  93. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  94. ChromeDriver was started successfully.
  95. Oct 25, 2021 1:52:07 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  96. INFO: Detected dialect: W3C
  97. Running locally...
  98. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 4510
  99. Only local connections are allowed.
  100. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  101. ChromeDriver was started successfully.
  102. Oct 25, 2021 1:52:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  103. INFO: Detected dialect: W3C
  104. Running locally...
  105. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 24040
  106. Only local connections are allowed.
  107. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  108. ChromeDriver was started successfully.
  109. Oct 25, 2021 1:52:20 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  110. INFO: Detected dialect: W3C
  111. Running locally...
  112. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 10605
  113. Only local connections are allowed.
  114. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  115. ChromeDriver was started successfully.
  116. Oct 25, 2021 1:52:30 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  117. INFO: Detected dialect: W3C
  118. Running locally...
  119. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 31776
  120. Only local connections are allowed.
  121. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  122. ChromeDriver was started successfully.
  123. Oct 25, 2021 1:52:34 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  124. INFO: Detected dialect: W3C
  125. Running locally...
  126. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 18206
  127. Only local connections are allowed.
  128. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  129. ChromeDriver was started successfully.
  130. Oct 25, 2021 1:54:42 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  131. INFO: Detected dialect: W3C
  132. Running locally...
  133. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 31299
  134. Only local connections are allowed.
  135. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  136. ChromeDriver was started successfully.
  137. Oct 25, 2021 1:54:43 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  138. INFO: Detected dialect: W3C
  139. Running locally...
  140. Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 29121
  141. Only local connections are allowed.
  142. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  143. ChromeDriver was started successfully.
  144. Oct 25, 2021 1:56:52 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  145. INFO: Detected dialect: W3C
  146. Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 288.396 sec <<< FAILURE!
  147. Edit first active condition(Patient's Conditions Managment)  Time elapsed: 131.193 sec  <<< ERROR!
  148. org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.openmrs.contrib.qaframework.helper.Page$1@7c060929 (tried for 120 second(s) with 500 milliseconds interval)
  149. Build info: version: '4.0.0-alpha-6', revision: '5f43a29cfc'
  150. 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'
  151. Driver info: org.openqa.selenium.chrome.ChromeDriver
  152. Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 93.0.4577.82, chrome: {chromedriverVersion: 93.0.4577.63 (ff5c0da2ec0ad..., userDataDir: /tmp/.com.google.Chrome.B7zkdl}, goog:chromeOptions: {debuggerAddress: localhost:35937}, 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}
  153. Session ID: e230c66ab7a7c0b6befb78e9e3f176f8
  154.     at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
  155.     at org.openqa.selenium.support.ui.FluentWait.lambda$checkConditionInLoop$2(FluentWait.java:255)
  156.     at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
  157.     at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
  158.     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
  159.     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
  160.     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
  161.     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
  162.     at ✽.User edits active(file:///home/mherman22/newForks/openmrs-contrib-qaframework/src/test/resources/features/refapp-2.x/12-condition/conditions.feature:35)
  163.  
  164. Edit first inactive condition(Patient's Conditions Managment)  Time elapsed: 130.232 sec  <<< ERROR!
  165. org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.cssSelector: #INACTIVE i.icon-pencil.edit-action.ng-scope (tried for 120 second(s) with 500 milliseconds interval)
  166. Build info: version: '4.0.0-alpha-6', revision: '5f43a29cfc'
  167. 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'
  168. Driver info: org.openqa.selenium.chrome.ChromeDriver
  169. Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 93.0.4577.82, chrome: {chromedriverVersion: 93.0.4577.63 (ff5c0da2ec0ad..., userDataDir: /tmp/.com.google.Chrome.f4DiMs}, goog:chromeOptions: {debuggerAddress: localhost:37451}, 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}
  170. Session ID: ed1f4bb357630f1d0a5ea51736c98d39
  171.     at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
  172.     at org.openqa.selenium.support.ui.FluentWait.lambda$checkConditionInLoop$2(FluentWait.java:255)
  173.     at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
  174.     at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
  175.     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
  176.     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
  177.     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
  178.     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
  179.     at ✽.User edits inactive(file:///home/mherman22/newForks/openmrs-contrib-qaframework/src/test/resources/features/refapp-2.x/12-condition/conditions.feature:41)
  180.  
  181.  
  182. Results :
  183.  
  184. Tests in error:
  185.   Edit first active condition(Patient's Conditions Managment): Expected condition failed: waiting for org.openmrs.contrib.qaframework.helper.Page$1@7c060929 (tried for 120 second(s) with 500 milliseconds interval)(..)
  186.  Edit first inactive condition(Patient's Conditions Managment): Expected condition failed: waiting for visibility of element located by By.cssSelector: #INACTIVE i.icon-pencil.edit-action.ng-scope (tried for 120 second(s) with 500 milliseconds interval)(..)
  187.  
  188. Tests run: 4, Failures: 0, Errors: 2, Skipped: 0
  189.  
  190. [INFO] ------------------------------------------------------------------------
  191. [INFO] BUILD FAILURE
  192. [INFO] ------------------------------------------------------------------------
  193. [INFO] Total time:  04:56 min
  194. [INFO] Finished at: 2021-10-25T13:56:53+03:00
  195. [INFO] ------------------------------------------------------------------------
  196. [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.
  197. [ERROR]
  198. [ERROR] Please refer to /home/mherman22/newForks/openmrs-contrib-qaframework/target/surefire-reports for the individual test results.
  199. [ERROR] -> [Help 1]
  200. [ERROR]
  201. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  202. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  203. [ERROR]
  204. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  205. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  206. npm ERR! code ELIFECYCLE
  207. npm ERR! errno 1
  208. npm ERR! openmrs-contrib-qaframework@0.1.0 refapp2Conditions: `mvn test -Dcucumber.filter.tags='@selenium and @conditions'`
  209. npm ERR! Exit status 1
  210. npm ERR!
  211. npm ERR! Failed at the openmrs-contrib-qaframework@0.1.0 refapp2Conditions script.
  212. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  213. npm WARN Local package.json exists, but node_modules missing, did you mean to install?
  214.  
  215. npm ERR! A complete log of this run can be found in:
  216. npm ERR!     /home/mherman22/.npm/_logs/2021-10-25T10_56_53_314Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement