Page MenuHomePhabricator

[chronik-client]+[alias-server]+[examples] Use local dep instead of npm
ClosedPublic

Authored by bytesofman on May 8 2024, 22:19.

Details

Summary

T3548

Depends on D16133

Follow model used to successfully move Cashtab away from npm dependencies and toward monorepo hosted dependencies for packages maintained by ABC

Note: CI will be updated before landing

Test Plan

CI for integration tests
docker build -f chronik-client.Dockerfile -t chronik-client_local .

Diff Detail

Repository
rABC Bitcoin ABC
Branch
ecashaddrjs-local-deps
Lint
Lint Errors
SeverityLocationCodeMessage
Errorcontrib/teamcity/build-configurations.yml:123syntaxyamllint found an issue:
Unit
No Test Coverage
Build Status
Buildable 28955
Build 57447: Build Diffchronik-client-integration-tests · ecash-lib-integration-tests · ecash-agora-integration-tests · chronik-client-tests
Build 57446: arc lint + arc unit

Event Timeline

Failed tests logs:

====== SLP: "before all" hook for "SLP NFT1 Agora Oneshot".SLP "before all" hook for "SLP NFT1 Agora Oneshot" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js - /work/modules/chronik-client/dist/index.js - /work/modules/ecash-lib/dist/test/testRunner.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
- /work/modules/chronik-client/dist/index.js
- /work/modules/ecash-lib/dist/test/testRunner.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at <anonymous> (/work/modules/ecash-lib/src/test/testRunner.ts:44:39)
    at Function.setup (/work/modules/ecash-lib/src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/oneshot.test.ts:56:18)
====== SLP: "after all" hook for "SLP NFT1 Agora Oneshot".SLP "after all" hook for "SLP NFT1 Agora Oneshot" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/oneshot.test.ts:63:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
SLP: "before all" hook for "SLP NFT1 Agora Oneshot".SLP "before all" hook for "SLP NFT1 Agora Oneshot"
SLP: "after all" hook for "SLP NFT1 Agora Oneshot".SLP "after all" hook for "SLP NFT1 Agora Oneshot"

Failed tests logs:

====== ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/alp.test.ts:48:16)
    at process.processImmediate (node:internal/timers:478:21)
====== SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/slp.test.ts:72:16)
    at process.processImmediate (node:internal/timers:478:21)
====== TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/txBuilder.test.ts:64:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP"
ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP"
SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE"
SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1"
TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet"
TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure"

Tail of the build log:

    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:5:2010)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at Module.m._compile (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1618:23)
    at module.exports (/usr/lib/node_modules/nyc/node_modules/default-require-extensions/js.js:7:9)
    at /usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4
    at require.extensions.<computed> (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1621:12)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/test/integration/block_and_blocks.ts:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at Module.m._compile (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1618:23)
    at module.exports (/usr/lib/node_modules/nyc/node_modules/default-require-extensions/js.js:7:9)
    at /usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4
    at require.extensions.<computed> (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1621:12)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.exports.requireOrImport (/work/modules/chronik-client/node_modules/mocha/lib/nodejs/esm-utils.js:60:20)
    at async Object.exports.loadFilesAsync (/work/modules/chronik-client/node_modules/mocha/lib/nodejs/esm-utils.js:103:20)
    at async singleRun (/work/modules/chronik-client/node_modules/mocha/lib/cli/run-helpers.js:125:3)
    at async Object.exports.handler (/work/modules/chronik-client/node_modules/mocha/lib/cli/run.js:374:5)
-----------------------|---------|----------|---------|---------|-----------------------------------
File                   | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                 
-----------------------|---------|----------|---------|---------|-----------------------------------
All files              |    5.24 |     0.71 |    1.16 |     5.2 |                                   
 chronik-client        |     100 |      100 |     100 |     100 |                                   
  index.ts             |     100 |      100 |     100 |     100 |                                   
 chronik-client/proto  |    5.44 |     0.84 |    1.81 |    5.42 |                                   
  chronik.ts           |    5.44 |     0.84 |    1.81 |    5.42 | ...,3978-3985,3990-4027,4031-4036 
 chronik-client/src    |     4.4 |        0 |       0 |    4.31 |                                   
  ChronikClient.ts     |    4.24 |        0 |       0 |    4.29 | 33-163,178-222,290-692            
  ChronikClientNode.ts |    0.35 |        0 |       0 |    0.35 | 6-1560                            
  failoverProxy.ts     |     5.6 |        0 |       0 |    5.76 | 34-321                            
  hex.ts               |   31.57 |        0 |       0 |   33.33 | 33-37,41-45,49-62,66-68           
-----------------------|---------|----------|---------|---------|-----------------------------------

##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='110']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='2099']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='15']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2108']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='5']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='431']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='108']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='2076']
##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
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

Failed tests logs:

====== SLP: "before all" hook for "SLP NFT1 Agora Oneshot".SLP "before all" hook for "SLP NFT1 Agora Oneshot" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js - /work/modules/chronik-client/dist/index.js - /work/modules/ecash-lib/dist/test/testRunner.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
- /work/modules/chronik-client/dist/index.js
- /work/modules/ecash-lib/dist/test/testRunner.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at <anonymous> (/work/modules/ecash-lib/src/test/testRunner.ts:44:39)
    at Function.setup (/work/modules/ecash-lib/src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/oneshot.test.ts:56:18)
====== SLP: "after all" hook for "SLP NFT1 Agora Oneshot".SLP "after all" hook for "SLP NFT1 Agora Oneshot" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/oneshot.test.ts:63:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
SLP: "before all" hook for "SLP NFT1 Agora Oneshot".SLP "before all" hook for "SLP NFT1 Agora Oneshot"
SLP: "after all" hook for "SLP NFT1 Agora Oneshot".SLP "after all" hook for "SLP NFT1 Agora Oneshot"

Failed tests logs:

====== ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/alp.test.ts:48:16)
    at process.processImmediate (node:internal/timers:478:21)
====== SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/slp.test.ts:72:16)
    at process.processImmediate (node:internal/timers:478:21)
====== TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/txBuilder.test.ts:64:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP"
ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP"
SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE"
SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1"
TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet"
TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure"

Tail of the build log:

    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:5:2010)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at Module.m._compile (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1618:23)
    at module.exports (/usr/lib/node_modules/nyc/node_modules/default-require-extensions/js.js:7:9)
    at /usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4
    at require.extensions.<computed> (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1621:12)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/test/integration/block_and_blocks.ts:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at Module.m._compile (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1618:23)
    at module.exports (/usr/lib/node_modules/nyc/node_modules/default-require-extensions/js.js:7:9)
    at /usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4
    at require.extensions.<computed> (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1621:12)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.exports.requireOrImport (/work/modules/chronik-client/node_modules/mocha/lib/nodejs/esm-utils.js:60:20)
    at async Object.exports.loadFilesAsync (/work/modules/chronik-client/node_modules/mocha/lib/nodejs/esm-utils.js:103:20)
    at async singleRun (/work/modules/chronik-client/node_modules/mocha/lib/cli/run-helpers.js:125:3)
    at async Object.exports.handler (/work/modules/chronik-client/node_modules/mocha/lib/cli/run.js:374:5)
-----------------------|---------|----------|---------|---------|-----------------------------------
File                   | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                 
-----------------------|---------|----------|---------|---------|-----------------------------------
All files              |    5.19 |      0.7 |    1.14 |    5.16 |                                   
 chronik-client        |     100 |      100 |     100 |     100 |                                   
  index.ts             |     100 |      100 |     100 |     100 |                                   
 chronik-client/proto  |    5.44 |     0.84 |    1.81 |    5.42 |                                   
  chronik.ts           |    5.44 |     0.84 |    1.81 |    5.42 | ...,3978-3985,3990-4027,4031-4036 
 chronik-client/src    |    4.28 |        0 |       0 |    4.18 |                                   
  ChronikClient.ts     |    4.24 |        0 |       0 |    4.29 | 33-163,178-222,290-692            
  ChronikClientNode.ts |    0.33 |        0 |       0 |    0.33 | 6-1610                            
  failoverProxy.ts     |     5.5 |        0 |       0 |    5.66 | 34-324                            
  hex.ts               |   31.57 |        0 |       0 |   33.33 | 33-37,41-45,49-62,66-68           
-----------------------|---------|----------|---------|---------|-----------------------------------

##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='110']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='2116']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='15']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2124']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='5']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='436']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='108']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='2093']
##teamcity[blockClosed name='Code Coverage Summary']
mv: cannot stat 'test_results/chronik-client-integration-tests-junit.xml': No such file or directory
Build chronik-client-integration-tests failed with exit code 1

Failed tests logs:

====== SLP: "before all" hook for "SLP NFT1 Agora Oneshot".SLP "before all" hook for "SLP NFT1 Agora Oneshot" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js - /work/modules/chronik-client/dist/index.js - /work/modules/ecash-lib/dist/test/testRunner.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
- /work/modules/chronik-client/dist/index.js
- /work/modules/ecash-lib/dist/test/testRunner.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at <anonymous> (/work/modules/ecash-lib/src/test/testRunner.ts:44:39)
    at Function.setup (/work/modules/ecash-lib/src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/oneshot.test.ts:56:18)
====== SLP: "after all" hook for "SLP NFT1 Agora Oneshot".SLP "after all" hook for "SLP NFT1 Agora Oneshot" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/oneshot.test.ts:63:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
SLP: "before all" hook for "SLP NFT1 Agora Oneshot".SLP "before all" hook for "SLP NFT1 Agora Oneshot"
SLP: "after all" hook for "SLP NFT1 Agora Oneshot".SLP "after all" hook for "SLP NFT1 Agora Oneshot"

Failed tests logs:

====== ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/alp.test.ts:48:16)
    at process.processImmediate (node:internal/timers:478:21)
====== SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/slp.test.ts:72:16)
    at process.processImmediate (node:internal/timers:478:21)
====== TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/txBuilder.test.ts:64:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP"
ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP"
SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE"
SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1"
TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet"
TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure"

Tail of the build log:

    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:5:2010)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at Module.m._compile (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1618:23)
    at module.exports (/usr/lib/node_modules/nyc/node_modules/default-require-extensions/js.js:7:9)
    at /usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4
    at require.extensions.<computed> (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1621:12)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/test/integration/block_and_blocks.ts:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at Module.m._compile (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1618:23)
    at module.exports (/usr/lib/node_modules/nyc/node_modules/default-require-extensions/js.js:7:9)
    at /usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4
    at require.extensions.<computed> (/work/modules/chronik-client/node_modules/ts-node/src/index.ts:1621:12)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.exports.requireOrImport (/work/modules/chronik-client/node_modules/mocha/lib/nodejs/esm-utils.js:60:20)
    at async Object.exports.loadFilesAsync (/work/modules/chronik-client/node_modules/mocha/lib/nodejs/esm-utils.js:103:20)
    at async singleRun (/work/modules/chronik-client/node_modules/mocha/lib/cli/run-helpers.js:125:3)
    at async Object.exports.handler (/work/modules/chronik-client/node_modules/mocha/lib/cli/run.js:374:5)
-----------------------|---------|----------|---------|---------|-----------------------------------
File                   | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                 
-----------------------|---------|----------|---------|---------|-----------------------------------
All files              |    5.19 |      0.7 |    1.14 |    5.16 |                                   
 chronik-client        |     100 |      100 |     100 |     100 |                                   
  index.ts             |     100 |      100 |     100 |     100 |                                   
 chronik-client/proto  |    5.44 |     0.84 |    1.81 |    5.42 |                                   
  chronik.ts           |    5.44 |     0.84 |    1.81 |    5.42 | ...,3978-3985,3990-4027,4031-4036 
 chronik-client/src    |    4.28 |        0 |       0 |    4.18 |                                   
  ChronikClient.ts     |    4.24 |        0 |       0 |    4.29 | 33-163,178-222,290-692            
  ChronikClientNode.ts |    0.33 |        0 |       0 |    0.33 | 6-1610                            
  failoverProxy.ts     |     5.5 |        0 |       0 |    5.66 | 34-324                            
  hex.ts               |   31.57 |        0 |       0 |   33.33 | 33-37,41-45,49-62,66-68           
-----------------------|---------|----------|---------|---------|-----------------------------------

##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='110']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='2116']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='15']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2124']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='5']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='436']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='108']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='2093']
##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

update js-mocha-integration-tests template

bytesofman published this revision for review.May 9 2024, 13:48

Failed tests logs:

====== ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/alp.test.ts:48:16)
    at process.processImmediate (node:internal/timers:478:21)
====== SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/slp.test.ts:72:16)
    at process.processImmediate (node:internal/timers:478:21)
====== TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/txBuilder.test.ts:64:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP"
ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP"
SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE"
SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1"
TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet"
TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure"

update other apps that do not have CI deployments but do have CI tests

bytesofman retitled this revision from [chronik-client] Use local dep instead of npm to [chronik-client]+[alias-server]+[examples] Use local dep instead of npm.May 9 2024, 14:19

ecashaddrjs needs to be built first

Failed tests logs:

====== ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/alp.test.ts:48:16)
    at process.processImmediate (node:internal/timers:478:21)
====== SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/slp.test.ts:72:16)
    at process.processImmediate (node:internal/timers:478:21)
====== TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/txBuilder.test.ts:64:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP"
ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP"
SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE"
SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1"
TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet"
TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure"

Failed tests logs:

====== ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/alp.test.ts:48:16)
    at process.processImmediate (node:internal/timers:478:21)
====== SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/slp.test.ts:72:16)
    at process.processImmediate (node:internal/timers:478:21)
====== TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/txBuilder.test.ts:64:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP"
ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP"
SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE"
SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1"
TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet"
TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure"

Failed tests logs:

====== ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/alp.test.ts:48:16)
    at process.processImmediate (node:internal/timers:478:21)
====== SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/slp.test.ts:72:16)
    at process.processImmediate (node:internal/timers:478:21)
====== TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet" ======
Error: Cannot find module 'big-integer' Require stack: - /work/modules/ecashaddrjs/src/cashaddr.js - /work/modules/chronik-client/dist/src/ChronikClientNode.js
Error: Cannot find module 'big-integer'
Require stack:
- /work/modules/ecashaddrjs/src/cashaddr.js
- /work/modules/chronik-client/dist/src/ChronikClientNode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at a._resolveFilename (node_modules/tsx/dist/cjs/index.cjs:1:1729)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/ecashaddrjs/src/cashaddr.js:13:14)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/src/ChronikClientNode.ts:5:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/work/modules/chronik-client/index.ts:6:1)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module.replacementCompile (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:60:13)
    at S (node_modules/tsx/dist/cjs/index.cjs:1:1292)
    at Object.<anonymous> (/usr/lib/node_modules/nyc/node_modules/append-transform/index.js:64:4)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at Function.setup (src/test/testRunner.ts:44:39)
    at Context.<anonymous> (tests/alp.test.ts:41:18)
====== TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure" ======
TypeError: Cannot read properties of undefined (reading 'stop')
    at Context.<anonymous> (tests/txBuilder.test.ts:64:16)
    at process.processImmediate (node:internal/timers:478:21)

Each failure log is accessible here:
ALP: "before all" hook for "TxBuilder P2PKH ALP".ALP "before all" hook for "TxBuilder P2PKH ALP"
ALP: "after all" hook for "TxBuilder P2PKH ALP".ALP "after all" hook for "TxBuilder P2PKH ALP"
SLP Integration Test: "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE".SLP Integration Test "before all" hook for "TxBuilder P2PKH SLP FUNGIBLE"
SLP Integration Test: "after all" hook for "TxBuilder P2PKH SLP NFT1".SLP Integration Test "after all" hook for "TxBuilder P2PKH SLP NFT1"
TxBuilder: "before all" hook for "TxBuilder P2PKH Wallet".TxBuilder "before all" hook for "TxBuilder P2PKH Wallet"
TxBuilder: "after all" hook for "TxBuilder leftover failure".TxBuilder "after all" hook for "TxBuilder leftover failure"

ecash-lib-integration tests also depend on ecashaddrjs

Fabien added inline comments.
chronik-client.Dockerfile
9 ↗(On Diff #47753)

Isn't it missing ecash-coinselect ?

bytesofman added inline comments.
chronik-client.Dockerfile
9 ↗(On Diff #47753)

chronik-client does not depend on ecash-coniselect -- ecashaddrjs is the only dependency it uses in the monorepo

bytesofman added inline comments.
chronik-client.Dockerfile
9 ↗(On Diff #47753)

more broadly speaking

  • ecash-coinselect does not have any dependencies, so it works without npm ci being run
  • ecash-coinselect will be deprecated once ecash-lib is implemented throughout
This revision is now accepted and ready to land.May 15 2024, 07:43

Tail of the build log:

[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/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package bitcoinsuite-* -- -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 cfg-if v1.0.0
    Checking cpufeatures v0.2.12
    Checking hex v0.4.3
    Checking either v1.10.0
    Checking abc-rust-lint v0.1.0 (/work/chronik/abc-rust-lint)
    Checking typenum v1.17.0
    Checking serde v1.0.197
    Checking thiserror v1.0.58
    Checking itertools v0.10.5
    Checking generic-array v0.14.7
    Checking block-buffer v0.10.4
    Checking crypto-common v0.1.6
    Checking digest v0.10.7
    Checking ripemd v0.1.3
    Checking sha2 v0.10.8
    Checking bytes v1.6.0
    Checking bitcoinsuite-core v0.1.0 (/work/chronik/bitcoinsuite-core)
    Checking bitcoinsuite-slp v0.1.0 (/work/chronik/bitcoinsuite-slp)
    Finished dev [unoptimized + debuginfo] target(s) in 19.68s
[6/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/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/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 build directory
    Checking memchr v2.7.2
    Checking adler v1.0.2
    Checking gimli v0.28.1
    Checking libc v0.2.153
    Checking indenter v0.3.3
    Checking rustc-demangle v0.1.23
    Checking once_cell v1.19.0
    Checking bytes v1.6.0
    Checking fnv v1.0.7
    Checking itoa v1.0.11
    Checking miniz_oxide v0.7.2
    Checking eyre v0.6.12
    Checking http v1.1.0
    Checking object v0.32.2
    Checking addr2line v0.21.0
    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 21.69s
ninja: build stopped: cannot make progress due to previous errors.
Build build-chronik failed with exit code 1