Advertisement
Guest User

Untitled

a guest
Dec 15th, 2015
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.19 KB | None | 0 0
  1. :lanit-crypto-ocsp-certup:test
  2.  
  3. ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest STANDARD_OUT
  4. 2015-12-16 08:38:24,859 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :256 - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
  5. 2015-12-16 08:38:24,872 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :204 - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext]
  6. 2015-12-16 08:38:24,873 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :182 - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@339342f0, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6855a881, org.springframework.test.context.transaction.TransactionalTestExecutionListener@46ea7543, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@a981621]
  7.  
  8. ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest STANDARD_ERROR
  9. SLF4J: Class path contains multiple SLF4J bindings.
  10. SLF4J: Found binding in [jar:file:/home/zinin/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-log4j12/1.7.12/485f77901840cf4e8bf852f2abb9b723eb8ec29/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  11. SLF4J: Found binding in [jar:file:/home/zinin/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-simple/1.7.12/42db62298b899818ff17352cbc00050e940bbfb0/slf4j-simple-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  12. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  13. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
  14.  
  15. ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest STANDARD_OUT
  16. 2015-12-16 08:38:24,968 INFO [Test worker] org.springframework.beans.factory.xml.XmlBeanDefinitionReader :317 - Loading XML bean definitions from class path resource [spring/testApplicationContext.xml]
  17. 2015-12-16 08:38:25,158 INFO [Test worker] org.springframework.context.support.GenericApplicationContext :510 - Refreshing org.springframework.context.support.GenericApplicationContext@67bb5cd5: startup date [Wed Dec 16 08:38:25 MSK 2015]; root of context hierarchy
  18. 2015-12-16 08:38:25,355 INFO [Test worker] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer :172 - Loading properties file from URL [file:/opt/crypted/svn/signature/trunk/modules/ocsp-certup/daemon/../src/test/resources/test_app.properties]
  19. 2015-12-16 08:38:25,467 INFO [Test worker] com.mchange.v2.log.MLog :80 - MLog clients using log4j logging.
  20. 2015-12-16 08:38:25,521 INFO [Test worker] com.mchange.v2.c3p0.C3P0Registry :204 - Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
  21. 2015-12-16 08:38:25,588 INFO [Test worker] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean :339 - Building JPA container EntityManagerFactory for persistence unit 'default'
  22. 2015-12-16 08:38:25,608 INFO [Test worker] org.hibernate.jpa.internal.util.LogHelper :46 - HHH000204: Processing PersistenceUnitInfo [
  23. name: default
  24. ...]
  25. 2015-12-16 08:38:25,704 INFO [Test worker] org.hibernate.Version :54 - HHH000412: Hibernate Core {4.3.10.Final}
  26. 2015-12-16 08:38:25,706 INFO [Test worker] org.hibernate.cfg.Environment :239 - HHH000206: hibernate.properties not found
  27. 2015-12-16 08:38:25,707 INFO [Test worker] org.hibernate.cfg.Environment :346 - HHH000021: Bytecode provider name : javassist
  28. 2015-12-16 08:38:25,865 INFO [Test worker] org.hibernate.annotations.common.Version :66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
  29. 2015-12-16 08:38:25,940 INFO [Test worker] com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource :462 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1i4ud2m9d1az224p79sduw|4dcf6670, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.hsqldb.jdbc.JDBCDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1i4ud2m9d1az224p79sduw|4dcf6670, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:hsqldb:file:/opt/crypted/svn/signature/trunk/modules/ocsp-certup/daemon/db/sigdb, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
  30. 2015-12-16 08:38:26,222 INFO [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] hsqldb.db.HSQLDB51A6DE8A35.ENGINE :? - checkpointClose start
  31. 2015-12-16 08:38:26,223 INFO [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] hsqldb.db.HSQLDB51A6DE8A35.ENGINE :? - checkpointClose synched
  32. 2015-12-16 08:38:26,341 INFO [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] hsqldb.db.HSQLDB51A6DE8A35.ENGINE :? - checkpointClose script done
  33. 2015-12-16 08:38:26,430 INFO [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] hsqldb.db.HSQLDB51A6DE8A35.ENGINE :? - checkpointClose end
  34. 2015-12-16 08:38:26,466 INFO [Test worker] org.hibernate.dialect.Dialect :145 - HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
  35. 2015-12-16 08:38:26,474 INFO [Test worker] org.hibernate.engine.jdbc.internal.LobCreatorBuilder :123 - HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
  36. 2015-12-16 08:38:26,591 INFO [Test worker] org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory :47 - HHH000397: Using ASTQueryTranslatorFactory
  37. 2015-12-16 08:38:26,622 INFO [Test worker] org.hibernate.validator.internal.util.Version :27 - HV000001: Hibernate Validator 5.1.3.Final
  38. 2015-12-16 08:38:26,822 INFO [Test worker] org.hibernate.tool.hbm2ddl.SchemaValidator :157 - HHH000229: Running schema validator
  39. 2015-12-16 08:38:26,822 INFO [Test worker] org.hibernate.tool.hbm2ddl.SchemaValidator :165 - HHH000102: Fetching database metadata
  40. 2015-12-16 08:38:26,865 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :65 - HHH000261: Table found: PUBLIC.PUBLIC.SIG_CRL
  41. 2015-12-16 08:38:26,866 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :66 - HHH000037: Columns: [download_error, save_on_disk_date, key_id, this_update, download_success_date, guid, download_try_date, next_crl_publish, url, next_update, encoded]
  42. 2015-12-16 08:38:26,868 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :65 - HHH000261: Table found: PUBLIC.PUBLIC.VW_SIG_CRL_EXPIRED
  43. 2015-12-16 08:38:26,869 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :66 - HHH000037: Columns: [download_error, save_on_disk_date, key_id, this_update, download_success_date, guid, download_try_date, next_crl_publish, url, next_update]
  44. 2015-12-16 08:38:26,872 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :65 - HHH000261: Table found: PUBLIC.PUBLIC.SIG_CA
  45. 2015-12-16 08:38:26,872 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :66 - HHH000037: Columns: [name, regnum]
  46. 2015-12-16 08:38:26,874 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :65 - HHH000261: Table found: PUBLIC.PUBLIC.SIG_CERTIFICATE
  47. 2015-12-16 08:38:26,874 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :66 - HHH000037: Columns: [not_after, key_id, serial, level, parent_fingerprint, not_before, fingerprint, download_date, root_fingerprint, encoded]
  48. 2015-12-16 08:38:26,876 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :65 - HHH000261: Table found: PUBLIC.PUBLIC.SIG_KEY
  49. 2015-12-16 08:38:26,876 INFO [Test worker] org.hibernate.tool.hbm2ddl.TableMetadata :66 - HHH000037: Columns: [ca_regnum, pak_name, id, crl_on_disk_guid]
  50. 2015-12-16 08:38:26,920 INFO [Test worker] org.springframework.beans.factory.config.PropertiesFactoryBean :172 - Loading properties file from URL [file:/opt/crypted/svn/signature/trunk/modules/ocsp-certup/daemon/../src/test/resources/test_app.properties]
  51. 2015-12-16 08:38:27,194 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CertificateChainServiceImpl :47 - rootCertificate: Serial number=34681E40CB41EF33A9A0B7C876929A29; E=dit@minsvyaz.ru,C=RU,ST=77 �. ��᪢�,L=��᪢�,STREET=125375 �. ��᪢�\, �. ����᪠�\, �. 7,O=��������� ���ᨨ,1.2.643.100.1=1047702026701,1.2.643.3.131.1.1=007710474375,CN=�������� 㤮�⮢����騩 業��
  52. 2015-12-16 08:38:27,359 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :82 - crlDir: C:\CRL
  53. 2015-12-16 08:38:27,360 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :83 - tmpDir: /tmp
  54. 2015-12-16 08:38:27,360 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :85 - Properties: [certRemoveCmd, update.crl.initialDelay, tmpDir, crl.crypto.pro.test.center2, crl.crypto.pro.test.ca, registryNameCRL, update.tsl.initialDelay, delete.crl.fixedDelay, certAddCmd, crlDir, mode, hsqlJdbcUrl, crl.rtlabs.test.ca, update.crl.fixedDelay, connectTimeout, registryNameCA, socketTimeout, tslUrl, delete.crl.initialDelay, altCAconfig, update.tsl.fixedDelay]
  55.  
  56. ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest > testStoreCARegistry STANDARD_OUT
  57. 2015-12-16 08:38:27,404 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :52 - Loading certificate from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/certs/badSign.cer
  58. 2015-12-16 08:38:27,410 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :52 - Loading certificate from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/certs/rtlabs2-2018.cer
  59. 2015-12-16 08:38:27,410 WARN [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :60 - Bad certificate file. Skipping
  60. 2015-12-16 08:38:27,411 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :52 - Loading certificate from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/certs/rtlabs-2018.cer
  61. 2015-12-16 08:38:27,412 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :52 - Loading certificate from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/certs/rtlabs1-2018.cer
  62. 2015-12-16 08:38:27,412 WARN [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :60 - Bad certificate file. Skipping
  63. 2015-12-16 08:38:27,412 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :52 - Loading certificate from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/certs/altTslCert2.cert
  64. 2015-12-16 08:38:27,414 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :52 - Loading certificate from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/certs/certnew.cer
  65. 2015-12-16 08:38:27,415 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :52 - Loading certificate from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/certs/altTslCert1.cert
  66. 2015-12-16 08:38:27,417 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :64 - Loaded 5 certificates
  67. 2015-12-16 08:38:27,418 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImpl :32 - Save 5 Certificate entries in CA.PEM file
  68. 2015-12-16 08:38:27,418 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImpl :46 - Create tempFile C:\Temp\CA.tmp in directory null
  69. 2015-12-16 08:38:27,427 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImpl :54 - Rename tempFile C:\Temp\CA.tmp to CA.PEM
  70. 2015-12-16 08:38:27,431 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImpl :34 - Registry of certificates saved in C:\Temp\CA.PEM file
  71. 2015-12-16 08:38:27,431 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :69 - Parse CERTs from C:\Temp\CA.PEM file
  72. 2015-12-16 08:38:27,444 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :79 - Delete C:\Temp\CA.PEM file
  73.  
  74. ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest > testStoreCRLRegistry STANDARD_OUT
  75. 2015-12-16 08:38:27,446 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :88 - Loading certificate revocation list from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/crls/certcrl.crl
  76. 2015-12-16 08:38:27,454 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :88 - Loading certificate revocation list from file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/resources/test/crls/vguc2_2.crl
  77. 2015-12-16 08:38:27,455 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :99 - Loaded 2 certificate revocation lists
  78. 2015-12-16 08:38:27,455 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImpl :39 - Save 2 CRL entries in CRL.PEM file
  79. 2015-12-16 08:38:27,455 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImpl :46 - Create tempFile C:\Temp\CRL.tmp in directory null
  80. 2015-12-16 08:38:27,459 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImpl :54 - Rename tempFile C:\Temp\CRL.tmp to CRL.PEM
  81. 2015-12-16 08:38:27,459 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImpl :41 - Registry of certificate revocation lists saved in C:\Temp\CRL.PEM file
  82. 2015-12-16 08:38:27,459 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :104 - Parse CRLs from C:\Temp\CRL.PEM file
  83. 2015-12-16 08:38:27,462 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.PEMServiceImplTest :114 - Delete C:\Temp\CRL.PEM file
  84.  
  85. ru.lanit.security.crypto.ocsp.certup.service.impl.CAServiceImplTest STANDARD_OUT
  86. 2015-12-16 08:38:27,465 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :256 - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
  87. 2015-12-16 08:38:27,465 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :204 - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext]
  88. 2015-12-16 08:38:27,466 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :182 - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@29e18c0a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@59c38c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@122d53b4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2890f975]
  89.  
  90. ru.lanit.security.crypto.ocsp.certup.service.impl.CAServiceImplTest > testMergeTSLCACertificates STANDARD_OUT
  91. 2015-12-16 08:38:27,498 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :173 - Starting to parse 5 CAs...
  92. 2015-12-16 08:38:27,541 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN=�� ��� ��, O=������ଯ���⨪� �㢠訨, L=��������, S=21 �㢠�᪠� ���㡫��� - �㢠��, C=RU, E=certadmin@cap.ru, STREET=�१�����᪨� ��좠� �.10, ���=002130106185, ����=1122130008791
  93. 2015-12-16 08:38:27,542 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN=�� ��� ��, O=������ଯ���⨪� �㢠訨, L=��������, S=21 �㢠�᪠� ���㡫��� - �㢠��, C=RU, E=certadmin@cap.ru, STREET=�१�����᪨� ��좠� �.10, ���=002130106185, ����=1122130008791
  94. 2015-12-16 08:38:27,544 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN="�� ��� ""���-���""", OU=����⮢����騩 業��, O=��� ���-���, L=�஧��, S=20 ��祭᪠� ���㡫���, C=RU, E=uc@atr-group.ru, STREET=�. �.��⪨� 28, ���=002014260274, ����=1082031004241
  95. 2015-12-16 08:38:27,544 ERROR [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :282 - Certificate expired: Serial number: 24B0EC590000000000A8, Subject=CN="�� ��� ""���-���""", OU=����⮢����騩 業��, O=��� ���-���, L=�஧��, S=20 ��祭᪠� ���㡫���, C=RU, E=uc@atr-group.ru, STREET=�. �.��⪨� 28, ���=002014260274, ����=1082031004241, Valid=[2012-12-04T11:52:00, 2013-12-04T12:01:00]
  96. 2015-12-16 08:38:27,545 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN="�� ��� ""���-���""", OU=����⮢����騩 業��, O=��� ���-���, L=�஧��, S=20 ��祭᪠� ���㡫���, C=RU, E=uc@atr-group.ru, STREET=�. �.��⪨� 28, ���=002014260274, ����=1082031004241
  97. 2015-12-16 08:38:27,546 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN=�� ��� ��� ������, OU=����⮢����騩 業��, O=��� ��� ����, L=�롨��, S=��᫠�᪠�, C=RU, E=ca@krista.ru, STREET=1-� �롮�᪠� 50, ���=007707758779, ����=1117746753871
  98. 2015-12-16 08:38:27,547 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN=�� ��� ��� ������, OU=����⮢����騩 業��, O=��� ��� ����, L=�롨��, S=��᫠�᪠�, C=RU, E=ca@krista.ru, STREET=1-� �롮�᪠� 50, ���=007707758779, ����=1117746753871
  99. 2015-12-16 08:38:27,548 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN=FLCA002, O=��� ��ଠ� ����, L=�����, S=18 ������᪠� ���㡫���, C=RU, E=ca@formatlink.ru, ���=001835055604, ����=1031801957802
  100. 2015-12-16 08:38:27,549 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN=FLCA002, O=��� ��ଠ� ����, L=�����, S=18 ������᪠� ���㡫���, C=RU, E=ca@formatlink.ru, ���=001835055604, ����=1031801957802
  101. 2015-12-16 08:38:27,550 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN="�� ""������ந⥫� ��""", O="��� ""������ந⥫� ��""", L=�������⠫�, S=50 ��᪮�᪠� �������, C=RU, E=info@domostroitel-it.ru, STREET="�. ���쪮��, �.34", ���=005053034041, ����=1135053000510
  102. 2015-12-16 08:38:27,551 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :268 - Parsing certificate with SubjectDN: CN="�� ""������ந⥫� ��""", O="��� ""������ந⥫� ��""", L=�������⠫�, S=50 ��᪮�᪠� �������, C=RU, E=info@domostroitel-it.ru, STREET="�. ���쪮��, �.34", ���=005053034041, ����=1135053000510
  103. 2015-12-16 08:38:27,551 INFO [Test worker] ru.lanit.security.crypto.tsl.service.TSLServiceImpl :306 - Certificates extracted: 10, bad certificates: 1
  104. 2015-12-16 08:38:27,553 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.AltTSLServiceImpl :143 - Starting to parse Alternative CA...
  105. 2015-12-16 08:38:27,553 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.AltTSLServiceImpl :147 - Alternative CA contains 2 references for certificate files
  106. 2015-12-16 08:38:27,554 ERROR [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.AltTSLServiceImpl :167 - Bad certificate file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/daemon/..\src\test\resources\certs\altTslCert1.cert
  107. 2015-12-16 08:38:27,554 ERROR [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.AltTSLServiceImpl :167 - Bad certificate file: /opt/crypted/svn/signature/trunk/modules/ocsp-certup/daemon/..\src\test\resources\certs\altTslCert2.cert
  108. 2015-12-16 08:38:27,554 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.AltTSLServiceImpl :199 - Alternative CA certificates: valid: 0, bad: 2
  109.  
  110. ru.lanit.security.crypto.ocsp.certup.service.impl.CAServiceImplTest > testMergeTSLCACertificates FAILED
  111. java.lang.AssertionError at CAServiceImplTest.java:47
  112.  
  113. ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImplTest STANDARD_OUT
  114. 2015-12-16 08:38:27,558 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :256 - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
  115. 2015-12-16 08:38:27,559 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :204 - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext]
  116. 2015-12-16 08:38:27,559 INFO [Test worker] org.springframework.test.context.support.DefaultTestContextBootstrapper :182 - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5eda4eca, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5b5f3fa9, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2833820f, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1dde7344]
  117.  
  118. ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImplTest > testDownloadFtpWithNameURL STANDARD_OUT
  119. 2015-12-16 08:38:27,579 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :148 - Downloading ftp://vipservice@ftp.opencode.su/pubservice/intcrlinfo/6743-kid8F75FAD96CCAE66BA70B02031B95E7C5A8FC1C02/revokedCerts.crl
  120. 2015-12-16 08:38:27,765 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :161 - Downloaded 1657 bytes from ftp://vipservice@ftp.opencode.su/pubservice/intcrlinfo/6743-kid8F75FAD96CCAE66BA70B02031B95E7C5A8FC1C02/revokedCerts.crl
  121.  
  122. ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImplTest > testDownloadFtpURL STANDARD_OUT
  123. 2015-12-16 08:38:27,769 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :148 - Downloading ftp://ftp.fskn.gov.ru/uss_certs/CDP/6127-kid6B02F03FF648FE6A301777A7403A5870D0D1E92D/revokedCerts.crl
  124. 2015-12-16 08:38:27,974 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :161 - Downloaded 1095 bytes from ftp://ftp.fskn.gov.ru/uss_certs/CDP/6127-kid6B02F03FF648FE6A301777A7403A5870D0D1E92D/revokedCerts.crl
  125.  
  126. ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImplTest > testDownloadFtpWithWrongURL STANDARD_OUT
  127. 2015-12-16 08:38:27,977 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :148 - Downloading ftp://ftp.fskn.gov.ru/uss_certs/CDP/123123
  128. 2015-12-16 08:38:28,161 ERROR [Test worker] ru.lanit.crl :165 - Error downloading ftp://ftp.fskn.gov.ru/uss_certs/CDP/123123 : 550 Failed to open file.
  129. java.io.IOException: 550 Failed to open file.
  130. at ru.lanit.security.crypto.ocsp.certup.ftp.FTP.download(FTP.java:132)
  131. at ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl.downloadURL(CRLServiceImpl.java:154)
  132. at ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl$$FastClassBySpringCGLIB$$30b1cde7.invoke(<generated>)
  133. at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
  134. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649)
  135. at ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl$$EnhancerBySpringCGLIB$$e0e8e0b9.downloadURL(<generated>)
  136. at ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImplTest.testDownloadFtpWithWrongURL(CRLServiceImplTest.java:50)
  137. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  138. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  139. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  140. at java.lang.reflect.Method.invoke(Method.java:497)
  141. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  142. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  143. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  144. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  145. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  146. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  147. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  148. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  149. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:224)
  150. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  151. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  152. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  153. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  154. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  155. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  156. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  157. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  158. at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  159. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  160. at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
  161. at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
  162. at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
  163. at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
  164. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  165. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  166. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  167. at java.lang.reflect.Method.invoke(Method.java:497)
  168. at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
  169. at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
  170. at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
  171. at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
  172. at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
  173. at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
  174. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  175. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  176. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  177. at java.lang.reflect.Method.invoke(Method.java:497)
  178. at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
  179. at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
  180. at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
  181. at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
  182. at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
  183. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  184. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  185. at java.lang.Thread.run(Thread.java:745)
  186.  
  187. ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImplTest > testDownloadFtpWithPassURL STANDARD_OUT
  188. 2015-12-16 08:38:28,168 INFO [Test worker] ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl :148 - Downloading ftp://212.49.121.211/read_me!.txt
  189. 2015-12-16 08:38:28,404 ERROR [Test worker] ru.lanit.crl :165 - Error downloading ftp://212.49.121.211/read_me!.txt : 530 Please log in with USER and PASS first.
  190. java.io.IOException: 530 Please log in with USER and PASS first.
  191. at ru.lanit.security.crypto.ocsp.certup.ftp.FTP.download(FTP.java:132)
  192. at ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl.downloadURL(CRLServiceImpl.java:154)
  193. at ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl$$FastClassBySpringCGLIB$$30b1cde7.invoke(<generated>)
  194. at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
  195. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649)
  196. at ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImpl$$EnhancerBySpringCGLIB$$e0e8e0b9.downloadURL(<generated>)
  197. at ru.lanit.security.crypto.ocsp.certup.service.impl.CRLServiceImplTest.testDownloadFtpWithPassURL(CRLServiceImplTest.java:56)
  198. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  199. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  200. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  201. at java.lang.reflect.Method.invoke(Method.java:497)
  202. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  203. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  204. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  205. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  206. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  207. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  208. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  209. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  210. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:224)
  211. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  212. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  213. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  214. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  215. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  216. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  217. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  218. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  219. at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  220. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  221. at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
  222. at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
  223. at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
  224. at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
  225. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  226. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  227. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  228. at java.lang.reflect.Method.invoke(Method.java:497)
  229. at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
  230. at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
  231. at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
  232. at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
  233. at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
  234. at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
  235. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  236. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  237. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  238. at java.lang.reflect.Method.invoke(Method.java:497)
  239. at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
  240. at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
  241. at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
  242. at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
  243. at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
  244. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  245. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  246. at java.lang.Thread.run(Thread.java:745)
  247.  
  248. 7 tests completed, 1 failed
  249. :lanit-crypto-ocsp-certup:test FAILED
  250.  
  251. FAILURE: Build failed with an exception.
  252.  
  253. * What went wrong:
  254. Execution failed for task ':lanit-crypto-ocsp-certup:test'.
  255. > There were failing tests. See the report at: file:///opt/crypted/svn/signature/trunk/modules/ocsp-certup/build/reports/tests/index.html
  256.  
  257. * Try:
  258. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  259.  
  260. BUILD FAILED
  261.  
  262. Total time: 11.667 secs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement