Skip to content

feat: fix tari pulse running as fast as possible (#6704) #1772

feat: fix tari pulse running as fast as possible (#6704)

feat: fix tari pulse running as fast as possible (#6704) #1772

GitHub Actions / JUnit Test Report failed Nov 28, 2024 in 0s

26 tests run, 24 passed, 0 skipped, 2 failed.

Annotations

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: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcast
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
      Step failed:
      Defined: tests/features/WalletTransfer.feature:17:5
      Matched: integration_tests/tests/steps/wallet_steps.rs:1645:1
      Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcast
      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: {},
          transactions: {},
          stopped_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: {},
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check failure on line 1 in feature:101:5

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:101:5.Scenario: As a client I want to retrieve a list of transactions I have made and received: tests/features/WalletFFI.feature:101:5

Step panicked. Captured output: FFI_WALLET doesn't have at least 2 contacts with status Online!
Raw output
Scenario: As a client I want to retrieve a list of transactions I have made and received
     Given I have a seed node SEED
     When I have a base node BASE1 connected to all seed nodes
     When I have wallet SENDER connected to base node BASE1
     When I have wallet RECEIVER connected to base node BASE1
     And I have a ffi wallet FFI_WALLET connected to base node BASE1
     When I add contact with alias ALIAS_SENDER and address of SENDER to ffi wallet FFI_WALLET
     When I add contact with alias ALIAS_RECEIVER and address of RECEIVER to ffi wallet FFI_WALLET
     When I add contact with alias ALIAS_FFI_WALLET and address of FFI_WALLET to wallet SENDER
     When I add contact with alias ALIAS_FFI_WALLET and address of FFI_WALLET to wallet RECEIVER
     When I add contact with alias ALIAS_RECEIVER and address of RECEIVER to wallet SENDER
     When I add contact with alias ALIAS_SENDER and address of SENDER to wallet RECEIVER
     Then I wait for ffi wallet FFI_WALLET to have at least 2 contacts to be Online
      Step failed:
      Defined: tests/features/WalletFFI.feature:114:9
      Matched: integration_tests/tests/steps/wallet_ffi_steps.rs:261:1
      Step panicked. Captured output: FFI_WALLET doesn't have at least 2 contacts with status Online!
      Client {
          base_nodes: {},
          blocks: {},
          miners: {},
          ffi_wallets: {
              "FFI_WALLET": WalletFFI {
                  name: "FFI_WALLET",
                  tcp_port: 18354,
                  udp_port: 18169,
                  base_dir: "/runner/_work/tari/tari/integration_tests/tests/temp/cucumber_12929/Wallet FFI/As a client I want to retrieve a list of transactions I have made and received/ffi_wallets/FFI_WALLET_port_18354",
                  wallet: Mutex {
                      data: Wallet {
                          ptr: 0x00005583dae4a6b0,
                          liveness_data: Mutex {
                              data: {
                                  "H4J18zSDFwZHhaKYVvXwgTawRqZ6VEYexKt7Nqu4uN3jfzg5FaiAq2Vhk3d2eNunwGu53h5ssNEjMGsrXYDSnA5i9aq": ContactsLivenessData {
                                      ptr: 0x00007fc014034690,
                                  },
                                  "H4DYAzyT5MMKyEGKEJsoE2whdcoik5ozJtd5Gw8oY91fyDzUe2gUswvpzfmgocVvDspTiYkkqWMkofd1hHKxNjtQkVi": ContactsLivenessData {
                                      ptr: 0x00007fc09401f6f0,
                                  },
                              },
                              poisoned: false,
                              ..
                          },
                          balance: CachedBalance {
                              available: 0,
                              time_locked: 0,
                              pending_incoming: 0,
                              pending_outgoing: 0,
                          },
                      },
                      poisoned: false,
                      ..
                  },
              },
          },
          wallets: {},
          merge_mining_proxies: {},
          transactions: {},
          stopped_wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "SENDER": "BASE1",
              "RECEIVER": "BASE1",
          },
          seed_nodes: [
              "SEED",
          ],
          wallet_tx_ids: {},
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }