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 cc47d7e0139679e11d2db5650189791481348072 (refs/remotes/origin/master) > git.exe config core.sparsecheckout # timeout=10 > git.exe checkout -f cc47d7e0139679e11d2db5650189791481348072 > git.exe rev-list df059ae81ba4160d7a405764763a7966f0f4c017 # 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: 1493245850461 [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 18:30:59,779 INFO ClassPathXmlApplicationContext:495 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2bbf4b8b: startup date [Wed Apr 26 18:30:59 EDT 2017]; root of context hierarchy 18:30:59,842 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [applicationContext.xml] 18:31:02,420 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]] 18:31:02,654 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 18:31:02,779 INFO Version:15 - Hibernate Annotations 3.4.0.GA 18:31:02,795 INFO Environment:543 - Hibernate 3.3.0.SP1 18:31:02,795 INFO Environment:576 - hibernate.properties not found 18:31:02,795 INFO Environment:709 - Bytecode provider name : javassist 18:31:02,795 INFO Environment:627 - using JDK 1.4 java.sql.Timestamp handling 18:31:02,842 INFO Version:14 - Hibernate Commons Annotations 3.1.0.GA 18:31:02,842 INFO Version:16 - Hibernate EntityManager 3.4.0.GA 18:31:03,123 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.AdministrativeUnit 18:31:03,154 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.AdministrativeUnit on table administrativeunit 18:31:03,248 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CaseComorbidity 18:31:03,248 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CaseComorbidity on table casecomorbidity 18:31:03,264 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CaseSideEffect 18:31:03,264 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CaseSideEffect on table casesideeffect 18:31:03,279 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CountryStructure 18:31:03,279 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CountryStructure on table countrystructure 18:31:03,279 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamCulture 18:31:03,279 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamCulture on table examculture 18:31:03,279 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamDST 18:31:03,279 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamDST on table examdst 18:31:03,279 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamDSTResult 18:31:03,279 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamDSTResult on table examdstresult 18:31:03,279 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamHIV 18:31:03,279 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamHIV on table examhiv 18:31:03,295 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamMicroscopy 18:31:03,295 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamMicroscopy on table exammicroscopy 18:31:03,295 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamXRay 18:31:03,295 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamXRay on table examxray 18:31:03,295 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.FieldValue 18:31:03,295 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.FieldValue on table fieldvalue 18:31:03,295 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.HealthSystem 18:31:03,295 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.HealthSystem on table healthsystem 18:31:03,310 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Laboratory 18:31:03,310 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Laboratory on table laboratory 18:31:03,310 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicalExamination 18:31:03,310 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicalExamination on table medicalexamination 18:31:03,310 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Medicine 18:31:03,310 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Medicine on table medicine 18:31:03,310 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicineComponent 18:31:03,310 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicineComponent on table medicinecomponent 18:31:03,310 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicineRegimen 18:31:03,310 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicineRegimen on table medicineregimen 18:31:03,326 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Patient 18:31:03,326 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Patient on table patient 18:31:03,326 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.PrescribedMedicine 18:31:03,326 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.PrescribedMedicine on table prescribedmedicine 18:31:03,326 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.PrevTBTreatment 18:31:03,326 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.PrevTBTreatment on table prevtbtreatment 18:31:03,326 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Regimen 18:31:03,326 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Regimen on table regimen 18:31:03,326 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.SequenceInfo 18:31:03,326 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.SequenceInfo on table sequenceinfo 18:31:03,326 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Source 18:31:03,326 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Source on table source 18:31:03,342 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Substance 18:31:03,342 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Substance on table substance 18:31:03,342 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Tag 18:31:03,342 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Tag on table tag 18:31:03,342 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TbCase 18:31:03,342 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TbCase on table tbcase 18:31:03,357 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TbContact 18:31:03,357 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TbContact on table tbcontact 18:31:03,357 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Tbunit 18:31:03,357 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Tbunit on table tbunit 18:31:03,373 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TreatmentHealthUnit 18:31:03,373 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TreatmentHealthUnit on table treatmenthealthunit 18:31:03,373 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.User 18:31:03,373 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.User on table sys_user 18:31:03,373 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserPermission 18:31:03,373 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserPermission on table userpermission 18:31:03,373 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserProfile 18:31:03,373 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserProfile on table userprofile 18:31:03,373 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserRole 18:31:03,373 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserRole on table userrole 18:31:03,373 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserWorkspace 18:31:03,373 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserWorkspace on table userworkspace 18:31:03,373 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Workspace 18:31:03,373 INFO AnnotationBinder:969 - Binding type definition: weeklyFrequency 18:31:03,373 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Workspace on table workspace 18:31:03,389 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.WorkspaceView 18:31:03,389 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.WorkspaceView on table workspaceview 18:31:03,389 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ServerSignature 18:31:03,389 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ServerSignature on table serversignature 18:31:03,389 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TreatmentMonitoring 18:31:03,389 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TreatmentMonitoring on table treatmentmonitoring 18:31:03,404 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamXpert 18:31:03,404 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamXpert on table examxpert 18:31:03,404 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.EntityLastVersion 18:31:03,404 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.EntityLastVersion on table entitylastversion 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.AdministrativeUnit.units -> administrativeunit 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.ExamDST.results -> examdstresult 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Medicine.components -> medicinecomponent 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Patient.cases -> tbcase 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Regimen.medicines -> medicineregimen 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.comorbidities -> casecomorbidity 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.contacts -> tbcontact 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examinations -> medicalexamination 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsCulture -> examculture 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsDST -> examdst 18:31:03,451 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsMicroscopy -> exammicroscopy 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.healthUnits -> treatmenthealthunit 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.prescribedMedicines -> prescribedmedicine 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.prevTbTreats -> prevtbtreatment 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.resHIV -> examhiv 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.resXRay -> examxray 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.sideEffects -> casesideeffect 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.treatmentMonitoring -> treatmentmonitoring 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.User.workspaces -> userworkspace 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.UserProfile.permissions -> userpermission 18:31:03,467 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Workspace.users -> userworkspace 18:31:03,467 INFO Version:17 - Hibernate Validator 3.1.0.GA 18:31:03,545 INFO HibernateSearchEventListenerRegister:53 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 18:31:03,623 INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!) 18:31:03,623 INFO DriverManagerConnectionProvider:65 - Hibernate connection pool size: 20 18:31:03,623 INFO DriverManagerConnectionProvider:68 - autocommit mode: true 18:31:03,623 INFO DriverManagerConnectionProvider:103 - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:file:C:\apps\jenkins\workspace\eTBM_Desktop\target\database\etbmanager 18:31:03,623 INFO DriverManagerConnectionProvider:109 - connection properties: {user=SA, password=****, autocommit=true, release_mode=auto} 18:31:04,076 INFO ENGINE:? - checkpointClose start 18:31:04,107 INFO ENGINE:? - checkpointClose end 18:31:04,139 INFO SettingsFactory:116 - RDBMS: HSQL Database Engine, version: 2.2.8 18:31:04,139 INFO SettingsFactory:117 - JDBC driver: HSQL Database Engine Driver, version: 2.2.8 18:31:04,154 INFO Dialect:175 - Using dialect: org.msh.utils.CustomHSQLDialect 18:31:04,154 INFO TransactionFactoryFactory:62 - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory 18:31:04,154 INFO TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 18:31:04,154 INFO SettingsFactory:170 - Automatic flush during beforeCompletion(): disabled 18:31:04,154 INFO SettingsFactory:174 - Automatic session close at end of transaction: disabled 18:31:04,154 INFO SettingsFactory:181 - JDBC batch size: 15 18:31:04,154 INFO SettingsFactory:184 - JDBC batch updates for versioned data: disabled 18:31:04,154 INFO SettingsFactory:189 - Scrollable result sets: enabled 18:31:04,154 INFO SettingsFactory:197 - JDBC3 getGeneratedKeys(): enabled 18:31:04,154 INFO SettingsFactory:205 - Connection release mode: auto 18:31:04,154 INFO SettingsFactory:232 - Default batch fetch size: 1 18:31:04,154 INFO SettingsFactory:236 - Generate SQL with comments: disabled 18:31:04,154 INFO SettingsFactory:240 - Order SQL updates by primary key: disabled 18:31:04,154 INFO SettingsFactory:244 - Order SQL inserts for batching: disabled 18:31:04,170 INFO SettingsFactory:420 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 18:31:04,170 INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory 18:31:04,170 INFO SettingsFactory:252 - Query language substitutions: {} 18:31:04,170 INFO SettingsFactory:257 - JPA-QL strict compliance: enabled 18:31:04,170 INFO SettingsFactory:262 - Second-level cache: enabled 18:31:04,170 INFO SettingsFactory:266 - Query cache: disabled 18:31:04,170 INFO SettingsFactory:405 - Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge 18:31:04,170 INFO RegionFactoryCacheProviderBridge:61 - Cache provider: org.hibernate.cache.NoCacheProvider 18:31:04,170 INFO SettingsFactory:276 - Optimize cache for minimal puts: disabled 18:31:04,170 INFO SettingsFactory:285 - Structured second-level cache entries: disabled 18:31:04,170 INFO SettingsFactory:314 - Statistics: disabled 18:31:04,185 INFO SettingsFactory:318 - Deleted entity synthetic identifier rollback: disabled 18:31:04,185 INFO SettingsFactory:333 - Default entity-mode: pojo 18:31:04,185 INFO SettingsFactory:337 - Named query checking : enabled 18:31:04,248 INFO SessionFactoryImpl:187 - building session factory 18:31:04,529 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: 7.344 sec <<< FAILURE! testWorkspaceList(org.msh.etbm.test.desktop.AppInitTest) Time elapsed: 7.297 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: 17.537 s [INFO] Finished at: 2017-04-26T18:31:06-04:00 [INFO] Final Memory: 25M/319M [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