Started by an SCM change Building in workspace C:\apps\jenkins\workspace\eTBM_Desktop > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git.exe config remote.origin.url https://rmemoria@bitbucket.org/etbmanager/desktop.git # timeout=10 Fetching upstream changes from https://rmemoria@bitbucket.org/etbmanager/desktop.git > git.exe --version # timeout=10 > git.exe -c core.askpass=true fetch --tags --progress https://rmemoria@bitbucket.org/etbmanager/desktop.git +refs/heads/*:refs/remotes/origin/* > git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10 > git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10 Checking out Revision df059ae81ba4160d7a405764763a7966f0f4c017 (refs/remotes/origin/master) > git.exe config core.sparsecheckout # timeout=10 > git.exe checkout -f df059ae81ba4160d7a405764763a7966f0f4c017 > git.exe rev-list 11d64690970d6afbe75c5ba61c4506283429c9c7 # timeout=10 [eTBM_Desktop] $ cmd.exe /C "C:\apps\apache-maven-3.3.9\bin\mvn.cmd assembly:assembly && exit %%ERRORLEVEL%%" [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building eTB Manager Desktop 0.8.4 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-assembly-plugin:2.4.1:assembly (default-cli) > package @ desktop >>> [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ desktop --- [INFO] Storing buildNumber: 28 at timestamp: 1493172050300 [WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref [INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD" [INFO] Working directory: C:\apps\jenkins\workspace\eTBM_Desktop [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ desktop --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] ignoreDelta true [INFO] Copying 80 resources [INFO] Copying file app.inf [INFO] Copying file applicationContext.xml [INFO] Copying file log4j.xml [INFO] Copying file messages.properties [INFO] Copying file messages_en.properties [INFO] Copying file messages_en_BD.properties [INFO] Copying file messages_en_KE.properties [INFO] Copying file messages_en_KH.properties [INFO] Copying file messages_en_NA.properties [INFO] Copying file messages_en_NG.properties [INFO] Copying file messages_hy.properties [INFO] Copying file messages_hy_AM.properties [INFO] Copying file messages_in.properties [INFO] Copying file messages_km.properties [INFO] Copying file messages_pt_BR.properties [INFO] Copying file messages_ro.properties [INFO] Copying file messages_ru.properties [INFO] Copying file messages_uk_UA.properties [INFO] Copying file messages_uz.properties [INFO] Copying file messages_vi.properties [INFO] Copying file messages_zh.properties [INFO] Copying file META-INF\datastream\bd\clientinifile-schema.xml [INFO] Copying file META-INF\datastream\bd\serverfile-schema.xml [INFO] Copying file META-INF\datastream\clientinifile-schema.xml [INFO] Copying file META-INF\datastream\datastream-1.0.xsd [INFO] Copying file META-INF\datastream\serverfile-schema.xml [INFO] Copying file META-INF\datastream\webservice-response-schema.xml [INFO] Copying file META-INF\MANIFEST.MF [INFO] Copying file resources\database\etbmanager.properties [INFO] Copying file resources\database\etbmanager.script [INFO] Copying file resources\fonts\fontawesome-webfont.ttf [INFO] Copying file resources\images\app-icon.png [INFO] Copying file resources\images\bg_login.jpg [INFO] Copying file resources\images\etbmanager.png [INFO] Copying file resources\images\female_16x16.png [INFO] Copying file resources\images\female_32x32.png [INFO] Copying file resources\images\loading.gif [INFO] Copying file resources\images\logo.png [INFO] Copying file resources\images\logo_64x64.png [INFO] Copying file resources\images\male_16x16.png [INFO] Copying file resources\images\male_32x32.png [INFO] Copying file resources\images\required.png [INFO] Copying file resources\images\right.png [INFO] Copying file resources\images\siaps-usaid.png [INFO] Copying file resources\images\tag_blue_16x16.png [INFO] Copying file resources\images\tag_green_16x16.png [INFO] Copying file resources\images\tag_red_16x16.png [INFO] Copying file resources\images\usaid_siaps_400x61.png [INFO] Copying file resources\images\user.png [INFO] Copying file xview\bd\casenew.xview.xml [INFO] Copying file xview\bd\exambiopsy.xview.xml [INFO] Copying file xview\bd\examskin.xview.xml [INFO] Copying file xview\bd\medexam.xview.xml [INFO] Copying file xview\bd\sideeffect_edt.xview.xml [INFO] Copying file xview\caseclose.xview.xml [INFO] Copying file xview\casenew.xview.xml [INFO] Copying file xview\changeperiod.xview.xml [INFO] Copying file xview\change_regimen.xview.xml [INFO] Copying file xview\comorbidities.xview.xml [INFO] Copying file xview\comorbidities_edt.xview.xml [INFO] Copying file xview\contact.xview.xml [INFO] Copying file xview\contact_edt.xview.xml [INFO] Copying file xview\examculture.xview.xml [INFO] Copying file xview\examdst.xview.xml [INFO] Copying file xview\examhiv.xview.xml [INFO] Copying file xview\exammicroscopy.xview.xml [INFO] Copying file xview\examxpert.xview.xml [INFO] Copying file xview\examxray.xview.xml [INFO] Copying file xview\medexam.xview.xml [INFO] Copying file xview\prescribedmedicine_edt.xview.xml [INFO] Copying file xview\sideeffects.xview.xml [INFO] Copying file xview\sideeffect_edt.xview.xml [INFO] Copying file xview\start_individualized_treatment.xview.xml [INFO] Copying file xview\start_standard_treatment.xview.xml [INFO] Copying file xview\suspectfollowup.xview.xml [INFO] Copying file xview\test.new.xview.xml [INFO] Copying file xview\test.xview.xml [INFO] Copying file xview\test2-new.xview.xml [INFO] Copying file xview\test2.xview.xml [INFO] Copying file xview\xview.xsd [INFO] ignoreDelta true [INFO] Copying 1 resource [INFO] Copying file META-INF\persistence.xml [INFO] [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ desktop --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 431 source files to C:\apps\jenkins\workspace\eTBM_Desktop\target\classes [WARNING] /C:/apps/jenkins/workspace/eTBM_Desktop/src/main/java/org/msh/xview/swing/ui/ViewUI.java: Some input files use unchecked or unsafe operations. [WARNING] /C:/apps/jenkins/workspace/eTBM_Desktop/src/main/java/org/msh/xview/swing/ui/ViewUI.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ desktop --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] ignoreDelta true [INFO] Copying 80 resources [INFO] Copying file app.inf [INFO] Copying file applicationContext.xml [INFO] Copying file log4j.xml [INFO] Copying file messages.properties [INFO] Copying file messages_en.properties [INFO] Copying file messages_en_BD.properties [INFO] Copying file messages_en_KE.properties [INFO] Copying file messages_en_KH.properties [INFO] Copying file messages_en_NA.properties [INFO] Copying file messages_en_NG.properties [INFO] Copying file messages_hy.properties [INFO] Copying file messages_hy_AM.properties [INFO] Copying file messages_in.properties [INFO] Copying file messages_km.properties [INFO] Copying file messages_pt_BR.properties [INFO] Copying file messages_ro.properties [INFO] Copying file messages_ru.properties [INFO] Copying file messages_uk_UA.properties [INFO] Copying file messages_uz.properties [INFO] Copying file messages_vi.properties [INFO] Copying file messages_zh.properties [INFO] Copying file META-INF\datastream\bd\clientinifile-schema.xml [INFO] Copying file META-INF\datastream\bd\serverfile-schema.xml [INFO] Copying file META-INF\datastream\clientinifile-schema.xml [INFO] Copying file META-INF\datastream\datastream-1.0.xsd [INFO] Copying file META-INF\datastream\serverfile-schema.xml [INFO] Copying file META-INF\datastream\webservice-response-schema.xml [INFO] Copying file META-INF\MANIFEST.MF [INFO] Copying file resources\database\etbmanager.properties [INFO] Copying file resources\database\etbmanager.script [INFO] Copying file resources\fonts\fontawesome-webfont.ttf [INFO] Copying file resources\images\app-icon.png [INFO] Copying file resources\images\bg_login.jpg [INFO] Copying file resources\images\etbmanager.png [INFO] Copying file resources\images\female_16x16.png [INFO] Copying file resources\images\female_32x32.png [INFO] Copying file resources\images\loading.gif [INFO] Copying file resources\images\logo.png [INFO] Copying file resources\images\logo_64x64.png [INFO] Copying file resources\images\male_16x16.png [INFO] Copying file resources\images\male_32x32.png [INFO] Copying file resources\images\required.png [INFO] Copying file resources\images\right.png [INFO] Copying file resources\images\siaps-usaid.png [INFO] Copying file resources\images\tag_blue_16x16.png [INFO] Copying file resources\images\tag_green_16x16.png [INFO] Copying file resources\images\tag_red_16x16.png [INFO] Copying file resources\images\usaid_siaps_400x61.png [INFO] Copying file resources\images\user.png [INFO] Copying file xview\bd\casenew.xview.xml [INFO] Copying file xview\bd\exambiopsy.xview.xml [INFO] Copying file xview\bd\examskin.xview.xml [INFO] Copying file xview\bd\medexam.xview.xml [INFO] Copying file xview\bd\sideeffect_edt.xview.xml [INFO] Copying file xview\caseclose.xview.xml [INFO] Copying file xview\casenew.xview.xml [INFO] Copying file xview\changeperiod.xview.xml [INFO] Copying file xview\change_regimen.xview.xml [INFO] Copying file xview\comorbidities.xview.xml [INFO] Copying file xview\comorbidities_edt.xview.xml [INFO] Copying file xview\contact.xview.xml [INFO] Copying file xview\contact_edt.xview.xml [INFO] Copying file xview\examculture.xview.xml [INFO] Copying file xview\examdst.xview.xml [INFO] Copying file xview\examhiv.xview.xml [INFO] Copying file xview\exammicroscopy.xview.xml [INFO] Copying file xview\examxpert.xview.xml [INFO] Copying file xview\examxray.xview.xml [INFO] Copying file xview\medexam.xview.xml [INFO] Copying file xview\prescribedmedicine_edt.xview.xml [INFO] Copying file xview\sideeffects.xview.xml [INFO] Copying file xview\sideeffect_edt.xview.xml [INFO] Copying file xview\start_individualized_treatment.xview.xml [INFO] Copying file xview\start_standard_treatment.xview.xml [INFO] Copying file xview\suspectfollowup.xview.xml [INFO] Copying file xview\test.new.xview.xml [INFO] Copying file xview\test.xview.xml [INFO] Copying file xview\test2-new.xview.xml [INFO] Copying file xview\test2.xview.xml [INFO] Copying file xview\xview.xsd [INFO] ignoreDelta true [INFO] Copying 1 resource [INFO] Copying file META-INF\persistence.xml [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ desktop --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 21 source files to C:\apps\jenkins\workspace\eTBM_Desktop\target\test-classes [WARNING] /C:/apps/jenkins/workspace/eTBM_Desktop/src/test/java/org/msh/etbm/desktop/AppFormTest.java: C:\apps\jenkins\workspace\eTBM_Desktop\src\test\java\org\msh\etbm\desktop\AppFormTest.java uses unchecked or unsafe operations. [WARNING] /C:/apps/jenkins/workspace/eTBM_Desktop/src/test/java/org/msh/etbm/desktop/AppFormTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ desktop --- [INFO] Surefire report directory: C:\apps\jenkins\workspace\eTBM_Desktop\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@3b764bce 1. Create database 22:01:06,609 INFO ClassPathXmlApplicationContext:495 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2bbf4b8b: startup date [Tue Apr 25 22:01:06 EDT 2017]; root of context hierarchy 22:01:06,719 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [applicationContext.xml] 22:01:08,953 INFO DefaultListableBeanFactory:623 - Overriding bean definition for bean 'caseFilters': replacing [Generic bean: class [org.msh.etbm.services.cases.CaseFilters]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\apps\jenkins\workspace\eTBM_Desktop\target\classes\org\msh\etbm\services\cases\CaseFilters.class]] with [Generic bean: class [org.msh.etbm.services.cases.CaseFilters]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]] 22:01:09,281 INFO DefaultListableBeanFactory:557 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e056f20: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,changeTreatPeriodController,startTreatmentController,examBiopsyServices,examSkinServices,globalLists_bd,newNotificationFlow,packageList,formManagerFactory,adminUnits,caseCloseService,caseFilters,casePermissionServices,caseServices,casesQuery,caseStateReport,comorbiditiesServices,contactServices,examCultureServices,examDSTServices,examHivServices,examMicroscopyServices,examXpertServices,examXRayServices,medicalExaminationServices,patientServices,prevTBTreatController,sideEffectServices,startTreatmentServices,treatmentFollowupServices,treatmentPeriodUtilities,treatmentServices,serverSignatureServices,medicineServices,fieldsOptions,globalLists,regimenServices,sourceServices,tagServices,serverServices,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,entityManagerFactory,entityManager,expressions,formManager,defaultWorkspace,userWorkspace,authenticator,userSession,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy 22:01:09,625 INFO Version:15 - Hibernate Annotations 3.4.0.GA 22:01:09,672 INFO Environment:543 - Hibernate 3.3.0.SP1 22:01:09,687 INFO Environment:576 - hibernate.properties not found 22:01:09,687 INFO Environment:709 - Bytecode provider name : javassist 22:01:09,687 INFO Environment:627 - using JDK 1.4 java.sql.Timestamp handling 22:01:09,922 INFO Version:14 - Hibernate Commons Annotations 3.1.0.GA 22:01:09,922 INFO Version:16 - Hibernate EntityManager 3.4.0.GA 22:01:10,312 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.AdministrativeUnit 22:01:10,344 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.AdministrativeUnit on table administrativeunit 22:01:10,422 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CaseComorbidity 22:01:10,422 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CaseComorbidity on table casecomorbidity 22:01:10,422 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CaseSideEffect 22:01:10,422 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CaseSideEffect on table casesideeffect 22:01:10,437 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CountryStructure 22:01:10,437 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CountryStructure on table countrystructure 22:01:10,437 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamCulture 22:01:10,437 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamCulture on table examculture 22:01:10,453 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamDST 22:01:10,453 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamDST on table examdst 22:01:10,453 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamDSTResult 22:01:10,453 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamDSTResult on table examdstresult 22:01:10,453 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamHIV 22:01:10,453 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamHIV on table examhiv 22:01:10,453 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamMicroscopy 22:01:10,453 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamMicroscopy on table exammicroscopy 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamXRay 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamXRay on table examxray 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.FieldValue 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.FieldValue on table fieldvalue 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.HealthSystem 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.HealthSystem on table healthsystem 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Laboratory 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Laboratory on table laboratory 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicalExamination 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicalExamination on table medicalexamination 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Medicine 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Medicine on table medicine 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicineComponent 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicineComponent on table medicinecomponent 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicineRegimen 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicineRegimen on table medicineregimen 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Patient 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Patient on table patient 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.PrescribedMedicine 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.PrescribedMedicine on table prescribedmedicine 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.PrevTBTreatment 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.PrevTBTreatment on table prevtbtreatment 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Regimen 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Regimen on table regimen 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.SequenceInfo 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.SequenceInfo on table sequenceinfo 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Source 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Source on table source 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Substance 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Substance on table substance 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Tag 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Tag on table tag 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TbCase 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TbCase on table tbcase 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TbContact 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TbContact on table tbcontact 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Tbunit 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Tbunit on table tbunit 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TreatmentHealthUnit 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TreatmentHealthUnit on table treatmenthealthunit 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.User 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.User on table sys_user 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserPermission 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserPermission on table userpermission 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserProfile 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserProfile on table userprofile 22:01:10,547 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserRole 22:01:10,547 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserRole on table userrole 22:01:10,547 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserWorkspace 22:01:10,547 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserWorkspace on table userworkspace 22:01:10,547 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Workspace 22:01:10,547 INFO AnnotationBinder:969 - Binding type definition: weeklyFrequency 22:01:10,547 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Workspace on table workspace 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.WorkspaceView 22:01:10,562 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.WorkspaceView on table workspaceview 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ServerSignature 22:01:10,562 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ServerSignature on table serversignature 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TreatmentMonitoring 22:01:10,562 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TreatmentMonitoring on table treatmentmonitoring 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamXpert 22:01:10,562 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamXpert on table examxpert 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.EntityLastVersion 22:01:10,578 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.EntityLastVersion on table entitylastversion 22:01:10,656 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.AdministrativeUnit.units -> administrativeunit 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.ExamDST.results -> examdstresult 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Medicine.components -> medicinecomponent 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Patient.cases -> tbcase 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Regimen.medicines -> medicineregimen 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.comorbidities -> casecomorbidity 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.contacts -> tbcontact 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examinations -> medicalexamination 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsCulture -> examculture 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsDST -> examdst 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsMicroscopy -> exammicroscopy 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.healthUnits -> treatmenthealthunit 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.prescribedMedicines -> prescribedmedicine 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.prevTbTreats -> prevtbtreatment 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.resHIV -> examhiv 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.resXRay -> examxray 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.sideEffects -> casesideeffect 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.treatmentMonitoring -> treatmentmonitoring 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.User.workspaces -> userworkspace 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.UserProfile.permissions -> userpermission 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Workspace.users -> userworkspace 22:01:10,672 INFO Version:17 - Hibernate Validator 3.1.0.GA 22:01:10,734 INFO HibernateSearchEventListenerRegister:53 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 22:01:10,812 INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!) 22:01:10,812 INFO DriverManagerConnectionProvider:65 - Hibernate connection pool size: 20 22:01:10,812 INFO DriverManagerConnectionProvider:68 - autocommit mode: true 22:01:10,844 INFO DriverManagerConnectionProvider:103 - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:file:C:\apps\jenkins\workspace\eTBM_Desktop\target\database\etbmanager 22:01:10,844 INFO DriverManagerConnectionProvider:109 - connection properties: {user=SA, password=****, autocommit=true, release_mode=auto} 22:01:11,765 INFO ENGINE:? - checkpointClose start 22:01:11,797 INFO ENGINE:? - checkpointClose end 22:01:11,828 INFO SettingsFactory:116 - RDBMS: HSQL Database Engine, version: 2.2.8 22:01:11,828 INFO SettingsFactory:117 - JDBC driver: HSQL Database Engine Driver, version: 2.2.8 22:01:11,890 INFO Dialect:175 - Using dialect: org.msh.utils.CustomHSQLDialect 22:01:11,906 INFO TransactionFactoryFactory:62 - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory 22:01:11,906 INFO TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 22:01:11,906 INFO SettingsFactory:170 - Automatic flush during beforeCompletion(): disabled 22:01:11,906 INFO SettingsFactory:174 - Automatic session close at end of transaction: disabled 22:01:11,922 INFO SettingsFactory:181 - JDBC batch size: 15 22:01:11,922 INFO SettingsFactory:184 - JDBC batch updates for versioned data: disabled 22:01:11,922 INFO SettingsFactory:189 - Scrollable result sets: enabled 22:01:11,922 INFO SettingsFactory:197 - JDBC3 getGeneratedKeys(): enabled 22:01:11,922 INFO SettingsFactory:205 - Connection release mode: auto 22:01:11,922 INFO SettingsFactory:232 - Default batch fetch size: 1 22:01:11,922 INFO SettingsFactory:236 - Generate SQL with comments: disabled 22:01:11,922 INFO SettingsFactory:240 - Order SQL updates by primary key: disabled 22:01:11,922 INFO SettingsFactory:244 - Order SQL inserts for batching: disabled 22:01:11,922 INFO SettingsFactory:420 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 22:01:11,922 INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory 22:01:11,922 INFO SettingsFactory:252 - Query language substitutions: {} 22:01:11,922 INFO SettingsFactory:257 - JPA-QL strict compliance: enabled 22:01:11,922 INFO SettingsFactory:262 - Second-level cache: enabled 22:01:11,922 INFO SettingsFactory:266 - Query cache: disabled 22:01:11,937 INFO SettingsFactory:405 - Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge 22:01:11,937 INFO RegionFactoryCacheProviderBridge:61 - Cache provider: org.hibernate.cache.NoCacheProvider 22:01:11,937 INFO SettingsFactory:276 - Optimize cache for minimal puts: disabled 22:01:11,937 INFO SettingsFactory:285 - Structured second-level cache entries: disabled 22:01:11,953 INFO SettingsFactory:314 - Statistics: disabled 22:01:11,953 INFO SettingsFactory:318 - Deleted entity synthetic identifier rollback: disabled 22:01:11,953 INFO SettingsFactory:333 - Default entity-mode: pojo 22:01:11,953 INFO SettingsFactory:337 - Named query checking : enabled 22:01:12,062 INFO SessionFactoryImpl:187 - building session factory 22:01:12,453 INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured 2. Workspace list Tests run: 5, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 11.734 sec <<< FAILURE! testWorkspaceList(org.msh.etbm.test.desktop.AppInitTest) Time elapsed: 11.609 sec <<< FAILURE! java.lang.RuntimeException: Connection error at org.msh.etbm.sync.ServerServices.getWorkspaces(ServerServices.java:107) at org.msh.etbm.test.desktop.AppInitTest.testWorkspaceList(AppInitTest.java:44) Results : Failed tests: testWorkspaceList(org.msh.etbm.test.desktop.AppInitTest): Connection error Tests run: 5, Failures: 1, Errors: 0, Skipped: 4 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27.575 s [INFO] Finished at: 2017-04-25T22:01:15-04:00 [INFO] Final Memory: 29M/413M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project desktop: There are test failures. [ERROR] [ERROR] Please refer to C:\apps\jenkins\workspace\eTBM_Desktop\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 Build step 'Invoke top-level Maven targets' marked build as failure Recording test results Sending e-mails to: rmemoria@msh.org msantos.msh@gmail.com rmemoria@gmail.com Finished: FAILURE