feat: verify active base node peer connections and disconnect if stal… #1760
26 tests run, 14 passed, 0 skipped, 12 failed.
Annotations
Check failure on line 1 in feature:77:3
github-actions / JUnit Test Report
feature:77:3.Scenario: When a new node joins the network, it receives all peers: tests/features/Sync.feature:77:3
Step panicked. Captured output: Node NODE2 only received 1 of 11 expected peers
Raw output
Scenario: When a new node joins the network, it receives all peers
Given I have 10 seed nodes
When I have a base node NODE1 connected to all seed nodes
When I wait for NODE1 to have 10 connections
When I have a base node NODE2 connected to node NODE1
Then NODE1 has at least 11 peers
Then NODE2 has at least 11 peers
Step failed:
Defined: tests/features/Sync.feature:83:5
Matched: integration_tests/tests/steps/node_steps.rs:933:1
Step panicked. Captured output: Node NODE2 only received 1 of 11 expected peers
Client {
base_nodes: {},
blocks: {},
miners: {},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {},
seed_nodes: [
"seed_node_0",
"seed_node_1",
"seed_node_2",
"seed_node_3",
"seed_node_4",
"seed_node_5",
"seed_node_6",
"seed_node_7",
"seed_node_8",
"seed_node_9",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:77:3
github-actions / JUnit Test Report
feature:77:3.Scenario: When a new node joins the network, it receives all peers: tests/features/Sync.feature:77:3
Step panicked. Captured output: Node NODE2 only received 1 of 11 expected peers
Raw output
Scenario: When a new node joins the network, it receives all peers | Retry attempt: 1/2
Given I have 10 seed nodes
When I have a base node NODE1 connected to all seed nodes
When I wait for NODE1 to have 10 connections
When I have a base node NODE2 connected to node NODE1
Then NODE1 has at least 11 peers
Then NODE2 has at least 11 peers
Step failed:
Defined: tests/features/Sync.feature:83:5
Matched: integration_tests/tests/steps/node_steps.rs:933:1
Step panicked. Captured output: Node NODE2 only received 1 of 11 expected peers
Client {
base_nodes: {},
blocks: {},
miners: {},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {},
seed_nodes: [
"seed_node_0",
"seed_node_1",
"seed_node_2",
"seed_node_3",
"seed_node_4",
"seed_node_5",
"seed_node_6",
"seed_node_7",
"seed_node_8",
"seed_node_9",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:77:3
github-actions / JUnit Test Report
feature:77:3.Scenario: When a new node joins the network, it receives all peers: tests/features/Sync.feature:77:3
Step panicked. Captured output: Node NODE2 only received 1 of 11 expected peers
Raw output
Scenario: When a new node joins the network, it receives all peers | Retry attempt: 2/2
Given I have 10 seed nodes
When I have a base node NODE1 connected to all seed nodes
When I wait for NODE1 to have 10 connections
When I have a base node NODE2 connected to node NODE1
Then NODE1 has at least 11 peers
Then NODE2 has at least 11 peers
Step failed:
Defined: tests/features/Sync.feature:83:5
Matched: integration_tests/tests/steps/node_steps.rs:933:1
Step panicked. Captured output: Node NODE2 only received 1 of 11 expected peers
Client {
base_nodes: {},
blocks: {},
miners: {},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {},
seed_nodes: [
"seed_node_0",
"seed_node_1",
"seed_node_2",
"seed_node_3",
"seed_node_4",
"seed_node_5",
"seed_node_6",
"seed_node_7",
"seed_node_8",
"seed_node_9",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:18:3
github-actions / JUnit Test Report
feature:18:3.Scenario: As a wallet I want to submit a transaction: tests/features/WalletQuery.feature:18:3
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
Raw output
Scenario: As a wallet I want to submit a transaction
Given I have a seed node NODE
When I have 1 base nodes connected to all seed nodes
When I have wallet WALLET_A with 10T connected to base node NODE
When I have wallet WALLET_B connected to base node NODE
When I wait 5 seconds
When I transfer 5T from WALLET_A to WALLET_B
Step failed:
Defined: tests/features/WalletQuery.feature:24:5
Matched: integration_tests/tests/steps/wallet_steps.rs:1428:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
Client {
base_nodes: {},
blocks: {},
miners: {
"temp_miner": MinerProcess {
name: "temp_miner",
base_node_name: "NODE",
wallet_name: "WALLET_A",
mine_until_height: 100000,
stealth: false,
},
},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {
"WALLET_A": "NODE",
"WALLET_B": "NODE",
},
seed_nodes: [
"NODE",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:18:3
github-actions / JUnit Test Report
feature:18:3.Scenario: As a wallet I want to submit a transaction: tests/features/WalletQuery.feature:18:3
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
Raw output
Scenario: As a wallet I want to submit a transaction | Retry attempt: 1/2
Given I have a seed node NODE
When I have 1 base nodes connected to all seed nodes
When I have wallet WALLET_A with 10T connected to base node NODE
When I have wallet WALLET_B connected to base node NODE
When I wait 5 seconds
When I transfer 5T from WALLET_A to WALLET_B
Step failed:
Defined: tests/features/WalletQuery.feature:24:5
Matched: integration_tests/tests/steps/wallet_steps.rs:1428:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
Client {
base_nodes: {},
blocks: {},
miners: {
"temp_miner": MinerProcess {
name: "temp_miner",
base_node_name: "NODE",
wallet_name: "WALLET_A",
mine_until_height: 100000,
stealth: false,
},
},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {
"WALLET_A": "NODE",
"WALLET_B": "NODE",
},
seed_nodes: [
"NODE",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:18:3
github-actions / JUnit Test Report
feature:18:3.Scenario: As a wallet I want to submit a transaction: tests/features/WalletQuery.feature:18:3
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
Raw output
Scenario: As a wallet I want to submit a transaction | Retry attempt: 2/2
Given I have a seed node NODE
When I have 1 base nodes connected to all seed nodes
When I have wallet WALLET_A with 10T connected to base node NODE
When I have wallet WALLET_B connected to base node NODE
When I wait 5 seconds
When I transfer 5T from WALLET_A to WALLET_B
Step failed:
Defined: tests/features/WalletQuery.feature:24:5
Matched: integration_tests/tests/steps/wallet_steps.rs:1428:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
Client {
base_nodes: {},
blocks: {},
miners: {
"temp_miner": MinerProcess {
name: "temp_miner",
base_node_name: "NODE",
wallet_name: "WALLET_A",
mine_until_height: 100000,
stealth: false,
},
},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {
"WALLET_A": "NODE",
"WALLET_B": "NODE",
},
seed_nodes: [
"NODE",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:170:3
github-actions / JUnit Test Report
feature:170:3.Scenario: Wallet imports pre_mine UTXO: tests/features/WalletTransactions.feature:170:3
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 1000000 at fee 100 failed to be broadcasted
Raw output
Scenario: Wallet imports pre_mine UTXO
Given I have a seed node NODE
When I have 1 base nodes connected to all seed nodes
When I have wallet WALLET_A connected to all seed nodes
When I have wallet WALLET_B connected to all seed nodes
When I have wallet WALLET_C connected to all seed nodes
When I have mining node MINER connected to base node NODE and wallet WALLET_A
When mining node MINER mines 5 blocks
Then all nodes are at height 5
Then I wait for wallet WALLET_A to have at least 10000000000 uT
When I send 1000000 uT from wallet WALLET_A to wallet WALLET_B at fee 100
Step failed:
Defined: tests/features/WalletTransactions.feature:180:5
Matched: integration_tests/tests/steps/wallet_steps.rs:849:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 1000000 at fee 100 failed to be broadcasted
Client {
base_nodes: {},
blocks: {},
miners: {
"MINER": MinerProcess {
name: "MINER",
base_node_name: "NODE",
wallet_name: "WALLET_A",
mine_until_height: 100000,
stealth: false,
},
},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {
"WALLET_A": "NODE",
"WALLET_B": "NODE",
"WALLET_C": "NODE",
},
seed_nodes: [
"NODE",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:170:3
github-actions / JUnit Test Report
feature:170:3.Scenario: Wallet imports pre_mine UTXO: tests/features/WalletTransactions.feature:170:3
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 1000000 at fee 100 failed to be broadcasted
Raw output
Scenario: Wallet imports pre_mine UTXO | Retry attempt: 1/2
Given I have a seed node NODE
When I have 1 base nodes connected to all seed nodes
When I have wallet WALLET_A connected to all seed nodes
When I have wallet WALLET_B connected to all seed nodes
When I have wallet WALLET_C connected to all seed nodes
When I have mining node MINER connected to base node NODE and wallet WALLET_A
When mining node MINER mines 5 blocks
Then all nodes are at height 5
Then I wait for wallet WALLET_A to have at least 10000000000 uT
When I send 1000000 uT from wallet WALLET_A to wallet WALLET_B at fee 100
Step failed:
Defined: tests/features/WalletTransactions.feature:180:5
Matched: integration_tests/tests/steps/wallet_steps.rs:849:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 1000000 at fee 100 failed to be broadcasted
Client {
base_nodes: {},
blocks: {},
miners: {
"MINER": MinerProcess {
name: "MINER",
base_node_name: "NODE",
wallet_name: "WALLET_A",
mine_until_height: 100000,
stealth: false,
},
},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {
"WALLET_A": "NODE",
"WALLET_B": "NODE",
"WALLET_C": "NODE",
},
seed_nodes: [
"NODE",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:170:3
github-actions / JUnit Test Report
feature:170:3.Scenario: Wallet imports pre_mine UTXO: tests/features/WalletTransactions.feature:170:3
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 1000000 at fee 100 failed to be broadcasted
Raw output
Scenario: Wallet imports pre_mine UTXO | Retry attempt: 2/2
Given I have a seed node NODE
When I have 1 base nodes connected to all seed nodes
When I have wallet WALLET_A connected to all seed nodes
When I have wallet WALLET_B connected to all seed nodes
When I have wallet WALLET_C connected to all seed nodes
When I have mining node MINER connected to base node NODE and wallet WALLET_A
When mining node MINER mines 5 blocks
Then all nodes are at height 5
Then I wait for wallet WALLET_A to have at least 10000000000 uT
When I send 1000000 uT from wallet WALLET_A to wallet WALLET_B at fee 100
Step failed:
Defined: tests/features/WalletTransactions.feature:180:5
Matched: integration_tests/tests/steps/wallet_steps.rs:849:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 1000000 at fee 100 failed to be broadcasted
Client {
base_nodes: {},
blocks: {},
miners: {
"MINER": MinerProcess {
name: "MINER",
base_node_name: "NODE",
wallet_name: "WALLET_A",
mine_until_height: 100000,
stealth: false,
},
},
ffi_wallets: {},
wallets: {},
merge_mining_proxies: {},
transactions: {},
wallet_addresses: {},
utxos: {},
output_hash: None,
pre_image: None,
wallet_connected_to_base_node: {
"WALLET_A": "NODE",
"WALLET_B": "NODE",
"WALLET_C": "NODE",
},
seed_nodes: [
"NODE",
],
wallet_tx_ids: {},
errors: [],
last_imported_tx_ids: [],
last_merge_miner_response: Null,
}
Check failure on line 1 in feature:9:3
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 broadcasted
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:1428:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
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: {},
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:9:3
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 broadcasted
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
Step failed:
Defined: tests/features/WalletTransfer.feature:17:5
Matched: integration_tests/tests/steps/wallet_steps.rs:1428:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
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: {},
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:9:3
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 broadcasted
Raw output
Scenario: As a wallet send to a wallet connected to a different base node | Retry attempt: 2/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
Step failed:
Defined: tests/features/WalletTransfer.feature:17:5
Matched: integration_tests/tests/steps/wallet_steps.rs:1428:1
Step panicked. Captured output: Transaction from WALLET_A to WALLET_B with amount 5 at fee 10 failed to be broadcasted
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: {},
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,
}