Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guduji@Savier:~/webapp-testing01$ ./release-test.sh -v CreateAUser
- Running mvn integration-test -DskipTests -P smoke-test -Dtest=* -Dmysql_username=openmrs -Dmysql_password=test -Dopenmrs_username=admin -Dopenmrs_password=Admin123
- Use -v option for verbose mode if you run into errors
- [INFO] Scanning for projects...
- [INFO] Reactor build order:
- [INFO] OpenMRS
- [INFO] openmrs-tools
- [INFO] openmrs-test
- [INFO] openmrs-api
- [INFO] openmrs-web
- [INFO] openmrs-webapp
- [INFO] release-test
- [INFO] ------------------------------------------------------------------------
- [INFO] Building OpenMRS
- [INFO] task-segment: [integration-test]
- [INFO] ------------------------------------------------------------------------
- [INFO] [buildnumber:create {execution: default}]
- [INFO] Change the default 'svn' provider implementation to 'javasvn'.
- [INFO] Checking for local modifications: skipped.
- [INFO] Updating project files from SCM: skipped.
- [INFO] Storing buildNumber: 21120 at timestamp: 1309359009129
- [INFO] Storing buildScmBranch: branches/webapp-testing
- [INFO] [build-helper:parse-version {execution: parse-version}]
- [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-tools
- [INFO] task-segment: [integration-test]
- [INFO] ------------------------------------------------------------------------
- [INFO] [buildnumber:create {execution: default}]
- [INFO] Change the default 'svn' provider implementation to 'javasvn'.
- [INFO] [build-helper:parse-version {execution: parse-version}]
- [INFO] [resources:resources {execution: default-resources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 6 resources
- [INFO] [compiler:compile {execution: default-compile}]
- [INFO] Nothing to compile - all classes are up to date
- [INFO] [resources:testResources {execution: default-testResources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/guduji/webapp-testing01/tools/src/test/resources
- [INFO] [compiler:testCompile {execution: default-testCompile}]
- [INFO] No sources to compile
- [INFO] [surefire:test {execution: default-test}]
- [INFO] Tests are skipped.
- [INFO] [jar:jar {execution: default-jar}]
- [INFO] [jar:test-jar {execution: default}]
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-test
- [INFO] task-segment: [integration-test]
- [INFO] ------------------------------------------------------------------------
- [INFO] [buildnumber:create {execution: default}]
- [INFO] Change the default 'svn' provider implementation to 'javasvn'.
- [INFO] [build-helper:parse-version {execution: parse-version}]
- [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-api
- [INFO] task-segment: [integration-test]
- [INFO] ------------------------------------------------------------------------
- [INFO] [buildnumber:create {execution: default}]
- [INFO] Change the default 'svn' provider implementation to 'javasvn'.
- [INFO] [build-helper:parse-version {execution: parse-version}]
- [INFO] [java-formatter:format {execution: default}]
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 783
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 783 file(s)
- [INFO] Approximate time taken: 2s
- [INFO] [resources:resources {execution: default-resources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 88 resources
- [INFO] [compiler:compile {execution: default-compile}]
- [INFO] Nothing to compile - all classes are up to date
- [INFO] [resources:testResources {execution: default-testResources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 74 resources
- [INFO] [compiler:testCompile {execution: default-testCompile}]
- [INFO] Nothing to compile - all classes are up to date
- [INFO] [surefire:test {execution: default-test}]
- [INFO] Tests are skipped.
- [INFO] [jar:jar {execution: default-jar}]
- [INFO] [jar:test-jar {execution: default}]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-web
- [INFO] task-segment: [integration-test]
- [INFO] ------------------------------------------------------------------------
- [INFO] [buildnumber:create {execution: default}]
- [INFO] Change the default 'svn' provider implementation to 'javasvn'.
- [INFO] [build-helper:parse-version {execution: parse-version}]
- [INFO] [java-formatter:format {execution: default}]
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 333
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 333 file(s)
- [INFO] Approximate time taken: 0s
- [INFO] [resources:resources {execution: default-resources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 20 resources
- [INFO] [compiler:compile {execution: default-compile}]
- [INFO] Nothing to compile - all classes are up to date
- [INFO] [resources:testResources {execution: default-testResources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 12 resources
- [INFO] [compiler:testCompile {execution: default-testCompile}]
- [INFO] Nothing to compile - all classes are up to date
- [INFO] [surefire:test {execution: default-test}]
- [INFO] Tests are skipped.
- [INFO] [jar:jar {execution: default-jar}]
- [INFO] [jar:test-jar {execution: default}]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-webapp
- [INFO] task-segment: [integration-test]
- [INFO] ------------------------------------------------------------------------
- [INFO] [buildnumber:create {execution: default}]
- [INFO] Change the default 'svn' provider implementation to 'javasvn'.
- [INFO] [build-helper:parse-version {execution: parse-version}]
- [INFO] [resources:resources {execution: default-resources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 7 resources
- [INFO] Copying 1 resource to ../jetty
- [INFO] [antrun:run {execution: default}]
- project.artifactId
- [INFO] Executing tasks
- [unzip] Expanding: /home/guduji/webapp-testing01/webapp/src/main/resources/liquibase-data.zip into /home/guduji/webapp-testing01/webapp/target/classes
- [INFO] Executed tasks
- [INFO] [compiler:compile {execution: default-compile}]
- [INFO] No sources to compile
- [INFO] [resources:testResources {execution: default-testResources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO] [compiler:testCompile {execution: default-testCompile}]
- [INFO] No sources to compile
- [INFO] [surefire:test {execution: default-test}]
- [INFO] Tests are skipped.
- [INFO] [war:war {execution: default-war}]
- [INFO] Packaging webapp
- [INFO] Assembling webapp[openmrs-webapp] in [/home/guduji/webapp-testing01/webapp/target/openmrs]
- [INFO] Dependency[Dependency {groupId=org.openmrs.web, artifactId=openmrs-web, version=1.9.0-SNAPSHOT, type=jar}] has changed (was Dependency {groupId=org.openmrs.web, artifactId=openmrs-web, version=1.9.0-SNAPSHOT, type=jar}).
- [INFO] Processing war project
- [INFO] Copying webapp webResources[/home/guduji/webapp-testing01/webapp/src/main/webapp] to[/home/guduji/webapp-testing01/webapp/target/openmrs]
- [INFO] Copying webapp resources[/home/guduji/webapp-testing01/webapp/src/main/webapp]
- [INFO] Webapp assembled in [468 msecs]
- [INFO] Building war: /home/guduji/webapp-testing01/webapp/target/openmrs.war
- [INFO] ------------------------------------------------------------------------
- [INFO] Building release-test
- [INFO] task-segment: [integration-test]
- [INFO] ------------------------------------------------------------------------
- [INFO] [buildnumber:create {execution: default}]
- [INFO] Change the default 'svn' provider implementation to 'javasvn'.
- [INFO] [build-helper:parse-version {execution: parse-version}]
- [INFO] [resources:resources {execution: default-resources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 37 resources
- [INFO] [compiler:compile {execution: default-compile}]
- [INFO] Nothing to compile - all classes are up to date
- [INFO] [resources:testResources {execution: default-testResources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/guduji/webapp-testing01/release-test/src/test/resources
- [INFO] [compiler:testCompile {execution: default-testCompile}]
- [INFO] No sources to compile
- [INFO] [surefire:test {execution: default-test}]
- [INFO] Tests are skipped.
- [INFO] [jar:jar {execution: default-jar}]
- [INFO] [jar:test-jar {execution: default}]
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] Preparing jetty:run-war
- [WARNING] Removing: run-war from forked lifecycle, to prevent recursive invocation.
- [INFO] [buildnumber:create {execution: default}]
- [INFO] Change the default 'svn' provider implementation to 'javasvn'.
- [INFO] [build-helper:parse-version {execution: parse-version}]
- [INFO] [resources:resources {execution: default-resources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 37 resources
- [INFO] [compiler:compile {execution: default-compile}]
- [INFO] Nothing to compile - all classes are up to date
- [INFO] [resources:testResources {execution: default-testResources}]
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/guduji/webapp-testing01/release-test/src/test/resources
- [INFO] [compiler:testCompile {execution: default-testCompile}]
- [INFO] No sources to compile
- [INFO] [surefire:test {execution: default-test}]
- [INFO] Tests are skipped.
- [INFO] [jar:jar {execution: default-jar}]
- [INFO] [jar:test-jar {execution: default}]
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] [jetty:run-war {execution: start-jetty}]
- [INFO] Configuring Jetty for project: release-test
- 2011-06-29 10:50:25.745::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
- [INFO] Context path = /openmrs
- [INFO] Tmp directory = determined at runtime
- [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
- [INFO] Web overrides = none
- [INFO] Starting jetty 6.1.10 ...
- 2011-06-29 10:50:25.830::INFO: jetty-6.1.10
- 2011-06-29 10:50:25.853::INFO: Extract jar:file:/home/guduji/webapp-testing01/webapp/target/openmrs.war!/ to /home/guduji/webapp-testing01/release-test/target/work/webapp
- 2011-06-29 10:50:27.385::INFO: No Transaction manager found - if your webapp requires one, please configure one.
- Jun 29, 2011 10:50:28 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Jun 29, 2011 10:50:28 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Jun 29, 2011 10:50:29 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from `liquibasechangelog`
- Jun 29, 2011 10:50:30 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Jun 29, 2011 10:50:31 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- 2011-06-29 10:50:31.761:/openmrs:INFO: Initializing Spring root WebApplicationContext
- INFO - LocalSessionFactoryBean.buildSessionFactory(772) |2011-06-29 10:50:37,889| Building new Hibernate SessionFactory
- Jun 29, 2011 10:50:47 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Jun 29, 2011 10:50:47 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Jun 29, 2011 10:50:48 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from `liquibasechangelog`
- Jun 29, 2011 10:50:49 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Jun 29, 2011 10:50:49 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- INFO - LoggingAdvice.invoke(117) |2011-06-29 10:50:50,045| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: logic.started value: true,
- INFO - LoggingAdvice.invoke(142) |2011-06-29 10:50:50,049| Exiting method saveGlobalProperty
- INFO - LoggingAdvice.invoke(117) |2011-06-29 10:50:50,078| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: logic.mandatory value: false,
- INFO - LoggingAdvice.invoke(142) |2011-06-29 10:50:50,079| Exiting method saveGlobalProperty
- INFO - LogicModuleActivator.startup(37) |2011-06-29 10:50:50,210| Creating default directory structure for logic module ...
- INFO - TimerSchedulerServiceImpl.scheduleTask(232) |2011-06-29 10:50:50,269| Starting task ... the task will execute for the first time at Wed Jun 29 10:51:20 EDT 2011
- INFO - LoggingAdvice.invoke(117) |2011-06-29 10:50:50,437| In method SchedulerService.saveToMemento. Arguments:
- INFO - LoggingAdvice.invoke(142) |2011-06-29 10:50:50,444| Exiting method saveToMemento
- INFO - AbstractSessionFactoryBean.destroy(246) |2011-06-29 10:50:50,615| Closing Hibernate SessionFactory
- INFO - LocalSessionFactoryBean.buildSessionFactory(772) |2011-06-29 10:50:53,432| Building new Hibernate SessionFactory
- INFO - TimerSchedulerServiceImpl.scheduleTask(232) |2011-06-29 10:50:55,846| Starting task ... the task will execute for the first time at 2011-06-29 10:51:20.0
- INFO - OpenmrsUtil.getRuntimeProperties(2301) |2011-06-29 10:50:55,910| Couldn't find an environment variable named OPENMRS_RUNTIME_PROPERTIES_FILE
- INFO - OpenmrsUtil.getRuntimeProperties(2342) |2011-06-29 10:50:55,911| Using runtime properties file: /home/guduji/.OpenMRS/openmrs-runtime.properties
- INFO - OpenmrsUtil.getRuntimeProperties(2301) |2011-06-29 10:50:56,344| Couldn't find an environment variable named OPENMRS_RUNTIME_PROPERTIES_FILE
- INFO - OpenmrsUtil.getRuntimeProperties(2342) |2011-06-29 10:50:56,345| Using runtime properties file: /home/guduji/.OpenMRS/openmrs-runtime.properties
- INFO - DatabaseUtil.loadDatabaseDriver(90) |2011-06-29 10:50:56,354| Set database driver class as com.mysql.jdbc.Driver
- Jun 29, 2011 10:50:56 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Jun 29, 2011 10:50:56 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Jun 29, 2011 10:50:57 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from `liquibasechangelog`
- Jun 29, 2011 10:50:59 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Jun 29, 2011 10:50:59 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- 2011-06-29 10:50:59.626::INFO: Started SelectChannelConnector@0.0.0.0:8080
- [INFO] Started Jetty Server
- [INFO] [jbehave:run-stories-as-embeddables {execution: run-stories}]
- [INFO] Running stories using embedder Embedder[configuration=org.jbehave.core.configuration.MostUsefulConfiguration@aa6801,candidateSteps=[],stepsFactory=<null>,classLoader=EmbedderClassLoader[urls=[/home/guduji/webapp-testing01/release-test/target/classes/, jbehave-web-selenium-3.3.4.jar, selenium-remote-control-2.0b3.jar, selenium-chrome-driver-2.0b3.jar, selenium-remote-driver-2.0b3.jar, cglib-nodep-2.2.jar, json-20080701.jar, selenium-api-2.0b3.jar, guava-r07.jar, httpclient-4.0.2.jar, httpcore-4.0.1.jar, commons-logging-1.1.1.jar, commons-codec-1.4.jar, selenium-htmlunit-driver-2.0b3.jar, htmlunit-2.8.jar, xalan-2.7.1.jar, serializer-2.7.1.jar, xml-apis-1.3.03.jar, commons-collections-3.2.jar, commons-lang-2.5.jar, httpmime-4.0.1.jar, apache-mime4j-0.6.jar, htmlunit-core-js-2.8.jar, xercesImpl-2.8.0.jar, nekohtml-1.9.14.jar, cssparser-0.9.5.jar, sac-1.3.jar, commons-io-1.4.jar, selenium-firefox-driver-2.0b3.jar, selenium-ie-driver-2.0b3.jar, jna-3.2.2.jar, selenium-iphone-driver-2.0b3.jar, selenium-support-2.0b3.jar, jbehave-core-3.4.1.jar, plexus-utils-2.0.5.jar, freemarker-2.3.16.jar, paranamer-2.3.jar, xstream-1.3.1.jar, junit-dep-4.8.2.jar, hamcrest-all-1.1.jar],parent=org.codehaus.classworlds.RealmClassLoader@dd8904],embedderControls=UnmodifiableEmbedderControls[EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=false,ignoreFailureInView=false,storyTimeoutInSecs=300,threads=1]],metaFilters=[],systemProperties={},storyMapper=StoryMapper,storyRunner=StoryRunner,embedderMonitor=MavenEmbedderMonitor,executorService=<null>]
- [INFO] Found class names: [org.openmrs.stories.AddANewConceptDrug, org.openmrs.stories.AddANewEncounterType, org.openmrs.stories.AddDrug, org.openmrs.stories.AddRegimen, org.openmrs.stories.ChangeAGlobalProperty, org.openmrs.stories.ChangeALocale, org.openmrs.stories.ChangeALocationName, org.openmrs.stories.ChangeATheme, org.openmrs.stories.ChangeRolePrivileges, org.openmrs.stories.CreateAConcept, org.openmrs.stories.CreateAGlobalProperty, org.openmrs.stories.CreateAPatient, org.openmrs.stories.CreateARelationshipType, org.openmrs.stories.CreateARole, org.openmrs.stories.CreateAUser, org.openmrs.stories.CreateAnEncounter, org.openmrs.stories.CreateAnObservation, org.openmrs.stories.DeleteARole, org.openmrs.stories.EditAConcept, org.openmrs.stories.EditANewConceptDrug, org.openmrs.stories.EditPatientAttributes, org.openmrs.stories.EditPatientDemographicsShortForm, org.openmrs.stories.EditUserPassword, org.openmrs.stories.FindAPatient, org.openmrs.stories.GoToAdminPage, org.openmrs.stories.LoginToWebsite, org.openmrs.stories.LogoutOfWebsite, org.openmrs.stories.PurgeEncounterTypes, org.openmrs.stories.RetireALocationName, org.openmrs.stories.RetireANewConceptDrug, org.openmrs.stories.RetireEncounterTypes, org.openmrs.stories.UnretireANewConceptDrug, org.openmrs.stories.UnretireLocationName, org.openmrs.stories.VerifyPatientDashboard, org.openmrs.stories.ViewEncountersOnDashboard, org.openmrs.stories.ViewServerLog]
- [INFO] Running embeddable org.openmrs.stories.AddANewConceptDrug
- [INFO] Processing system properties {}
- (BeforeStories)
- [INFO] Using 1 threads
- [INFO] Running story org/openmrs/stories/add_a_new_concept_drug.story
- (org/openmrs/stories/add_a_new_concept_drug.story)
- Scenario:
- GivenStories:
- org/openmrs/stories/login_to_website.story
- (org/openmrs/stories/login_to_website.story)
- Scenario:
- 2011-06-29 10:51:04.513:/openmrs:INFO: Initializing Spring FrameworkServlet 'openmrs'
- INFO - FrameworkServlet.initServletBean(301) |2011-06-29 10:51:04,554| FrameworkServlet 'openmrs': initialization started
- INFO - FrameworkServlet.initServletBean(320) |2011-06-29 10:51:04,624| FrameworkServlet 'openmrs': initialization completed in 69 ms
- 2011-06-29 10:51:05.293:/openmrs:INFO: Initializing Spring FrameworkServlet 'openmrs_static_content'
- WARN - CommonsLoggingOutput.warn(59) |2011-06-29 10:51:06,122| Setting extra type info to overloaded methods may fail with <parameter .../>
- ERROR - CommonsLoggingOutput.error(75) |2011-06-29 10:51:06,123| Parameter mismatch parsing signatures section in dwr.xml on line: DWRProgramWorkflowService.updatePatientProgram(Integer patientProgramId, String enrollmentDateYmd, String completionDateYmd, Integer locationId)
- Given I am on the login page of OpenMRS with url http://localhost:8080/openmrs
Add Comment
Please, Sign In to add comment