Advertisement
Guest User

Untitled

a guest
Nov 25th, 2021
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.38 KB | None | 0 0
  1. irynah@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. 1637832311611 geckodriver INFO Listening on 127.0.0.1:15347
  84. 1637832311848 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileBnsLyK"
  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. 1637832312595 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_mozprofileBnsLyK/search.json.mozlz4", (void 0)))
  91. 1637832313683 Marionette INFO Listening on port 45821
  92. 1637832313765 RemoteAgent WARN TLS certificate errors will be ignored for this session
  93. Nov 25, 2021 12:25:13 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  94. INFO: Detected dialect: W3C
  95. JavaScript error: resource://gre/actors/AutoCompleteChild.jsm, line 125: Error: Invalid autocomplete selectedIndex
  96. JavaScript error: resource://gre/actors/AutoCompleteChild.jsm, line 125: Error: Invalid autocomplete selectedIndex
  97. 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]
  98. JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637783803561, line 6: unreachable code after return statement
  99. JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637783803561, line 1: unreachable code after return statement
  100. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  101. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  102. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  103. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  104. JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637783803561, line 6: unreachable code after return statement
  105. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  106. JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637783803561, line 6: unreachable code after return statement
  107. JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637783803561, line 6: unreachable code after return statement
  108. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  109. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  110. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  111. JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637783803561, line 1: unreachable code after return statement
  112. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  113. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  114. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  115. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  116. JavaScript error: , line 0: uncaught exception: Object
  117. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  118. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  119. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  120. JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637783803561, line 1: unreachable code after return statement
  121. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  122. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  123. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  124. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  125. JavaScript error: , line 0: uncaught exception: Object
  126. JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637783803561, line 1: unreachable code after return statement
  127. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  128. JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  129. 1637832436212 Marionette INFO Stopped listening on port 45821
  130.  
  131. ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
  132.  
  133. Running locally...
  134. 1637832436766 geckodriver INFO Listening on 127.0.0.1:11181
  135. 1637832436782 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileKLEOop"
  136. ATTENTION: default value of option mesa_glthread overridden by environment.
  137. ATTENTION: default value of option mesa_glthread overridden by environment.
  138. ATTENTION: default value of option mesa_glthread overridden by environment.
  139. ATTENTION: default value of option mesa_glthread overridden by environment.
  140. 1637832437481 Marionette INFO Marionette enabled
  141. console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/rust_mozprofileKLEOop/search.json.mozlz4", (void 0)))
  142. 1637832438583 Marionette INFO Listening on port 38051
  143. 1637832438604 RemoteAgent WARN TLS certificate errors will be ignored for this session
  144. Nov 25, 2021 12:27:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  145. INFO: Detected dialect: W3C
  146. 1637832438629 Marionette INFO Stopped listening on port 38051
  147. console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource.
  148. console.error: Region.jsm: "Error fetching region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
  149. console.error: Region.jsm: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.jsm", 419))
  150. Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 128.946 sec <<< FAILURE!
  151. Clinical Visit(Clinical Visit Management) Time elapsed: 128.209 sec <<< FAILURE!
  152. java.lang.AssertionError: expected null, but was:<[[FirefoxDriver: firefox on LINUX (0df5de02-2f6e-44ef-a1df-46e79766cf7a)] -> css selector: #visits-list li.menu-item.viewVisitDetails span.menu-date]>
  153. at org.junit.Assert.fail(Assert.java:89)
  154. at org.junit.Assert.failNotNull(Assert.java:756)
  155. at org.junit.Assert.assertNull(Assert.java:738)
  156. at org.junit.Assert.assertNull(Assert.java:748)
  157. at org.openmrs.contrib.qaframework.automation.ClinicalVisitSteps.systemEndsPatientVisit(ClinicalVisitSteps.java:291)
  158. at ✽.the system ends the patient visit(file:///media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/src/test/resources/features/refapp-2.x/14-clinicalVisit/clinicalVisit.feature:46)
  159.  
  160.  
  161. Results :
  162.  
  163. Failed tests: Clinical Visit(Clinical Visit Management): expected null, but was:<[[FirefoxDriver: firefox on LINUX (0df5de02-2f6e-44ef-a1df-46e79766cf7a)] -> css selector: #visits-list li.menu-item.viewVisitDetails span.menu-date]>
  164.  
  165. Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
  166.  
  167. [INFO] ------------------------------------------------------------------------
  168. [INFO] BUILD FAILURE
  169. [INFO] ------------------------------------------------------------------------
  170. [INFO] Total time: 02:11 min
  171. [INFO] Finished at: 2021-11-25T12:27:19+03:00
  172. [INFO] ------------------------------------------------------------------------
  173. [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.
  174. [ERROR]
  175. [ERROR] Please refer to /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/target/surefire-reports for the individual test results.
  176. [ERROR] -> [Help 1]
  177. [ERROR]
  178. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  179. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  180. [ERROR]
  181. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  182. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  183. irynah@irynah-HP-Spectre-x360-Convertible-13-aw0xxx:/media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework$
  184.  
  185.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement