Will give comprehensive overview on 5th January evening
Details
- Reviewers
Fabien - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project
run cargo test -- --nocapture in bitcoinsuite-chronik-client. Please set your local path to BUILD_DIR within test_runner.rs
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- test_runner
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Event Timeline
Tail of the build log:
Compiling url v2.5.4 Compiling prost-build v0.11.9 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Compiling tokio-util v0.7.13 Compiling tokio-native-tls v0.3.1 Compiling h2 v0.3.26 Compiling hyper v0.14.31 Compiling hyper-tls v0.5.0 Compiling reqwest v0.11.27 Compiling bitcoinsuite-chronik-client v0.1.0 (/work/modules/bitcoinsuite-chronik-client) Finished dev [unoptimized + debuginfo] target(s) in 23.63s warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions Downloading crates ... Downloaded pretty_assertions v1.4.1 Downloaded diff v0.1.13 Downloaded yansi v1.0.1 Compiling diff v0.1.13 Compiling yansi v1.0.1 Compiling pretty_assertions v1.4.1 Compiling bitcoinsuite-chronik-client v0.1.0 (/work/modules/bitcoinsuite-chronik-client) Finished test [unoptimized + debuginfo] target(s) in 2.93s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-989878a747e9856c) running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-fbd63ebf6d876bc9) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-844d7521bc7a4a8a) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/src/test_runner.rs:47:10: Failed to get absolute path to socket: Os { code: 2, kind: NotFound, message: "No such file or directory" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:43:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(1), "Failed to get absolute path to socket: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s error: test failed, to rerun pass `--test test_chronik_info` Build build-bitcoinsuite-chronik-client failed with exit code 101
Tail of the build log:
To address all issues, run: npm audit fix Run `npm audit` for details. > ecash-agora@0.2.0 integration-tests > mocha --import=tsx ./tests/*.test.ts --timeout 60000 --reporter mocha-junit-reporter --reporter-options mochaFile=test_results/ecash-agora-integration-tests-junit.xml --reporter-options testsuitesTitle=Ecash Agora Integration Tests --reporter-options rootSuiteTitle=Ecash Agora Test runner started Starting Bitcoin ABC functional tests Temporary test directory at /work/abc-ci-builds/ecash-agora-integration-tests/test/tmp/test_runner_₿₵_🏃_20250106_001344 ........... ---------------------------------------------------------------------- Ran 11 tests in 0.059s OK Socket file is at: /work/modules/bitcoinsuite-chronik-client/temporary/chronik_info.sock Error connecting to socket: [Errno 2] No such file or directory Running Unit Tests for Test Framework Modules [1msetup_scripts/ecash-agora_base.py[0m started [1msetup_scripts/ecash-agora_base.py[0m failed, Duration: 0 s [1mstdout:[0m [1mstderr:[0m [1m TEST | STATUS | DURATION [0m[0;31msetup_scripts/ecash-agora_base.py | ✖ Failed | 0 s [0m[0;31m[1m ALL | ✖ Failed | 0 s (accumulated) [0m[0mRuntime: 0 s Test runner completed with code 1 ------------|---------|----------|---------|---------|---------------------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ------------|---------|----------|---------|---------|---------------------------------------------- All files | 7.99 | 13.36 | 6.09 | 8.05 | ad.ts | 12.96 | 26.31 | 33.33 | 12.96 | 33-100,127-146 agora.ts | 7.53 | 6.25 | 3.03 | 7.53 | 98-474,526-888,908-914 consts.ts | 100 | 83.33 | 100 | 100 | 1 index.ts | 0 | 0 | 0 | 0 | oneshot.ts | 10.12 | 35.71 | 6.25 | 10.38 | 77-223,234-251,263-270,279-286 partial.ts | 4.45 | 7.35 | 3.44 | 4.5 | ...1,1326-1336,1346-1365,1382-1389,1399-1406 ------------|---------|----------|---------|---------|---------------------------------------------- ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='43'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='538'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='25'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='187'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='5'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='82'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='43'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='534'] ##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
Tail of the build log:
Compiling chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling abc-rust-lint v0.1.0 (/work/chronik/abc-rust-lint) Finished test [unoptimized + debuginfo] target(s) in 16.95s warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_error-340064ead0136139) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_error.rs (/work/target/debug/deps/test_error-e97564cfff0c3ba1) running 1 test test test_error ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_lint-95bfaf7c76bca9d6) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-f7a5128b077f16e5) running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-257e4a5a921ca396) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-7e96241c52914b98) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/src/test_runner.rs:47:10: Failed to get absolute path to socket: Os { code: 2, kind: NotFound, message: "No such file or directory" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:43:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(1), "Failed to get absolute path to socket: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s error: test failed, to rerun pass `-p bitcoinsuite-chronik-client --test test_chronik_info` Build build-explorer failed with exit code 101
Tail of the build log:
Test runner completed with code 1 ----------------------------|---------|----------|---------|---------|------------------------------ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------------|---------|----------|---------|---------|------------------------------ All files | 31.95 | 30.26 | 20.9 | 32.2 | ecash-lib | 0 | 0 | 0 | 0 | eslint.config.js | 0 | 0 | 0 | 0 | ecash-lib/src | 44.94 | 34.03 | 25.28 | 45.59 | consts.ts | 0 | 100 | 100 | 0 | 6-8 ecc.ts | 57.14 | 83.33 | 40 | 57.14 | 23-31 hash.ts | 66.66 | 83.33 | 40 | 66.66 | 14,17,20 index.ts | 0 | 0 | 0 | 0 | indexBrowser.ts | 0 | 0 | 0 | 0 | indexNodeJs.ts | 0 | 0 | 0 | 0 | initBrowser.ts | 0 | 100 | 0 | 0 | 11-13 initNodeJs.ts | 100 | 100 | 100 | 100 | op.ts | 40 | 44.44 | 66.66 | 40 | ...4,107,109,117-122,133-161 opcode.ts | 100 | 83.33 | 100 | 100 | 1 script.ts | 38.88 | 30 | 20 | 36.53 | 35-42,62-166,175-186 sigHashType.ts | 76.31 | 44 | 71.42 | 76.31 | 26-58 tx.ts | 32.6 | 20.83 | 9.09 | 34.09 | ...8,143-145,150-151,156,176 txBuilder.ts | 16.12 | 17.24 | 7.14 | 16.66 | ...7,231-234,243-247,253-257 unsignedTx.ts | 13.04 | 9.43 | 5 | 13.74 | ...9,336-340,344,350-351,356 ecash-lib/src/address | 22.8 | 25.64 | 9.52 | 23 | address.ts | 21.62 | 20 | 6.25 | 21.91 | ...3,239-240,255-256,266-344 legacyaddr.ts | 25 | 35.71 | 20 | 25 | 15-19,23-38,70-111,124-128 ecash-lib/src/ffi | 8.38 | 1.44 | 1.88 | 8.59 | ecash_lib_wasm_browser.js | 0 | 0 | 0 | 0 | 3-336 ecash_lib_wasm_nodejs.js | 18.36 | 5 | 4.34 | 18.62 | ...0-155,171-243,250-251,255 ecash-lib/src/io | 38.23 | 47.05 | 44.11 | 38.16 | bytes.ts | 7.4 | 71.42 | 12.5 | 7.4 | 13-64 hex.ts | 58.97 | 62.5 | 40 | 61.76 | 33-37,41-45,50,58,66-68 int.ts | 0 | 0 | 0 | 0 | str.ts | 85.71 | 83.33 | 66.66 | 85.71 | 15 varsize.ts | 12 | 22.72 | 33.33 | 12 | 14-24,35-47 writer.ts | 0 | 0 | 0 | 0 | writerbytes.ts | 43.33 | 36.84 | 62.5 | 43.33 | 33,42-67,79 writerlength.ts | 62.5 | 83.33 | 57.14 | 62.5 | 26-36 ecash-lib/src/test | 42.68 | 35.41 | 36.84 | 42.1 | testRunner.ts | 42.68 | 35.41 | 36.84 | 42.1 | ...-75,87-89,102-112,122-207 ecash-lib/src/token | 27.37 | 28.57 | 13.33 | 27.52 | alp.ts | 18.29 | 26.31 | 8.33 | 18.29 | ...3,127-131,135-137,141-145 common.ts | 100 | 83.33 | 100 | 100 | 1 empp.ts | 46.15 | 62.5 | 25 | 50 | 11-14,22-28 slp.ts | 28.2 | 13.51 | 7.69 | 28.2 | ...7,174-178,185-197,201-211 ----------------------------|---------|----------|---------|---------|------------------------------ ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='456'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='1427'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='161'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='532'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='51'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='244'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='448'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='1391'] ##teamcity[blockClosed name='Code Coverage Summary'] mv: cannot stat 'test_results/ecash-lib-integration-tests-junit.xml': No such file or directory Build ecash-lib-integration-tests failed with exit code 1
Tail of the build log:
Checking idna v1.0.3 Checking bincode v2.0.0-rc.3 Checking dirs v5.0.1 Checking http-body-util v0.1.2 Checking chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling itoa v1.0.14 Compiling ryu v1.0.18 Checking cobs v0.2.3 Checking foldhash v0.1.3 Checking postcard v1.1.1 Checking hyper v1.5.1 Checking url v2.5.4 Checking chronik-plugin v0.1.0 (/work/chronik/chronik-plugin) Checking karyon_core v0.1.8 Checking async-tungstenite v0.28.0 Checking toml_datetime v0.6.8 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking serde_spanned v0.6.8 Compiling pyo3 v0.23.3 Checking winnow v0.6.20 Checking sync_wrapper v1.0.2 Checking topo_sort v0.4.0 Checking seahash v4.1.0 Checking tower v0.5.1 Checking axum-core v0.4.5 Checking hyper-util v0.1.10 Checking memoffset v0.9.1 Checking tokio-tungstenite v0.24.0 Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.31 Checking serde_path_to_error v0.1.16 Checking unindent v0.2.3 Checking base64 v0.22.1 Checking matchit v0.7.3 Compiling karyon_jsonrpc_macro v0.1.8 Checking unicode-segmentation v1.12.0 Checking futures v0.3.31 Checking tower-http v0.5.2 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Checking toml_edit v0.22.22 Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.9 Checking toml v0.8.19 Compiling pyo3-macros v0.23.3 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking futures-rustls v0.26.0 Checking karyon_async_rustls v0.1.8 Checking karyon_net v0.1.8 Checking karyon_jsonrpc v0.1.8 Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 5m 35s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik failed with exit code 1
Tail of the build log:
Checking idna v1.0.3 Checking dirs v5.0.1 Checking bincode v2.0.0-rc.3 Checking http-body-util v0.1.2 Checking chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling itoa v1.0.14 Checking foldhash v0.1.3 Compiling ryu v1.0.18 Checking cobs v0.2.3 Checking hyper v1.5.1 Checking postcard v1.1.1 Checking url v2.5.4 Checking chronik-plugin v0.1.0 (/work/chronik/chronik-plugin) Checking karyon_core v0.1.8 Checking async-tungstenite v0.28.0 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking serde_spanned v0.6.8 Checking toml_datetime v0.6.8 Compiling pyo3 v0.23.3 Checking sync_wrapper v1.0.2 Checking winnow v0.6.20 Checking seahash v4.1.0 Checking topo_sort v0.4.0 Checking axum-core v0.4.5 Checking tower v0.5.1 Checking hyper-util v0.1.10 Checking memoffset v0.9.1 Checking tokio-tungstenite v0.24.0 Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.31 Checking serde_path_to_error v0.1.16 Checking matchit v0.7.3 Checking unicode-segmentation v1.12.0 Checking unindent v0.2.3 Checking base64 v0.22.1 Checking futures v0.3.31 Checking tower-http v0.5.2 Compiling karyon_jsonrpc_macro v0.1.8 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Checking toml_edit v0.22.22 Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.9 Checking toml v0.8.19 Compiling pyo3-macros v0.23.3 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking futures-rustls v0.26.0 Checking karyon_async_rustls v0.1.8 Checking karyon_net v0.1.8 Checking karyon_jsonrpc v0.1.8 Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 7m 39s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik-plugins failed with exit code 1
Tail of the build log:
To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. > chronik-client@2.1.1 integration-tests > mocha -j1 -r ts-node/register test/integration/*.ts --reporter mocha-junit-reporter --reporter-options mochaFile=test_results/chronik-client-integration-tests-junit.xml --reporter-options testsuitesTitle=Chronik Client Integration Tests --reporter-options rootSuiteTitle=Chronik Client Starting test_runner for chronik-client_block_and_blocks Test runner for chronik-client_block_and_blocks started Socket file is at: /work/modules/bitcoinsuite-chronik-client/temporary/chronik_info.sock Error connecting to socket: [Errno 2] No such file or directory Running Unit Tests for Test Framework Modules [1msetup_scripts/chronik-client_block_and_blocks.py[0m started [1msetup_scripts/chronik-client_block_and_blocks.py[0m failed, Duration: 0 s [1mstdout:[0m [1mstderr:[0m [1m TEST | STATUS | DURATION [0m[0;31msetup_scripts/chronik-client_block_and_blocks.py | ✖ Failed | 0 s [0m[0;31m[1m ALL | ✖ Failed | 0 s (accumulated) [0m[0mRuntime: 0 s Test runner for chronik-client_block_and_blocks completed with code 1 ----------------------|---------|----------|---------|---------|------------------------------------ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------|---------|----------|---------|---------|------------------------------------ All files | 4.69 | 0.45 | 1.05 | 4.58 | chronik-client | 100 | 100 | 100 | 100 | index.ts | 100 | 100 | 100 | 100 | chronik-client/proto | 3.87 | 0.49 | 1.38 | 3.91 | chronik.ts | 3.87 | 0.49 | 1.38 | 3.91 | ...7,6332-6371,6379-6483,6487-6496 chronik-client/src | 8.33 | 0 | 0 | 7.59 | ChronikClient.ts | 4.91 | 0 | 0 | 4.91 | ...20-392,405-462,476-580,648-1451 failoverProxy.ts | 4.67 | 0 | 0 | 4.8 | 33-327 hex.ts | 31.57 | 0 | 0 | 33.33 | 33-37,41-45,49-62,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='147'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='3132'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='12'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2645'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='6'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='567'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='142'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='3097'] ##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
modules/bitcoinsuite-chronik-client/src/chronik_info.rs | ||
---|---|---|
1 ↗ | (On Diff #51972) | it's now 2025 |
14 ↗ | (On Diff #51972) | Use a TODO or FIXME marker in the comment for things like this |
18 ↗ | (On Diff #51972) | |
22 ↗ | (On Diff #51972) | Please go though all your comments and fixes these errors |
25 ↗ | (On Diff #51972) | What is 32 ? Can you use a constant instead of a magic number (so it's self documented) ? |
93 ↗ | (On Diff #51972) | All the test related code should be moved into a test/ directory so it's not confused with the "main" client code |
modules/bitcoinsuite-chronik-client/src/lib.rs | ||
19 ↗ | (On Diff #51972) | I don't think these need to be public, it's only for testing |
modules/bitcoinsuite-chronik-client/src/test_runner.rs | ||
1 ↗ | (On Diff #51972) | copyright |
37 ↗ | (On Diff #51972) | This is not the best idea, you don't want to create files in the source tree. Can you create a temporary directory instead ? |
62 ↗ | (On Diff #51972) | the fallback might not work but let's not focus on this right now, it's good enough as a starting point |
83 ↗ | (On Diff #51972) | We generally avoid this kind of comment because it simply brings no value. The code is obvious already |
98 ↗ | (On Diff #51972) | But really this is another example of useless comment |
modules/bitcoinsuite-chronik-client/tests/test_chronik_client.rs | ||
5 ↗ | (On Diff #51972) | ? |
modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs | ||
19 ↗ | (On Diff #51972) | we need to check that it returns the expected value |
test/functional/setup_scripts/ipc.py | ||
45 ↗ | (On Diff #51972) | IMO you'd better keep the same messages, so use json for all of them. Your current approach is mixing json and plain text which is weird. |
Cleaned the comments, updated socket to use tmp dir, implemented chronik_info test on live endpoint
Tail of the build log:
running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-b803fe3de9ce29a5) running 14 tests test test_history ... ok test test_broadcast_tx ... ok test test_blocks ... ok test test_slpv1_token ... ok test test_raw_tx ... ok test test_chronik_info ... ok test test_slpv2_token ... ok test test_broadcast_txs ... ok test test_raw_tx_missing ... ok test test_blockchain_info ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.27s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-137d1e97063b287a) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s error: test failed, to rerun pass `--test test_chronik_info` Build build-bitcoinsuite-chronik-client failed with exit code 101
Tail of the build log:
Build 'Bitcoin ABC Diffs / Diff Testing' #89425, branch 'refs/tags/phabricator/diff/52017' Triggered 2025-01-07 14:39:36 by 'Phabricator Staging (phabricator-staging)' Started 2025-01-07 14:43:32 on agent 'buildagent9' Finished 2025-01-07 14:43:32 with status FAILURE 'Unable to collect changes' VCS revisions: 'BitcoinABC_BitcoinAbcStaging' (Git, instance id 22): 'N/A' (checkout rules: '+:. => ./bitcoin-abc') TeamCity URL https://build.bitcoinabc.org/buildConfiguration/BitcoinABC_BitcoinAbcStaging/882894 TeamCity server version is 2024.12 (build 174331), server timezone: GMT (UTC) [14:39:36]E: bt15 (3m:55s) [14:39:36]i: TeamCity server version is 2024.12 (build 174331) [14:39:36] : Finalize build settings [14:39:36] : Collecting changes in 2 VCS roots [14:39:36] : [Collecting changes in 2 VCS roots] VCS Root details [14:39:36] : [VCS Root details] "Bitcoin ABC Staging" {instance id=22, parent internal id=3, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"} [14:39:36] : [VCS Root details] "abc-infrastructure" {instance id=24, parent internal id=7, parent id=AutomatedDeployments_BitcoinAbcDeveloperTools_AbcInfrastructure, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/infrastructure.git#refs/heads/master"} [14:39:36]i: Loading current repository state for VCS root 'Bitcoin ABC Staging' (running for 3m:55s) [14:39:36]i: [Loading current repository state for VCS root 'Bitcoin ABC Staging'] Loading current repository state for VCS root 'abc-infrastructure' (running for 3m:55s) [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper10465681012416391493.sh ls-remote origin [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper5104635785081387636.sh ls-remote origin [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': kex_exchange_identification: Connection closed by remote host [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': Connection closed by 51.161.87.173 port 2221 [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': fatal: Could not read from remote repository. [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': Please make sure you have the correct access rights [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': and the repository exists. [14:39:36]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': Warning: Permanently added '[reviews.bitcoinabc.org]:2221' (ED25519) to the list of known hosts. [14:39:37]i: [Loading current repository state for VCS root 'abc-infrastructure'] Detecting changes in VCS root 'abc-infrastructure' (used in 'Bitcoin-ABC Infra Checkout', 'Extract Electrum ABC from ABC' and 5 other configurations) [14:39:37]i: [Loading current repository state for VCS root 'abc-infrastructure'] Will collect changes for 'abc-infrastructure' starting from revision 8bd105f8a65e40e3b0942b63bba4a735b877f2da [14:39:37] : Compute revision for 'abc-infrastructure' in Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout [14:39:37] : [Compute revision for 'abc-infrastructure' in Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout] Upper limit revision: 8bd105f8a65e40e3b0942b63bba4a735b877f2da [14:39:37]i: [Compute revision for 'abc-infrastructure' in Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout] MaxModId = 77176 [14:39:37] : [Compute revision for 'abc-infrastructure' in Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout] Computed revision: 8bd105f8a65e40e3b0942b63bba4a735b877f2da [14:43:32] : The build is removed from the queue to be prepared for the start [14:43:32]E: Failed to collect changes, error: git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper10465681012416391493.sh ls-remote origin command failed. exit code: 128 stderr: kex_exchange_identification: Connection closed by remote host Connection closed by 51.161.87.173 port 2221 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists., VCS root: "Bitcoin ABC Staging" {instance id=22, parent internal id=3, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"} [14:43:32]E: Failed to collect changes, error: git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper10465681012416391493.sh ls-remote origin command failed. exit code: 128 stderr: kex_exchange_identification: Connection closed by remote host Connection closed by 51.161.87.173 port 2221 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists., VCS root: "Bitcoin ABC Staging" {instance id=22, parent internal id=3, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"} [14:43:32] : Build finished
Tail of the build log:
running 2 tests test tests::test_constructor_trailing_slash ... ok test tests::test_constructor_invalid_schema ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-58d6031cd6342b22) running 14 tests test test_raw_tx ... ok test test_raw_tx_missing ... ok test test_broadcast_tx ... ok test test_blockchain_info ... ok test test_slpv2_token ... ok test test_chronik_info ... ok test test_slpv1_token ... ok test test_history ... ok test test_blocks ... ok test test_broadcast_txs ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.40s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-d8a7f690a867811d) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s error: test failed, to rerun pass `-p bitcoinsuite-chronik-client --test test_chronik_info` Build build-explorer failed with exit code 101
Tail of the build log:
running 2 tests test tests::test_constructor_trailing_slash ... ok test tests::test_constructor_invalid_schema ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-b803fe3de9ce29a5) running 14 tests test test_broadcast_tx ... ok test test_broadcast_txs ... ok test test_raw_tx ... ok test test_slpv2_token ... ok test test_blocks ... ok test test_blockchain_info ... ok test test_raw_tx_missing ... ok test test_slpv1_token ... ok test test_history ... ok test test_chronik_info ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.26s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-137d1e97063b287a) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s error: test failed, to rerun pass `--test test_chronik_info` Build build-bitcoinsuite-chronik-client failed with exit code 101
Tail of the build log:
Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik failed with exit code 1
Tail of the build log:
Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik-plugins failed with exit code 1
Tail of the build log:
Checking idna v1.0.3 Checking bincode v2.0.0-rc.3 Checking dirs v5.0.1 Checking http-body-util v0.1.2 Checking chronik-util v0.1.0 (/work/chronik/chronik-util) Checking foldhash v0.1.3 Checking cobs v0.2.3 Compiling ryu v1.0.18 Compiling itoa v1.0.14 Checking postcard v1.1.1 Checking hyper v1.5.1 Checking url v2.5.4 Checking chronik-plugin v0.1.0 (/work/chronik/chronik-plugin) Checking karyon_core v0.1.8 Checking async-tungstenite v0.28.0 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking toml_datetime v0.6.8 Checking serde_spanned v0.6.8 Compiling pyo3 v0.23.3 Checking seahash v4.1.0 Checking sync_wrapper v1.0.2 Checking winnow v0.6.20 Checking topo_sort v0.4.0 Checking hyper-util v0.1.10 Checking axum-core v0.4.5 Checking tower v0.5.1 Checking memoffset v0.9.1 Checking tokio-tungstenite v0.24.0 Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.31 Checking serde_path_to_error v0.1.16 Checking unindent v0.2.3 Checking unicode-segmentation v1.12.0 Checking base64 v0.22.1 Checking matchit v0.7.3 Checking futures v0.3.31 Checking tower-http v0.5.2 Compiling karyon_jsonrpc_macro v0.1.8 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Compiling librocksdb-sys v0.11.0+8.1.1 Checking toml_edit v0.22.22 Checking axum v0.7.9 Checking toml v0.8.19 Compiling pyo3-macros v0.23.3 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking futures-rustls v0.26.0 Checking karyon_async_rustls v0.1.8 Checking karyon_net v0.1.8 Checking karyon_jsonrpc v0.1.8 Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 5m 58s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik failed with exit code 1
Tail of the build log:
To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. > chronik-client@2.1.1 integration-tests > mocha -j1 -r ts-node/register test/integration/*.ts --reporter mocha-junit-reporter --reporter-options mochaFile=test_results/chronik-client-integration-tests-junit.xml --reporter-options testsuitesTitle=Chronik Client Integration Tests --reporter-options rootSuiteTitle=Chronik Client Starting test_runner for chronik-client_block_and_blocks Test runner for chronik-client_block_and_blocks started Socket file is at: None SOCKET environment variable is not set. Running Unit Tests for Test Framework Modules [1msetup_scripts/chronik-client_block_and_blocks.py[0m started [1msetup_scripts/chronik-client_block_and_blocks.py[0m failed, Duration: 0 s [1mstdout:[0m [1mstderr:[0m [1m TEST | STATUS | DURATION [0m[0;31msetup_scripts/chronik-client_block_and_blocks.py | ✖ Failed | 0 s [0m[0;31m[1m ALL | ✖ Failed | 0 s (accumulated) [0m[0mRuntime: 0 s Test runner for chronik-client_block_and_blocks completed with code 1 ----------------------|---------|----------|---------|---------|------------------------------------ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------|---------|----------|---------|---------|------------------------------------ All files | 4.69 | 0.45 | 1.05 | 4.58 | chronik-client | 100 | 100 | 100 | 100 | index.ts | 100 | 100 | 100 | 100 | chronik-client/proto | 3.87 | 0.49 | 1.38 | 3.91 | chronik.ts | 3.87 | 0.49 | 1.38 | 3.91 | ...7,6332-6371,6379-6483,6487-6496 chronik-client/src | 8.33 | 0 | 0 | 7.59 | ChronikClient.ts | 4.91 | 0 | 0 | 4.91 | ...20-392,405-462,476-580,648-1451 failoverProxy.ts | 4.67 | 0 | 0 | 4.8 | 33-327 hex.ts | 31.57 | 0 | 0 | 33.33 | 33-37,41-45,49-62,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='147'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='3132'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='12'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2645'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='6'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='567'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='142'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='3097'] ##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
Tail of the build log:
Checking idna v1.0.3 Checking dirs v5.0.1 Checking bincode v2.0.0-rc.3 Checking http-body-util v0.1.2 Checking chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling itoa v1.0.14 Compiling ryu v1.0.18 Checking cobs v0.2.3 Checking foldhash v0.1.3 Checking postcard v1.1.1 Checking hyper v1.5.1 Checking url v2.5.4 Checking karyon_core v0.1.8 Checking chronik-plugin v0.1.0 (/work/chronik/chronik-plugin) Checking async-tungstenite v0.28.0 Checking serde_spanned v0.6.8 Checking toml_datetime v0.6.8 Compiling pyo3 v0.23.3 Checking seahash v4.1.0 Checking winnow v0.6.20 Checking sync_wrapper v1.0.2 Checking topo_sort v0.4.0 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking tower v0.5.1 Checking axum-core v0.4.5 Checking hyper-util v0.1.10 Checking memoffset v0.9.1 Checking tokio-tungstenite v0.24.0 Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.31 Checking serde_path_to_error v0.1.16 Checking unicode-segmentation v1.12.0 Checking unindent v0.2.3 Checking base64 v0.22.1 Compiling karyon_jsonrpc_macro v0.1.8 Checking matchit v0.7.3 Checking futures v0.3.31 Checking tower-http v0.5.2 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Checking toml_edit v0.22.22 Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.9 Checking toml v0.8.19 Compiling pyo3-macros v0.23.3 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking futures-rustls v0.26.0 Checking karyon_async_rustls v0.1.8 Checking karyon_net v0.1.8 Checking karyon_jsonrpc v0.1.8 Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 7m 53s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik-plugins failed with exit code 1
Tail of the build log:
running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-58d6031cd6342b22) running 14 tests test test_raw_tx ... ok test test_raw_tx_missing ... ok test test_broadcast_txs ... ok test test_blockchain_info ... ok test test_slpv2_token ... ok test test_slpv1_token ... ok test test_history ... ok test test_chronik_info ... ok test test_broadcast_tx ... ok test test_blocks ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.23s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-d8a7f690a867811d) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s error: test failed, to rerun pass `-p bitcoinsuite-chronik-client --test test_chronik_info` Build build-explorer failed with exit code 101
Tail of the build log:
To address all issues, run: npm audit fix Run `npm audit` for details. > ecash-agora@0.2.0 integration-tests > mocha --import=tsx ./tests/*.test.ts --timeout 60000 --reporter mocha-junit-reporter --reporter-options mochaFile=test_results/ecash-agora-integration-tests-junit.xml --reporter-options testsuitesTitle=Ecash Agora Integration Tests --reporter-options rootSuiteTitle=Ecash Agora Test runner started Starting Bitcoin ABC functional tests Temporary test directory at /work/abc-ci-builds/ecash-agora-integration-tests/test/tmp/test_runner_₿₵_🏃_20250107_145522 ........... ---------------------------------------------------------------------- Ran 11 tests in 0.055s OK Socket file is at: None SOCKET environment variable is not set. Running Unit Tests for Test Framework Modules [1msetup_scripts/ecash-agora_base.py[0m started [1msetup_scripts/ecash-agora_base.py[0m failed, Duration: 0 s [1mstdout:[0m [1mstderr:[0m [1m TEST | STATUS | DURATION [0m[0;31msetup_scripts/ecash-agora_base.py | ✖ Failed | 0 s [0m[0;31m[1m ALL | ✖ Failed | 0 s (accumulated) [0m[0mRuntime: 0 s Test runner completed with code 1 ------------|---------|----------|---------|---------|---------------------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ------------|---------|----------|---------|---------|---------------------------------------------- All files | 7.99 | 13.36 | 6.09 | 8.05 | ad.ts | 12.96 | 26.31 | 33.33 | 12.96 | 33-100,127-146 agora.ts | 7.53 | 6.25 | 3.03 | 7.53 | 98-474,526-888,908-914 consts.ts | 100 | 83.33 | 100 | 100 | 1 index.ts | 0 | 0 | 0 | 0 | oneshot.ts | 10.12 | 35.71 | 6.25 | 10.38 | 77-223,234-251,263-270,279-286 partial.ts | 4.45 | 7.35 | 3.44 | 4.5 | ...1,1326-1336,1346-1365,1382-1389,1399-1406 ------------|---------|----------|---------|---------|---------------------------------------------- ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='43'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='538'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='25'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='187'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='5'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='82'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='43'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='534'] ##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
Tail of the build log:
To address all issues, run: npm audit fix Run `npm audit` for details. > ecash-agora@0.2.0 integration-tests > mocha --import=tsx ./tests/*.test.ts --timeout 60000 --reporter mocha-junit-reporter --reporter-options mochaFile=test_results/ecash-agora-integration-tests-junit.xml --reporter-options testsuitesTitle=Ecash Agora Integration Tests --reporter-options rootSuiteTitle=Ecash Agora Test runner started Starting Bitcoin ABC functional tests Temporary test directory at /work/abc-ci-builds/ecash-agora-integration-tests/test/tmp/test_runner_₿₵_🏃_20250107_150021 ........... ---------------------------------------------------------------------- Ran 11 tests in 0.055s OK Socket file is at: None SOCKET environment variable is not set. Running Unit Tests for Test Framework Modules [1msetup_scripts/ecash-agora_base.py[0m started [1msetup_scripts/ecash-agora_base.py[0m failed, Duration: 0 s [1mstdout:[0m [1mstderr:[0m [1m TEST | STATUS | DURATION [0m[0;31msetup_scripts/ecash-agora_base.py | ✖ Failed | 0 s [0m[0;31m[1m ALL | ✖ Failed | 0 s (accumulated) [0m[0mRuntime: 0 s Test runner completed with code 1 ------------|---------|----------|---------|---------|---------------------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ------------|---------|----------|---------|---------|---------------------------------------------- All files | 7.99 | 13.36 | 6.09 | 8.05 | ad.ts | 12.96 | 26.31 | 33.33 | 12.96 | 33-100,127-146 agora.ts | 7.53 | 6.25 | 3.03 | 7.53 | 98-474,526-888,908-914 consts.ts | 100 | 83.33 | 100 | 100 | 1 index.ts | 0 | 0 | 0 | 0 | oneshot.ts | 10.12 | 35.71 | 6.25 | 10.38 | 77-223,234-251,263-270,279-286 partial.ts | 4.45 | 7.35 | 3.44 | 4.5 | ...1,1326-1336,1346-1365,1382-1389,1399-1406 ------------|---------|----------|---------|---------|---------------------------------------------- ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='43'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='538'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='25'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='187'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='5'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='82'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='43'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='534'] ##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
Tail of the build log:
Test runner completed with code 1 ----------------------------|---------|----------|---------|---------|------------------------------ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------------|---------|----------|---------|---------|------------------------------ All files | 31.95 | 30.26 | 20.9 | 32.2 | ecash-lib | 0 | 0 | 0 | 0 | eslint.config.js | 0 | 0 | 0 | 0 | ecash-lib/src | 44.94 | 34.03 | 25.28 | 45.59 | consts.ts | 0 | 100 | 100 | 0 | 6-8 ecc.ts | 57.14 | 83.33 | 40 | 57.14 | 23-31 hash.ts | 66.66 | 83.33 | 40 | 66.66 | 14,17,20 index.ts | 0 | 0 | 0 | 0 | indexBrowser.ts | 0 | 0 | 0 | 0 | indexNodeJs.ts | 0 | 0 | 0 | 0 | initBrowser.ts | 0 | 100 | 0 | 0 | 11-13 initNodeJs.ts | 100 | 100 | 100 | 100 | op.ts | 40 | 44.44 | 66.66 | 40 | ...4,107,109,117-122,133-161 opcode.ts | 100 | 83.33 | 100 | 100 | 1 script.ts | 38.88 | 30 | 20 | 36.53 | 35-42,62-166,175-186 sigHashType.ts | 76.31 | 44 | 71.42 | 76.31 | 26-58 tx.ts | 32.6 | 20.83 | 9.09 | 34.09 | ...8,143-145,150-151,156,176 txBuilder.ts | 16.12 | 17.24 | 7.14 | 16.66 | ...7,231-234,243-247,253-257 unsignedTx.ts | 13.04 | 9.43 | 5 | 13.74 | ...9,336-340,344,350-351,356 ecash-lib/src/address | 22.8 | 25.64 | 9.52 | 23 | address.ts | 21.62 | 20 | 6.25 | 21.91 | ...3,239-240,255-256,266-344 legacyaddr.ts | 25 | 35.71 | 20 | 25 | 15-19,23-38,70-111,124-128 ecash-lib/src/ffi | 8.38 | 1.44 | 1.88 | 8.59 | ecash_lib_wasm_browser.js | 0 | 0 | 0 | 0 | 3-336 ecash_lib_wasm_nodejs.js | 18.36 | 5 | 4.34 | 18.62 | ...0-155,171-243,250-251,255 ecash-lib/src/io | 38.23 | 47.05 | 44.11 | 38.16 | bytes.ts | 7.4 | 71.42 | 12.5 | 7.4 | 13-64 hex.ts | 58.97 | 62.5 | 40 | 61.76 | 33-37,41-45,50,58,66-68 int.ts | 0 | 0 | 0 | 0 | str.ts | 85.71 | 83.33 | 66.66 | 85.71 | 15 varsize.ts | 12 | 22.72 | 33.33 | 12 | 14-24,35-47 writer.ts | 0 | 0 | 0 | 0 | writerbytes.ts | 43.33 | 36.84 | 62.5 | 43.33 | 33,42-67,79 writerlength.ts | 62.5 | 83.33 | 57.14 | 62.5 | 26-36 ecash-lib/src/test | 42.68 | 35.41 | 36.84 | 42.1 | testRunner.ts | 42.68 | 35.41 | 36.84 | 42.1 | ...-75,87-89,102-112,122-207 ecash-lib/src/token | 27.37 | 28.57 | 13.33 | 27.52 | alp.ts | 18.29 | 26.31 | 8.33 | 18.29 | ...3,127-131,135-137,141-145 common.ts | 100 | 83.33 | 100 | 100 | 1 empp.ts | 46.15 | 62.5 | 25 | 50 | 11-14,22-28 slp.ts | 28.2 | 13.51 | 7.69 | 28.2 | ...7,174-178,185-197,201-211 ----------------------------|---------|----------|---------|---------|------------------------------ ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='456'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='1427'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='161'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='532'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='51'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='244'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='448'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='1391'] ##teamcity[blockClosed name='Code Coverage Summary'] mv: cannot stat 'test_results/ecash-lib-integration-tests-junit.xml': No such file or directory Build ecash-lib-integration-tests failed with exit code 1
Tail of the build log:
Test runner completed with code 1 ----------------------------|---------|----------|---------|---------|------------------------------ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------------|---------|----------|---------|---------|------------------------------ All files | 31.95 | 30.26 | 20.9 | 32.2 | ecash-lib | 0 | 0 | 0 | 0 | eslint.config.js | 0 | 0 | 0 | 0 | ecash-lib/src | 44.94 | 34.03 | 25.28 | 45.59 | consts.ts | 0 | 100 | 100 | 0 | 6-8 ecc.ts | 57.14 | 83.33 | 40 | 57.14 | 23-31 hash.ts | 66.66 | 83.33 | 40 | 66.66 | 14,17,20 index.ts | 0 | 0 | 0 | 0 | indexBrowser.ts | 0 | 0 | 0 | 0 | indexNodeJs.ts | 0 | 0 | 0 | 0 | initBrowser.ts | 0 | 100 | 0 | 0 | 11-13 initNodeJs.ts | 100 | 100 | 100 | 100 | op.ts | 40 | 44.44 | 66.66 | 40 | ...4,107,109,117-122,133-161 opcode.ts | 100 | 83.33 | 100 | 100 | 1 script.ts | 38.88 | 30 | 20 | 36.53 | 35-42,62-166,175-186 sigHashType.ts | 76.31 | 44 | 71.42 | 76.31 | 26-58 tx.ts | 32.6 | 20.83 | 9.09 | 34.09 | ...8,143-145,150-151,156,176 txBuilder.ts | 16.12 | 17.24 | 7.14 | 16.66 | ...7,231-234,243-247,253-257 unsignedTx.ts | 13.04 | 9.43 | 5 | 13.74 | ...9,336-340,344,350-351,356 ecash-lib/src/address | 22.8 | 25.64 | 9.52 | 23 | address.ts | 21.62 | 20 | 6.25 | 21.91 | ...3,239-240,255-256,266-344 legacyaddr.ts | 25 | 35.71 | 20 | 25 | 15-19,23-38,70-111,124-128 ecash-lib/src/ffi | 8.38 | 1.44 | 1.88 | 8.59 | ecash_lib_wasm_browser.js | 0 | 0 | 0 | 0 | 3-336 ecash_lib_wasm_nodejs.js | 18.36 | 5 | 4.34 | 18.62 | ...0-155,171-243,250-251,255 ecash-lib/src/io | 38.23 | 47.05 | 44.11 | 38.16 | bytes.ts | 7.4 | 71.42 | 12.5 | 7.4 | 13-64 hex.ts | 58.97 | 62.5 | 40 | 61.76 | 33-37,41-45,50,58,66-68 int.ts | 0 | 0 | 0 | 0 | str.ts | 85.71 | 83.33 | 66.66 | 85.71 | 15 varsize.ts | 12 | 22.72 | 33.33 | 12 | 14-24,35-47 writer.ts | 0 | 0 | 0 | 0 | writerbytes.ts | 43.33 | 36.84 | 62.5 | 43.33 | 33,42-67,79 writerlength.ts | 62.5 | 83.33 | 57.14 | 62.5 | 26-36 ecash-lib/src/test | 42.68 | 35.41 | 36.84 | 42.1 | testRunner.ts | 42.68 | 35.41 | 36.84 | 42.1 | ...-75,87-89,102-112,122-207 ecash-lib/src/token | 27.37 | 28.57 | 13.33 | 27.52 | alp.ts | 18.29 | 26.31 | 8.33 | 18.29 | ...3,127-131,135-137,141-145 common.ts | 100 | 83.33 | 100 | 100 | 1 empp.ts | 46.15 | 62.5 | 25 | 50 | 11-14,22-28 slp.ts | 28.2 | 13.51 | 7.69 | 28.2 | ...7,174-178,185-197,201-211 ----------------------------|---------|----------|---------|---------|------------------------------ ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='456'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='1427'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='161'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='532'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='51'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='244'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='448'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='1391'] ##teamcity[blockClosed name='Code Coverage Summary'] mv: cannot stat 'test_results/ecash-lib-integration-tests-junit.xml': No such file or directory Build ecash-lib-integration-tests failed with exit code 1
Tail of the build log:
To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. > chronik-client@2.1.1 integration-tests > mocha -j1 -r ts-node/register test/integration/*.ts --reporter mocha-junit-reporter --reporter-options mochaFile=test_results/chronik-client-integration-tests-junit.xml --reporter-options testsuitesTitle=Chronik Client Integration Tests --reporter-options rootSuiteTitle=Chronik Client Starting test_runner for chronik-client_block_and_blocks Test runner for chronik-client_block_and_blocks started Socket file is at: None SOCKET environment variable is not set. Running Unit Tests for Test Framework Modules [1msetup_scripts/chronik-client_block_and_blocks.py[0m started [1msetup_scripts/chronik-client_block_and_blocks.py[0m failed, Duration: 0 s [1mstdout:[0m [1mstderr:[0m [1m TEST | STATUS | DURATION [0m[0;31msetup_scripts/chronik-client_block_and_blocks.py | ✖ Failed | 0 s [0m[0;31m[1m ALL | ✖ Failed | 0 s (accumulated) [0m[0mRuntime: 0 s Test runner for chronik-client_block_and_blocks completed with code 1 ----------------------|---------|----------|---------|---------|------------------------------------ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------|---------|----------|---------|---------|------------------------------------ All files | 4.69 | 0.45 | 1.05 | 4.58 | chronik-client | 100 | 100 | 100 | 100 | index.ts | 100 | 100 | 100 | 100 | chronik-client/proto | 3.87 | 0.49 | 1.38 | 3.91 | chronik.ts | 3.87 | 0.49 | 1.38 | 3.91 | ...7,6332-6371,6379-6483,6487-6496 chronik-client/src | 8.33 | 0 | 0 | 7.59 | ChronikClient.ts | 4.91 | 0 | 0 | 4.91 | ...20-392,405-462,476-580,648-1451 failoverProxy.ts | 4.67 | 0 | 0 | 4.8 | 33-327 hex.ts | 31.57 | 0 | 0 | 33.33 | 33-37,41-45,49-62,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='147'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='3132'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='12'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2645'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='6'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='567'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='142'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='3097'] ##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
Tail of the build log:
running 2 tests test tests::test_constructor_trailing_slash ... ok test tests::test_constructor_invalid_schema ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-b803fe3de9ce29a5) running 14 tests test test_slpv2_token ... ok test test_history ... ok test test_chronik_info ... ok test test_blockchain_info ... ok test test_slpv1_token ... ok test test_raw_tx ... ok test test_broadcast_txs ... ok test test_broadcast_tx ... ok test test_blocks ... ok test test_raw_tx_missing ... ok test test_block ... ok test test_tx_missing ... ok test test_tx ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.49s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-137d1e97063b287a) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s error: test failed, to rerun pass `--test test_chronik_info` Build build-bitcoinsuite-chronik-client failed with exit code 101
Tail of the build log:
running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-58d6031cd6342b22) running 14 tests test test_slpv1_token ... ok test test_raw_tx_missing ... ok test test_blocks ... ok test test_history ... ok test test_broadcast_tx ... ok test test_slpv2_token ... ok test test_chronik_info ... ok test test_raw_tx ... ok test test_broadcast_txs ... ok test test_blockchain_info ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.34s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-d8a7f690a867811d) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s error: test failed, to rerun pass `-p bitcoinsuite-chronik-client --test test_chronik_info` Build build-explorer failed with exit code 101
Tail of the build log:
Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik failed with exit code 1
Tail of the build log:
Build 'Bitcoin ABC Diffs / Diff Testing' #89623, branch 'refs/tags/phabricator/diff/52076' Triggered 2025-01-09 17:49:32 by 'Phabricator Staging (phabricator-staging)' Started 2025-01-09 17:57:08 on agent 'buildagent1' Finished 2025-01-09 17:57:08 with status FAILURE 'Unable to collect changes' VCS revisions: 'BitcoinABC_BitcoinAbcStaging' (Git, instance id 22): 'N/A' (checkout rules: '+:. => ./bitcoin-abc') TeamCity URL https://build.bitcoinabc.org/buildConfiguration/BitcoinABC_BitcoinAbcStaging/884336 TeamCity server version is 2024.12 (build 174331), server timezone: GMT (UTC) [17:49:32]E: bt15 (7m:36s) [17:49:32]i: TeamCity server version is 2024.12 (build 174331) [17:49:32] : Finalize build settings [17:49:32] : Collecting changes in 2 VCS roots [17:49:32] : [Collecting changes in 2 VCS roots] VCS Root details [17:49:32] : [VCS Root details] "Bitcoin ABC Staging" {instance id=22, parent internal id=3, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"} [17:49:32] : [VCS Root details] "abc-infrastructure" {instance id=24, parent internal id=7, parent id=AutomatedDeployments_BitcoinAbcDeveloperTools_AbcInfrastructure, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/infrastructure.git#refs/heads/master"} [17:49:32]i: Loading current repository state for VCS root 'Bitcoin ABC Staging' [17:49:32]i: [Loading current repository state for VCS root 'Bitcoin ABC Staging'] VCS root 'Bitcoin ABC Staging': git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper16904457397439395217.sh ls-remote origin [17:49:32]i: [Loading current repository state for VCS root 'Bitcoin ABC Staging'] VCS root 'Bitcoin ABC Staging': kex_exchange_identification: read: Connection reset by peer [17:49:32]i: [Loading current repository state for VCS root 'Bitcoin ABC Staging'] VCS root 'Bitcoin ABC Staging': Connection reset by 51.161.87.173 port 2221 [17:49:32]i: [Loading current repository state for VCS root 'Bitcoin ABC Staging'] VCS root 'Bitcoin ABC Staging': fatal: Could not read from remote repository. [17:49:32]i: [Loading current repository state for VCS root 'Bitcoin ABC Staging'] VCS root 'Bitcoin ABC Staging': [17:49:32]i: [Loading current repository state for VCS root 'Bitcoin ABC Staging'] VCS root 'Bitcoin ABC Staging': Please make sure you have the correct access rights [17:49:32]i: [Loading current repository state for VCS root 'Bitcoin ABC Staging'] VCS root 'Bitcoin ABC Staging': and the repository exists. [17:49:32]i: Loading current repository state for VCS root 'abc-infrastructure' [17:49:32]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper1511625219581315205.sh ls-remote origin [17:49:32]i: [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': Warning: Permanently added '[reviews.bitcoinabc.org]:2221' (ED25519) to the list of known hosts. [17:49:33]i: Detecting changes in VCS root 'abc-infrastructure' (used in 'Bitcoin-ABC Infra Checkout', 'Extract Electrum ABC from ABC' and 5 other configurations) [17:49:33]i: Will collect changes for 'abc-infrastructure' starting from revision 8bd105f8a65e40e3b0942b63bba4a735b877f2da [17:49:33] : Compute revision for 'abc-infrastructure' in Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout [17:49:33] : [Compute revision for 'abc-infrastructure' in Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout] Upper limit revision: 8bd105f8a65e40e3b0942b63bba4a735b877f2da [17:49:33]i: [Compute revision for 'abc-infrastructure' in Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout] MaxModId = 77176 [17:49:33] : [Compute revision for 'abc-infrastructure' in Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout] Computed revision: 8bd105f8a65e40e3b0942b63bba4a735b877f2da [17:57:08] : The build is removed from the queue to be prepared for the start [17:57:08]E: Failed to collect changes, error: git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper16904457397439395217.sh ls-remote origin command failed. exit code: 128 stderr: kex_exchange_identification: read: Connection reset by peer Connection reset by 51.161.87.173 port 2221 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists., VCS root: "Bitcoin ABC Staging" {instance id=22, parent internal id=3, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"} [17:57:08]E: Failed to collect changes, error: git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper16904457397439395217.sh ls-remote origin command failed. exit code: 128 stderr: kex_exchange_identification: read: Connection reset by peer Connection reset by 51.161.87.173 port 2221 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists., VCS root: "Bitcoin ABC Staging" {instance id=22, parent internal id=3, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"} [17:57:08] : Build finished
Tail of the build log:
running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-b803fe3de9ce29a5) running 14 tests test test_chronik_info ... ok test test_blocks ... ok test test_history ... ok test test_broadcast_txs ... ok test test_broadcast_tx ... ok test test_slpv1_token ... ok test test_raw_tx ... ok test test_raw_tx_missing ... ok test test_slpv2_token ... ok test test_blockchain_info ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.23s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-137d1e97063b287a) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s error: test failed, to rerun pass `--test test_chronik_info` Build build-bitcoinsuite-chronik-client failed with exit code 101
Tail of the build log:
Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik-plugins failed with exit code 1
Tail of the build log:
data: "abc" } } } time_first_seen: 1736445689 size: 178 ]) 2025-01-09T18:01:30.069000Z TestFramework (INFO): Stopping nodes 2025-01-09T18:01:30.222000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20250109_180128/setup_scripts/chronik-client_plugins_0 2025-01-09T18:01:30.222000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20250109_180128/setup_scripts/chronik-client_plugins_0/test_framework.log 2025-01-09T18:01:30.222000Z TestFramework (ERROR): 2025-01-09T18:01:30.223000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20250109_180128/setup_scripts/chronik-client_plugins_0' to consolidate all logs 2025-01-09T18:01:30.223000Z TestFramework (ERROR): 2025-01-09T18:01:30.223000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. 2025-01-09T18:01:30.224000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues 2025-01-09T18:01:30.224000Z TestFramework (ERROR): Running Unit Tests for Test Framework Modules [1msetup_scripts/chronik-client_plugins.py[0m started [1msetup_scripts/chronik-client_plugins.py[0m failed, Duration: 2 s [1mstdout:[0m [1mstderr:[0m [1m TEST | STATUS | DURATION [0m[0;31msetup_scripts/chronik-client_plugins.py | ✖ Failed | 2 s [0m[0;31m[1m ALL | ✖ Failed | 2 s (accumulated) [0m[0mRuntime: 2 s Test runner for chronik-client_plugins completed with code 1 ----------------------|---------|----------|---------|---------|------------------------------------ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------|---------|----------|---------|---------|------------------------------------ All files | 31.54 | 10.28 | 28.39 | 31.51 | chronik-client | 100 | 100 | 100 | 100 | index.ts | 100 | 100 | 100 | 100 | chronik-client/proto | 23.88 | 7.25 | 17.05 | 24.1 | chronik.ts | 23.88 | 7.25 | 17.05 | 24.1 | ...5,6401-6404,6410-6452,6487-6496 chronik-client/src | 67.21 | 46.11 | 65.41 | 66.48 | ChronikClient.ts | 60.38 | 44.65 | 63.63 | 60.38 | ...6,1357-1365,1373-1438,1446-1451 failoverProxy.ts | 79.43 | 56.66 | 69.23 | 78.84 | ...282-285,288,297,304,308,313,317 hex.ts | 89.47 | 50 | 75 | 87.87 | 58,66-68 validation.ts | 75.6 | 40 | 75 | 72.97 | 17,21,33,38-49,62-63 ----------------------|---------|----------|---------|---------|------------------------------------ ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='988'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='3132'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='272'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2645'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='161'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='567'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='976'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='3097'] ##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
Tail of the build log:
Checking dirs v5.0.1 Checking idna v1.0.3 Checking bincode v2.0.0-rc.3 Checking http-body-util v0.1.2 Checking chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling ryu v1.0.18 Checking foldhash v0.1.3 Compiling itoa v1.0.14 Checking cobs v0.2.3 Checking hyper v1.5.1 Checking url v2.5.4 Checking postcard v1.1.1 Checking karyon_core v0.1.8 Checking chronik-plugin v0.1.0 (/work/chronik/chronik-plugin) Checking async-tungstenite v0.28.0 Checking toml_datetime v0.6.8 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking serde_spanned v0.6.8 Compiling pyo3 v0.23.3 Checking seahash v4.1.0 Checking winnow v0.6.20 Checking sync_wrapper v1.0.2 Checking topo_sort v0.4.0 Checking axum-core v0.4.5 Checking hyper-util v0.1.10 Checking tower v0.5.1 Checking memoffset v0.9.1 Checking tokio-tungstenite v0.24.0 Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.31 Checking serde_path_to_error v0.1.16 Checking base64 v0.22.1 Checking unicode-segmentation v1.12.0 Checking matchit v0.7.3 Checking unindent v0.2.3 Compiling karyon_jsonrpc_macro v0.1.8 Checking futures v0.3.31 Checking tower-http v0.5.2 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Checking toml_edit v0.22.22 Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.9 Checking toml v0.8.19 Compiling pyo3-macros v0.23.3 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking futures-rustls v0.26.0 Checking karyon_async_rustls v0.1.8 Checking karyon_net v0.1.8 Checking karyon_jsonrpc v0.1.8 Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 5m 33s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik failed with exit code 1
Tail of the build log:
Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik-plugins failed with exit code 1
Tail of the build log:
running 2 tests test tests::test_constructor_trailing_slash ... ok test tests::test_constructor_invalid_schema ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-58d6031cd6342b22) running 14 tests test test_history ... ok test test_slpv2_token ... ok test test_raw_tx ... ok test test_raw_tx_missing ... ok test test_blocks ... ok test test_slpv1_token ... ok test test_broadcast_txs ... ok test test_chronik_info ... ok test test_blockchain_info ... ok test test_broadcast_tx ... ok test test_block ... ok test test_tx_missing ... ok test test_tx ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.26s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-d8a7f690a867811d) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s error: test failed, to rerun pass `-p bitcoinsuite-chronik-client --test test_chronik_info` Build build-explorer failed with exit code 101
Tail of the build log:
running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-b803fe3de9ce29a5) running 14 tests test test_slpv1_token ... ok test test_blockchain_info ... ok test test_chronik_info ... ok test test_blocks ... ok test test_history ... ok test test_broadcast_txs ... ok test test_raw_tx_missing ... ok test test_slpv2_token ... ok test test_broadcast_tx ... ok test test_raw_tx ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.24s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-137d1e97063b287a) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s error: test failed, to rerun pass `--test test_chronik_info` Build build-bitcoinsuite-chronik-client failed with exit code 101
Tail of the build log:
Checking parking_lot v0.12.3 Checking dirs v5.0.1 Checking bincode v2.0.0-rc.3 Checking http-body-util v0.1.2 Checking chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling itoa v1.0.14 Checking cobs v0.2.3 Checking foldhash v0.1.3 Compiling ryu v1.0.18 Checking postcard v1.1.1 Checking hyper v1.5.1 Checking url v2.5.4 Checking chronik-plugin v0.1.0 (/work/chronik/chronik-plugin) Checking karyon_core v0.1.8 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking async-tungstenite v0.28.0 Checking toml_datetime v0.6.8 Checking serde_spanned v0.6.8 Compiling pyo3 v0.23.3 Checking topo_sort v0.4.0 Checking winnow v0.6.20 Checking sync_wrapper v1.0.2 Checking seahash v4.1.0 Checking axum-core v0.4.5 Checking tower v0.5.1 Checking hyper-util v0.1.10 Checking memoffset v0.9.1 Checking tokio-tungstenite v0.24.0 Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.31 Checking serde_path_to_error v0.1.16 Checking unindent v0.2.3 Checking unicode-segmentation v1.12.0 Checking base64 v0.22.1 Checking matchit v0.7.3 Compiling karyon_jsonrpc_macro v0.1.8 Checking futures v0.3.31 Checking tower-http v0.5.2 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Checking toml_edit v0.22.22 Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.9 Compiling pyo3-macros v0.23.3 Checking toml v0.8.19 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking futures-rustls v0.26.0 Checking karyon_async_rustls v0.1.8 Checking karyon_net v0.1.8 Checking karyon_jsonrpc v0.1.8 Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 5m 35s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik failed with exit code 1
Tail of the build log:
Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik-plugins failed with exit code 1
Tail of the build log:
running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-58d6031cd6342b22) running 14 tests test test_raw_tx_missing ... ok test test_chronik_info ... ok test test_blockchain_info ... ok test test_broadcast_tx ... ok test test_history ... ok test test_raw_tx ... ok test test_broadcast_txs ... ok test test_slpv2_token ... ok test test_slpv1_token ... ok test test_blocks ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.29s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-d8a7f690a867811d) running 1 test test test_chronik_info_ipc ... FAILED failures: ---- test_chronik_info_ipc stdout ---- "/tmp/chronik_info.socket" Server is listening on "/tmp/chronik_info.socket" thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:41:43: called `Result::unwrap()` on an `Err` value: HTTP request error Caused by: 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111) 1: error trying to connect: tcp connect error: Connection refused (os error 111) 2: tcp connect error: Connection refused (os error 111) 3: Connection refused (os error 111) Location: /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'test_chronik_info_ipc' panicked at modules/bitcoinsuite-chronik-client/tests/test_chronik_info.rs:45:21: called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(2), "called `Result::unwrap()` on an `Err` value: HTTP request error\n\nCaused by:\n 0: error sending request for url (http://127.0.0.1:26123/chronik-info): error trying to connect: tcp connect error: Connection refused (os error 111)\n 1: error trying to connect: tcp connect error: Connection refused (os error 111)\n 2: tcp connect error: Connection refused (os error 111)\n 3: Connection refused (os error 111)\n\nLocation:\n /work/modules/bitcoinsuite-chronik-client/src/lib.rs:265:14", ...) failures: test_chronik_info_ipc test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s error: test failed, to rerun pass `-p bitcoinsuite-chronik-client --test test_chronik_info` Build build-explorer failed with exit code 101
Revamped test_chronik_info to compare the output of bitcoinsuite-chronik-client string vs the one from the child process (python). Also made chronik_url = TestInfo.version, given from IPC
Tail of the build log:
warning: `bitcoinsuite-chronik-client` (lib test) generated 3 warnings (run `cargo fix --lib -p bitcoinsuite-chronik-client --tests` to apply 3 suggestions) Compiling abc-rust-error v0.1.0 (/work/chronik/abc-rust-error) Compiling bitcoinsuite-core v0.1.0 (/work/chronik/bitcoinsuite-core) Compiling chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling abc-rust-lint v0.1.0 (/work/chronik/abc-rust-lint) Finished test [unoptimized + debuginfo] target(s) in 16.81s warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_error-340064ead0136139) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_error.rs (/work/target/debug/deps/test_error-e97564cfff0c3ba1) running 1 test test test_error ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_lint-95bfaf7c76bca9d6) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-98760f97bad00542) running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-6f3d9d883d3df050) running 14 tests test test_raw_tx ... ok test test_slpv2_token ... ok test test_broadcast_txs ... ok test test_blocks ... ok test test_raw_tx_missing ... ok test test_blockchain_info ... ok test test_history ... ok test test_broadcast_tx ... ok test test_chronik_info ... ok test test_slpv1_token ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.47s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-87953f6074b9a607) running 1 test test test_chronik_info_ipc has been running for over 60 seconds Build build-explorer timed out after 1200.0s
Tail of the build log:
| ^^^^^^^^^^^^^^^^^^^^ warning: `bitcoinsuite-chronik-client` (lib) generated 3 warnings (run `cargo fix --lib -p bitcoinsuite-chronik-client` to apply 3 suggestions) Compiling pretty_assertions v1.4.1 Compiling bitcoinsuite-chronik-client v0.1.0 (/work/modules/bitcoinsuite-chronik-client) warning: unused import: `std::fs::File` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:5:5 | 5 | use std::fs::File; | ^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `Write`, `self` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:6:15 | 6 | use std::io::{self, Write}; | ^^^^ ^^^^^ warning: unused import: `rand::Rng` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:11:5 | 11 | use rand::Rng; | ^^^^^^^^^ warning: `bitcoinsuite-chronik-client` (lib test) generated 3 warnings (run `cargo fix --lib -p bitcoinsuite-chronik-client --tests` to apply 3 suggestions) Finished test [unoptimized + debuginfo] target(s) in 2.85s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-5e191835e93fe5dc) running 2 tests test tests::test_constructor_trailing_slash ... ok test tests::test_constructor_invalid_schema ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-3a2ae2c98be13ace) running 14 tests test test_raw_tx_missing ... ok test test_raw_tx ... ok test test_blockchain_info ... ok test test_broadcast_txs ... ok test test_chronik_info ... ok test test_history ... ok test test_slpv1_token ... ok test test_blocks ... ok test test_slpv2_token ... ok test test_broadcast_tx ... ok test test_block ... ok test test_tx_missing ... ok test test_tx ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.25s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-f3becc3b61a4689e) running 1 test test test_chronik_info_ipc has been running for over 60 seconds Build build-bitcoinsuite-chronik-client timed out after 1200.0s
Tail of the build log:
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s Build build-chronik timed out after 3600.0s
Tail of the build log:
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s Build build-chronik-plugins timed out after 3600.0s
You need to extract the lib.rs and test_chronik_client.rs changes to their own diff. It's not worth waiting more to benefit from the added value of the new endpoint
modules/bitcoinsuite-chronik-client/src/lib.rs | ||
---|---|---|
1 | This is not a new file, you cannot change the copyright like this. | |
modules/bitcoinsuite-chronik-client/tests/test_chronik_client.rs | ||
1 | Dito |
Tail of the build log:
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------------|---------|----------|---------|---------|------------------------------ All files | 30.11 | 28.5 | 31.2 | 47.74 | ecash-lib | 0 | 0 | 0 | 0 | eslint.config.js | 0 | 0 | 0 | 0 | ecash-lib/dist/ffi | 0 | 0 | 0 | 0 | ecash_lib_wasm_browser.js | 0 | 0 | 0 | 0 | 3-336 ecash_lib_wasm_nodejs.js | 0 | 0 | 0 | 0 | 1-264 ecash-lib/src | 35.84 | 28.6 | 39.24 | 68.05 | consts.ts | 0 | 100 | 100 | 0 | 6-8 ecc.ts | 30.76 | 83.33 | 22.22 | 57.14 | 23-31 hash.ts | 47.05 | 83.33 | 44.44 | 88.88 | 14 index.ts | 0 | 0 | 0 | 0 | indexBrowser.ts | 0 | 0 | 0 | 0 | indexNodeJs.ts | 0 | 0 | 0 | 0 | initBrowser.ts | 0 | 100 | 0 | 0 | 11-13 initNodeJs.ts | 53.84 | 100 | 66.66 | 85.71 | 12 op.ts | 20.13 | 23.33 | 36.36 | 39.47 | ...4,107,109,117-122,133-161 opcode.ts | 50.2 | 83.33 | 100 | 100 | 1 script.ts | 28.97 | 20.58 | 31.03 | 51.78 | ...1-122,133,143,153,175-186 sigHashType.ts | 40 | 25 | 46.15 | 78.94 | 26-38 tx.ts | 47.25 | 45.23 | 47.61 | 87.23 | 110,114,123-125,144 txBuilder.ts | 40.64 | 32.69 | 54.54 | 80.21 | ...4,157,176-181,186,256-260 unsignedTx.ts | 25.27 | 16 | 30.76 | 46.15 | ...9,312,320,326-329,345,357 ecash-lib/src/address | 11.35 | 15.15 | 5.12 | 22.41 | address.ts | 10.95 | 11.36 | 3.22 | 21.05 | ...3,239-240,255-256,266-344 legacyaddr.ts | 12.04 | 22.72 | 12.5 | 25 | 15-19,23-38,70-111,124-128 ecash-lib/src/ffi | 28.26 | 15.94 | 16.98 | 28.98 | ecash_lib_wasm_browser.js | 0 | 0 | 0 | 0 | 3-336 ecash_lib_wasm_nodejs.js | 61.9 | 55 | 39.13 | 62.75 | ...1,197-215,237,250-251,255 ecash-lib/src/io | 30.45 | 41 | 38.7 | 58.77 | bytes.ts | 3.77 | 62.5 | 6.66 | 7.4 | 13-64 hex.ts | 41.55 | 50 | 44.44 | 82.35 | 41-45,50,58 int.ts | 0 | 0 | 0 | 0 | str.ts | 46.15 | 83.33 | 40 | 85.71 | 15 varsize.ts | 16.32 | 21.05 | 40 | 32 | 14-24,40-47 writer.ts | 0 | 0 | 0 | 0 | writerbytes.ts | 42.37 | 40.62 | 53.33 | 83.33 | 33,43,53,63,79 writerlength.ts | 53.33 | 83.33 | 53.84 | 100 | 1 ecash-lib/src/test | 46.2 | 37.68 | 50 | 89.47 | testRunner.ts | 46.2 | 37.68 | 50 | 89.47 | 73-75,88-89,112,123,166 ecash-lib/src/token | 45.48 | 43.96 | 50 | 87.07 | alp.ts | 42.5 | 53.12 | 43.47 | 82.92 | 110-123,142 common.ts | 54.54 | 83.33 | 100 | 100 | 1 empp.ts | 52.17 | 60 | 57.14 | 91.66 | 12 slp.ts | 46.97 | 33.82 | 52 | 89.74 | ...9,161,167,175,178,197,202 ----------------------------|---------|----------|---------|---------|------------------------------ ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='846'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='2809'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='258'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='905'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='142'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='455'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='826'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='1730'] ##teamcity[blockClosed name='Code Coverage Summary'] mv: cannot stat 'test_results/ecash-lib-integration-tests-junit.xml': No such file or directory Build ecash-lib-integration-tests failed with exit code 1
Tail of the build log:
| ^^^^^^^^^^^^^^^^^^^^ warning: `bitcoinsuite-chronik-client` (lib) generated 3 warnings (run `cargo fix --lib -p bitcoinsuite-chronik-client` to apply 3 suggestions) Compiling pretty_assertions v1.4.1 Compiling bitcoinsuite-chronik-client v0.1.0 (/work/modules/bitcoinsuite-chronik-client) warning: unused import: `std::fs::File` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:5:5 | 5 | use std::fs::File; | ^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `Write`, `self` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:6:15 | 6 | use std::io::{self, Write}; | ^^^^ ^^^^^ warning: unused import: `rand::Rng` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:11:5 | 11 | use rand::Rng; | ^^^^^^^^^ warning: `bitcoinsuite-chronik-client` (lib test) generated 3 warnings (run `cargo fix --lib -p bitcoinsuite-chronik-client --tests` to apply 3 suggestions) Finished test [unoptimized + debuginfo] target(s) in 3.14s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-52ebb0caef872f40) running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-91cc3563b0998d41) running 14 tests test test_broadcast_tx ... ok test test_blocks ... ok test test_slpv2_token ... ok test test_raw_tx ... ok test test_raw_tx_missing ... ok test test_slpv1_token ... ok test test_chronik_info ... ok test test_broadcast_txs ... ok test test_history ... ok test test_blockchain_info ... ok test test_block ... ok test test_tx_missing ... ok test test_tx ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.27s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-e9150f00fec65253) running 1 test test test_chronik_info_ipc has been running for over 60 seconds Build build-bitcoinsuite-chronik-client timed out after 1200.0s
Tail of the build log:
data: "abc" } } } time_first_seen: 1736942417 size: 178 ]) 2025-01-15T12:00:18.087000Z TestFramework (INFO): Stopping nodes 2025-01-15T12:00:18.239000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20250115_120016/setup_scripts/chronik-client_plugins_0 2025-01-15T12:00:18.239000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20250115_120016/setup_scripts/chronik-client_plugins_0/test_framework.log 2025-01-15T12:00:18.240000Z TestFramework (ERROR): 2025-01-15T12:00:18.240000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20250115_120016/setup_scripts/chronik-client_plugins_0' to consolidate all logs 2025-01-15T12:00:18.240000Z TestFramework (ERROR): 2025-01-15T12:00:18.240000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. 2025-01-15T12:00:18.241000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues 2025-01-15T12:00:18.241000Z TestFramework (ERROR): Running Unit Tests for Test Framework Modules [1msetup_scripts/chronik-client_plugins.py[0m started [1msetup_scripts/chronik-client_plugins.py[0m failed, Duration: 2 s [1mstdout:[0m [1mstderr:[0m [1m TEST | STATUS | DURATION [0m[0;31msetup_scripts/chronik-client_plugins.py | ✖ Failed | 2 s [0m[0;31m[1m ALL | ✖ Failed | 2 s (accumulated) [0m[0mRuntime: 2 s Test runner for chronik-client_plugins completed with code 1 ----------------------|---------|----------|---------|---------|------------------------------------ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------------|---------|----------|---------|---------|------------------------------------ All files | 31.54 | 10.28 | 28.39 | 31.51 | chronik-client | 100 | 100 | 100 | 100 | index.ts | 100 | 100 | 100 | 100 | chronik-client/proto | 23.88 | 7.25 | 17.05 | 24.1 | chronik.ts | 23.88 | 7.25 | 17.05 | 24.1 | ...5,6401-6404,6410-6452,6487-6496 chronik-client/src | 67.21 | 46.11 | 65.41 | 66.48 | ChronikClient.ts | 60.38 | 44.65 | 63.63 | 60.38 | ...6,1357-1365,1373-1438,1446-1451 failoverProxy.ts | 79.43 | 56.66 | 69.23 | 78.84 | ...282-285,288,297,304,308,313,317 hex.ts | 89.47 | 50 | 75 | 87.87 | 58,66-68 validation.ts | 75.6 | 40 | 75 | 72.97 | 17,21,33,38-49,62-63 ----------------------|---------|----------|---------|---------|------------------------------------ ##teamcity[blockOpened name='Code Coverage Summary'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='988'] ##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='3132'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='272'] ##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2645'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='161'] ##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='567'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='976'] ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='3097'] ##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
Tail of the build log:
Compiling abc-rust-error v0.1.0 (/work/chronik/abc-rust-error) Compiling bitcoinsuite-core v0.1.0 (/work/chronik/bitcoinsuite-core) Compiling chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling abc-rust-lint v0.1.0 (/work/chronik/abc-rust-lint) warning: `bitcoinsuite-chronik-client` (lib test) generated 3 warnings (run `cargo fix --lib -p bitcoinsuite-chronik-client --tests` to apply 3 suggestions) Finished test [unoptimized + debuginfo] target(s) in 17.21s warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_error-340064ead0136139) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_error.rs (/work/target/debug/deps/test_error-e97564cfff0c3ba1) running 1 test test test_error ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_lint-95bfaf7c76bca9d6) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-e75149af081d47b0) running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-098a098ed2f87fb7) running 14 tests test test_broadcast_txs ... ok test test_raw_tx_missing ... ok test test_slpv1_token ... ok test test_history ... ok test test_raw_tx ... ok test test_chronik_info ... ok test test_blockchain_info ... ok test test_blocks ... ok test test_broadcast_tx ... ok test test_slpv2_token ... ok test test_block ... ok test test_tx_missing ... ok test test_tx ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.46s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-26750fd8f25b18ec) running 1 test test test_chronik_info_ipc has been running for over 60 seconds Build build-explorer timed out after 1200.0s
Tail of the build log:
| ^^^^^^^^^^^^^^^^^^^^ warning: `bitcoinsuite-chronik-client` (lib) generated 3 warnings (run `cargo fix --lib -p bitcoinsuite-chronik-client` to apply 3 suggestions) Compiling pretty_assertions v1.4.1 Compiling bitcoinsuite-chronik-client v0.1.0 (/work/modules/bitcoinsuite-chronik-client) warning: unused import: `std::fs::File` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:5:5 | 5 | use std::fs::File; | ^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `Write`, `self` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:6:15 | 6 | use std::io::{self, Write}; | ^^^^ ^^^^^ warning: unused import: `rand::Rng` --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:11:5 | 11 | use rand::Rng; | ^^^^^^^^^ warning: `bitcoinsuite-chronik-client` (lib test) generated 3 warnings (run `cargo fix --lib -p bitcoinsuite-chronik-client --tests` to apply 3 suggestions) Finished test [unoptimized + debuginfo] target(s) in 3.05s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-52ebb0caef872f40) running 2 tests test tests::test_constructor_trailing_slash ... ok test tests::test_constructor_invalid_schema ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-91cc3563b0998d41) running 14 tests test test_blocks ... ok test test_blockchain_info ... ok test test_broadcast_txs ... ok test test_raw_tx_missing ... ok test test_raw_tx ... ok test test_slpv2_token ... ok test test_chronik_info ... ok test test_slpv1_token ... ok test test_history ... ok test test_broadcast_tx ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.01s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-e9150f00fec65253) running 1 test test test_chronik_info_ipc has been running for over 60 seconds Build build-bitcoinsuite-chronik-client timed out after 1200.0s
Tail of the build log:
Compiling chronik-plugin-common v0.1.0 (/work/chronik/chronik-plugin-common) Compiling abc-rust-error v0.1.0 (/work/chronik/abc-rust-error) Compiling bitcoinsuite-core v0.1.0 (/work/chronik/bitcoinsuite-core) Compiling chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling abc-rust-lint v0.1.0 (/work/chronik/abc-rust-lint) Finished test [unoptimized + debuginfo] target(s) in 16.76s warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_error-340064ead0136139) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_error.rs (/work/target/debug/deps/test_error-e97564cfff0c3ba1) running 1 test test test_error ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_lint-95bfaf7c76bca9d6) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-e75149af081d47b0) running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-098a098ed2f87fb7) running 14 tests test test_history ... ok test test_blockchain_info ... ok test test_slpv2_token ... ok test test_slpv1_token ... ok test test_broadcast_txs ... ok test test_broadcast_tx ... ok test test_blocks ... ok test test_raw_tx ... ok test test_chronik_info ... ok test test_raw_tx_missing ... ok test test_block ... ok test test_tx_missing ... ok test test_tx ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.47s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-26750fd8f25b18ec) running 1 test test test_chronik_info_ipc has been running for over 60 seconds Build build-explorer timed out after 1200.0s
Tail of the build log:
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s Build build-chronik timed out after 3600.0s
Tail of the build log:
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s Build build-chronik-plugins timed out after 3600.0s
Tail of the build log:
Checking http-body-util v0.1.2 Checking chronik-util v0.1.0 (/work/chronik/chronik-util) Checking sha1 v0.10.6 Checking data-encoding v2.6.0 Compiling itoa v1.0.14 Compiling ryu v1.0.18 Checking utf-8 v0.7.6 Checking foldhash v0.1.3 Checking cobs v0.2.3 Checking tungstenite v0.24.0 Checking chronik-plugin-common v0.1.0 (/work/chronik/chronik-plugin-common) Checking postcard v1.1.1 Checking url v2.5.4 Checking chronik-plugin v0.1.0 (/work/chronik/chronik-plugin) Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking hyper v1.5.1 Checking karyon_core v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking toml_datetime v0.6.8 Checking serde_spanned v0.6.8 Compiling pyo3 v0.23.3 Checking sync_wrapper v1.0.2 Checking topo_sort v0.4.0 Checking winnow v0.6.20 Checking seahash v4.1.0 Checking axum-core v0.4.5 Checking tower v0.5.1 Checking tokio-tungstenite v0.24.0 Checking hyper-util v0.1.10 Checking memoffset v0.9.1 Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.31 Checking serde_path_to_error v0.1.16 Checking unindent v0.2.3 Checking base64 v0.22.1 Checking matchit v0.7.3 Checking unicode-segmentation v1.12.0 Compiling karyon_jsonrpc_macro v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking tower-http v0.5.2 Checking futures v0.3.31 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Checking toml_edit v0.22.22 Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.9 Checking toml v0.8.19 Compiling pyo3-macros v0.23.3 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking tokio-rustls v0.26.1 Checking karyon_async_rustls v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking karyon_net v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking karyon_jsonrpc v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 5m 24s Build build-chronik timed out after 3600.0s
Tail of the build log:
Checking http-body-util v0.1.2 Checking chronik-util v0.1.0 (/work/chronik/chronik-util) Checking chronik-plugin-common v0.1.0 (/work/chronik/chronik-plugin-common) Checking sha1 v0.10.6 Compiling itoa v1.0.14 Checking foldhash v0.1.3 Checking utf-8 v0.7.6 Checking cobs v0.2.3 Compiling ryu v1.0.18 Checking data-encoding v2.6.0 Checking postcard v1.1.1 Checking hyper v1.5.1 Checking chronik-plugin v0.1.0 (/work/chronik/chronik-plugin) Checking karyon_core v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking tungstenite v0.24.0 Checking url v2.5.4 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking toml_datetime v0.6.8 Checking serde_spanned v0.6.8 Compiling pyo3 v0.23.3 Checking seahash v4.1.0 Checking sync_wrapper v1.0.2 Checking topo_sort v0.4.0 Checking winnow v0.6.20 Checking axum-core v0.4.5 Checking tokio-tungstenite v0.24.0 Checking tower v0.5.1 Checking hyper-util v0.1.10 Checking memoffset v0.9.1 Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.31 Checking serde_path_to_error v0.1.16 Checking base64 v0.22.1 Checking unicode-segmentation v1.12.0 Checking matchit v0.7.3 Checking unindent v0.2.3 Compiling karyon_jsonrpc_macro v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking tower-http v0.5.2 Checking futures v0.3.31 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Checking toml_edit v0.22.22 Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.9 Checking toml v0.8.19 Compiling pyo3-macros v0.23.3 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking tokio-rustls v0.26.1 Checking karyon_async_rustls v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking karyon_net v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking karyon_jsonrpc v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 8m 27s Build build-chronik-plugins timed out after 3600.0s
Tail of the build log:
Compiling abc-rust-error v0.1.0 (/work/chronik/abc-rust-error) Compiling idna v1.0.3 Compiling http-body v0.4.6 Compiling url v2.5.4 Compiling prost-build v0.11.9 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Compiling tokio-util v0.7.13 Compiling tokio-native-tls v0.3.1 Compiling h2 v0.3.26 Compiling hyper v0.14.31 Compiling hyper-tls v0.5.0 Compiling reqwest v0.11.27 Compiling bitcoinsuite-chronik-client v0.1.0 (/work/modules/bitcoinsuite-chronik-client) Finished dev [unoptimized + debuginfo] target(s) in 23.51s warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions Downloading crates ... Downloaded yansi v1.0.1 Downloaded diff v0.1.13 Downloaded pretty_assertions v1.4.1 Compiling yansi v1.0.1 Compiling diff v0.1.13 Compiling pretty_assertions v1.4.1 Compiling bitcoinsuite-chronik-client v0.1.0 (/work/modules/bitcoinsuite-chronik-client) Finished test [unoptimized + debuginfo] target(s) in 3.02s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-52ebb0caef872f40) running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-91cc3563b0998d41) running 14 tests test test_blocks ... ok test test_broadcast_txs ... ok test test_raw_tx ... ok test test_broadcast_tx ... ok test test_blockchain_info ... ok test test_chronik_info ... ok test test_slpv1_token ... ok test test_raw_tx_missing ... ok test test_history ... ok test test_slpv2_token ... ok test test_block ... ok test test_tx_missing ... ok test test_tx ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.27s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-e9150f00fec65253) running 1 test test test_chronik_info_ipc has been running for over 60 seconds Build build-bitcoinsuite-chronik-client timed out after 1200.0s
Tail of the build log:
Compiling chronik-plugin-common v0.1.0 (/work/chronik/chronik-plugin-common) Compiling abc-rust-error v0.1.0 (/work/chronik/abc-rust-error) Compiling bitcoinsuite-core v0.1.0 (/work/chronik/bitcoinsuite-core) Compiling chronik-util v0.1.0 (/work/chronik/chronik-util) Compiling abc-rust-lint v0.1.0 (/work/chronik/abc-rust-lint) Finished test [unoptimized + debuginfo] target(s) in 16.81s warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_error-340064ead0136139) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_error.rs (/work/target/debug/deps/test_error-e97564cfff0c3ba1) running 1 test test test_error ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/abc_rust_lint-95bfaf7c76bca9d6) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/work/target/debug/deps/bitcoinsuite_chronik_client-e75149af081d47b0) running 2 tests test tests::test_constructor_invalid_schema ... ok test tests::test_constructor_trailing_slash ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/test_chronik_client.rs (/work/target/debug/deps/test_chronik_client-098a098ed2f87fb7) running 14 tests test test_slpv2_token ... ok test test_slpv1_token ... ok test test_raw_tx_missing ... ok test test_broadcast_tx ... ok test test_blockchain_info ... ok test test_raw_tx ... ok test test_blocks ... ok test test_chronik_info ... ok test test_history ... ok test test_broadcast_txs ... ok test test_block ... ok test test_tx ... ok test test_tx_missing ... ok test test_block_txs ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.57s Running tests/test_chronik_info.rs (/work/target/debug/deps/test_chronik_info-26750fd8f25b18ec) running 1 test test test_chronik_info_ipc has been running for over 60 seconds Build build-explorer timed out after 1200.0s
Tail of the build log:
Checking icu_locid v1.5.0 Checking serde v1.0.217 Checking icu_provider v1.5.0 Checking icu_locid_transform v1.5.0 Checking icu_properties v1.5.1 Checking bytes v1.9.0 Checking serde_json v1.0.133 Checking serde_urlencoded v0.7.1 Checking tokio v1.42.0 Checking http v0.2.12 Checking prost v0.11.9 Checking http v1.2.0 Checking icu_normalizer v1.5.0 Checking idna_adapter v1.2.0 Checking bitcoinsuite-core v0.1.0 (/work/chronik/bitcoinsuite-core) Checking idna v1.0.3 Checking abc-rust-error v0.1.0 (/work/chronik/abc-rust-error) Checking http-body v0.4.6 Checking url v2.5.4 Compiling prost-types v0.11.9 Checking bitcoinsuite-slp v0.1.0 (/work/chronik/bitcoinsuite-slp) Compiling prost-build v0.11.9 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking tokio-util v0.7.13 Checking tokio-native-tls v0.3.1 Checking h2 v0.3.26 Checking hyper v0.14.31 Checking hyper-tls v0.5.0 Checking reqwest v0.11.27 Checking bitcoinsuite-chronik-client v0.1.0 (/work/modules/bitcoinsuite-chronik-client) error: writing `&String` instead of `&str` involves a new object where a slice will do --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:76:14 | 76 | message: &String, | ^^^^^^^ help: change this to: `&str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `-D clippy::ptr-arg` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]` error: deref which would be done by auto-deref --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:114:36 | 114 | let _ = stdout.read_to_end(&mut *output_lock).await; | ^^^^^^^^^^^^^^^^^ help: try: `&mut output_lock` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref = note: `-D clippy::explicit-auto-deref` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::explicit_auto_deref)]` error: deref which would be done by auto-deref --> modules/bitcoinsuite-chronik-client/src/test_runner.rs:120:63 | 120 | eprintln!("\nOutput: {}", String::from_utf8_lossy(&*output)); | ^^^^^^^^ help: try: `&output` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref error: could not compile `bitcoinsuite-chronik-client` (lib) due to 3 previous errors Build build-chronik-plugins timed out after 3600.0s
Tail of the build log:
Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking sync_wrapper v1.0.2 Checking topo_sort v0.4.0 Checking memoffset v0.9.1 Checking karyon_core v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking hyper v1.5.1 Checking axum-core v0.4.5 Checking tower v0.5.1 Checking tokio-tungstenite v0.24.0 Checking serde_urlencoded v0.7.1 Checking hyper-util v0.1.10 Checking futures-executor v0.3.31 Compiling karyon_jsonrpc_macro v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking serde_path_to_error v0.1.16 Checking matchit v0.7.3 Checking unicode-segmentation v1.12.0 Checking unindent v0.2.3 Checking base64 v0.22.1 Checking tower-http v0.5.2 Checking futures v0.3.31 Checking convert_case v0.6.0 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Checking toml_edit v0.22.22 Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.9 Checking toml v0.8.19 Compiling pyo3-macros v0.23.3 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Compiling aws-lc-rs v1.11.1 Compiling rustls v0.23.19 Checking rustls-webpki v0.102.8 Checking tokio-rustls v0.26.1 Checking karyon_async_rustls v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking karyon_net v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking karyon_jsonrpc v0.2.1 (https://github.com/karyontech/karyon.git?rev=c019ca3273a89afb34e2aa429386851f45cfa5d1#c019ca32) Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) Checking chronik-indexer v0.1.0 (/work/chronik/chronik-indexer) Checking chronik-http v0.1.0 (/work/chronik/chronik-http) Finished dev [unoptimized + debuginfo] target(s) in 5m 15s [5/6] cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.cargo/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'abc-rust-*' -- -D warnings warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on build directory Checking memchr v2.7.4 Checking libc v0.2.167 Checking bytes v1.9.0 Checking http v1.2.0 Checking object v0.32.2 Checking backtrace v0.3.71 Checking stable-eyre v0.2.2 Checking abc-rust-error v0.1.0 (/work/chronik/abc-rust-error) Finished dev [unoptimized + debuginfo] target(s) in 5m 17s Build build-chronik timed out after 3600.0s