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

[LONGEVITY BUG] When each peer is running on the only one CPU machine Then iroha throw the error "Failed to push into queue. Queue is full." #2963

Closed
AlexStroke opened this issue Nov 22, 2022 · 0 comments
Assignees
Labels
Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST LTS Pre-alpha defect The defect was found at the operating of the pre-alpha. Had an impact on users. QA-confirmed This bug is reproduced and needs a fix

Comments

@AlexStroke
Copy link
Contributor

AlexStroke commented Nov 22, 2022

OS and Environment

  • Ubuntu
  • Docker Hub
  • 1 CPU per one peer
  • s1.stg1.iroha2.iroha.tech

GIT commit hash

52dc18c

Minimum working example / Steps to reproduce

  1. Create a stand where each peer are running on the only one CPU machine, run longevity script and wait. (It is all running now on the longevity stands s1-s5: s1.stg1.iroha2.iroha.tech Just connect to them)
  2. Send any transaction to the peer http://s1.stg1.iroha2.iroha.tech:8080

Actual result

   0: Failed to create domain
   1: Failed to submit transaction SignedTransaction { payload: Payload { account_id: Id { name: "alice", domain_id: Id { name: "wonderland" } }, instructions: Instructions([Register(RegisterBox { object: EvaluatesTo { expression: Raw(Identifiable(NewDomain(NewDomain { id: Id { name: "ass" }, logo: None, metadata: Metadata { map: {} } }))), _value_type: PhantomData } })]), creation_time: 1669117903206, time_to_live_ms: 100000, nonce: None, metadata: {} }, signatures: {iroha_crypto::signature::SignatureOf<iroha_data_model::transaction::Payload>({ pub_key: ed01207233bfc89dcbd68c19fde6ce6158225298ec1131b6a130d1aeb454c1ab5183c0, payload: DB8116524206673896EEADFECC84C3A664E31F525612ACF6D2D7D4FD7EED4B5662248073935374C8F12A76233EA287F47DCF90B4EF9548A28E4A7D1CAB190A0A })} }
   2: Unexpected transaction response; status: 500 Internal Server Error; response body: Error:
          0: Failed to push into queue    1: Queue is full

Expected result

Successful transaction

Logs in JSON format

Log contents
2022-11-22T13:41:26.200040Z  WARN request{method=POST path=/transaction version=HTTP/1.1 remote.addr=139.178.89.153:56486}: iroha::torii::routing: Failed to push into queue error=Queue is full
2022-11-22T13:41:26.200119Z  INFO request{method=POST path=/transaction version=HTTP/1.1 remote.addr=139.178.89.153:56486}: warp::filters::trace: finished processing with success status=500
2022-11-22T13:41:26.200300Z ERROR iroha::torii::routing: Failure during subscription error=Stream error: Iroha version error: Parity SCALE (de)serialization issue
2022-11-22T13:41:34.402620Z  INFO request{method=GET path=/status version=HTTP/1.1 remote.addr=127.0.0.1:56724}: warp::filters::trace: processing request
2022-11-22T13:41:34.402642Z  INFO request{method=GET path=/status version=HTTP/1.1 remote.addr=127.0.0.1:56724}: warp::filters::trace: finished processing with success status=200
2022-11-22T13:42:26.700250Z  INFO request{method=GET path=/events version=HTTP/1.1 remote.addr=139.178.89.153:56490}: warp::filters::trace: processing request
2022-11-22T13:42:26.700250Z  INFO request{method=POST path=/transaction version=HTTP/1.1 remote.addr=139.178.89.153:56488}: warp::filters::trace: processing request
2022-11-22T13:42:26.700454Z  INFO request{method=GET path=/events version=HTTP/1.1 remote.addr=139.178.89.153:56490}: warp::filters::trace: finished processing with success status=101
2022-11-22T13:42:26.700940Z  WARN request{method=POST path=/transaction version=HTTP/1.1 remote.addr=139.178.89.153:56488}: iroha::torii::routing: Failed to push into queue error=Queue is full
2022-11-22T13:42:26.701018Z  INFO request{method=POST path=/transaction version=HTTP/1.1 remote.addr=139.178.89.153:56488}: warp::filters::trace: finished processing with success status=500
2022-11-22T13:42:26.701070Z ERROR iroha::torii::routing: Failure during subscription error=Stream error: Iroha version error: Parity SCALE (de)serialization issue

Who can help to reproduce?

@astrokov7

Notes

No response

@AlexStroke AlexStroke added Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST LTS labels Nov 22, 2022
@AlexStroke AlexStroke changed the title [LONGEVITY BUG] When each peer are running on the only one CPU machine Then iroha throw the error "Failed to push into queue. Queue is full." [LONGEVITY BUG] When each peer is running on the only one CPU machine Then iroha throw the error "Failed to push into queue. Queue is full." Nov 22, 2022
@AlexStroke AlexStroke added Pre-alpha defect The defect was found at the operating of the pre-alpha. Had an impact on users. QA-confirmed This bug is reproduced and needs a fix labels Nov 28, 2022
@Erigara Erigara assigned Erigara and unassigned Erigara Dec 20, 2022
Erigara added a commit to Erigara/iroha that referenced this issue Dec 22, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 22, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
appetrosyan pushed a commit to Erigara/iroha that referenced this issue Dec 23, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
appetrosyan pushed a commit to Erigara/iroha that referenced this issue Dec 23, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 26, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 26, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 26, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 26, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 26, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 27, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 27, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 27, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 27, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 28, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 28, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 28, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Dec 28, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit that referenced this issue Dec 29, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit that referenced this issue Dec 29, 2022
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
@Erigara Erigara closed this as completed Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST LTS Pre-alpha defect The defect was found at the operating of the pre-alpha. Had an impact on users. QA-confirmed This bug is reproduced and needs a fix
Projects
None yet
Development

No branches or pull requests

2 participants