Advertisement
Guest User

Untitled

a guest
Feb 6th, 2023
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.34 KB | None | 0 0
  1. mherman22@kuntakinte:~/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests$ npm run refapp2VisitNote
  2.  
  3. > [email protected] refapp2VisitNote
  4. > mvn test -Dcucumber.filter.tags='@selenium and @visitNote'
  5.  
  6. [INFO] Scanning for projects...
  7. [WARNING]
  8. [WARNING] Some problems were encountered while building the effective model for org.openmrs.contrib:qaframework-bdd-tests:jar:1.0-SNAPSHOT
  9. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 178, 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-bdd-tests >--------------
  17. [INFO] Building qaframework-bdd-tests 1.0-SNAPSHOT
  18. [INFO] --------------------------------[ jar ]---------------------------------
  19. Downloading from central: https://repo.maven.apache.org/maven2/io/cucumber/messages/maven-metadata.xml
  20. Downloaded from central: https://repo.maven.apache.org/maven2/io/cucumber/messages/maven-metadata.xml (2.4 kB at 502 B/s)
  21. [INFO]
  22. [INFO] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node and npm) @ qaframework-bdd-tests ---
  23. [INFO] Node v15.8.0 is already installed.
  24. [INFO]
  25. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ qaframework-bdd-tests ---
  26. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  27. [INFO] skip non existing resourceDirectory /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/main/resources
  28. [INFO]
  29. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ qaframework-bdd-tests ---
  30. [INFO] Changes detected - recompiling the module!
  31. [INFO] Compiling 87 source files to /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/target/classes
  32. [WARNING] /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/main/java/org/openmrs/contrib/qaframework/helper/Page.java: Some input files use or override a deprecated API.
  33. [WARNING] /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/main/java/org/openmrs/contrib/qaframework/helper/Page.java: Recompile with -Xlint:deprecation for details.
  34. [INFO]
  35. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qaframework-bdd-tests ---
  36. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  37. [INFO] Copying 49 resources
  38. [INFO]
  39. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ qaframework-bdd-tests ---
  40. [INFO] Changes detected - recompiling the module!
  41. [INFO] Compiling 36 source files to /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/target/test-classes
  42. [WARNING] /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/java/org/openmrs/contrib/qaframework/automation/ServiceSteps.java: /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/java/org/openmrs/contrib/qaframework/automation/ServiceSteps.java uses or overrides a deprecated API.
  43. [WARNING] /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/java/org/openmrs/contrib/qaframework/automation/ServiceSteps.java: Recompile with -Xlint:deprecation for details.
  44. [INFO]
  45. [INFO] --- maven-antrun-plugin:1.8:run (make-mac-chromedriver-executable) @ qaframework-bdd-tests ---
  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-bdd-tests ---
  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-bdd-tests ---
  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-bdd-tests ---
  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-bdd-tests ---
  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-bdd-tests ---
  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-bdd-tests ---
  82. [INFO] Surefire report directory: /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/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 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 40873
  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. Feb 06, 2023 9:08:16 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  96. INFO: Detected upstream dialect: W3C
  97. Feb 06, 2023 9:08:16 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  98. WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
  99. Feb 06, 2023 9:08:16 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  100. INFO: Found CDP implementation for version 108 of 104
  101. Running locally...
  102. Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 59016
  103. Only local connections are allowed.
  104. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  105. ChromeDriver was started successfully.
  106. Feb 06, 2023 9:12:06 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  107. INFO: Detected upstream dialect: W3C
  108. Feb 06, 2023 9:12:06 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  109. WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
  110. Feb 06, 2023 9:12:06 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  111. INFO: Found CDP implementation for version 108 of 104
  112. Running locally...
  113. Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 50537
  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. Feb 06, 2023 9:12:39 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  118. INFO: Detected upstream dialect: W3C
  119. Feb 06, 2023 9:12:39 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  120. WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
  121. Feb 06, 2023 9:12:39 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  122. INFO: Found CDP implementation for version 108 of 104
  123. Running locally...
  124. Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 40448
  125. Only local connections are allowed.
  126. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  127. ChromeDriver was started successfully.
  128. Feb 06, 2023 9:16:54 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  129. INFO: Detected upstream dialect: W3C
  130. Feb 06, 2023 9:16:54 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  131. WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
  132. Feb 06, 2023 9:16:54 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  133. INFO: Found CDP implementation for version 108 of 104
  134. Running locally...
  135. Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 36911
  136. Only local connections are allowed.
  137. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  138. ChromeDriver was started successfully.
  139. Feb 06, 2023 9:17:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  140. INFO: Detected upstream dialect: W3C
  141. Feb 06, 2023 9:17:18 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  142. WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
  143. Feb 06, 2023 9:17:18 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  144. INFO: Found CDP implementation for version 108 of 104
  145. Running locally...
  146. Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 49904
  147. Only local connections are allowed.
  148. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  149. ChromeDriver was started successfully.
  150. Feb 06, 2023 9:20:28 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  151. INFO: Detected upstream dialect: W3C
  152. Feb 06, 2023 9:20:28 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  153. WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
  154. Feb 06, 2023 9:20:28 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  155. INFO: Found CDP implementation for version 108 of 104
  156. Running locally...
  157. Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 35750
  158. Only local connections are allowed.
  159. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  160. ChromeDriver was started successfully.
  161. Feb 06, 2023 9:20:49 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  162. INFO: Detected upstream dialect: W3C
  163. Feb 06, 2023 9:20:49 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  164. WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
  165. Feb 06, 2023 9:20:49 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  166. INFO: Found CDP implementation for version 108 of 104
  167. Running locally...
  168. Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 43414
  169. Only local connections are allowed.
  170. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  171. ChromeDriver was started successfully.
  172. Feb 06, 2023 9:24:46 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  173. INFO: Detected upstream dialect: W3C
  174. Feb 06, 2023 9:24:46 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  175. WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
  176. Feb 06, 2023 9:24:46 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
  177. INFO: Found CDP implementation for version 108 of 104
  178. Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1,057.425 sec <<< FAILURE!
  179. Editing a Visit Note(Visit Note Management) Time elapsed: 278.411 sec <<< ERROR!
  180. org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 60.000
  181. (Session info: chrome=108.0.5359.94)
  182. Build info: version: '4.4.0', revision: 'e5c75ed026a'
  183. System info: host: 'kuntakinte', ip: '192.168.43.219', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-58-generic', java.version: '1.8.0_352'
  184. Driver info: org.openqa.selenium.chrome.ChromeDriver
  185. Command: [53fda3e5c8bbf1e06b64e45fe87fd52b, clickElement {id=565a517b-3a87-4802-b95e-0dccdec5e512}]
  186. Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 108.0.5359.94, chrome: {chromedriverVersion: 108.0.5359.71 (1e0e3868ee06..., userDataDir: /tmp/.com.google.Chrome.yDveH4}, goog:chromeOptions: {debuggerAddress: localhost:44293}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: LINUX, proxy: Proxy(), se:cdp: ws://localhost:44293/devtoo..., se:cdpVersion: 108.0.5359.94, 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}
  187. Element: [[ChromeDriver: chrome on LINUX (53fda3e5c8bbf1e06b64e45fe87fd52b)] -> css selector: visitbyencountertype > ul > li:nth-child(1) > a]
  188. Session ID: 53fda3e5c8bbf1e06b64e45fe87fd52b
  189. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  190. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  191. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  192. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  193. at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
  194. at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
  195. at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
  196. at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
  197. at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:167)
  198. at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:142)
  199. at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:547)
  200. at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:257)
  201. at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:78)
  202. at org.openmrs.contrib.qaframework.helper.Page.clickOn(Page.java:225)
  203. at org.openmrs.contrib.qaframework.page.ClinicianFacingPatientDashboardPage.goToRecentVisits(ClinicianFacingPatientDashboardPage.java:115)
  204. at org.openmrs.contrib.qaframework.automation.VisitNoteSteps.loadVisitNotePage(VisitNoteSteps.java:68)
  205. at ✽.a user clicks visit note link from a patient dashboard(file:///home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/resources/features/refapp-2.x/07-visit/visitNote.feature:7)
  206.  
  207. Deleting a Visit Note(Visit Note Management) Time elapsed: 298.915 sec <<< ERROR!
  208. org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 60.000
  209. (Session info: chrome=108.0.5359.94)
  210. Build info: version: '4.4.0', revision: 'e5c75ed026a'
  211. System info: host: 'kuntakinte', ip: '192.168.43.219', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-58-generic', java.version: '1.8.0_352'
  212. Driver info: org.openqa.selenium.chrome.ChromeDriver
  213. Command: [3a096bd314c493d853d45f7de1d8010f, clickElement {id=e1ae5625-e249-46f3-bcd1-1bc288a9632f}]
  214. Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 108.0.5359.94, chrome: {chromedriverVersion: 108.0.5359.71 (1e0e3868ee06..., userDataDir: /tmp/.com.google.Chrome.d52ZUu}, goog:chromeOptions: {debuggerAddress: localhost:35499}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: LINUX, proxy: Proxy(), se:cdp: ws://localhost:35499/devtoo..., se:cdpVersion: 108.0.5359.94, 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}
  215. Element: [[ChromeDriver: chrome on LINUX (3a096bd314c493d853d45f7de1d8010f)] -> css selector: visitbyencountertype > ul > li:nth-child(1) > a]
  216. Session ID: 3a096bd314c493d853d45f7de1d8010f
  217. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  218. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  219. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  220. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  221. at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
  222. at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
  223. at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
  224. at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
  225. at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:167)
  226. at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:142)
  227. at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:547)
  228. at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:257)
  229. at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:78)
  230. at org.openmrs.contrib.qaframework.helper.Page.clickOn(Page.java:225)
  231. at org.openmrs.contrib.qaframework.page.ClinicianFacingPatientDashboardPage.goToRecentVisits(ClinicianFacingPatientDashboardPage.java:115)
  232. at org.openmrs.contrib.qaframework.automation.VisitNoteSteps.loadVisitNotePage(VisitNoteSteps.java:68)
  233. at ✽.a user clicks visit note link from a patient dashboard(file:///home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/resources/features/refapp-2.x/07-visit/visitNote.feature:7)
  234.  
  235.  
  236. Results :
  237.  
  238. Tests in error:
  239. Editing a Visit Note(Visit Note Management): timeout: Timed out receiving message from renderer: 60.000(..)
  240. Deleting a Visit Note(Visit Note Management): timeout: Timed out receiving message from renderer: 60.000(..)
  241.  
  242. Tests run: 4, Failures: 0, Errors: 2, Skipped: 0
  243.  
  244. [INFO] ------------------------------------------------------------------------
  245. [INFO] BUILD FAILURE
  246. [INFO] ------------------------------------------------------------------------
  247. [INFO] Total time: 18:03 min
  248. [INFO] Finished at: 2023-02-06T21:25:47+03:00
  249. [INFO] ------------------------------------------------------------------------
  250. [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.
  251. [ERROR]
  252. [ERROR] Please refer to /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/target/surefire-reports for the individual test results.
  253. [ERROR] -> [Help 1]
  254. [ERROR]
  255. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  256. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  257. [ERROR]
  258. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  259. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  260.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement