Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simpleTest does not work as described in the documentation #1852

Closed
siosw opened this issue Aug 25, 2021 · 2 comments
Closed

simpleTest does not work as described in the documentation #1852

siosw opened this issue Aug 25, 2021 · 2 comments

Comments

@siosw
Copy link

siosw commented Aug 25, 2021

Describe the bug
simpleTest does not work as described in the documentation

To Reproduce

  • build current master branch using docker
  • running ./build/bftengine/tests/simpleTest/scripts/testReplicasAndClient.sh, as described in the docs, does not work since the path doesnt exist
  • the closest I've gotten is connecting to my docker container using this
docker run --user `id -u`:`id -g` -it --init --rm --privileged=true --memory-swap -1 --cap-add NET_ADMIN --cap-add=SYS_PTRACE --ulimit core=-1 --name="concord-bft" --workdir=/concord-bft --mount type=bind,source=/my/local/path/concord-bft,target=/concord-bft,consistency=cached  concordbft/concord-bft:0.29
  • and then run ./build/tests/simpleTest/scripts/testReplicasAndClient.sh which produces the error added below. I think this is a docker related networking issue since localhost doesn't work as expected.
  • I tried specifying the internal address of the docker container in the following config file without success
replicas_config: 
	- 172.17.0.2/16:3410
	- 172.17.0.2/16:3420
	- 172.17.0.2/16:3430
	- 172.17.0.2/16:3440

clients_config: 172.17.0.2/16:4444

Expected behavior
I expect to be able to run simpleTest as described in the documentation

Screenshots
not applicable

error dump

Generating new keys...
2021-08-25T22:09:47,011Z|INFO ||simpletest.client||||client.cpp:155|int main(int, char **)|SimpleClientParams: clientInitialRetryTimeoutMilli: 150, clientMinRetryTimeoutMilli: 50, clientMaxRetryTimeoutMilli: 1000, clientSendsRequestToAllReplicasFirstThresh: 2, clientSendsRequestToAllReplicasPeriodThresh: 2, clientPeriodicResetThresh: 30
2021-08-25T22:09:47,011Z|INFO ||simpletest.client||||simple_test_client.hpp:71|bool SimpleTestClient::run()|ClientParams: clientId: 4, numOfReplicas: 4, numOfClients: 1, numOfIterations: 4600, fVal: 1, cVal: 0
2021-08-25T22:09:47,011Z|INFO ||communication.factory||||CommFactory.cpp:49|static bft::communication::ICommunication *bft::communication::CommFactory::create(const bft::communication::BaseCommConfig &)|Using TlsTCP: Host=0.0.0.0, Port=3718
2021-08-25T22:09:47,012Z|INFO ||concord-bft.tls.runner||||TlsRunner.cpp:32|void bft::communication::tls::Runner::start()|Starting TLS Runner
2021-08-25T22:09:47,012Z|INFO ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:43|void bft::communication::tls::ConnectionManager::start()|Starting connection manager for 4
2021-08-25T22:09:47,012Z|INFO ||simpletest.client||||simple_test_client.hpp:97|bool SimpleTestClient::run()|Starting 4600
2021-08-25T22:09:47,012Z|INFO ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:295|auto bft::communication::tls::ConnectionManager::resolve(bft::communication::NodeNum)::(anonymous class)::operator()(const auto &, auto) const|Resolved node 0: 127.0.0.1:3710 to 127.0.0.1:3710
2021-08-25T22:09:47,013Z|INFO ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:295|auto bft::communication::tls::ConnectionManager::resolve(bft::communication::NodeNum)::(anonymous class)::operator()(const auto &, auto) const|Resolved node 1: 127.0.0.1:3712 to 127.0.0.1:3712
2021-08-25T22:09:47,013Z|INFO ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:295|auto bft::communication::tls::ConnectionManager::resolve(bft::communication::NodeNum)::(anonymous class)::operator()(const auto &, auto) const|Resolved node 2: 127.0.0.1:3714 to 127.0.0.1:3714
2021-08-25T22:09:47,013Z|INFO ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:295|auto bft::communication::tls::ConnectionManager::resolve(bft::communication::NodeNum)::(anonymous class)::operator()(const auto &, auto) const|Resolved node 3: 127.0.0.1:3716 to 127.0.0.1:3716
2021-08-25T22:09:47,013Z|WARN ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:309|auto bft::communication::tls::ConnectionManager::connect(bft::communication::NodeNum, const asio::ip::tcp::endpoint &)::(anonymous class)::operator()(const auto &) const|Failed to connect to node 0: 127.0.0.1:3710 : Connection refused
2021-08-25T22:09:47,014Z|WARN ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:309|auto bft::communication::tls::ConnectionManager::connect(bft::communication::NodeNum, const asio::ip::tcp::endpoint &)::(anonymous class)::operator()(const auto &) const|Failed to connect to node 1: 127.0.0.1:3712 : Connection refused
2021-08-25T22:09:47,014Z|WARN ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:309|auto bft::communication::tls::ConnectionManager::connect(bft::communication::NodeNum, const asio::ip::tcp::endpoint &)::(anonymous class)::operator()(const auto &) const|Failed to connect to node 2: 127.0.0.1:3714 : Connection refused
2021-08-25T22:09:47,015Z|WARN ||concord-bft.tls.connMgr||||TlsConnectionManager.cpp:309|auto bft::communication::tls::ConnectionManager::connect(bft::communication::NodeNum, const asio::ip::tcp::endpoint &)::(anonymous class)::operator()(const auto &) const|Failed to connect to node 3: 127.0.0.1:3716 : Connection refused
2021-08-25T22:09:47,015Z|WARN ||concord.bft.client||||SimpleClientImp.cpp:145|bool bftEngine::impl::SimpleClientImp::isSystemReady() const|The system is not ready: connectedReplicasNum=0 numberOfRequiredReplicas=3
2021-08-25T22:09:47,015Z|WARN ||concord.bft.client||||SimpleClientImp.cpp:336|virtual bftEngine::OperationResult bftEngine::impl::SimpleClientImp::sendRequest(uint8_t, const char *, uint32_t, uint64_t, uint64_t, uint32_t, char *, uint32_t &, const std::string &, const std::string &)|The system is not ready yet to handle requests => reject reqSeqNum: 6836419347661979648, clientId_: 4, cid: , reqTimeoutMilli: 18446744073709551615
2021-08-25T22:09:47,016Z|FATAL||simpletest.client||||simple_test_client.hpp:184|bool SimpleTestClient::run()|assert fail with message: actualReplyLength != 8
2021-08-25T22:09:47,016Z|FATAL||concord.bft||||simple_test_client.hpp:184|bool SimpleTestClient::run()| Assert: expression 'false' is false in function run (/concord-bft/tests/simpleTest/simple_test_client.hpp 184)
2021-08-25T22:09:47,021Z|FATAL||concord.bft||||assertUtils.hpp:63|void printCallStack()|
 [bt] SimpleTestClient::run()+0x1040

terminate called without an active exception
Academic tradition requires you to cite works you base your article on.
When using programs that use GNU Parallel to process data for publication
please cite:

  O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
  ;login: The USENIX Magazine, February 2011:42-47.

This helps funding further development; AND IT WON'T COST YOU A CENT.
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.

To silence this citation notice: run 'parallel --citation'.

2021-08-25T22:09:47,285Z|INFO ||simpletest.replica||||replica.cpp:195|int main(int, char **)|ReplicaParams: replicaId: 0, numOfReplicas: 4, numOfClients: 1, vcEnabled: 0, vcTimeout: 60000, statusReportTimerMillisec: 10000, behavior: 0, persistencyMode: 0
2021-08-25T22:09:47,291Z|INFO ||communication.factory||||CommFactory.cpp:49|static bft::communication::ICommunication *bft::communication::CommFactory::create(const bft::communication::BaseCommConfig &)|Using TlsTCP: Host=0.0.0.0, Port=3710
2021-08-25T22:09:47,292Z|INFO ||concord.bft.st.src||||BCStateTran.cpp:277|bftEngine::bcst::impl::BCStateTran::BCStateTran(const bftEngine::bcst::Config &, bftEngine::bcst::IAppState *const, bftEngine::bcst::impl::DataStore *)|Creating BCStateTran object:  c.myReplicaId: 0, c.fVal: 1, c.cVal: 0, c.numReplicas: 4, c.numRoReplicas: 0, c.pedanticChecks: True, c.isReadOnly: False, c.maxChunkSize: 128, c.maxNumberOfChunksInBatch: 256, c.maxBlockSize: 1024, c.maxPendingDataFromSourceReplica: 268435456, c.maxNumOfReservedPages: 2048, c.sizeOfReservedPage: 4096, c.refreshTimerMs: 300, c.checkpointSummariesRetransmissionTimeoutMs: 2500, c.maxAcceptableMsgDelayMs: 60000, c.sourceReplicaReplacementTimeoutMs: 0, c.fetchRetransmissionTimeoutMs: 2000, c.maxFetchRetransmissions: 2, c.metricsDumpIntervalSec: 5, c.runInSeparateThread: True, c.enableReservedPages: True, c.enableSourceBlocksPreFetch: True, c.gettingMissingBlocksSummaryWindowSize: 600
2021-08-25T22:09:47,393Z|INFO ||concord.bft||||ReplicaBase.cpp:36|bftEngine::impl::ReplicaBase::ReplicaBase(const bftEngine::ReplicaConfig &, std::shared_ptr<IRequestsHandler>, std::shared_ptr<MsgsCommunicator>, std::shared_ptr<MsgHandlersRegistrator>, concordUtil::Timers &)|
2021-08-25T22:09:47,393Z|INFO ||concord.bft||||ReplicaForStateTransfer.cpp:41|bftEngine::impl::ReplicaForStateTransfer::ReplicaForStateTransfer(const bftEngine::ReplicaConfig &, std::shared_ptr<IRequestsHandler>, bftEngine::IStateTransfer *, std::shared_ptr<MsgsCommunicator>, std::shared_ptr<MsgHandlersRegistrator>, bool, concordUtil::Timers &)|
2021-08-25T22:09:47,393Z|INFO ||concord.bft.st.src||||BCStateTran.cpp:328|virtual void bftEngine::bcst::impl::BCStateTran::init(uint64_t, uint32_t, uint32_t)|Init BCStateTran object: maxNumOfStoredCheckpoints_: 3, numberOfReservedPages_: 25, config_.sizeOfReservedPage: 4096
2021-08-25T22:09:47,393Z|INFO ||concord.bft.st.src||||BCStateTran.cpp:345|virtual void bftEngine::bcst::impl::BCStateTran::init(uint64_t, uint32_t, uint32_t)|Initializing a new object
2021-08-25T22:09:47,393Z|INFO ||concord.bft.st.src||||BCStateTran.cpp:377|virtual void bftEngine::bcst::impl::BCStateTran::startRunning(bftEngine::IReplicaForStateTransfer *)|
2021-08-25T22:09:47,393Z|INFO ||concord.bft||||ReplicaForStateTransfer.cpp:116|virtual void bftEngine::impl::ReplicaForStateTransfer::changeStateTransferTimerPeriod(uint32_t)|Changing stateTranTimer_ timeout to  timerPeriodMilli: 300
2021-08-25T22:09:47,393Z|INFO ||concord.bft||||ReplicaImp.cpp:3793|bftEngine::impl::ReplicaImp::ReplicaImp(bool, const bftEngine::ReplicaConfig &, shared_ptr<bftEngine::IRequestsHandler>, bftEngine::IStateTransfer *, bftEngine::impl::SigManager *, bftEngine::impl::ReplicasInfo *, bftEngine::impl::ViewsManager *, shared_ptr<bftEngine::impl::MsgsCommunicator>, shared_ptr<bftEngine::impl::MsgHandlersRegistrator>, concordUtil::Timers &, shared_ptr<concord::performance::PerformanceManager>, shared_ptr<concord::secretsmanager::ISecretsManagerImpl>)|
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||ReplicasInfo.cpp:64|auto bftEngine::impl::ReplicasInfo::ReplicasInfo(const bftEngine::ReplicaConfig &, bool, bool)::(anonymous class)::operator()() const|Principal ids in _idsOfPeerReplicas: 0 to 3
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||ReplicasInfo.cpp:87|auto bftEngine::impl::ReplicasInfo::ReplicasInfo(const bftEngine::ReplicaConfig &, bool, bool)::(anonymous class)::operator()() const|Principal ids in _idsOfClientProxies: 4 to 4
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||ReplicasInfo.cpp:110|auto bftEngine::impl::ReplicasInfo::ReplicasInfo(const bftEngine::ReplicaConfig &, bool, bool)::(anonymous class)::operator()() const|Principal ids in _idsOfInternalClients: 5 to 8
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||SigManager.cpp:51|static bftEngine::impl::SigManager *bftEngine::impl::SigManager::initImpl(bftEngine::impl::ReplicaId, const bftEngine::impl::SigManager::Key &, const std::set<std::pair<PrincipalId, const std::string> > &, concord::util::crypto::KeyFormat, const std::set<std::pair<const std::string, std::set<uint16_t> > > *, concord::util::crypto::KeyFormat, bftEngine::impl::ReplicasInfo &)|Compute publicKeysMapping and publickeys:  myId: 0, numReplicas: 4, numRoReplicas: 0, numOfClientProxies: 1, numOfExternalClients: 0, publicKeysOfReplicas.size(): 4
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||SigManager.cpp:82|static bftEngine::impl::SigManager *bftEngine::impl::SigManager::initImpl(bftEngine::impl::ReplicaId, const bftEngine::impl::SigManager::Key &, const std::set<std::pair<PrincipalId, const std::string> > &, concord::util::crypto::KeyFormat, const std::set<std::pair<const std::string, std::set<uint16_t> > > *, concord::util::crypto::KeyFormat, bftEngine::impl::ReplicasInfo &)|Done Compute Start ctor for SigManager with  publickeys.size(): 4, publicKeysMapping.size(): 4
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||SigManager.cpp:168|bftEngine::impl::SigManager::SigManager(bftEngine::impl::PrincipalId, uint16_t, const pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> &, const vector<pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> > &, const map<bftEngine::impl::PrincipalId, bftEngine::impl::SigManager::KeyIndex> &, bool, bftEngine::impl::ReplicasInfo &)|Key index 0 is used by 1 principal IDs from 0 to 0
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||SigManager.cpp:168|bftEngine::impl::SigManager::SigManager(bftEngine::impl::PrincipalId, uint16_t, const pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> &, const vector<pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> > &, const map<bftEngine::impl::PrincipalId, bftEngine::impl::SigManager::KeyIndex> &, bool, bftEngine::impl::ReplicasInfo &)|Key index 1 is used by 1 principal IDs from 1 to 1
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||SigManager.cpp:168|bftEngine::impl::SigManager::SigManager(bftEngine::impl::PrincipalId, uint16_t, const pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> &, const vector<pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> > &, const map<bftEngine::impl::PrincipalId, bftEngine::impl::SigManager::KeyIndex> &, bool, bftEngine::impl::ReplicasInfo &)|Key index 2 is used by 1 principal IDs from 2 to 2
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||SigManager.cpp:168|bftEngine::impl::SigManager::SigManager(bftEngine::impl::PrincipalId, uint16_t, const pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> &, const vector<pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> > &, const map<bftEngine::impl::PrincipalId, bftEngine::impl::SigManager::KeyIndex> &, bool, bftEngine::impl::ReplicasInfo &)|Key index 3 is used by 1 principal IDs from 3 to 3
2021-08-25T22:09:47,394Z|INFO ||concord.bft||||SigManager.cpp:174|bftEngine::impl::SigManager::SigManager(bftEngine::impl::PrincipalId, uint16_t, const pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> &, const vector<pair<bftEngine::impl::SigManager::Key, concord::util::crypto::KeyFormat> > &, const map<bftEngine::impl::PrincipalId, bftEngine::impl::SigManager::KeyIndex> &, bool, bftEngine::impl::ReplicasInfo &)|Signature Manager initialized with own private key, 4 verifiers and 4 other principals
2021-08-25T22:09:47,394Z|INFO ||concord.bft.client-manager||||ClientsManager.cpp:56|bftEngine::impl::ClientsManager::ClientsManager(const std::set<NodeIdType> &, const std::set<NodeIdType> &, const std::set<NodeIdType> &, concordMetrics::Component &)|proxy clients: 4 external clients: internal clients: 5 6 7 8  sizeOfReservedPage(): 4096, reservedPagesPerClient_: 3, maxReplySize_: 8192, maxNumOfReqsPerClient_: 1
2021-08-25T22:09:47,399Z|INFO ||concord.bft||||ControllerWithSimpleHistory.cpp:59|void bftEngine::impl::ControllerWithSimpleHistory::onBecomePrimary(bftEngine::impl::ViewNum, bftEngine::impl::SeqNum)|Becoming primary, setting timer for slow path to [150]
2021-08-25T22:09:47,399Z|INFO ||concord.bft.key-exchange||||KeyStore.h:44|bftEngine::impl::ClusterKeyStore::ClusterKeyStore(uint32_t)|size: 4
static uint32_t bftEngine::ResPagesClient<bftEngine::impl::ClusterKeyStore, 0>::calc_my_offset() [T = bftEngine::impl::ClusterKeyStore, NumPages = 0] offset: 18
2021-08-25T22:09:47,399Z|INFO ||concord.bft.key-exchange||||KeyStore.cpp:33|std::optional<ClusterKeyStore::PublicKeys> bftEngine::impl::ClusterKeyStore::loadReplicaKeyStoreFromReserevedPages(const uint16_t &)|Failed to load reserved page for replica 0, first start?
2021-08-25T22:09:47,399Z|INFO ||concord.bft.key-exchange||||KeyStore.cpp:33|std::optional<ClusterKeyStore::PublicKeys> bftEngine::impl::ClusterKeyStore::loadReplicaKeyStoreFromReserevedPages(const uint16_t &)|Failed to load reserved page for replica 1, first start?
2021-08-25T22:09:47,399Z|INFO ||concord.bft.key-exchange||||KeyStore.cpp:33|std::optional<ClusterKeyStore::PublicKeys> bftEngine::impl::ClusterKeyStore::loadReplicaKeyStoreFromReserevedPages(const uint16_t &)|Failed to load reserved page for replica 2, first start?
2021-08-25T22:09:47,399Z|INFO ||concord.bft.key-exchange||||KeyStore.cpp:33|std::optional<ClusterKeyStore::PublicKeys> bftEngine::impl::ClusterKeyStore::loadReplicaKeyStoreFromReserevedPages(const uint16_t &)|Failed to load reserved page for replica 3, first start?
2021-08-25T22:09:47,399Z|INFO ||concord.bft.key-exchange||||KeyStore.h:79|void bftEngine::impl::ClusterKeyStore::log() const|Cluster Public Keys (size 4):
2021-08-25T22:09:47,399Z|INFO ||concord.bft.key-exchange||||KeyExchangeManager.cpp:238|bool bftEngine::impl::KeyExchangeManager::PrivateKeys::load()|
2021-08-25T22:09:47,401Z|ERROR||secrets-manager-plain||||secrets_manager_plain.cpp:37|virtual std::optional<std::string> concord::secretsmanager::SecretsManagerPlain::decryptFile(std::string_view)|Error opening file for reading    ./gen-sec.0: Error opening file ./gen-sec.0
2021-08-25T22:09:47,401Z|WARN ||concord.bft.key-exchange||||KeyExchangeManager.cpp:241|bool bftEngine::impl::KeyExchangeManager::PrivateKeys::load()|Got empty string from loader. This is expected on first startup with an empty database
static uint32_t bftEngine::ResPagesClient<bftEngine::impl::ClientKeyStore, 1>::calc_my_offset() [T = bftEngine::impl::ClientKeyStore, NumPages = 1] offset: 2
2021-08-25T22:09:47,401Z|WARN ||concord.bft.key-exchange||||KeyStore.h:120|void bftEngine::impl::ClientKeyStore::checkAndSetState()|Clients keys are empty, set publish flag to false
2021-08-25T22:09:47,401Z|INFO ||concord.bft||||ReplicaImp.cpp:3883|bftEngine::impl::ReplicaImp::ReplicaImp(bool, const bftEngine::ReplicaConfig &, shared_ptr<bftEngine::IRequestsHandler>, bftEngine::IStateTransfer *, bftEngine::impl::SigManager *, bftEngine::impl::ReplicasInfo *, bftEngine::impl::ViewsManager *, shared_ptr<bftEngine::impl::MsgsCommunicator>, shared_ptr<bftEngine::impl::MsgHandlersRegistrator>, concordUtil::Timers &, shared_ptr<concord::performance::PerformanceManager>, shared_ptr<concord::secretsmanager::ISecretsManagerImpl>)|ReplicaConfig parameters:  rc.isReadOnly: False, rc.numReplicas: 4, rc.numRoReplicas: 0, rc.fVal: 1, rc.cVal: 0, rc.replicaId: 0, rc.numOfClientProxies: 1, rc.numOfExternalClients: 0, rc.statusReportTimerMillisec: 10000, rc.concurrencyLevel: 1, rc.numWorkerThreadsForBlockIO: 0, rc.viewChangeProtocolEnabled: False, rc.viewChangeTimerMillisec: 60000, rc.autoPrimaryRotationEnabled: False, rc.autoPrimaryRotationTimerMillisec: 0, rc.preExecutionFeatureEnabled: False, rc.preExecReqStatusCheckTimerMillisec: 5000, rc.preExecConcurrencyLevel: 0, rc.batchingPolicy: 0, rc.batchFlushPeriod: 1000, rc.maxNumOfRequestsInBatch: 100, rc.maxBatchSizeInBytes: 33554432, rc.maxInitialBatchSize: 350, rc.batchingFactorCoefficient: 4, rc.debugPersistentStorageEnabled: False, rc.maxExternalMessageSize: 131072, rc.maxReplyMessageSize: 8192, rc.maxNumOfReservedPages: 2048, rc.sizeOfReservedPage: 4096, rc.debugStatisticsEnabled: False, rc.metricsDumpIntervalSeconds: 600, rc.keyExchangeOnStart: False, rc.blockAccumulation: False, rc.clientBatchingEnabled: False, rc.clientBatchingMaxMsgsNbr: 10, rc.keyViewFilePath: ., rc.clientTransactionSigningEnabled: False, rc.adaptiveBatchingIncFactor: 0.1, rc.adaptiveBatchingMaxIncCond: 0.95, rc.adaptiveBatchingMidIncCond: 0.9, rc.adaptiveBatchingMinIncCond: 0.75, rc.adaptiveBatchingDecCond: 0.5, rc.sizeOfInternalThreadPool: 8, rc.timeServiceEnabled: False, rc.timeServiceSoftLimitMillis.count(): 500, rc.timeServiceHardLimitMillis.count(): 3000, rc.timeServiceEpsilonMillis.count(): 1, rc.batchedPreProcessEnabled: False, rc.ticksGeneratorPollPeriod.count(): 1, rc.preExecutionResultAuthEnabled: False, rc.prePrepareFinalizeAsyncEnabled: False, rc.threadbagConcurrency: 64
2021-08-25T22:09:47,401Z|INFO ||concord.bft||||ReplicaImp.cpp:3676|bftEngine::impl::ReplicaImp::ReplicaImp(const bftEngine::ReplicaConfig &, shared_ptr<bftEngine::IRequestsHandler>, bftEngine::IStateTransfer *, shared_ptr<bftEngine::impl::MsgsCommunicator>, shared_ptr<bftEngine::impl::PersistentStorage>, shared_ptr<bftEngine::impl::MsgHandlersRegistrator>, concordUtil::Timers &, shared_ptr<concord::performance::PerformanceManager>, shared_ptr<concord::secretsmanager::ISecretsManagerImpl>)|
2021-08-25T22:09:47,401Z|INFO ||concord.bft||||ReplicaImp.cpp:3685|bftEngine::impl::ReplicaImp::ReplicaImp(const bftEngine::ReplicaConfig &, shared_ptr<bftEngine::IRequestsHandler>, bftEngine::IStateTransfer *, shared_ptr<bftEngine::impl::MsgsCommunicator>, shared_ptr<bftEngine::impl::PersistentStorage>, shared_ptr<bftEngine::impl::MsgHandlersRegistrator>, concordUtil::Timers &, shared_ptr<concord::performance::PerformanceManager>, shared_ptr<concord::secretsmanager::ISecretsManagerImpl>)|Starting internal replica thread pool.  numThreads: 8
2021-08-25T22:09:47,402Z|INFO ||concord.bft||||ReplicaImp.cpp:3952|virtual void bftEngine::impl::ReplicaImp::start()|Running ReplicaImp
Segmentation fault
parallel: This job failed:
/concord-bft/build/tests/simpleTest/scripts/../server 0
Aborted (core dumped)
@saikatsinchansain
Copy link

I have also facing the same issue when trying the native build followed by running ./build/tests/simpleTest/scripts/testReplicasAndClient.sh!!!

@teoparvanov
Copy link
Contributor

Hi @saikatsinchansain, we have recently published a sample stand-alone application (K/V store) on top of Concord-BFT consensus here:
https://github.com/vmware/concord-bft/tree/master/examples

Running the stand-alone demo should be pretty straightforward by following the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants