Guest User

Untitled

a guest
Dec 21st, 2017
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.51 KB | None | 0 0
  1. iroha@a51a80f13eae:/opt/iroha$ valgrind --leak-check=full ./build/test_bin/tx_pipeline_integration_test
  2. ==9828== Memcheck, a memory error detector
  3. ==9828== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  4. ==9828== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
  5. ==9828== Command: ./build/test_bin/tx_pipeline_integration_test
  6. ==9828==
  7. Running main() from gtest_main.cc
  8. [==========] Running 1 test from 1 test case.
  9. [----------] Global test environment set-up.
  10. [----------] 1 test from TxPipelineIntegrationTest
  11. [ RUN ] TxPipelineIntegrationTest.TxPipelineTest
  12. [16:01:17][th: 9828][info] [AmetsuchiTest] << host=iroha501_postgres_1, port=5432, user=iroha, password=helloworld
  13. [16:01:18][th: 9828][info] [IROHAD] << created
  14. [16:01:18][th: 9828][info] [StorageImpl:initConnection] << Start storage creation
  15. [16:01:18][th: 9828][info] [StorageImpl:initConnection] << block store created
  16. [16:01:18][th: 9828][info] [StorageImpl:initConnection] << connection to Redis completed
  17. [16:01:18][th: 9828][info] [StorageImpl:initConnection] << connection to PostgreSQL completed
  18. [16:01:18][th: 9828][info] [StorageImpl:initConnection] << transaction to PostgreSQL initialized
  19. [16:01:18][th: 9828][info] [IROHAD] << [Init] => storage
  20. [16:01:20][th: 9828][info] [IROHAD] << [Init] => converters
  21. [16:01:20][th: 9828][info] [IROHAD] << [Init] => peer query
  22. [16:01:20][th: 9828][info] [IROHAD] << [Init] => crypto provider
  23. [16:01:20][th: 9828][info] [IROHAD] << [Init] => validators
  24. [16:01:21][th: 9828][info] [OrderingGate] << Subscribe
  25. [16:01:21][th: 9828][info] [IROHAD] << [Init] => init ordering gate - [true]
  26. [16:01:21][th: 9828][info] [IROHAD] << [Init] => init simulator
  27. [16:01:21][th: 9828][info] [IROHAD] << [Init] => block loader
  28. [16:01:21][th: 9828][info] [IROHAD] << [Init] => consensus gate
  29. [16:01:21][th: 9828][info] [IROHAD] << [Init] => synchronizer
  30. [16:01:21][th: 9828][info] [IROHAD] << [Init] => pcs
  31. [16:01:22][th: 9828][info] [IROHAD] << [Init] => command service
  32. [16:01:22][th: 9828][info] [IROHAD] << [Init] => query service
  33. [16:01:22][th: 9828][info] [IROHAD] << ===> iroha initialized
  34. [16:01:22][th: 9828][info] [TxProcessor] << handle transaction
  35. [16:01:23][th: 9828][info] [SLV] << transaction validated
  36. [16:01:23][th: 9828][info] [PCS] << propagate tx
  37. [16:01:23][th: 9828][info] [OrderingGate] << propagate tx, tx_counter: 1 account_id: admin@test
  38. [16:01:23][th: 9828][info] [OrderingGate] << Propagate tx (on transport)
  39. [16:01:23][th: 9828][info] [TxProcessor] << stateless validation status: true
  40. [16:01:26][th: 9839][info] [OrderingGate] << receive proposal
  41. [16:01:26][th: 9839][info] [OrderingGate] << transactions in proposal: 1
  42. [16:01:26][th: 9839][info] [OrderingGate] << Received new proposal
  43. [16:01:26][th: 9839][info] [Simulator] << process proposal
  44. [16:01:26][th: 9839][info] [SFV] << transactions in proposal: 1
  45. [16:01:26][th: 9839][info] [PostgresWsvQuery] << Account admin@test does not have asset coin#test
  46. [16:01:26][th: 9839][info] [AddAssetQuantityExecutor] << create wallet coin#test for admin@test
  47. [16:01:26][th: 9839][info] [SFV] << transactions in verified proposal: 1
  48. [16:01:26][th: 9839][info] [Simulator] << process verified proposal
  49. [16:01:26][th: 9839][info] [YacGate] << vote for block (9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c, 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c)
  50. [16:01:26][th: 9839][info] [YAC] << Order for voting: {0.0.0.0:10001}
  51. [16:01:26][th: 9839][info] [YAC] << Vote for hash (9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c, 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c)
  52. [16:01:26][th: 9839][info] [YacNetwork] << Send vote 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c to 0.0.0.0:10001
  53. [16:01:27][th: 9839][info] [IROHAD] << ~~~~~~~~~| PROPOSAL ^_^ |~~~~~~~~~
  54. [16:01:27][th: 9841][info] [YacNetwork] << Receive vote 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c from ipv4:127.0.0.1:53598
  55. [16:01:27][th: 9841][info] [YAC] << Apply vote: 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c from ledger peer 0.0.0.0:10001
  56. [16:01:27][th: 9841][info] [ProposalStorage] << Vote [9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c, 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c] looks valid
  57. [16:01:27][th: 9841][info] [YacBlockStorage] << Vote (9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c, 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c) inserted
  58. [16:01:27][th: 9841][info] [YacBlockStorage] << Votes in storage [1/1]
  59. [16:01:27][th: 9841][info] [YAC] << Propagate commit 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c to whole network
  60. [16:01:27][th: 9839][info] [YacNetwork] << Receive commit[size=1] from ipv4:127.0.0.1:53598
  61. [16:01:27][th: 9841][info] [YacNetwork] << Send votes bundle[size=1] commit to 0.0.0.0:10001
  62. [16:01:27][th: 9839][info] [YacGate] << consensus: commit top block: height 2, hash 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c
  63. [16:01:27][th: 9839][info] [synchronizer] << processing commit
  64. [16:01:37][th: 9839][info] [ChainValidator] << validate block: height 2, hash 9f2d2e046b0b49fa1fdfb25b9e228829d33b764808b42c838c0c080e121fb64c
  65. [16:01:37][th: 9839][info] [PostgresWsvQuery] << Account admin@test does not have asset coin#test
  66. [16:01:37][th: 9839][info] [AddAssetQuantityExecutor] << create wallet coin#test for admin@test
  67. [16:01:37][th: 9839][info] [IROHAD] << ~~~~~~~~~| COMMIT =^._.^= |~~~~~~~~~
  68. [ OK ] TxPipelineIntegrationTest.TxPipelineTest (20233 ms)
  69. [----------] 1 test from TxPipelineIntegrationTest (20243 ms total)
  70.  
  71. [----------] Global test environment tear-down
  72. [==========] 1 test from 1 test case ran. (20289 ms total)
  73. [ PASSED ] 1 test.
  74. ==9828==
  75. ==9828== HEAP SUMMARY:
  76. ==9828== in use at exit: 93,940 bytes in 332 blocks
  77. ==9828== total heap usage: 20,476 allocs, 20,144 frees, 10,115,776 bytes allocated
  78. ==9828==
  79. ==9828== 1,704 (128 direct, 1,576 indirect) bytes in 1 blocks are definitely lost in loss record 74 of 77
  80. ==9828== at 0x4C2E216: operator new(unsigned long) (vg_replace_malloc.c:334)
  81. ==9828== by 0x47DB23: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<rxcpp::detail::composite_subscription_inner::composite_subscription_state, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (new_allocator.h:104)
  82. ==9828== by 0x47AF4C: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<rxcpp::detail::composite_subscription_inner::composite_subscription_state, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<rxcpp::detail::composite_subscription_inner::composite_subscription_state, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (alloc_traits.h:491)
  83. ==9828== by 0x47690B: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<rxcpp::detail::composite_subscription_inner::composite_subscription_state, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<rxcpp::detail::composite_subscription_inner::composite_subscription_state, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<rxcpp::detail::composite_subscription_inner::composite_subscription_state, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>, (__gnu_cxx::_Lock_policy)2> >&) (allocated_ptr.h:102)
  84. ==9828== by 0x46F8E0: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<rxcpp::detail::composite_subscription_inner::composite_subscription_state, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>>(std::_Sp_make_shared_tag, rxcpp::detail::composite_subscription_inner::composite_subscription_state*, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state> const&) (shared_ptr_base.h:615)
  85. ==9828== by 0x46A127: std::__shared_ptr<rxcpp::detail::composite_subscription_inner::composite_subscription_state, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>>(std::_Sp_make_shared_tag, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state> const&) (shared_ptr_base.h:1097)
  86. ==9828== by 0x462505: std::shared_ptr<rxcpp::detail::composite_subscription_inner::composite_subscription_state>::shared_ptr<std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>>(std::_Sp_make_shared_tag, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state> const&) (shared_ptr.h:319)
  87. ==9828== by 0x457875: std::shared_ptr<rxcpp::detail::composite_subscription_inner::composite_subscription_state> std::allocate_shared<rxcpp::detail::composite_subscription_inner::composite_subscription_state, std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state>>(std::allocator<rxcpp::detail::composite_subscription_inner::composite_subscription_state> const&) (shared_ptr.h:620)
  88. ==9828== by 0x44F9E6: std::shared_ptr<rxcpp::detail::composite_subscription_inner::composite_subscription_state> std::make_shared<rxcpp::detail::composite_subscription_inner::composite_subscription_state>() (shared_ptr.h:636)
  89. ==9828== by 0x445A76: rxcpp::detail::composite_subscription_inner::composite_subscription_inner() (rx-subscription.hpp:296)
  90. ==9828== by 0x445DDB: rxcpp::composite_subscription::composite_subscription() (rx-subscription.hpp:382)
  91. ==9828== by 0x509417: rxcpp::subjects::subject<iroha::consensus::yac::CommitMessage>::subject() (rx-subject.hpp:245)
  92. ==9828==
  93. ==9828== LEAK SUMMARY:
  94. ==9828== definitely lost: 128 bytes in 1 blocks
  95. ==9828== indirectly lost: 1,576 bytes in 20 blocks
  96. ==9828== possibly lost: 0 bytes in 0 blocks
  97. ==9828== still reachable: 92,236 bytes in 311 blocks
  98. ==9828== suppressed: 0 bytes in 0 blocks
  99. ==9828== Reachable blocks (those to which a pointer was found) are not shown.
  100. ==9828== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  101. ==9828==
  102. ==9828== For counts of detected and suppressed errors, rerun with: -v
  103. ==9828== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Add Comment
Please, Sign In to add comment