· 5 years ago · May 11, 2020, 08:50 AM
1 ____ _ __ _ _
2 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
3( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
4 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
5 ' |____| .__|_| |_|_| |_\__, | / / / /
6 =========|_|==============|___/=/_/_/_/
7 :: Spring Boot :: (v2.2.6.RELEASE)
8
92020-05-11 10:44:23.129 INFO 25468 --- [ main] s.o.investomat.service.EmailServiceTest : Starting EmailServiceTest on vaclav-UX410UAK with PID 25468 (started by root in /home/vaclav/Documents/atteq/investomat/api)
102020-05-11 10:44:23.129 DEBUG 25468 --- [ main] s.o.investomat.service.EmailServiceTest : Running with Spring Boot v2.2.6.RELEASE, Spring v5.2.5.RELEASE
112020-05-11 10:44:23.129 INFO 25468 --- [ main] s.o.investomat.service.EmailServiceTest : The following profiles are active: test
122020-05-11 10:44:23.640 INFO 25468 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-10 - Starting...
132020-05-11 10:44:23.657 INFO 25468 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-10 - Start completed.
142020-05-11 10:44:23.658 INFO 25468 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:sqlserver://localhost:1433;useFmtOnly=false;useBulkCopyForBatchInsert=false;cancelQueryTimeout=-1;sslProtocol=TLS;jaasConfigurationName=SQLJDBCDriver;statementPoolingCacheSize=0;serverPreparedStatementDiscardThreshold=10;enablePrepareOnFirstPreparedStatementCall=false;fips=false;socketTimeout=0;authentication=NotSpecified;authenticationScheme=nativeAuthentication;xopenStates=false;sendTimeAsDatetime=true;trustStoreType=JKS;trustServerCertificate=false;TransparentNetworkIPResolution=true;serverNameAsACE=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;queryTimeout=-1;packetSize=8000;multiSubnetFailover=false;loginTimeout=30;lockTimeout=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=investomat;columnEncryptionSetting=Disabled;applicationName=Microsoft JDBC Driver for SQL Server;applicationIntent=readwrite; (Microsoft SQL Server 14.0)
152020-05-11 10:44:23.674 INFO 25468 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 2 migrations (execution time 00:00.004s)
162020-05-11 10:44:23.689 INFO 25468 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema [dbo]: 2
172020-05-11 10:44:23.690 INFO 25468 --- [ main] o.f.core.internal.command.DbMigrate : Schema [dbo] is up to date. No migration necessary.
182020-05-11 10:44:23.756 INFO 25468 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
192020-05-11 10:44:23.765 INFO 25468 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.SQLServer2012Dialect
202020-05-11 10:44:24.114 INFO 25468 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
212020-05-11 10:44:24.445 DEBUG 25468 --- [ main] s.o.i.api.build.BuildInformation : ApplicationDispatchHelper initialized and uses 'investomat' as context.
222020-05-11 10:44:24.472 INFO 25468 --- [ main] s.o.i.config.JacksonConfiguration : Investomat application: Registering Jackson builder customizer.
232020-05-11 10:44:24.491 INFO 25468 --- [ main] s.o.i.config.JacksonConfiguration : Investomat application: Customizing Jackson builder.
242020-05-11 10:44:25.099 INFO 25468 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
252020-05-11 10:44:25.176 INFO 25468 --- [ main] s.o.i.config.JacksonConfiguration : Investomat application: Customizing Jackson builder.
262020-05-11 10:44:25.479 WARN 25468 --- [ main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false)
272020-05-11 10:44:25.547 INFO 25468 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed
282020-05-11 10:44:25.548 INFO 25468 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)
292020-05-11 10:44:25.554 INFO 25468 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references
302020-05-11 10:44:25.668 INFO 25468 --- [ main] s.o.investomat.service.EmailServiceTest : Started EmailServiceTest in 2.565 seconds (JVM running for 53.595)
312020-05-11 10:44:25.894 INFO 25468 --- [127.0.0.1:59880] com.icegreen.greenmail.smtp.SmtpManager : Created user login ovb@localhost for address ovb@localhost with password ovb@localhost because it didn't exist before.
322020-05-11 10:44:25.982 INFO 25468 --- [127.0.0.1:59882] com.icegreen.greenmail.smtp.SmtpManager : Created user login agent@localhost for address agent@localhost with password agent@localhost because it didn't exist before.
332020-05-11 10:44:26.063 INFO 25468 --- [127.0.0.1:59884] com.icegreen.greenmail.smtp.SmtpManager : Created user login client@localhost for address client@localhost with password client@localhost because it didn't exist before.
34[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.018 s - in sk.ovb.investomat.service.EmailServiceTest
35[INFO] Running sk.ovb.investomat.service.InstructionCheckboxServiceTest
362020-05-11 10:44:26.170 DEBUG 25468 --- [ main] org.hibernate.SQL : select next value for hibernate_sequence
37Hibernate: select next value for hibernate_sequence
382020-05-11 10:44:26.176 DEBUG 25468 --- [ main] org.hibernate.SQL : select signcontra0_.id as id1_8_0_, signcontra0_.id_kontrakt as id_kontr4_8_0_, signcontra0_.vytvorena as vytvoren2_8_0_, signcontra0_.platnost_do as platnost3_8_0_ from podpisanie_kontraktu_session signcontra0_ where signcontra0_.id=?
39Hibernate: select signcontra0_.id as id1_8_0_, signcontra0_.id_kontrakt as id_kontr4_8_0_, signcontra0_.vytvorena as vytvoren2_8_0_, signcontra0_.platnost_do as platnost3_8_0_ from podpisanie_kontraktu_session signcontra0_ where signcontra0_.id=?
402020-05-11 10:44:26.180 DEBUG 25468 --- [ main] org.hibernate.SQL : select contract0_.id as id1_6_0_, contract0_.agent_email as agent_em2_6_0_, contract0_.agent_cele_meno as agent_ce3_6_0_, contract0_.agent_ovb_kod as agent_ov4_6_0_, contract0_.agent_telefonne_cislo as agent_te5_6_0_, contract0_.id_adresa_klienta as id_adre18_6_0_, contract0_.id_bankovy_ucet_klienta as id_bank19_6_0_, contract0_.klient_rodne_cislo as klient_r6_6_0_, contract0_.klient_datum_narodenia as klient_d7_6_0_, contract0_.id_korespondencna_adresa_klienta as id_kore20_6_0_, contract0_.klient_eic_pid as klient_e8_6_0_, contract0_.klient_eic_pid_povod as klient_e9_6_0_, contract0_.klient_krstne_meno as klient_10_6_0_, contract0_.foto_obcianskeho_preukazu_zadna_strana as foto_ob11_6_0_, contract0_.foto_obcianskeho_preukazu_obidve_strany as foto_ob12_6_0_, contract0_.foto_obcianskeho_preukazu_predna_strana as foto_ob13_6_0_, contract0_.klient_priezvisko as klient_14_6_0_, contract0_.id_osobne_udaje_klienta as id_osob21_6_0_, contract0_.vytvoreny as vytvore15_6_0_, contract0_.datum_podpisania as datum_p16_6_0_, contract0_.id_podpisoveho_rozhovoru as id_podp22_6_0_, contract0_.stav as stav17_6_0_ from kontrakt contract0_ where contract0_.id=?
41Hibernate: select contract0_.id as id1_6_0_, contract0_.agent_email as agent_em2_6_0_, contract0_.agent_cele_meno as agent_ce3_6_0_, contract0_.agent_ovb_kod as agent_ov4_6_0_, contract0_.agent_telefonne_cislo as agent_te5_6_0_, contract0_.id_adresa_klienta as id_adre18_6_0_, contract0_.id_bankovy_ucet_klienta as id_bank19_6_0_, contract0_.klient_rodne_cislo as klient_r6_6_0_, contract0_.klient_datum_narodenia as klient_d7_6_0_, contract0_.id_korespondencna_adresa_klienta as id_kore20_6_0_, contract0_.klient_eic_pid as klient_e8_6_0_, contract0_.klient_eic_pid_povod as klient_e9_6_0_, contract0_.klient_krstne_meno as klient_10_6_0_, contract0_.foto_obcianskeho_preukazu_zadna_strana as foto_ob11_6_0_, contract0_.foto_obcianskeho_preukazu_obidve_strany as foto_ob12_6_0_, contract0_.foto_obcianskeho_preukazu_predna_strana as foto_ob13_6_0_, contract0_.klient_priezvisko as klient_14_6_0_, contract0_.id_osobne_udaje_klienta as id_osob21_6_0_, contract0_.vytvoreny as vytvore15_6_0_, contract0_.datum_podpisania as datum_p16_6_0_, contract0_.id_podpisoveho_rozhovoru as id_podp22_6_0_, contract0_.stav as stav17_6_0_ from kontrakt contract0_ where contract0_.id=?
422020-05-11 10:44:26.204 DEBUG 25468 --- [ main] org.hibernate.SQL : select next value for hibernate_sequence
43Hibernate: select next value for hibernate_sequence
442020-05-11 10:44:26.213 DEBUG 25468 --- [ main] org.hibernate.SQL : insert into kontrakt (agent_email, agent_cele_meno, agent_ovb_kod, agent_telefonne_cislo, id_adresa_klienta, id_bankovy_ucet_klienta, klient_rodne_cislo, klient_datum_narodenia, id_korespondencna_adresa_klienta, klient_eic_pid, klient_eic_pid_povod, klient_krstne_meno, foto_obcianskeho_preukazu_zadna_strana, foto_obcianskeho_preukazu_obidve_strany, foto_obcianskeho_preukazu_predna_strana, klient_priezvisko, id_osobne_udaje_klienta, vytvoreny, datum_podpisania, id_podpisoveho_rozhovoru, stav, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
45Hibernate: insert into kontrakt (agent_email, agent_cele_meno, agent_ovb_kod, agent_telefonne_cislo, id_adresa_klienta, id_bankovy_ucet_klienta, klient_rodne_cislo, klient_datum_narodenia, id_korespondencna_adresa_klienta, klient_eic_pid, klient_eic_pid_povod, klient_krstne_meno, foto_obcianskeho_preukazu_zadna_strana, foto_obcianskeho_preukazu_obidve_strany, foto_obcianskeho_preukazu_predna_strana, klient_priezvisko, id_osobne_udaje_klienta, vytvoreny, datum_podpisania, id_podpisoveho_rozhovoru, stav, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
462020-05-11 10:44:26.216 DEBUG 25468 --- [ main] org.hibernate.SQL : insert into videohovor (suhlas_klienta_s_podmienkami_videocallu, vytvoreny, ukonceny, janus_agent_opaque_id, janus_agent_meno_videozaznamu, janus_agent_uzivatelske_meno, janus_klient_opaque_id, janus_klient_meno_videozaznamu, janus_klient_uzivatelske_meno, vysledok, id_podpisanie_kontraktu_session, uuid, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
47Hibernate: insert into videohovor (suhlas_klienta_s_podmienkami_videocallu, vytvoreny, ukonceny, janus_agent_opaque_id, janus_agent_meno_videozaznamu, janus_agent_uzivatelske_meno, janus_klient_opaque_id, janus_klient_meno_videozaznamu, janus_klient_uzivatelske_meno, vysledok, id_podpisanie_kontraktu_session, uuid, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
482020-05-11 10:44:26.218 WARN 25468 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 2627, SQLState: 23000
492020-05-11 10:44:26.218 ERROR 25468 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : Violation of UNIQUE KEY constraint 'UK_lu8y9dm0qsnmmbaut2ecm5dh4'. Cannot insert duplicate key in object 'dbo.videohovor'. The duplicate key value is (janus-opaque-id).
502020-05-11 10:44:26.255 DEBUG 25468 --- [ main] org.hibernate.SQL : select instructio0_.id as id1_2_0_, videocall1_.id as id1_9_1_, instructio0_.datum_zaskrtnutia as datum_za2_2_0_, instructio0_.typ_instrukcie as typ_inst3_2_0_, instructio0_.id_videohovoru as id_video4_2_0_, videocall1_.suhlas_klienta_s_podmienkami_videocallu as suhlas_k2_9_1_, videocall1_.vytvoreny as vytvoren3_9_1_, videocall1_.ukonceny as ukonceny4_9_1_, videocall1_.janus_agent_opaque_id as janus_ag5_9_1_, videocall1_.janus_agent_meno_videozaznamu as janus_ag6_9_1_, videocall1_.janus_agent_uzivatelske_meno as janus_ag7_9_1_, videocall1_.janus_klient_opaque_id as janus_kl8_9_1_, videocall1_.janus_klient_meno_videozaznamu as janus_kl9_9_1_, videocall1_.janus_klient_uzivatelske_meno as janus_k10_9_1_, videocall1_.vysledok as vysledo11_9_1_, videocall1_.id_podpisanie_kontraktu_session as id_podp13_9_1_, videocall1_.uuid as uuid12_9_1_ from checkbox_instrukcia instructio0_ left outer join videohovor videocall1_ on instructio0_.id_videohovoru=videocall1_.id where instructio0_.typ_instrukcie=? and videocall1_.uuid=?
51Hibernate: select instructio0_.id as id1_2_0_, videocall1_.id as id1_9_1_, instructio0_.datum_zaskrtnutia as datum_za2_2_0_, instructio0_.typ_instrukcie as typ_inst3_2_0_, instructio0_.id_videohovoru as id_video4_2_0_, videocall1_.suhlas_klienta_s_podmienkami_videocallu as suhlas_k2_9_1_, videocall1_.vytvoreny as vytvoren3_9_1_, videocall1_.ukonceny as ukonceny4_9_1_, videocall1_.janus_agent_opaque_id as janus_ag5_9_1_, videocall1_.janus_agent_meno_videozaznamu as janus_ag6_9_1_, videocall1_.janus_agent_uzivatelske_meno as janus_ag7_9_1_, videocall1_.janus_klient_opaque_id as janus_kl8_9_1_, videocall1_.janus_klient_meno_videozaznamu as janus_kl9_9_1_, videocall1_.janus_klient_uzivatelske_meno as janus_k10_9_1_, videocall1_.vysledok as vysledo11_9_1_, videocall1_.id_podpisanie_kontraktu_session as id_podp13_9_1_, videocall1_.uuid as uuid12_9_1_ from checkbox_instrukcia instructio0_ left outer join videohovor videocall1_ on instructio0_.id_videohovoru=videocall1_.id where instructio0_.typ_instrukcie=? and videocall1_.uuid=?
52[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.147 s <<< FAILURE! - in sk.ovb.investomat.service.InstructionCheckboxServiceTest
53[ERROR] testLogWithPriorSetting Time elapsed: 0.097 s <<< ERROR!
54org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
55 at sk.ovb.investomat.service.InstructionCheckboxServiceTest.testLogWithPriorSetting(InstructionCheckboxServiceTest.java:87)
56Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement
57 at sk.ovb.investomat.service.InstructionCheckboxServiceTest.testLogWithPriorSetting(InstructionCheckboxServiceTest.java:87)
58Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Violation of UNIQUE KEY constraint 'UK_lu8y9dm0qsnmmbaut2ecm5dh4'. Cannot insert duplicate key in object 'dbo.videohovor'. The duplicate key value is (janus-opaque-id).
59 at sk.ovb.investomat.service.InstructionCheckboxServiceTest.testLogWithPriorSetting(InstructionCheckboxServiceTest.java:87)
60
61[INFO] Running sk.ovb.investomat.service.EmailZipServiceTest
62[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in sk.ovb.investomat.service.EmailZipServiceTest
63[INFO] Running sk.ovb.investomat.service.ContractSecurityServiceTest
64[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in sk.ovb.investomat.service.ContractSecurityServiceTest
65[INFO] Running sk.ovb.investomat.service.AgentServiceTest
66[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in sk.ovb.investomat.service.AgentServiceTest
67[INFO] Running sk.ovb.investomat.service.ContractServiceTest
68[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s - in sk.ovb.investomat.service.ContractServiceTest
69[INFO] Running sk.ovb.investomat.service.ClientDetailServiceTest
70[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 s - in sk.ovb.investomat.service.ClientDetailServiceTest
71[INFO] Running sk.ovb.investomat.service.IbanValidationServiceTest
72[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in sk.ovb.investomat.service.IbanValidationServiceTest
73[INFO] Running sk.ovb.investomat.service.BankAccountServiceTest
74[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s - in sk.ovb.investomat.service.BankAccountServiceTest
75[INFO] Running sk.ovb.investomat.service.eicapi.PIDFromResponseExtractorTest
76[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in sk.ovb.investomat.service.eicapi.PIDFromResponseExtractorTest
77[INFO] Running sk.ovb.investomat.service.aws.messages.janus.JanusMessageParserTest
78[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in sk.ovb.investomat.service.aws.messages.janus.JanusMessageParserTest
79[INFO] Running sk.ovb.investomat.service.aws.messages.s3.S3MessageParserTest
80[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in sk.ovb.investomat.service.aws.messages.s3.S3MessageParserTest
81[INFO] Running sk.ovb.investomat.service.aws.AwsSNSServiceTests
82[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 s - in sk.ovb.investomat.service.aws.AwsSNSServiceTests
83[INFO] Running sk.ovb.investomat.service.CloudStorageServiceTest
84
85 . ____ _ __ _ _
86 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
87( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
88 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
89 ' |____| .__|_| |_|_| |_\__, | / / / /
90 =========|_|==============|___/=/_/_/_/
91 :: Spring Boot :: (v2.2.6.RELEASE)
92
932020-05-11 10:44:26.812 INFO 25468 --- [ main] s.o.i.service.CloudStorageServiceTest : Starting CloudStorageServiceTest on vaclav-UX410UAK with PID 25468 (started by root in /home/vaclav/Documents/atteq/investomat/api)
942020-05-11 10:44:26.813 DEBUG 25468 --- [ main] s.o.i.service.CloudStorageServiceTest : Running with Spring Boot v2.2.6.RELEASE, Spring v5.2.5.RELEASE
952020-05-11 10:44:26.813 INFO 25468 --- [ main] s.o.i.service.CloudStorageServiceTest : The following profiles are active: test
962020-05-11 10:44:27.356 INFO 25468 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-11 - Starting...
972020-05-11 10:44:27.372 INFO 25468 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-11 - Start completed.
982020-05-11 10:44:27.373 INFO 25468 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:sqlserver://localhost:1433;useFmtOnly=false;useBulkCopyForBatchInsert=false;cancelQueryTimeout=-1;sslProtocol=TLS;jaasConfigurationName=SQLJDBCDriver;statementPoolingCacheSize=0;serverPreparedStatementDiscardThreshold=10;enablePrepareOnFirstPreparedStatementCall=false;fips=false;socketTimeout=0;authentication=NotSpecified;authenticationScheme=nativeAuthentication;xopenStates=false;sendTimeAsDatetime=true;trustStoreType=JKS;trustServerCertificate=false;TransparentNetworkIPResolution=true;serverNameAsACE=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;queryTimeout=-1;packetSize=8000;multiSubnetFailover=false;loginTimeout=30;lockTimeout=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=investomat;columnEncryptionSetting=Disabled;applicationName=Microsoft JDBC Driver for SQL Server;applicationIntent=readwrite; (Microsoft SQL Server 14.0)
992020-05-11 10:44:27.392 INFO 25468 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 2 migrations (execution time 00:00.009s)
1002020-05-11 10:44:27.404 INFO 25468 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema [dbo]: 2
1012020-05-11 10:44:27.409 INFO 25468 --- [ main] o.f.core.internal.command.DbMigrate : Schema [dbo] is up to date. No migration necessary.
1022020-05-11 10:44:27.459 INFO 25468 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
1032020-05-11 10:44:27.464 INFO 25468 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.SQLServer2012Dialect
1042020-05-11 10:44:27.830 INFO 25468 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
1052020-05-11 10:44:28.178 DEBUG 25468 --- [ main] s.o.i.api.build.BuildInformation : ApplicationDispatchHelper initialized and uses 'investomat' as context.
1062020-05-11 10:44:28.192 INFO 25468 --- [ main] s.o.i.config.JacksonConfiguration : Investomat application: Registering Jackson builder customizer.
1072020-05-11 10:44:28.229 INFO 25468 --- [ main] s.o.i.config.JacksonConfiguration : Investomat application: Customizing Jackson builder.
1082020-05-11 10:44:28.910 INFO 25468 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
1092020-05-11 10:44:28.982 INFO 25468 --- [ main] s.o.i.config.JacksonConfiguration : Investomat application: Customizing Jackson builder.
1102020-05-11 10:44:29.326 WARN 25468 --- [ main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false)
1112020-05-11 10:44:29.392 INFO 25468 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed
1122020-05-11 10:44:29.393 INFO 25468 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)
1132020-05-11 10:44:29.398 INFO 25468 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references
1142020-05-11 10:44:29.523 INFO 25468 --- [ main] s.o.i.service.CloudStorageServiceTest : Started CloudStorageServiceTest in 2.752 seconds (JVM running for 57.451)
115[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.768 s - in sk.ovb.investomat.service.CloudStorageServiceTest
116[INFO] Running sk.ovb.investomat.fundimporter.InvestmentFundCsvReaderTest
1172020-05-11 10:44:29.568 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/investmentfundcsvreader/funds.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
1182020-05-11 10:44:29.572 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/investmentfundcsvreader/funds_without_header.csv'. Line content: 61,001, C-Quadrat ARTS Total Return Global-AMI, DE000A0F5G98, CQATRG, 5.15, PJ, D, 100.21, 10.00
119[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in sk.ovb.investomat.fundimporter.InvestmentFundCsvReaderTest
120[INFO] Running sk.ovb.investomat.fundimporter.SqlGeneratorTest
121[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in sk.ovb.investomat.fundimporter.SqlGeneratorTest
122[INFO] Running sk.ovb.investomat.fundimporter.ImportFundSqlScriptGeneratorTest
123[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in sk.ovb.investomat.fundimporter.ImportFundSqlScriptGeneratorTest
124[INFO] Running sk.ovb.investomat.fundimporter.ImportFundServiceTest
1252020-05-11 10:44:29.670 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/importfundservice/fund_regular.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
1262020-05-11 10:44:29.683 DEBUG 25468 --- [ main] org.hibernate.SQL : select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
127Hibernate: select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
1282020-05-11 10:44:29.705 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/importfundservice/fund_onetime.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
1292020-05-11 10:44:29.707 DEBUG 25468 --- [ main] org.hibernate.SQL : select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
130Hibernate: select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
1312020-05-11 10:44:29.727 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/importfundservice/fund_onetime_and_regular.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
1322020-05-11 10:44:29.733 DEBUG 25468 --- [ main] org.hibernate.SQL : select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
133Hibernate: select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
1342020-05-11 10:44:29.747 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/importfundservice/funds.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
1352020-05-11 10:44:29.779 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/importfundservice/fund_1.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
1362020-05-11 10:44:29.782 DEBUG 25468 --- [ main] org.hibernate.SQL : select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
137Hibernate: select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
1382020-05-11 10:44:29.797 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/importfundservice/fund_2.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
1392020-05-11 10:44:29.799 DEBUG 25468 --- [ main] org.hibernate.SQL : select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
140Hibernate: select investment0_.id as id1_3_, investment0_.aktivny as aktivny2_3_, investment0_.fond_pre_jednorazove_investovanie as fond_pre3_3_, investment0_.fond_pre_pravidelne_investovanie as fond_pre4_3_, investment0_.eic_kod as eic_kod5_3_, investment0_.importovany as importov6_3_, investment0_.isin as isin7_3_, investment0_.max_poplatok_v_percentach_pre_jednorazove_investovanie as max_popl8_3_, investment0_.min_jednorazova_investicia as min_jedn9_3_, investment0_.min_pravidelna_investicia as min_pra10_3_, investment0_.nazov as nazov11_3_, investment0_.rizikova_trieda as rizikov12_3_ from investicny_fond investment0_
1412020-05-11 10:44:29.814 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/importfundservice/funds.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
142[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.169 s - in sk.ovb.investomat.fundimporter.ImportFundServiceTest
143[INFO] Running sk.ovb.investomat.fundimporter.ImportFundSqlScriptApplicationTest
144Starting ImportFundApplication...
1452020-05-11 10:44:29.828 WARN 25468 --- [ main] s.o.i.f.InvestmentFundCsvReader : Skipping first line from 'src/test/resources/fundimporter/importfundsqlscriptapplication/funds.csv'. Line content: Číslo pozície, Fond, ISIN, Symbol fondu v EIC, Max. Percento pri jednoraz., Pravidelne - P/Jednorazovo -J, Riziková trieda fondu, Min. jednoraz do fondu, Min. pravidelne do fondu
146Import sql script successfuly generated: /tmp/junit6724468594633080998/script.sql
147[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in sk.ovb.investomat.fundimporter.ImportFundSqlScriptApplicationTest
148[INFO] Running sk.ovb.investomat.InvestomatApplicationTests
149[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in sk.ovb.investomat.InvestomatApplicationTests
1502020-05-11 10:44:29.978 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated...
1512020-05-11 10:44:29.978 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown initiated...
1522020-05-11 10:44:29.979 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-7 - Shutdown initiated...
1532020-05-11 10:44:29.980 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-10 - Shutdown initiated...
1542020-05-11 10:44:29.985 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-11 - Shutdown initiated...
1552020-05-11 10:44:29.987 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-9 - Shutdown initiated...
1562020-05-11 10:44:29.989 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-8 - Shutdown initiated...
1572020-05-11 10:44:29.989 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown initiated...
1582020-05-11 10:44:29.989 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-6 - Shutdown initiated...
1592020-05-11 10:44:29.989 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-5 - Shutdown initiated...
1602020-05-11 10:44:29.989 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
1612020-05-11 10:44:30.017 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown completed.
1622020-05-11 10:44:30.020 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
1632020-05-11 10:44:30.023 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-10 - Shutdown completed.
1642020-05-11 10:44:30.030 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-7 - Shutdown completed.
1652020-05-11 10:44:30.034 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed.
1662020-05-11 10:44:30.036 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-8 - Shutdown completed.
1672020-05-11 10:44:30.036 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-5 - Shutdown completed.
1682020-05-11 10:44:30.040 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-6 - Shutdown completed.
1692020-05-11 10:44:30.042 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown completed.
1702020-05-11 10:44:30.050 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-11 - Shutdown completed.
1712020-05-11 10:44:30.054 INFO 25468 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-9 - Shutdown completed.
172[INFO]
173[INFO] Results:
174[INFO]
175[ERROR] Errors:
176[ERROR] InstructionCheckboxServiceTest.testLogWithPriorSetting:87 » DataIntegrityViolation
177[INFO]
178[ERROR] Tests run: 224, Failures: 0, Errors: 1, Skipped: 0
179[INFO]
180[INFO] ------------------------------------------------------------------------
181[INFO] BUILD FAILURE
182[INFO] ------------------------------------------------------------------------
183[INFO] Total time: 01:18 min
184[INFO] Finished at: 2020-05-11T10:44:30+02:00
185[INFO] ------------------------------------------------------------------------
186[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project investomat: There are test failures.
187[ERROR]
188[ERROR] Please refer to /home/vaclav/Documents/atteq/investomat/api/target/surefire-reports for the individual test results.
189[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
190[ERROR] -> [Help 1]
191[ERROR]
192[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
193[ERROR] Re-run Maven using the -X switch to enable full debug logging.
194[ERROR]
195[ERROR] For more information about the errors and possible solutions, please read the following articles:
196[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
197Makefile:45: recipe for target 'test' failed
198make[1]: *** [test] Error 1
199make[1]: Leaving directory '/home/vaclav/Documents/atteq/investomat/api'
200Makefile:12: recipe for target 'do-run-test' failed
201make: *** [do-run-test] Error 2