Page MenuHomePhabricator

[Chronik] Don't index OP_RETURN scripts anymore
ClosedPublic

Authored by tobias_ruck on Oct 16 2024, 09:01.

Details

Reviewers
Fabien
PiRK
Group Reviewers
Restricted Project
Commits
rABC4cc8438d78aa: [Chronik] Don't index OP_RETURN scripts anymore
Summary

This was accidentally introduced in D15545, so we remove it again.

Removing it solves a few problems:

  • OP_RETURN can't be spent, so having them in the UTXO DB is incorrect.
  • These scripts can't be compressed very well, increasing the DB size disproportionally.
  • The scripthash -> script index (for ElectrumX) is already tens of gigabytes; removing OP_RETURNs contributes to reducing this index.

If users want OP_RETURNs to be indexed, it is probably a Chronik plugin they want (which can color OP_RETURNs, and even parse the OP_RETURN), and since plugins are strictly more powerful than a simple OP_RETURN index, there's no actual need to have this indexed.

Test Plan

./test/functional/test_runner.py chronik_script_utxos chronik_script_history

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Failed tests logs:

====== Bitcoin ABC functional tests: chronik_disable_token_index.py ======

------- Stdout: -------
2024-10-16T09:51:16.446000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_disable_token_index_90
2024-10-16T09:51:17.060000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_disable_token_index.py", line 148, in run_test
    send.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 6278d1c757350bd91a8877136b4786ee18cd56f60a325a7744d350c37603c8ac not found in the index"

2024-10-16T09:51:17.111000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_disable_token_index.py", line 248, in <module>
    ChronikDisableTokenIndex().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_lokad_id_group.py ======

------- Stdout: -------
2024-10-16T09:50:58.237000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_lokad_id_group_76
2024-10-16T09:50:59.183000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_lokad_id_group.py", line 108, in run_test
    assert_equal(lokad_id_unconf(b"lok0"), [tx0.hash, tx1.hash])
  File "/work/test/functional/test_framework/util.py", line 60, in assert_equal
    raise AssertionError(
AssertionError: not(['963850dd9433358993b41184960ea73ee24c754fbccb512ff45976b594cb8876'] == ['963850dd9433358993b41184960ea73ee24c754fbccb512ff45976b594cb8876', '1ef4bebdb5a1298877aed9b7f741e3e0903820514316a35f3e7c05957308471a'])
2024-10-16T09:50:59.234000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_lokad_id_group.py", line 276, in <module>
    ChronikLokadIdGroup().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_alp.py ======

------- Stdout: -------
2024-10-16T09:51:56.320000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_alp_146
2024-10-16T09:51:57.067000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_alp.py", line 177, in run_test
    mint.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 0dab1008db30343a4f771983e9fd96cbc15f0c6efc73f5249c9bae311ef1e92f not found in the index"

2024-10-16T09:51:57.118000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_alp.py", line 669, in <module>
    ChronikTokenAlp().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_broadcast_txs.py ======

------- Stdout: -------
2024-10-16T09:52:08.220000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_broadcast_txs_177
2024-10-16T09:52:08.839000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_broadcast_txs.py", line 184, in run_test
    chronik.tx(ok_tx.hash).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction ad730522854107f7f9a6dae025c23d95f5de4134294716e324abeee935eda4d7 not found in the index"

2024-10-16T09:52:08.891000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_broadcast_txs.py", line 216, in <module>
    ChronikTokenBroadcastTxs().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_burn.py ======

------- Stdout: -------
2024-10-16T09:52:08.700000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_burn_178
2024-10-16T09:52:09.324000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_burn.py", line 145, in run_test
    burn_slp.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction c4276cb8f673095b6643afe84cf9c2a5d14aeb35d4aa83e371374110d63124ce not found in the index"

2024-10-16T09:52:09.375000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_burn.py", line 282, in <module>
    ChronikTokenBurn().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_id_group.py ======

------- Stdout: -------
2024-10-16T09:52:08.908000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_id_group_179
2024-10-16T09:52:09.721000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_id_group.py", line 164, in run_test
    genesis_alp.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction feddffed216417c5a912177ebc25a4430781babba7ad68c65db2fa9a176549c4 not found in the index"

2024-10-16T09:52:09.772000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_id_group.py", line 467, in <module>
    ChronikTokenBurn().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_parse_failure.py ======

------- Stdout: -------
2024-10-16T09:52:08.991000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_parse_failure_180
2024-10-16T09:52:09.603000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_parse_failure.py", line 116, in run_test
    invalid_alp.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 15986727942af1e37a750e4c185ff3bcc74668fa247fab920b3c10e44e0ed6e3 not found in the index"

2024-10-16T09:52:09.654000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_parse_failure.py", line 130, in <module>
    ChronikTokenParseFailure().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_script_group.py ======

------- Stdout: -------
2024-10-16T09:52:09.179000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_script_group_181
2024-10-16T09:52:09.789000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_script_group.py", line 148, in run_test
    send_slp.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction dfab2b75efde38b48f61efd63125f98a1a584f4f2a0c48b8a2355fab051f3816 not found in the index"

2024-10-16T09:52:09.840000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_script_group.py", line 331, in <module>
    ChronikTokenScriptGroup().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_slp_fungible.py ======

------- Stdout: -------
2024-10-16T09:52:09.246000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_slp_fungible_182
2024-10-16T09:52:09.863000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_slp_fungible.py", line 155, in run_test
    mint.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 31417f7a8c8939d5b8da5e0d241e733fd698d5bce384d00f5f682b78dcff944d not found in the index"

2024-10-16T09:52:09.914000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_slp_fungible.py", line 248, in <module>
    ChronikTokenSlpFungible().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_slp_mint_vault.py ======

------- Stdout: -------
2024-10-16T09:52:09.482000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_slp_mint_vault_183
2024-10-16T09:52:10.446000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_slp_mint_vault.py", line 324, in run_test
    send.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 30142c00e7101375eeac095c63b0189de053d17d22b076f603947a0fd04f6bf1 not found in the index"

2024-10-16T09:52:10.499000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_slp_mint_vault.py", line 353, in <module>
    ChronikTokenSlpMintVault().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_slp_nft1.py ======

------- Stdout: -------
2024-10-16T09:52:09.754000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_094736/chronik_token_slp_nft1_184
2024-10-16T09:52:10.366000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_slp_nft1.py", line 153, in run_test
    mint.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 243fcc2fe9a9599f73a7929942a8d51499dcad34a19c2e1ca5c5eaca9baa6f9a not found in the index"

2024-10-16T09:52:10.417000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_slp_nft1.py", line 261, in <module>
    ChronikTokenSlpNft1().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)

Each failure log is accessible here:
Bitcoin ABC functional tests: chronik_disable_token_index.py
Bitcoin ABC functional tests: chronik_lokad_id_group.py
Bitcoin ABC functional tests: chronik_token_alp.py
Bitcoin ABC functional tests: chronik_token_broadcast_txs.py
Bitcoin ABC functional tests: chronik_token_burn.py
Bitcoin ABC functional tests: chronik_token_id_group.py
Bitcoin ABC functional tests: chronik_token_parse_failure.py
Bitcoin ABC functional tests: chronik_token_script_group.py
Bitcoin ABC functional tests: chronik_token_slp_fungible.py
Bitcoin ABC functional tests: chronik_token_slp_mint_vault.py
Bitcoin ABC functional tests: chronik_token_slp_nft1.py

Tail of the build log:

stdout:

stderr:
Traceback (most recent call last):
  File "/work/test/functional/setup_scripts/ecash-agora_base.py", line 65, in <module>
    EcashAgoraSetup().main()
  File "/work/test/functional/setup_scripts/../test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/setup_scripts/../test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/setup_scripts/../test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/setup_scripts/../test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/setup_scripts/../test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/setup_scripts/../test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/setup_scripts/../test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/setup_scripts/../test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)


TEST                              | STATUS    | DURATION

setup_scripts/ecash-agora_base.py | βœ– Failed  | 3 s

ALL                               | βœ– Failed  | 3 s (accumulated) 
Runtime: 3 s

.....Test runner completed with code 1
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-------------------|---------|----------|---------|---------|-------------------
All files          |       0 |        0 |       0 |       0 |                   
 ecash-agora       |       0 |        0 |       0 |       0 |                   
  eslint.config.js |       0 |        0 |       0 |       0 |                   
 ecash-agora/src   |       0 |        0 |       0 |       0 |                   
  ad.ts            |       0 |        0 |       0 |       0 | 33-146            
  agora.ts         |       0 |        0 |       0 |       0 | 54-896            
  consts.ts        |       0 |      100 |     100 |       0 | 8-11              
  index.ts         |       0 |        0 |       0 |       0 |                   
  oneshot.ts       |       0 |        0 |       0 |       0 | 65-286            
  partial.ts       |       0 |        0 |       0 |       0 | 204-1341          
-------------------|---------|----------|---------|---------|-------------------

##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='0']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='491']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='0']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='191']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='0']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='76']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='0']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='491']
##teamcity[blockClosed name='Code Coverage Summary']
mv: cannot stat 'test_results/ecash-agora-integration-tests-junit.xml': No such file or directory
Build ecash-agora-integration-tests failed with exit code 1

Failed tests logs:

====== Bitcoin ABC functional tests: chronik_disable_token_index.py ======

------- Stdout: -------
2024-10-16T09:58:33.879000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_disable_token_index_90
2024-10-16T09:58:36.517000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_disable_token_index.py", line 148, in run_test
    send.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 6278d1c757350bd91a8877136b4786ee18cd56f60a325a7744d350c37603c8ac not found in the index"

2024-10-16T09:58:36.568000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_disable_token_index.py", line 248, in <module>
    ChronikDisableTokenIndex().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_lokad_id_group.py ======

------- Stdout: -------
2024-10-16T09:58:08.866000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_lokad_id_group_76
2024-10-16T09:58:10.664000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_lokad_id_group.py", line 108, in run_test
    assert_equal(lokad_id_unconf(b"lok0"), [tx0.hash, tx1.hash])
  File "/work/test/functional/test_framework/util.py", line 60, in assert_equal
    raise AssertionError(
AssertionError: not(['963850dd9433358993b41184960ea73ee24c754fbccb512ff45976b594cb8876'] == ['963850dd9433358993b41184960ea73ee24c754fbccb512ff45976b594cb8876', '1ef4bebdb5a1298877aed9b7f741e3e0903820514316a35f3e7c05957308471a'])
2024-10-16T09:58:10.715000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_lokad_id_group.py", line 276, in <module>
    ChronikLokadIdGroup().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_plugin_groups.py ======

------- Stdout: -------
2024-10-16T09:59:08.813000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_plugin_groups_115
2024-10-16T09:59:13.248000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_plugin_groups.py", line 191, in run_test
    assert_equal(
  File "/work/test/functional/test_framework/util.py", line 60, in assert_equal
    raise AssertionError(
AssertionError: not(groups {
  group: "aaa"
}
groups {
  group: "aab"
}
groups {
  group: "abb"
}
groups {
  group: "baa"
}
groups {
  group: "bba"
}
 == groups {
  group: "aaa"
}
groups {
  group: "aab"
}
groups {
  group: "aba"
}
groups {
  group: "abb"
}
groups {
  group: "baa"
}
groups {
  group: "bbb"
}
)
2024-10-16T09:59:13.299000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_plugin_groups.py", line 360, in <module>
    ChronikPluginGroups().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 124, in _request
    self.__conn.request(method, path, postdata, headers)
  File "/usr/lib/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.9/http/client.py", line 921, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
====== Bitcoin ABC functional tests: chronik_plugins.py ======

------- Stdout: -------
2024-10-16T09:59:25.100000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_plugins_130
2024-10-16T09:59:30.572000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_plugins.py", line 175, in run_test
    assert_equal(ws1.recv(), ws_msg(tx2.hash, pb.TX_ADDED_TO_MEMPOOL))
  File "/work/test/functional/test_framework/chronik/client.py", line 252, in recv
    raise self.errors.pop(0)
  File "/usr/local/lib/python3.9/dist-packages/websocket/_app.py", line 511, in setSock
    dispatcher.read(self.sock.sock, read, check)
  File "/usr/local/lib/python3.9/dist-packages/websocket/_app.py", line 89, in read
    if not read_callback():
  File "/usr/local/lib/python3.9/dist-packages/websocket/_app.py", line 535, in read
    raise e
  File "/usr/local/lib/python3.9/dist-packages/websocket/_app.py", line 526, in read
    op_code, frame = self.sock.recv_data_frame(True)
  File "/usr/local/lib/python3.9/dist-packages/websocket/_core.py", line 437, in recv_data_frame
    frame = self.recv_frame()
  File "/usr/local/lib/python3.9/dist-packages/websocket/_core.py", line 478, in recv_frame
    return self.frame_buffer.recv_frame()
  File "/usr/local/lib/python3.9/dist-packages/websocket/_abnf.py", line 363, in recv_frame
    self.recv_header()
  File "/usr/local/lib/python3.9/dist-packages/websocket/_abnf.py", line 319, in recv_header
    header = self.recv_strict(2)
  File "/usr/local/lib/python3.9/dist-packages/websocket/_abnf.py", line 398, in recv_strict
    bytes_ = self.recv(min(16384, shortage))
  File "/usr/local/lib/python3.9/dist-packages/websocket/_core.py", line 563, in _recv
    return recv(self.sock, bufsize)
  File "/usr/local/lib/python3.9/dist-packages/websocket/_socket.py", line 132, in recv
    raise WebSocketConnectionClosedException("Connection to remote host was lost.")
websocket._exceptions.WebSocketConnectionClosedException: Connection to remote host was lost.
2024-10-16T09:59:30.624000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_plugins.py", line 406, in <module>
    ChronikPlugins().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 124, in _request
    self.__conn.request(method, path, postdata, headers)
  File "/usr/lib/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.9/http/client.py", line 921, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
====== Bitcoin ABC functional tests: chronik_token_alp.py ======

------- Stdout: -------
2024-10-16T09:59:40.903000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_alp_146
2024-10-16T09:59:43.365000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_alp.py", line 177, in run_test
    mint.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 0dab1008db30343a4f771983e9fd96cbc15f0c6efc73f5249c9bae311ef1e92f not found in the index"

2024-10-16T09:59:43.416000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_alp.py", line 669, in <module>
    ChronikTokenAlp().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_broadcast_txs.py ======

------- Stdout: -------
2024-10-16T10:00:02.654000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_broadcast_txs_177
2024-10-16T10:00:05.023000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_broadcast_txs.py", line 184, in run_test
    chronik.tx(ok_tx.hash).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction ad730522854107f7f9a6dae025c23d95f5de4134294716e324abeee935eda4d7 not found in the index"

2024-10-16T10:00:05.074000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_broadcast_txs.py", line 216, in <module>
    ChronikTokenBroadcastTxs().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_burn.py ======

------- Stdout: -------
2024-10-16T10:00:02.669000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_burn_178
2024-10-16T10:00:05.363000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_burn.py", line 145, in run_test
    burn_slp.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction c4276cb8f673095b6643afe84cf9c2a5d14aeb35d4aa83e371374110d63124ce not found in the index"

2024-10-16T10:00:05.414000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_burn.py", line 282, in <module>
    ChronikTokenBurn().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_id_group.py ======

------- Stdout: -------
2024-10-16T10:00:03.441000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_id_group_179
2024-10-16T10:00:06.166000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_id_group.py", line 164, in run_test
    genesis_alp.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction feddffed216417c5a912177ebc25a4430781babba7ad68c65db2fa9a176549c4 not found in the index"

2024-10-16T10:00:06.217000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_id_group.py", line 467, in <module>
    ChronikTokenBurn().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_parse_failure.py ======

------- Stdout: -------
2024-10-16T10:00:05.203000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_parse_failure_180
2024-10-16T10:00:07.703000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_parse_failure.py", line 116, in run_test
    invalid_alp.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 15986727942af1e37a750e4c185ff3bcc74668fa247fab920b3c10e44e0ed6e3 not found in the index"

2024-10-16T10:00:07.753000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_parse_failure.py", line 130, in <module>
    ChronikTokenParseFailure().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_script_group.py ======

------- Stdout: -------
2024-10-16T10:00:05.555000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_script_group_181
2024-10-16T10:00:08.293000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_script_group.py", line 148, in run_test
    send_slp.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction dfab2b75efde38b48f61efd63125f98a1a584f4f2a0c48b8a2355fab051f3816 not found in the index"

2024-10-16T10:00:08.344000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_script_group.py", line 331, in <module>
    ChronikTokenScriptGroup().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_slp_fungible.py ======

------- Stdout: -------
2024-10-16T10:00:06.148000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_slp_fungible_182
2024-10-16T10:00:08.868000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_slp_fungible.py", line 155, in run_test
    mint.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 31417f7a8c8939d5b8da5e0d241e733fd698d5bce384d00f5f682b78dcff944d not found in the index"

2024-10-16T10:00:08.919000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_slp_fungible.py", line 248, in <module>
    ChronikTokenSlpFungible().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_slp_mint_vault.py ======

------- Stdout: -------
2024-10-16T10:00:06.162000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_slp_mint_vault_183
2024-10-16T10:00:09.035000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_slp_mint_vault.py", line 324, in run_test
    send.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 30142c00e7101375eeac095c63b0189de053d17d22b076f603947a0fd04f6bf1 not found in the index"

2024-10-16T10:00:09.086000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_slp_mint_vault.py", line 353, in <module>
    ChronikTokenSlpMintVault().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)
====== Bitcoin ABC functional tests: chronik_token_slp_nft1.py ======

------- Stdout: -------
2024-10-16T10:00:06.541000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-chronik-plugins/test/tmp/test_runner_β‚Ώβ‚΅_πŸƒ_20241016_095349/chronik_token_slp_nft1_184
2024-10-16T10:00:09.030000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 147, in main
    self._run_test_internal()
  File "/work/test/functional/test_framework/test_framework.py", line 137, in _run_test_internal
    self.run_test()
  File "/work/test/functional/chronik_token_slp_nft1.py", line 153, in run_test
    mint.test(chronik)
  File "/work/test/functional/test_framework/chronik/token_tx.py", line 44, in test
    proto_tx = chronik.tx(self.txid).ok()
  File "/work/test/functional/test_framework/chronik/client.py", line 30, in ok
    raise AssertionError(
AssertionError: Expected OK response, but got status 404, error: msg: "404: Transaction 243fcc2fe9a9599f73a7929942a8d51499dcad34a19c2e1ca5c5eaca9baa6f9a not found in the index"

2024-10-16T10:00:09.081000Z TestFramework (INFO): Stopping nodes
[node 0] Cleaning up leftover process
------- Stderr: -------
Traceback (most recent call last):
  File "/work/test/functional/chronik_token_slp_nft1.py", line 261, in <module>
    ChronikTokenSlpNft1().main()
  File "/work/test/functional/test_framework/test_framework.py", line 170, in main
    exit_code = self.shutdown()
  File "/work/test/functional/test_framework/test_framework.py", line 396, in shutdown
    self.stop_nodes()
  File "/work/test/functional/test_framework/test_framework.py", line 645, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/work/test/functional/test_framework/test_node.py", line 512, in stop_node
    self.stop(wait=wait)
  File "/work/test/functional/test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/test_framework/authproxy.py", line 125, in _request
    return self._get_response()
  File "/work/test/functional/test_framework/authproxy.py", line 236, in _get_response
    raise JSONRPCException(
test_framework.authproxy.JSONRPCException: non-JSON HTTP response with '503 Service Unavailable' from server (-342)

Each failure log is accessible here:
Bitcoin ABC functional tests: chronik_disable_token_index.py
Bitcoin ABC functional tests: chronik_lokad_id_group.py
Bitcoin ABC functional tests: chronik_plugin_groups.py
Bitcoin ABC functional tests: chronik_plugins.py
Bitcoin ABC functional tests: chronik_token_alp.py
Bitcoin ABC functional tests: chronik_token_broadcast_txs.py
Bitcoin ABC functional tests: chronik_token_burn.py
Bitcoin ABC functional tests: chronik_token_id_group.py
Bitcoin ABC functional tests: chronik_token_parse_failure.py
Bitcoin ABC functional tests: chronik_token_script_group.py
Bitcoin ABC functional tests: chronik_token_slp_fungible.py
Bitcoin ABC functional tests: chronik_token_slp_mint_vault.py
Bitcoin ABC functional tests: chronik_token_slp_nft1.py

Tail of the build log:

  File "/work/test/functional/setup_scripts/../test_framework/coverage.py", line 46, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/setup_scripts/../test_framework/authproxy.py", line 176, in __call__
    response, status = self._request(
  File "/work/test/functional/setup_scripts/../test_framework/authproxy.py", line 124, in _request
    self.__conn.request(method, path, postdata, headers)
  File "/usr/lib/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.9/http/client.py", line 921, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused


TEST                                          | STATUS    | DURATION

setup_scripts/chronik-client_broadcast_txs.py | βœ– Failed  | 1 s

ALL                                           | βœ– Failed  | 1 s (accumulated) 
Runtime: 1 s

Test runner for chronik-client_broadcast_txs completed with code 1
----------------------|---------|----------|---------|---------|------------------------------------
File                  | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                  
----------------------|---------|----------|---------|---------|------------------------------------
All files             |   19.34 |     5.36 |   15.19 |   19.24 |                                    
 chronik-client       |     100 |      100 |     100 |     100 |                                    
  index.ts            |     100 |      100 |     100 |     100 |                                    
 chronik-client/proto |   16.18 |     4.56 |   10.59 |   16.33 |                                    
  chronik.ts          |   16.18 |     4.56 |   10.59 |   16.33 | ...5,6381-6384,6390-6432,6467-6476 
 chronik-client/src   |   34.06 |    14.92 |    30.3 |   32.95 |                                    
  ChronikClient.ts    |   26.38 |    10.38 |   28.57 |   26.38 | ...2,1280,1292,1304,1314,1335-1429 
  failoverProxy.ts    |   43.92 |    46.66 |   34.61 |   44.23 | ...,44,59,68,79,91,192,213,232-327 
  hex.ts              |   86.84 |        0 |      75 |   84.84 | 50,58,66-68                        
  validation.ts       |   26.82 |        0 |       0 |   18.91 | 14-49,54-55,62-63,73-88            
----------------------|---------|----------|---------|---------|------------------------------------

##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='603']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='3117']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='141']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2630']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='86']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='566']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='593']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='3082']
##teamcity[blockClosed name='Code Coverage Summary']
mv: cannot stat 'test_results/chronik-client-integration-tests-junit.xml': No such file or directory
Build chronik-client-integration-tests failed with exit code 1

Failed tests logs:

====== ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP ======
AssertionError: expected [] to deeply equal [ { outpoint: { …(2) }, …(5) } ]
    at Context.<anonymous> (tests/alp.test.ts:136:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -[]
      +[
      +  {
      +    "blockHeight": -1
      +    "isCoinbase": false
      +    "isFinal": false
      +    "outpoint": {
      +      "outIdx": 1
      +      "txid": "b8febe2c1eee901191b0e98d541a2f795374fd9e7a9f00cdcd6a38bfb4f248e4"
      +    }
      +    "token": {
      +      "amount": "2000"
      +      "isMintBaton": false
      +      "tokenId": "b8febe2c1eee901191b0e98d541a2f795374fd9e7a9f00cdcd6a38bfb4f248e4"
      +      "tokenType": {
      +        "number": 0
      +        "protocol": "ALP"
      +        "type": "ALP_TOKEN_TYPE_STANDARD"
      +      }
      +    }
      +    "value": 10000
      +  }
      +]
====== SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE ======
AssertionError: expected [] to deeply equal [ { outpoint: { …(2) }, …(5) } ]
    at Context.<anonymous> (tests/slp.test.ts:153:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -[]
      +[
      +  {
      +    "blockHeight": -1
      +    "isCoinbase": false
      +    "isFinal": false
      +    "outpoint": {
      +      "outIdx": 1
      +      "txid": "5a002808245882822d785a5d83f37b1f96dc1a0dc1f3be71a3cfd7f72bd22134"
      +    }
      +    "token": {
      +      "amount": "2000"
      +      "isMintBaton": false
      +      "tokenId": "5a002808245882822d785a5d83f37b1f96dc1a0dc1f3be71a3cfd7f72bd22134"
      +      "tokenType": {
      +        "number": 1
      +        "protocol": "SLP"
      +        "type": "SLP_TOKEN_TYPE_FUNGIBLE"
      +      }
      +    }
      +    "value": 10000
      +  }
      +]
====== SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT ======
AssertionError: expected [] to deeply equal [ { outpoint: { …(2) }, …(5) } ]
    at Context.<anonymous> (tests/slp.test.ts:510:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -[]
      +[
      +  {
      +    "blockHeight": -1
      +    "isCoinbase": false
      +    "isFinal": false
      +    "outpoint": {
      +      "outIdx": 1
      +      "txid": "2861547c024c020b951b6286184730f46df686e8d7574db685cf9b434450bef3"
      +    }
      +    "token": {
      +      "amount": "2000"
      +      "isMintBaton": false
      +      "tokenId": "2861547c024c020b951b6286184730f46df686e8d7574db685cf9b434450bef3"
      +      "tokenType": {
      +        "number": 2
      +        "protocol": "SLP"
      +        "type": "SLP_TOKEN_TYPE_MINT_VAULT"
      +      }
      +    }
      +    "value": 10000
      +  }
      +]
====== SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1 ======
AssertionError: expected [] to deeply equal [ { outpoint: { …(2) }, …(5) } ]
    at Context.<anonymous> (tests/slp.test.ts:784:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -[]
      +[
      +  {
      +    "blockHeight": -1
      +    "isCoinbase": false
      +    "isFinal": false
      +    "outpoint": {
      +      "outIdx": 1
      +      "txid": "b0273e181799228d3bd510d373b9fa4328dda57f7acf6c3a2e507b9b08a157fd"
      +    }
      +    "token": {
      +      "amount": "2000"
      +      "isMintBaton": false
      +      "tokenId": "b0273e181799228d3bd510d373b9fa4328dda57f7acf6c3a2e507b9b08a157fd"
      +      "tokenType": {
      +        "number": 129
      +        "protocol": "SLP"
      +        "type": "SLP_TOKEN_TYPE_NFT1_GROUP"
      +      }
      +    }
      +    "value": 10000
      +  }
      +]

Each failure log is accessible here:
ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP
SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE
SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT
SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1

correctly implement skipping OP_RETURNs

This revision is now accepted and ready to land.Oct 17 2024, 07:53