asgoyal

Log info for selenium test run

Jun 29th, 2011
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.08 KB | None | 0 0
  1. guduji@Savier:~/webapp-testing01$ ./release-test.sh -v CreateAUser
  2. Running mvn integration-test -DskipTests -P smoke-test -Dtest=* -Dmysql_username=openmrs -Dmysql_password=test -Dopenmrs_username=admin -Dopenmrs_password=Admin123
  3. Use -v option for verbose mode if you run into errors
  4. [INFO] Scanning for projects...
  5. [INFO] Reactor build order:
  6. [INFO] OpenMRS
  7. [INFO] openmrs-tools
  8. [INFO] openmrs-test
  9. [INFO] openmrs-api
  10. [INFO] openmrs-web
  11. [INFO] openmrs-webapp
  12. [INFO] release-test
  13. [INFO] ------------------------------------------------------------------------
  14. [INFO] Building OpenMRS
  15. [INFO] task-segment: [integration-test]
  16. [INFO] ------------------------------------------------------------------------
  17. [INFO] [buildnumber:create {execution: default}]
  18. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  19. [INFO] Checking for local modifications: skipped.
  20. [INFO] Updating project files from SCM: skipped.
  21. [INFO] Storing buildNumber: 21120 at timestamp: 1309359009129
  22. [INFO] Storing buildScmBranch: branches/webapp-testing
  23. [INFO] [build-helper:parse-version {execution: parse-version}]
  24. [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
  25. [INFO] ------------------------------------------------------------------------
  26. [INFO] Building openmrs-tools
  27. [INFO] task-segment: [integration-test]
  28. [INFO] ------------------------------------------------------------------------
  29. [INFO] [buildnumber:create {execution: default}]
  30. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  31. [INFO] [build-helper:parse-version {execution: parse-version}]
  32. [INFO] [resources:resources {execution: default-resources}]
  33. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  34. [INFO] Copying 6 resources
  35. [INFO] [compiler:compile {execution: default-compile}]
  36. [INFO] Nothing to compile - all classes are up to date
  37. [INFO] [resources:testResources {execution: default-testResources}]
  38. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  39. [INFO] skip non existing resourceDirectory /home/guduji/webapp-testing01/tools/src/test/resources
  40. [INFO] [compiler:testCompile {execution: default-testCompile}]
  41. [INFO] No sources to compile
  42. [INFO] [surefire:test {execution: default-test}]
  43. [INFO] Tests are skipped.
  44. [INFO] [jar:jar {execution: default-jar}]
  45. [INFO] [jar:test-jar {execution: default}]
  46. [WARNING] JAR will be empty - no content was marked for inclusion!
  47. [INFO] ------------------------------------------------------------------------
  48. [INFO] Building openmrs-test
  49. [INFO] task-segment: [integration-test]
  50. [INFO] ------------------------------------------------------------------------
  51. [INFO] [buildnumber:create {execution: default}]
  52. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  53. [INFO] [build-helper:parse-version {execution: parse-version}]
  54. [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
  55. [INFO] ------------------------------------------------------------------------
  56. [INFO] Building openmrs-api
  57. [INFO] task-segment: [integration-test]
  58. [INFO] ------------------------------------------------------------------------
  59. [INFO] [buildnumber:create {execution: default}]
  60. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  61. [INFO] [build-helper:parse-version {execution: parse-version}]
  62. [INFO] [java-formatter:format {execution: default}]
  63. [INFO] Using 'UTF-8' encoding to format source files.
  64. [INFO] Number of files to be formatted: 783
  65. [INFO] Successfully formatted: 0 file(s)
  66. [INFO] Fail to format : 0 file(s)
  67. [INFO] Skipped : 783 file(s)
  68. [INFO] Approximate time taken: 2s
  69. [INFO] [resources:resources {execution: default-resources}]
  70. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  71. [INFO] Copying 88 resources
  72. [INFO] [compiler:compile {execution: default-compile}]
  73. [INFO] Nothing to compile - all classes are up to date
  74. [INFO] [resources:testResources {execution: default-testResources}]
  75. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  76. [INFO] Copying 74 resources
  77. [INFO] [compiler:testCompile {execution: default-testCompile}]
  78. [INFO] Nothing to compile - all classes are up to date
  79. [INFO] [surefire:test {execution: default-test}]
  80. [INFO] Tests are skipped.
  81. [INFO] [jar:jar {execution: default-jar}]
  82. [INFO] [jar:test-jar {execution: default}]
  83. [INFO] ------------------------------------------------------------------------
  84. [INFO] Building openmrs-web
  85. [INFO] task-segment: [integration-test]
  86. [INFO] ------------------------------------------------------------------------
  87. [INFO] [buildnumber:create {execution: default}]
  88. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  89. [INFO] [build-helper:parse-version {execution: parse-version}]
  90. [INFO] [java-formatter:format {execution: default}]
  91. [INFO] Using 'UTF-8' encoding to format source files.
  92. [INFO] Number of files to be formatted: 333
  93. [INFO] Successfully formatted: 0 file(s)
  94. [INFO] Fail to format : 0 file(s)
  95. [INFO] Skipped : 333 file(s)
  96. [INFO] Approximate time taken: 0s
  97. [INFO] [resources:resources {execution: default-resources}]
  98. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  99. [INFO] Copying 20 resources
  100. [INFO] [compiler:compile {execution: default-compile}]
  101. [INFO] Nothing to compile - all classes are up to date
  102. [INFO] [resources:testResources {execution: default-testResources}]
  103. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  104. [INFO] Copying 12 resources
  105. [INFO] [compiler:testCompile {execution: default-testCompile}]
  106. [INFO] Nothing to compile - all classes are up to date
  107. [INFO] [surefire:test {execution: default-test}]
  108. [INFO] Tests are skipped.
  109. [INFO] [jar:jar {execution: default-jar}]
  110. [INFO] [jar:test-jar {execution: default}]
  111. [INFO] ------------------------------------------------------------------------
  112. [INFO] Building openmrs-webapp
  113. [INFO] task-segment: [integration-test]
  114. [INFO] ------------------------------------------------------------------------
  115. [INFO] [buildnumber:create {execution: default}]
  116. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  117. [INFO] [build-helper:parse-version {execution: parse-version}]
  118. [INFO] [resources:resources {execution: default-resources}]
  119. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  120. [INFO] Copying 7 resources
  121. [INFO] Copying 1 resource to ../jetty
  122. [INFO] [antrun:run {execution: default}]
  123. project.artifactId
  124. [INFO] Executing tasks
  125. [unzip] Expanding: /home/guduji/webapp-testing01/webapp/src/main/resources/liquibase-data.zip into /home/guduji/webapp-testing01/webapp/target/classes
  126. [INFO] Executed tasks
  127. [INFO] [compiler:compile {execution: default-compile}]
  128. [INFO] No sources to compile
  129. [INFO] [resources:testResources {execution: default-testResources}]
  130. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  131. [INFO] Copying 1 resource
  132. [INFO] [compiler:testCompile {execution: default-testCompile}]
  133. [INFO] No sources to compile
  134. [INFO] [surefire:test {execution: default-test}]
  135. [INFO] Tests are skipped.
  136. [INFO] [war:war {execution: default-war}]
  137. [INFO] Packaging webapp
  138. [INFO] Assembling webapp[openmrs-webapp] in [/home/guduji/webapp-testing01/webapp/target/openmrs]
  139. [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}).
  140. [INFO] Processing war project
  141. [INFO] Copying webapp webResources[/home/guduji/webapp-testing01/webapp/src/main/webapp] to[/home/guduji/webapp-testing01/webapp/target/openmrs]
  142. [INFO] Copying webapp resources[/home/guduji/webapp-testing01/webapp/src/main/webapp]
  143. [INFO] Webapp assembled in [468 msecs]
  144. [INFO] Building war: /home/guduji/webapp-testing01/webapp/target/openmrs.war
  145. [INFO] ------------------------------------------------------------------------
  146. [INFO] Building release-test
  147. [INFO] task-segment: [integration-test]
  148. [INFO] ------------------------------------------------------------------------
  149. [INFO] [buildnumber:create {execution: default}]
  150. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  151. [INFO] [build-helper:parse-version {execution: parse-version}]
  152. [INFO] [resources:resources {execution: default-resources}]
  153. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  154. [INFO] Copying 37 resources
  155. [INFO] [compiler:compile {execution: default-compile}]
  156. [INFO] Nothing to compile - all classes are up to date
  157. [INFO] [resources:testResources {execution: default-testResources}]
  158. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  159. [INFO] skip non existing resourceDirectory /home/guduji/webapp-testing01/release-test/src/test/resources
  160. [INFO] [compiler:testCompile {execution: default-testCompile}]
  161. [INFO] No sources to compile
  162. [INFO] [surefire:test {execution: default-test}]
  163. [INFO] Tests are skipped.
  164. [INFO] [jar:jar {execution: default-jar}]
  165. [INFO] [jar:test-jar {execution: default}]
  166. [WARNING] JAR will be empty - no content was marked for inclusion!
  167. [INFO] Preparing jetty:run-war
  168. [WARNING] Removing: run-war from forked lifecycle, to prevent recursive invocation.
  169. [INFO] [buildnumber:create {execution: default}]
  170. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  171. [INFO] [build-helper:parse-version {execution: parse-version}]
  172. [INFO] [resources:resources {execution: default-resources}]
  173. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  174. [INFO] Copying 37 resources
  175. [INFO] [compiler:compile {execution: default-compile}]
  176. [INFO] Nothing to compile - all classes are up to date
  177. [INFO] [resources:testResources {execution: default-testResources}]
  178. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  179. [INFO] skip non existing resourceDirectory /home/guduji/webapp-testing01/release-test/src/test/resources
  180. [INFO] [compiler:testCompile {execution: default-testCompile}]
  181. [INFO] No sources to compile
  182. [INFO] [surefire:test {execution: default-test}]
  183. [INFO] Tests are skipped.
  184. [INFO] [jar:jar {execution: default-jar}]
  185. [INFO] [jar:test-jar {execution: default}]
  186. [WARNING] JAR will be empty - no content was marked for inclusion!
  187. [INFO] [jetty:run-war {execution: start-jetty}]
  188. [INFO] Configuring Jetty for project: release-test
  189. 2011-06-29 10:50:25.745::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
  190. [INFO] Context path = /openmrs
  191. [INFO] Tmp directory = determined at runtime
  192. [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
  193. [INFO] Web overrides = none
  194. [INFO] Starting jetty 6.1.10 ...
  195. 2011-06-29 10:50:25.830::INFO: jetty-6.1.10
  196. 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
  197. 2011-06-29 10:50:27.385::INFO: No Transaction manager found - if your webapp requires one, please configure one.
  198. Jun 29, 2011 10:50:28 AM liquibase.database.template.JdbcTemplate comment
  199. INFO: Lock Database
  200. Jun 29, 2011 10:50:28 AM liquibase.lock.LockHandler acquireLock
  201. INFO: Successfully acquired change log lock
  202. Jun 29, 2011 10:50:29 AM liquibase.database.AbstractDatabase getRanChangeSetList
  203. INFO: Reading from `liquibasechangelog`
  204. Jun 29, 2011 10:50:30 AM liquibase.database.template.JdbcTemplate comment
  205. INFO: Release Database Lock
  206. Jun 29, 2011 10:50:31 AM liquibase.lock.LockHandler releaseLock
  207. INFO: Successfully released change log lock
  208. 2011-06-29 10:50:31.761:/openmrs:INFO: Initializing Spring root WebApplicationContext
  209. INFO - LocalSessionFactoryBean.buildSessionFactory(772) |2011-06-29 10:50:37,889| Building new Hibernate SessionFactory
  210. Jun 29, 2011 10:50:47 AM liquibase.database.template.JdbcTemplate comment
  211. INFO: Lock Database
  212. Jun 29, 2011 10:50:47 AM liquibase.lock.LockHandler acquireLock
  213. INFO: Successfully acquired change log lock
  214. Jun 29, 2011 10:50:48 AM liquibase.database.AbstractDatabase getRanChangeSetList
  215. INFO: Reading from `liquibasechangelog`
  216. Jun 29, 2011 10:50:49 AM liquibase.database.template.JdbcTemplate comment
  217. INFO: Release Database Lock
  218. Jun 29, 2011 10:50:49 AM liquibase.lock.LockHandler releaseLock
  219. INFO: Successfully released change log lock
  220. INFO - LoggingAdvice.invoke(117) |2011-06-29 10:50:50,045| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: logic.started value: true,
  221. INFO - LoggingAdvice.invoke(142) |2011-06-29 10:50:50,049| Exiting method saveGlobalProperty
  222. INFO - LoggingAdvice.invoke(117) |2011-06-29 10:50:50,078| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: logic.mandatory value: false,
  223. INFO - LoggingAdvice.invoke(142) |2011-06-29 10:50:50,079| Exiting method saveGlobalProperty
  224. INFO - LogicModuleActivator.startup(37) |2011-06-29 10:50:50,210| Creating default directory structure for logic module ...
  225. 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
  226. INFO - LoggingAdvice.invoke(117) |2011-06-29 10:50:50,437| In method SchedulerService.saveToMemento. Arguments:
  227. INFO - LoggingAdvice.invoke(142) |2011-06-29 10:50:50,444| Exiting method saveToMemento
  228. INFO - AbstractSessionFactoryBean.destroy(246) |2011-06-29 10:50:50,615| Closing Hibernate SessionFactory
  229. INFO - LocalSessionFactoryBean.buildSessionFactory(772) |2011-06-29 10:50:53,432| Building new Hibernate SessionFactory
  230. 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
  231. INFO - OpenmrsUtil.getRuntimeProperties(2301) |2011-06-29 10:50:55,910| Couldn't find an environment variable named OPENMRS_RUNTIME_PROPERTIES_FILE
  232. INFO - OpenmrsUtil.getRuntimeProperties(2342) |2011-06-29 10:50:55,911| Using runtime properties file: /home/guduji/.OpenMRS/openmrs-runtime.properties
  233. INFO - OpenmrsUtil.getRuntimeProperties(2301) |2011-06-29 10:50:56,344| Couldn't find an environment variable named OPENMRS_RUNTIME_PROPERTIES_FILE
  234. INFO - OpenmrsUtil.getRuntimeProperties(2342) |2011-06-29 10:50:56,345| Using runtime properties file: /home/guduji/.OpenMRS/openmrs-runtime.properties
  235. INFO - DatabaseUtil.loadDatabaseDriver(90) |2011-06-29 10:50:56,354| Set database driver class as com.mysql.jdbc.Driver
  236. Jun 29, 2011 10:50:56 AM liquibase.database.template.JdbcTemplate comment
  237. INFO: Lock Database
  238. Jun 29, 2011 10:50:56 AM liquibase.lock.LockHandler acquireLock
  239. INFO: Successfully acquired change log lock
  240. Jun 29, 2011 10:50:57 AM liquibase.database.AbstractDatabase getRanChangeSetList
  241. INFO: Reading from `liquibasechangelog`
  242. Jun 29, 2011 10:50:59 AM liquibase.database.template.JdbcTemplate comment
  243. INFO: Release Database Lock
  244. Jun 29, 2011 10:50:59 AM liquibase.lock.LockHandler releaseLock
  245. INFO: Successfully released change log lock
  246. 2011-06-29 10:50:59.626::INFO: Started SelectChannelConnector@0.0.0.0:8080
  247. [INFO] Started Jetty Server
  248. [INFO] [jbehave:run-stories-as-embeddables {execution: run-stories}]
  249. [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>]
  250. [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]
  251. [INFO] Running embeddable org.openmrs.stories.AddANewConceptDrug
  252. [INFO] Processing system properties {}
  253.  
  254. (BeforeStories)
  255.  
  256. [INFO] Using 1 threads
  257. [INFO] Running story org/openmrs/stories/add_a_new_concept_drug.story
  258.  
  259. (org/openmrs/stories/add_a_new_concept_drug.story)
  260. Scenario:
  261. GivenStories:
  262. org/openmrs/stories/login_to_website.story
  263.  
  264.  
  265. (org/openmrs/stories/login_to_website.story)
  266. Scenario:
  267. 2011-06-29 10:51:04.513:/openmrs:INFO: Initializing Spring FrameworkServlet 'openmrs'
  268. INFO - FrameworkServlet.initServletBean(301) |2011-06-29 10:51:04,554| FrameworkServlet 'openmrs': initialization started
  269. INFO - FrameworkServlet.initServletBean(320) |2011-06-29 10:51:04,624| FrameworkServlet 'openmrs': initialization completed in 69 ms
  270. 2011-06-29 10:51:05.293:/openmrs:INFO: Initializing Spring FrameworkServlet 'openmrs_static_content'
  271. WARN - CommonsLoggingOutput.warn(59) |2011-06-29 10:51:06,122| Setting extra type info to overloaded methods may fail with <parameter .../>
  272. 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)
  273. Given I am on the login page of OpenMRS with url http://localhost:8080/openmrs
Add Comment
Please, Sign In to add comment