Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rynah@irynah-HP-Spectre-x360-Convertible-13-aw0xxx:/media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework$ npm run refapp2ClinicalVisit
- > openmrs-contrib-qaframework@0.1.0 refapp2ClinicalVisit
- > mvn test -Dcucumber.filter.tags='@selenium and @clinicalVisit'
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.contrib:qaframework:jar:1.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 182, column 21
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ------------------< org.openmrs.contrib:qaframework >-------------------
- [INFO] Building OpenMRS QA Framework 1.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node and npm) @ qaframework ---
- [INFO] Node v15.8.0 is already installed.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ qaframework ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ qaframework ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qaframework ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 48 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ qaframework ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-mac-chromedriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-linux-chromedriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-windows-chromedriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-mac-firefoxdriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-linux-firefoxdriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-windows-firefoxdriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ qaframework ---
- [INFO] Surefire report directory: /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.contrib.qaframework.RunTest
- Running locally...
- log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
- log4j:WARN Please initialize the log4j system properly.
- 1637581839370 geckodriver INFO Listening on 127.0.0.1:15270
- 1637581839600 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileTLO9Y8"
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- 1637581840297 Marionette INFO Marionette enabled
- 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)))
- 1637581841496 Marionette INFO Listening on port 45487
- 1637581841517 RemoteAgent WARN TLS certificate errors will be ignored for this session
- Nov 22, 2021 2:50:41 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- console.error: Region.jsm: "Error fetching region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 772))
- console.error: Region.jsm: "Failed to fetch region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 419))
- JavaScript error: resource://gre/actors/AutoCompleteChild.jsm, line 125: Error: Invalid autocomplete selectedIndex
- JavaScript error: resource://gre/actors/AutoCompleteChild.jsm, line 125: Error: Invalid autocomplete selectedIndex
- 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]
- JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637575809602, line 6: unreachable code after return statement
- 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
- 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
- JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637575809602, line 6: unreachable code after return statement
- JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637575809602, line 6: unreachable code after return statement
- JavaScript warning: http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637575809602, line 6: unreachable code after return statement
- 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
- 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
- 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
- 1637581985327 Marionette INFO Stopped listening on port 45487
- ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
- Running locally...
- 1637581985677 geckodriver INFO Listening on 127.0.0.1:14108
- 1637581985687 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileLJTzh0"
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- 1637581986501 Marionette INFO Marionette enabled
- 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)))
- 1637581987662 Marionette INFO Listening on port 44005
- 1637581987708 RemoteAgent WARN TLS certificate errors will be ignored for this session
- Nov 22, 2021 2:53:07 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- 1637581987731 Marionette INFO Stopped listening on port 44005
- console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource.
- console.error: Region.jsm: "Error fetching region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
- console.error: Region.jsm: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.jsm", 419))
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 151.019 sec <<< FAILURE!
- Clinical Visit(Clinical Visit Management) Time elapsed: 150.348 sec <<< ERROR!
- 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)
- Build info: version: '4.0.0-alpha-6', revision: '5f43a29cfc'
- 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'
- Driver info: org.openqa.selenium.firefox.FirefoxDriver
- 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}
- Session ID: cf6d8dde-9add-4ecf-97e3-ec7439b0beb8
- at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
- at org.openqa.selenium.support.ui.FluentWait.lambda$checkConditionInLoop$2(FluentWait.java:255)
- at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
- at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
- at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
- at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
- at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
- at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
- 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)
- Results :
- Tests in error:
- 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)(..)
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 02:33 min
- [INFO] Finished at: 2021-11-22T14:53:09+03:00
- [INFO] ------------------------------------------------------------------------
- [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.
- [ERROR]
- [ERROR] Please refer to /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/target/surefire-reports for the individual test results.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- irynah@irynah-HP-Spectre-x360-Convertible-13-aw0xxx:/media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement