Skip to content

feat: add monerod fallback strategy (#6764) #3181

feat: add monerod fallback strategy (#6764)

feat: add monerod fallback strategy (#6764) #3181

GitHub Actions / JUnit Test Report failed Feb 5, 2025 in 0s

40 tests run, 36 passed, 0 skipped, 4 failed.

Annotations

Check failure on line 1 in feature:33:3

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:33:3.Scenario: Simple reorg with burned output: tests/features/Reorgs.feature:33:3

Step panicked. Captured output: base node didn't synchronize successfully with height 17, current chain height 15
Raw output
Scenario: Simple reorg with burned output
     Given I have a seed node SEED_B
     When I have a base node B connected to seed SEED_B
     When I have wallet WB connected to base node B
     When I have mining node BM connected to base node B and wallet WB
     When mining node BM mines 10 blocks with min difficulty 1 and max difficulty 1
     When I wait for wallet WB to have at least 55000000000 uT
     When I create a burn transaction of 1000000 uT from WB at fee 100
     When mining node BM mines 5 blocks with min difficulty 1 and max difficulty 1
     Given I have a seed node SEED_C
     When I have a base node C connected to seed SEED_C
     When I have wallet WC connected to base node C
     When I have mining node CM connected to base node C and wallet WC
     When mining node CM mines 17 blocks with min difficulty 1 and max difficulty 1
     Then node B is at height 15
     Then node C is at height 17
     When I have a base node SA connected to nodes B,C
     Then node SA is at height 17
     Then node B is at height 17
      Step failed:
      Defined: tests/features/Reorgs.feature:59:5
      Matched: integration_tests/tests/steps/node_steps.rs:218:1
      Step panicked. Captured output: base node didn't synchronize successfully with height 17, current chain height 15
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "BM": MinerProcess {
                  name: "BM",
                  base_node_name: "B",
                  wallet_name: "WB",
                  mine_until_height: 100000,
                  stealth: false,
              },
              "CM": MinerProcess {
                  name: "CM",
                  base_node_name: "C",
                  wallet_name: "WC",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {},
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "WB": "B",
              "WC": "C",
          },
          seed_nodes: [
              "SEED_B",
              "SEED_C",
          ],
          wallet_tx_ids: {},
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check failure on line 1 in feature:9:3

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:9:3.Scenario: As a wallet send to a wallet connected to a different base node: tests/features/WalletTransfer.feature:9:3

Step panicked. Captured output: Wallet WALLET_B failed to have at least 5T, it ended with 0T
Raw output
Scenario: As a wallet send to a wallet connected to a different base node
     Given I have a seed node SEED_A
     When I have a seed node SEED_B
     When I have a base node NODE_A connected to all seed nodes
     When I have a base node NODE_B connected to all seed nodes
     When I have wallet WALLET_A with 10T connected to base node NODE_A
     When I have wallet WALLET_B connected to base node NODE_B
     When I wait 5 seconds
     When I transfer 5T from WALLET_A to WALLET_B
     When I mine 4 blocks on SEED_A
     Then wallet WALLET_A has 5T
     When I wait 5 seconds
     When wallet WALLET_B has 5T
      Step failed:
      Defined: tests/features/WalletTransfer.feature:21:5
      Matched: integration_tests/tests/steps/wallet_steps.rs:1537:1
      Step panicked. Captured output: Wallet WALLET_B failed to have at least 5T, it ended with 0T
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "temp_miner": MinerProcess {
                  name: "temp_miner",
                  base_node_name: "NODE_A",
                  wallet_name: "WALLET_A",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {},
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "WALLET_A": "NODE_A",
              "WALLET_B": "NODE_B",
          },
          seed_nodes: [
              "SEED_A",
              "SEED_B",
          ],
          wallet_tx_ids: {
              "H4NS26ZDy21UrgyWfCPQB58j4cvscsGZPgmifWKGDREg3pNHogoAziJCPZTgdVQPvzBwrCgV2zMkESdqeYqCdH6RX7m": [
                  4498583789487332052,
              ],
              "H43uqt2nA8SLdUBnSKYHFPbeeuS1zfwvNaggFGSbhFnAGULUJxjBqBcYV2VmRNxbPg6CQvVmUp7SpSCJ5jhfsjCNHtQ": [
                  4498583789487332052,
              ],
          },
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check failure on line 1 in feature:9:3

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:9:3.Scenario: As a wallet send to a wallet connected to a different base node: tests/features/WalletTransfer.feature:9:3

Step panicked. Captured output: Wallet WALLET_B failed to have at least 5T, it ended with 0T
Raw output
Scenario: As a wallet send to a wallet connected to a different base node | Retry attempt: 1/2
     Given I have a seed node SEED_A
     When I have a seed node SEED_B
     When I have a base node NODE_A connected to all seed nodes
     When I have a base node NODE_B connected to all seed nodes
     When I have wallet WALLET_A with 10T connected to base node NODE_A
     When I have wallet WALLET_B connected to base node NODE_B
     When I wait 5 seconds
     When I transfer 5T from WALLET_A to WALLET_B
     When I mine 4 blocks on SEED_A
     Then wallet WALLET_A has 5T
     When I wait 5 seconds
     When wallet WALLET_B has 5T
      Step failed:
      Defined: tests/features/WalletTransfer.feature:21:5
      Matched: integration_tests/tests/steps/wallet_steps.rs:1537:1
      Step panicked. Captured output: Wallet WALLET_B failed to have at least 5T, it ended with 0T
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "temp_miner": MinerProcess {
                  name: "temp_miner",
                  base_node_name: "NODE_A",
                  wallet_name: "WALLET_A",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {},
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "WALLET_A": "NODE_A",
              "WALLET_B": "NODE_B",
          },
          seed_nodes: [
              "SEED_A",
              "SEED_B",
          ],
          wallet_tx_ids: {
              "H4Lo6mVS2JN9Ppxaf1r3wYLSGKwpzNTaCTEWBRbh34r6pxMA6pBSqfJ9tVF6NKJ6MZkt67HcL4g7QXXfZCfLKgnVPVv": [
                  6050534077723505820,
              ],
              "H4LGAajXE5nLs2g11LX3GAxFVf526f2BswUq6WBv4h9QPaTYYrydP5ywWALHEgKdP8tijLvZL596HUTnSm492AoogeU": [
                  6050534077723505820,
              ],
          },
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check failure on line 1 in feature:212:5

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:212:5.Scenario: As a client I want to receive a one-sided transaction: tests/features/WalletFFI.feature:212:5

Step panicked. Captured output: Counter not adequate! Counter is 0.
Raw output
Scenario: As a client I want to receive a one-sided transaction
     Given I have a seed node SEED
     When I have a base node BASE1 connected to all seed nodes
     When I have a base node BASE2 connected to all seed nodes
     When I have wallet SENDER connected to base node BASE1
     And I have a ffi wallet FFI_RECEIVER connected to base node BASE2
     When I have mining node MINER connected to base node BASE1 and wallet SENDER
     When mining node MINER mines 10 blocks
     Then I wait for wallet SENDER to have at least 5000000 uT
     Then I send a one-sided transaction of 1000000 uT from SENDER to FFI_RECEIVER at fee 20
     When mining node MINER mines 2 blocks
     Then all nodes are at height 12
     Then ffi wallet FFI_RECEIVER detects AT_LEAST 1 ffi transactions to be TRANSACTION_STATUS_ONE_SIDED_UNCONFIRMED
      Step failed:
      Defined: tests/features/WalletFFI.feature:224:9
      Matched: integration_tests/tests/steps/wallet_ffi_steps.rs:415:1
      Step panicked. Captured output: Counter not adequate! Counter is 0.
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "MINER": MinerProcess {
                  name: "MINER",
                  base_node_name: "BASE1",
                  wallet_name: "SENDER",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {
              "FFI_RECEIVER": WalletFFI {
                  name: "FFI_RECEIVER",
                  port: 18206,
                  base_dir: "/runner/_work/tari/tari/integration_tests/tests/temp/cucumber_12643/Wallet FFI/As a client I want to receive a one-sided transaction/ffi_wallets/FFI_RECEIVER_port_18206",
                  wallet: Mutex {
                      data: Wallet {
                          ptr: 0x0000564dab616110,
                          liveness_data: Mutex {
                              data: {},
                              poisoned: false,
                              ..
                          },
                          balance: CachedBalance {
                              available: 0,
                              time_locked: 0,
                              pending_incoming: 1000000,
                              pending_outgoing: 0,
                          },
                      },
                      poisoned: false,
                      ..
                  },
              },
          },
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "SENDER": "BASE1",
          },
          seed_nodes: [
              "SEED",
          ],
          wallet_tx_ids: {
              "H4MiLUcP28ov9Ueq2HBLUGCrHp64tkD5WPfK8e6AaetUNVfPAdDNSV1xi6f6D5LVynZafhAnmjaHJfmkvR641gPukKe": [
                  1231502351636879944,
              ],
              "H48dSXRhyMibGxmFicrbDBukQ94qVk2dAfVavvEVZbckWKAsNJxVbJCG7QpVKAVMVYt3vRmzQJWqGsdF6ec7vJ7Aw3J": [
                  1231502351636879944,
              ],
          },
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }