Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2021
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.19 KB | None | 0 0
  1. rynah@irynah-HP-Spectre-x360-Convertible-13-aw0xxx:/media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework$ npm run refapp2ClinicalVisit
  2.  
  3. > openmrs-contrib-qaframework@0.1.0 refapp2ClinicalVisit
  4. > mvn test -Dcucumber.filter.tags='@selenium and @clinicalVisit'
  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 182, 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] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node and npm) @ qaframework ---
  21. [INFO] Node v15.8.0 is already installed.
  22. [INFO]
  23. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ qaframework ---
  24. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  25. [INFO] skip non existing resourceDirectory /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/src/main/resources
  26. [INFO]
  27. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ qaframework ---
  28. [INFO] No sources to compile
  29. [INFO]
  30. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qaframework ---
  31. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  32. [INFO] Copying 48 resources
  33. [INFO]
  34. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ qaframework ---
  35. [INFO] Nothing to compile - all classes are up to date
  36. [INFO]
  37. [INFO] --- maven-antrun-plugin:1.8:run (make-mac-chromedriver-executable) @ qaframework ---
  38. [INFO] Executing tasks
  39.  
  40. main:
  41. [INFO] Executed tasks
  42. [INFO]
  43. [INFO] --- maven-antrun-plugin:1.8:run (make-linux-chromedriver-executable) @ qaframework ---
  44. [INFO] Executing tasks
  45.  
  46. main:
  47. [INFO] Executed tasks
  48. [INFO]
  49. [INFO] --- maven-antrun-plugin:1.8:run (make-windows-chromedriver-executable) @ qaframework ---
  50. [INFO] Executing tasks
  51.  
  52. main:
  53. [INFO] Executed tasks
  54. [INFO]
  55. [INFO] --- maven-antrun-plugin:1.8:run (make-mac-firefoxdriver-executable) @ qaframework ---
  56. [INFO] Executing tasks
  57.  
  58. main:
  59. [INFO] Executed tasks
  60. [INFO]
  61. [INFO] --- maven-antrun-plugin:1.8:run (make-linux-firefoxdriver-executable) @ qaframework ---
  62. [INFO] Executing tasks
  63.  
  64. main:
  65. [INFO] Executed tasks
  66. [INFO]
  67. [INFO] --- maven-antrun-plugin:1.8:run (make-windows-firefoxdriver-executable) @ qaframework ---
  68. [INFO] Executing tasks
  69.  
  70. main:
  71. [INFO] Executed tasks
  72. [INFO]
  73. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ qaframework ---
  74. [INFO] Surefire report directory: /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/target/surefire-reports
  75.  
  76. -------------------------------------------------------
  77. T E S T S
  78. -------------------------------------------------------
  79. Running org.openmrs.contrib.qaframework.RunTest
  80. Running locally...
  81. log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
  82. log4j:WARN Please initialize the log4j system properly.
  83. 1637581839370 geckodriver INFO Listening on 127.0.0.1:15270
  84. 1637581839600 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileTLO9Y8"
  85. ATTENTION: default value of option mesa_glthread overridden by environment.
  86. ATTENTION: default value of option mesa_glthread overridden by environment.
  87. ATTENTION: default value of option mesa_glthread overridden by environment.
  88. ATTENTION: default value of option mesa_glthread overridden by environment.
  89. 1637581840297 Marionette INFO Marionette enabled
  90. console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/rust_mozprofileTLO9Y8/search.json.mozlz4", (void 0)))
  91. 1637581841496 Marionette INFO Listening on port 45487
  92. 1637581841517 RemoteAgent WARN TLS certificate errors will be ignored for this session
  93. Nov 22, 2021 2:50:41 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  94. INFO: Detected dialect: W3C
  95. console.error: Region.jsm: "Error fetching region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 772))
  96. console.error: Region.jsm: "Failed to fetch region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 419))
  97. JavaScript error: resource://gre/actors/AutoCompleteChild.jsm, line 125: Error: Invalid autocomplete selectedIndex
  98. JavaScript error: resource://gre/actors/AutoCompleteChild.jsm, line 125: Error: Invalid autocomplete selectedIndex
  99. JavaScript error: resource://gre/modules/LoginManagerChild.jsm, line 194: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "Invalid autocomplete selectedIndex" {file: "resource://gre/actors/AutoCompleteChild.jsm" line: 125}]'[JavaScript Error: "Invalid autocomplete selectedIndex" {file: "resource://gre/actors/AutoCompleteChild.jsm" line: 125}]' when calling method: [nsIAutoCompletePopup::selectedIndex]
  100. JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637575809602, line 6: unreachable code after return statement
  101. JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637575809602, line 1: unreachable code after return statement
  102. JavaScript error: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637575809602, line 4: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
  103. JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637575809602, line 6: unreachable code after return statement
  104. JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637575809602, line 6: unreachable code after return statement
  105. JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637575809602, line 6: unreachable code after return statement
  106. JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637575809602, line 1: unreachable code after return statement
  107. JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637575809602, line 1: unreachable code after return statement
  108. JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637575809602, line 1: unreachable code after return statement
  109. 1637581985327 Marionette INFO Stopped listening on port 45487
  110.  
  111. ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
  112.  
  113. Running locally...
  114. 1637581985677 geckodriver INFO Listening on 127.0.0.1:14108
  115. 1637581985687 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileLJTzh0"
  116. ATTENTION: default value of option mesa_glthread overridden by environment.
  117. ATTENTION: default value of option mesa_glthread overridden by environment.
  118. ATTENTION: default value of option mesa_glthread overridden by environment.
  119. ATTENTION: default value of option mesa_glthread overridden by environment.
  120. 1637581986501 Marionette INFO Marionette enabled
  121. console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/rust_mozprofileLJTzh0/search.json.mozlz4", (void 0)))
  122. 1637581987662 Marionette INFO Listening on port 44005
  123. 1637581987708 RemoteAgent WARN TLS certificate errors will be ignored for this session
  124. Nov 22, 2021 2:53:07 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  125. INFO: Detected dialect: W3C
  126. 1637581987731 Marionette INFO Stopped listening on port 44005
  127. console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource.
  128. console.error: Region.jsm: "Error fetching region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
  129. console.error: Region.jsm: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.jsm", 419))
  130. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 151.019 sec <<< FAILURE!
  131. Clinical Visit(Clinical Visit Management) Time elapsed: 150.348 sec <<< ERROR!
  132. org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.openmrs.contrib.qaframework.helper.Page$1@2c0d1e2d (tried for 120 second(s) with 500 milliseconds interval)
  133. Build info: version: '4.0.0-alpha-6', revision: '5f43a29cfc'
  134. System info: host: 'irynah-HP-Spectre-x360-Convertible-13-aw0xxx', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.11.0-38-generic', java.version: '1.8.0_292'
  135. Driver info: org.openqa.selenium.firefox.FirefoxDriver
  136. Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 94.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211028161635, moz:geckodriverVersion: 0.29.0, moz:headless: false, moz:processID: 40590, moz:profile: /tmp/rust_mozprofileTLO9Y8, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 5.11.0-38-generic, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
  137. Session ID: cf6d8dde-9add-4ecf-97e3-ec7439b0beb8
  138. at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
  139. at org.openqa.selenium.support.ui.FluentWait.lambda$checkConditionInLoop$2(FluentWait.java:255)
  140. at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
  141. at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
  142. at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
  143. at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
  144. at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
  145. at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
  146. at ✽.the system adds the note into visit note table(file:///media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/src/test/resources/features/refapp-2.x/14-clinicalVisit/clinicalVisit.feature:43)
  147.  
  148.  
  149. Results :
  150.  
  151. Tests in error:
  152. Clinical Visit(Clinical Visit Management): Expected condition failed: waiting for org.openmrs.contrib.qaframework.helper.Page$1@2c0d1e2d (tried for 120 second(s) with 500 milliseconds interval)(..)
  153.  
  154. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
  155.  
  156. [INFO] ------------------------------------------------------------------------
  157. [INFO] BUILD FAILURE
  158. [INFO] ------------------------------------------------------------------------
  159. [INFO] Total time: 02:33 min
  160. [INFO] Finished at: 2021-11-22T14:53:09+03:00
  161. [INFO] ------------------------------------------------------------------------
  162. [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.
  163. [ERROR]
  164. [ERROR] Please refer to /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/target/surefire-reports for the individual test results.
  165. [ERROR] -> [Help 1]
  166. [ERROR]
  167. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  168. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  169. [ERROR]
  170. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  171. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  172. irynah@irynah-HP-Spectre-x360-Convertible-13-aw0xxx:/media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework$
  173.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement