Skip to content

Avoid `Encryptable` domain collisions

Sign in for the full log view
GitHub Actions / Test Results (Integration tests) failed Apr 12, 2024 in 0s

3 fail, 30 pass in 37m 54s

 2 files  11 suites   37m 54s ⏱️
33 tests 30 ✅ 0 💤 3 ❌
36 runs  33 ✅ 0 💤 3 ❌

Results for commit dacfc43.

Annotations

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Integration tests)

1 out of 2 runs failed: Scenario: As a client I want to send a one-sided transaction: tests/features/WalletFFI.feature:175:5

artifacts/junit-ffi-cucumber/cucumber-output-junit.xml [took 9m 2s]
Raw output
Step panicked. Captured output: Wallet RECEIVER failed to have at least num 1 txs with status 8, current status is 0
  Scenario: As a client I want to send 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 wallet SENDER connected to base node BASE1
   ✔  And I have a ffi wallet FFI_WALLET connected to base node SEED
   ✔  When I have wallet RECEIVER connected to base node BASE1
   ✔  When I add contact with alias ALIAS1 and address of SENDER to ffi wallet FFI_WALLET
   ✔  When I add contact with alias ALIAS2 and address of RECEIVER to ffi wallet FFI_WALLET
   ✔  When I have mining node MINER connected to base node BASE1 and wallet SENDER
   ✔  When mining node MINER mines 10 blocks
   ✔  Then all nodes are at height 10
   ✔  Then I wait for wallet SENDER to have at least 129239250000 uT
   ✔  And I send 2400000 uT from wallet SENDER to wallet FFI_WALLET at fee 5
   ✔  And I send 2400000 uT from wallet SENDER to wallet FFI_WALLET at fee 5
   ✔  Then wallet SENDER has at least 2 transactions that are all TRANSACTION_STATUS_BROADCAST and not cancelled
   ✔  Then ffi wallet FFI_WALLET detects AT_LEAST 2 ffi transactions to be TRANSACTION_STATUS_BROADCAST
   ✔  When mining node MINER mines 10 blocks
   ✔  Then all nodes are at height 20
   ✔  Then ffi wallet FFI_WALLET detects AT_LEAST 2 ffi transactions to be TRANSACTION_STATUS_MINED
   ✔  Then I wait for ffi wallet FFI_WALLET to have at least 4000000 uT
   ✔  And I send 1000000 uT from ffi wallet FFI_WALLET to wallet RECEIVER at fee 5 via one-sided transactions
   ✔  Then ffi wallet FFI_WALLET detects AT_LEAST 3 ffi transactions to be TRANSACTION_STATUS_BROADCAST
   ✔  When mining node MINER mines 2 blocks
   ✔  Then all nodes are at height 22
   ✘  Then wallet RECEIVER has at least 1 transactions that are all TRANSACTION_STATUS_ONE_SIDED_UNCONFIRMED and not cancelled
      Step failed:
      Defined: tests/features/WalletFFI.feature:205:9
      Matched: integration_tests/tests/steps/wallet_steps.rs:514:1
      Step panicked. Captured output: Wallet RECEIVER failed to have at least num 1 txs with status 8, current status 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_WALLET": WalletFFI {
                  name: "FFI_WALLET",
                  port: 18147,
                  base_dir: "/runner/_work/tari/tari/integration_tests/tests/temp/cucumber_6342/Wallet FFI/As a client I want to send a one-sided transaction/ffi_wallets/FFI_WALLET_port_18147",
                  wallet: Mutex {
                      data: Wallet {
                          ptr: 0x00007f683402d760,
                          liveness_data: Mutex {
                              data: {
                                  "7ad428f2d85e8a68a17f90d433bc87d89e80461e070bfeed43a54f72aa98ac3b83": ContactsLivenessData {
                                      ptr: 0x00007f665c082c90,
                                  },
                              },
                              poisoned: false,
                              ..
                          },
                          balance: CachedBalance {
                              available: 2400000,
                              time_locked: 0,
                              pending_incoming: 1399330,
                              pending_outgoing: 2400000,
                          },
                      },
                      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",
              "RECEIVER": "BASE1",
          },
          seed_nodes: [
              "SEED",
          ],
          wallet_tx_ids: {
              "7ad428f2d85e8a68a17f90d433bc87d89e80461e070bfeed43a54f72aa98ac3b83": [
                  16049026892890062792,
                  156045457748359193,
              ],
              "d293479d53f5bab7738473c98519046af867ffeeb37b5d4752cab2507fecd75844": [
                  16049026892890062792,
                  156045457748359193,
              ],
          },
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Integration tests)

1 out of 2 runs failed: Scenario: Transactions are propagated through a network: tests/features/Mempool.feature:8:3

artifacts/junit-cucumber/cucumber-output-junit.xml [took 14m 17s]
Raw output
Step panicked. Captured output: base nodes not successfully synchronized at height 3, {"seed_node_0": 3, "seed_node_1": 3, "seed_node_2": 3, "seed_node_3": 3, "seed_node_4": 3, "seed_node_5": 0, "seed_node_6": 3, "seed_node_7": 3, "SENDER": 3, "Node_0": 3, "Node_1": 3, "Node_2": 3, "Node_3": 3, "Node_4": 3, "Node_5": 3, "Node_6": 3, "Node_7": 3}
  Scenario: Transactions are propagated through a network
   ✔  Given I have 8 seed nodes
   ✔  When I have a base node SENDER connected to all seed nodes
   ✔  When I have 8 base nodes connected to all seed nodes
   ✔  When I mine a block on SENDER with coinbase CB1
   ✔  When I mine 2 blocks on SENDER
   ✘  Then all nodes are at height 3
      Step failed:
      Defined: tests/features/Mempool.feature:18:5
      Matched: integration_tests/tests/steps/node_steps.rs:180:1
      Step panicked. Captured output: base nodes not successfully synchronized at height 3, {"seed_node_0": 3, "seed_node_1": 3, "seed_node_2": 3, "seed_node_3": 3, "seed_node_4": 3, "seed_node_5": 0, "seed_node_6": 3, "seed_node_7": 3, "SENDER": 3, "Node_0": 3, "Node_1": 3, "Node_2": 3, "Node_3": 3, "Node_4": 3, "Node_5": 3, "Node_6": 3, "Node_7": 3}
      Client {
          base_nodes: {},
          blocks: {},
          miners: {},
          ffi_wallets: {},
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {
              "CB1": KeyManagerOutput {
                  version: V0,
                  value: MicroMinotari(
                      18462816327,
                  ),
                  spending_key_id: Imported {
                      key: 5096f2fb0de06176132563c052ccb90299dedce2ba3e1d6d493aa83ac9e2bf34,
                  },
                  features: OutputFeatures {
                      version: V0,
                      output_type: Coinbase,
                      maturity: 3,
                      coinbase_extra: [],
                      sidechain_feature: None,
                      range_proof_type: BulletProofPlus,
                  },
                  script: TariScript {
                      script: [
                          PushPubKey(
                              8e8bf0eaca4543615550d31dbea43496632e9245be65a07ab4d769215a8b0373,
                          ),
                      ],
                  },
                  covenant: Covenant {
                      tokens: [],
                  },
                  input_data: ExecutionStack {
                      items: [],
                  },
                  script_private_key_id: Imported {
                      key: 8e8bf0eaca4543615550d31dbea43496632e9245be65a07ab4d769215a8b0373,
                  },
                  sender_offset_public_key: 5e45a28a852e469ccf88e83f788518b67abd6ec988821e20e38751d6d4645c7c,
                  metadata_signature: CommitmentAndPublicKeySignature {
                      ephemeral_commitment: HomomorphicCommitment(
                          9edf6ac12963b0ca023c64b66f0bcafc58ace42a3a6d1afa3f869aef2b78ca38,
                      ),
                      ephemeral_pubkey: 083fb4f14588a996885e65e6817d5e225b86aaba2fdd6c5c6a0f20416007660a,
                      u_a: RistrettoSecretKey(***),
                      u_x: RistrettoSecretKey(***),
                      u_y: RistrettoSecretKey(***),
                  },
                  script_lock_height: 0,
                  encrypted_data: EncryptedData {
                      data: [
                          1,
                          5,
                          91,
                          205,
                          220,
                          71,
                          27,
                          98,
                          154,
                          160,
                          237,
                          34,
                          218,
                          246,
                          71,
                          173,
                          183,
                          204,
                          169,
                          112,
                          206,
                          100,
                          33,
                          71,
                          243,
                          177,
                          126,
                          252,
                          144,
                          242,
                          241,
                          77,
                          218,
                          193,
                          54,
                          189,
                          70,
                          241,
                          235,
                          66,
                          41,
                          232,
                          181,
                          252,
                          110,
                          240,
                          174,
                          152,
                          51,
                          222,
                          184,
                          49,
                          104,
                          62,
                          212,
                          200,
                          154,
                          61,
                          13,
                          159,
                          39,
                          78,
                          195,
                          192,
                          186,
                          253,
                          79,
                          181,
                          52,
                          155,
                          236,
                          214,
                          185,
                          143,
                          145,
                          149,
                          232,
                          187,
                          82,
                          121,
                      ],
                  },
                  minimum_value_promise: MicroMinotari(
                      0,
                  ),
              },
          },
          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",
          ],
          wallet_tx_ids: {},
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Integration tests)

1 out of 2 runs failed: Scenario: Simple propagation: tests/features/Propagation.feature:26:3

artifacts/junit-cucumber/cucumber-output-junit.xml [took 9s]
Raw output
Step panicked. Captured output: called `Result::unwrap()` on an `Err` value: Status { code: Unimplemented, metadata: MetadataMap { headers: {"date": "Fri, 12 Apr 2024 16:16:16 GMT", "content-type": "application/grpc", "content-length": "0"} }, source: None }
  Scenario: Simple propagation
   ✔  Given I have 2 seed nodes
   ✔  When I have 4 base nodes connected to all seed nodes
   ✔  When I have a SHA3 miner MINER connected to all seed nodes
   ✔  When mining node MINER mines 5 blocks
   ✔  Then node MINER is at height 5
   ✘  Then all nodes are at height 5
      Step failed:
      Defined: tests/features/Propagation.feature:32:5
      Matched: integration_tests/tests/steps/node_steps.rs:180:1
      Step panicked. Captured output: called `Result::unwrap()` on an `Err` value: Status { code: Unimplemented, metadata: MetadataMap { headers: {"date": "Fri, 12 Apr 2024 16:16:16 GMT", "content-type": "application/grpc", "content-length": "0"} }, source: None }
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "MINER": MinerProcess {
                  name: "MINER",
                  base_node_name: "MINER",
                  wallet_name: "MINER",
                  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: {},
          seed_nodes: [
              "seed_node_0",
              "seed_node_1",
          ],
          wallet_tx_ids: {},
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results (Integration tests)

33 tests found

There are 33 tests, see "Raw output" for the full list of tests.
Raw output
Scenario: A message is propagated between clients via 3rd party: tests/features/ChatFFI.feature:7:3
Scenario: A message is propagated between side loaded chat and client via 3rd party: tests/features/ChatFFI.feature:109:3
Scenario: A message receives a delivery receipt via FFI: tests/features/ChatFFI.feature:78:3
Scenario: A message receives a read receipt via FFI: tests/features/ChatFFI.feature:86:3
Scenario: As a client I want to receive a one-sided transaction: tests/features/WalletFFI.feature:212:5
Scenario: As a client I want to receive contact liveness events: tests/features/WalletFFI.feature:73:5
Scenario: As a client I want to retrieve a list of transactions I have made and received: tests/features/WalletFFI.feature:96:5
Scenario: As a client I want to retrieve the mnemonic word list for a given language: tests/features/WalletFFI.feature:24:5
Scenario: As a client I want to send a one-sided transaction: tests/features/WalletFFI.feature:175:5
Scenario: As a wallet I want to submit a transaction: tests/features/WalletQuery.feature:18:3
Scenario: As a wallet send to a wallet connected to a different base node: tests/features/WalletTransfer.feature:9:3
Scenario: Callback for delivery confirmation received: tests/features/ChatFFI.feature:22:3
Scenario: Callback for new message received: tests/features/ChatFFI.feature:14:3
Scenario: Callback for read confirmation received: tests/features/ChatFFI.feature:31:3
Scenario: Chat shuts down without any errors: tests/features/ChatFFI.feature:63:3
Scenario: Clear out mempool: tests/features/Mempool.feature:46:3
Scenario: Create burn transaction: tests/features/WalletTransactions.feature:411:3
Scenario: Fetches all addresses from FFI conversations: tests/features/ChatFFI.feature:95:3
Scenario: Node rolls back reorg on invalid block: tests/features/Reorgs.feature:63:3
Scenario: Reply to message: tests/features/ChatFFI.feature:68:3
Scenario: Simple block sync: tests/features/Sync.feature:26:3
Scenario: Simple propagation: tests/features/Propagation.feature:26:3
Scenario: Simple reorg to stronger chain: tests/features/Reorgs.feature:8:3
Scenario: Simple reorg with burned output: tests/features/Reorgs.feature:33:3
Scenario: Sync burned output: tests/features/Sync.feature:34:3
Scenario: Syncing node while also mining before tip sync: tests/features/Sync.feature:142:5
Scenario: Transactions are propagated through a network: tests/features/Mempool.feature:8:3
Scenario: Verify UTXO and kernel MMR size in header: tests/features/BlockTemplate.feature:8:1
Scenario: Verify gprc cna create block with more than 1 coinbase: tests/features/BlockTemplate.feature:14:5
Scenario: Wallet recovery with connected base node staying online: tests/features/WalletRecovery.feature:8:5
Scenario: Wallet sending and receiving one-sided transactions: tests/features/WalletTransactions.feature:8:3
Scenario: When a new node joins the network, it receives all peers: tests/features/Sync.feature:77:3
Scenario: Zero-conf transactions: tests/features/Mempool.feature:124:3