====================================================== taler-merchant 0.8.4: src/testing/test-suite.log ====================================================== # TOTAL: 9 # PASS: 2 # SKIP: 6 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test-merchant-walletharness.sh ==================================== 2022-01-20T09:58:15.534Z taler-wallet-cli.ts TRACE running wallet-cli with [ [ "/usr/bin/node", "/usr/bin/taler-wallet-cli", "testing", "run-integrationtests", "--suites", "merchant" ] ] testsuite root directory: /home/ttn/te/tmp/taler-integrationtests-Jcqahv running merchant-exchange-confusion with timeout 60000ms running test merchant-exchange-confusion in worker process running test merchant-exchange-confusion running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-exchange-confusion running command taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-exchange-confusion/bank.conf' django migrate child process exited (127 / null) FATAL: test failed with exception Error: Unexpected exit code 127 for 'taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-exchange-confusion/bank.conf' django migrate' at ChildProcess.proc.on (/usr/share/taler-wallet-cli/node_modules/taler-wallet-cli/src/integrationtests/harness.ts:119:16) at ChildProcess.emit (events.js:198:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) shutting down test merchant-exchange-confusion finished in worker process exited code=0 signal=null parent: got result {"name":"merchant-exchange-confusion","timeSec":0.831,"status":"fail"} running merchant-instances with timeout 60000ms running test merchant-instances in worker process running test merchant-instances running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-instances spawning process (merchant-testmerchant-1): taler-merchant-httpd -LDEBUG -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-instances/merchant-testmerchant-1.conf' spawned process (merchant-testmerchant-1) with pid 10263 pinging merchant (testmerchant-1) service merchant (testmerchant-1) not ready: Error: connect ECONNREFUSED 127.0.0.1:8083 pinging merchant (testmerchant-1) service merchant (testmerchant-1) available { currency: 'TESTKUDOS', name: 'taler-merchant', version: '3:0:1' } adding instance adding instance requesting instances with auth { method: 'external' } { Error: Request failed with status code 401 at createError (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/core/createError.js:16:15) at settle (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/adapters/http.js:260:11) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) config: { url: 'http://localhost:8083/management/instances', method: 'get', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.21.1' }, transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], data: undefined }, request: ClientRequest { _events: [Object: null prototype] { socket: [Function], abort: [Function], aborted: [Function], connect: [Function], error: [Function], timeout: [Function], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 7, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: Socket { connecting: false, _hadError: false, _handle: [TCP], _parent: null, _host: 'localhost', _readableState: [ReadableState], readable: true, _events: [Object], _eventsCount: 7, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: null, _server: null, parser: null, _httpMessage: [Circular], [Symbol(asyncId)]: 327, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0 }, connection: Socket { connecting: false, _hadError: false, _handle: [TCP], _parent: null, _host: 'localhost', _readableState: [ReadableState], readable: true, _events: [Object], _eventsCount: 7, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: null, _server: null, parser: null, _httpMessage: [Circular], [Symbol(asyncId)]: 327, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0 }, _header: 'GET /management/instances HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.21.1\r\nHost: localhost:8083\r\nConnection: close\r\n\r\n', _onPendingData: [Function: noopPendingOutput], agent: Agent { _events: [Object], _eventsCount: 1, _maxListeners: undefined, defaultPort: 80, protocol: 'http:', options: [Object], requests: {}, sockets: [Object], freeSockets: {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256 }, socketPath: undefined, timeout: undefined, method: 'GET', insecureHTTPParser: undefined, path: '/management/instances', _ended: true, res: IncomingMessage { _readableState: [ReadableState], readable: false, _events: [Object], _eventsCount: 3, _maxListeners: undefined, socket: [Socket], connection: [Socket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, headers: [Object], rawHeaders: [Array], trailers: {}, rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 401, statusMessage: 'Unauthorized', client: [Socket], _consuming: false, _dumped: false, req: [Circular], responseUrl: 'http://localhost:8083/management/instances', redirects: [] }, aborted: undefined, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, _redirectable: Writable { _writableState: [WritableState], writable: true, _events: [Object], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function], _currentRequest: [Circular], _currentUrl: 'http://localhost:8083/management/instances' }, [Symbol(isCorked)]: false, [Symbol(outHeadersKey)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] } }, response: { status: 401, statusText: 'Unauthorized', headers: { connection: 'close', 'content-length': '138', 'content-type': 'application/json', 'access-control-expose-headers': '*', 'access-control-allow-origin': '*', date: 'Thu, 20 Jan 2022 09:58:19 GMT' }, config: { url: 'http://localhost:8083/management/instances', method: 'get', headers: [Object], transformRequest: [Array], transformResponse: [Array], timeout: 0, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], data: undefined }, request: ClientRequest { _events: [Object], _eventsCount: 7, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Socket], connection: [Socket], _header: 'GET /management/instances HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.21.1\r\nHost: localhost:8083\r\nConnection: close\r\n\r\n', _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, timeout: undefined, method: 'GET', insecureHTTPParser: undefined, path: '/management/instances', _ended: true, res: [IncomingMessage], aborted: undefined, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, _redirectable: [Writable], [Symbol(isCorked)]: false, [Symbol(outHeadersKey)]: [Object] }, data: { code: 2015, hint: 'The merchant refused the request due to lack of authorization.', detail: 'Check \'Authorization\' header' } }, isAxiosError: true, toJSON: [Function: toJSON] } { Error: Request failed with status code 401 at createError (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/core/createError.js:16:15) at settle (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/adapters/http.js:260:11) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) config: { url: 'http://localhost:8083/management/instances/myinst', method: 'delete', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/0.21.1' }, transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], data: undefined }, request: ClientRequest { _events: [Object: null prototype] { socket: [Function], abort: [Function], aborted: [Function], connect: [Function], error: [Function], timeout: [Function], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 7, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: Socket { connecting: false, _hadError: false, _handle: [TCP], _parent: null, _host: 'localhost', _readableState: [ReadableState], readable: true, _events: [Object], _eventsCount: 7, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: null, _server: null, parser: null, _httpMessage: [Circular], [Symbol(asyncId)]: 412, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0 }, connection: Socket { connecting: false, _hadError: false, _handle: [TCP], _parent: null, _host: 'localhost', _readableState: [ReadableState], readable: true, _events: [Object], _eventsCount: 7, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: null, _server: null, parser: null, _httpMessage: [Circular], [Symbol(asyncId)]: 412, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0 }, _header: 'DELETE /management/instances/myinst HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.21.1\r\nHost: localhost:8083\r\nConnection: close\r\n\r\n', _onPendingData: [Function: noopPendingOutput], agent: Agent { _events: [Object], _eventsCount: 1, _maxListeners: undefined, defaultPort: 80, protocol: 'http:', options: [Object], requests: {}, sockets: [Object], freeSockets: {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256 }, socketPath: undefined, timeout: undefined, method: 'DELETE', insecureHTTPParser: undefined, path: '/management/instances/myinst', _ended: true, res: IncomingMessage { _readableState: [ReadableState], readable: false, _events: [Object], _eventsCount: 3, _maxListeners: undefined, socket: [Socket], connection: [Socket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, headers: [Object], rawHeaders: [Array], trailers: {}, rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 401, statusMessage: 'Unauthorized', client: [Socket], _consuming: false, _dumped: false, req: [Circular], responseUrl: 'http://localhost:8083/management/instances/myinst', redirects: [] }, aborted: undefined, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, _redirectable: Writable { _writableState: [WritableState], writable: true, _events: [Object], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function], _currentRequest: [Circular], _currentUrl: 'http://localhost:8083/management/instances/myinst' }, [Symbol(isCorked)]: false, [Symbol(outHeadersKey)]: [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] } }, response: { status: 401, statusText: 'Unauthorized', headers: { connection: 'close', 'content-length': '138', 'content-type': 'application/json', 'access-control-expose-headers': '*', 'access-control-allow-origin': '*', date: 'Thu, 20 Jan 2022 09:58:19 GMT' }, config: { url: 'http://localhost:8083/management/instances/myinst', method: 'delete', headers: [Object], transformRequest: [Array], transformResponse: [Array], timeout: 0, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], data: undefined }, request: ClientRequest { _events: [Object], _eventsCount: 7, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Socket], connection: [Socket], _header: 'DELETE /management/instances/myinst HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.21.1\r\nHost: localhost:8083\r\nConnection: close\r\n\r\n', _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, timeout: undefined, method: 'DELETE', insecureHTTPParser: undefined, path: '/management/instances/myinst', _ended: true, res: [IncomingMessage], aborted: undefined, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, _redirectable: [Writable], [Symbol(isCorked)]: false, [Symbol(outHeadersKey)]: [Object] }, data: { code: 2015, hint: 'The merchant refused the request due to lack of authorization.', detail: 'Check \'Authorization\' header' } }, isAxiosError: true, toJSON: [Function: toJSON] } shutting down killing process 10263 process merchant-testmerchant-1 exited test merchant-instances finished in worker process exited code=0 signal=null parent: got result {"name":"merchant-instances","timeSec":2.438,"status":"pass"} running merchant-instances-delete with timeout 60000ms running test merchant-instances-delete in worker process running test merchant-instances-delete running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-instances-delete spawning process (merchant-testmerchant-1): taler-merchant-httpd -LDEBUG -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-instances-delete/merchant-testmerchant-1.conf' spawned process (merchant-testmerchant-1) with pid 10322 pinging merchant (testmerchant-1) service merchant (testmerchant-1) not ready: Error: connect ECONNREFUSED 127.0.0.1:8083 pinging merchant (testmerchant-1) service merchant (testmerchant-1) available { currency: 'TESTKUDOS', name: 'taler-merchant', version: '3:0:1' } adding instance adding instance Got expected exception { Error: Request failed with status code 401 at createError (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/core/createError.js:16:15) at settle (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/usr/share/taler-wallet-cli/node_modules/.pnpm/axios@0.21.1/node_modules/axios/lib/adapters/http.js:260:11) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) config: { url: 'http://localhost:8083/management/instances/myinst', method: 'delete', headers: { Accept: 'application/json, text/plain, */*', Authorization: 'Bearer secret-token:invalid', 'User-Agent': 'axios/0.21.1' }, transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], data: undefined }, request: ClientRequest { _events: [Object: null prototype] { socket: [Function], abort: [Function], aborted: [Function], connect: [Function], error: [Function], timeout: [Function], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 7, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: Socket { connecting: false, _hadError: false, _handle: [TCP], _parent: null, _host: 'localhost', _readableState: [ReadableState], readable: true, _events: [Object], _eventsCount: 7, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: null, _server: null, parser: null, _httpMessage: [Circular], [Symbol(asyncId)]: 262, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0 }, connection: Socket { connecting: false, _hadError: false, _handle: [TCP], _parent: null, _host: 'localhost', _readableState: [ReadableState], readable: true, _events: [Object], _eventsCount: 7, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: null, _server: null, parser: null, _httpMessage: [Circular], [Symbol(asyncId)]: 262, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0 }, _header: 'DELETE /management/instances/myinst HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nAuthorization: Bearer secret-token:invalid\r\nUser-Agent: axios/0.21.1\r\nHost: localhost:8083\r\nConnection: close\r\n\r\n', _onPendingData: [Function: noopPendingOutput], agent: Agent { _events: [Object], _eventsCount: 1, _maxListeners: undefined, defaultPort: 80, protocol: 'http:', options: [Object], requests: {}, sockets: [Object], freeSockets: {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256 }, socketPath: undefined, timeout: undefined, method: 'DELETE', insecureHTTPParser: undefined, path: '/management/instances/myinst', _ended: true, res: IncomingMessage { _readableState: [ReadableState], readable: false, _events: [Object], _eventsCount: 3, _maxListeners: undefined, socket: [Socket], connection: [Socket], httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, headers: [Object], rawHeaders: [Array], trailers: {}, rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 401, statusMessage: 'Unauthorized', client: [Socket], _consuming: false, _dumped: false, req: [Circular], responseUrl: 'http://localhost:8083/management/instances/myinst', redirects: [] }, aborted: undefined, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, _redirectable: Writable { _writableState: [WritableState], writable: true, _events: [Object], _eventsCount: 2, _maxListeners: undefined, _options: [Object], _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function], _currentRequest: [Circular], _currentUrl: 'http://localhost:8083/management/instances/myinst' }, [Symbol(isCorked)]: false, [Symbol(outHeadersKey)]: [Object: null prototype] { accept: [Array], authorization: [Array], 'user-agent': [Array], host: [Array] } }, response: { status: 401, statusText: 'Unauthorized', headers: { connection: 'close', 'content-length': '138', 'content-type': 'application/json', 'access-control-expose-headers': '*', 'access-control-allow-origin': '*', date: 'Thu, 20 Jan 2022 09:58:22 GMT' }, config: { url: 'http://localhost:8083/management/instances/myinst', method: 'delete', headers: [Object], transformRequest: [Array], transformResponse: [Array], timeout: 0, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], data: undefined }, request: ClientRequest { _events: [Object], _eventsCount: 7, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Socket], connection: [Socket], _header: 'DELETE /management/instances/myinst HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nAuthorization: Bearer secret-token:invalid\r\nUser-Agent: axios/0.21.1\r\nHost: localhost:8083\r\nConnection: close\r\n\r\n', _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, timeout: undefined, method: 'DELETE', insecureHTTPParser: undefined, path: '/management/instances/myinst', _ended: true, res: [IncomingMessage], aborted: undefined, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, _redirectable: [Writable], [Symbol(isCorked)]: false, [Symbol(outHeadersKey)]: [Object] }, data: { code: 2015, hint: 'The merchant refused the request due to lack of authorization.', detail: 'Check \'Authorization\' header' } }, isAxiosError: true, toJSON: [Function: toJSON] } shutting down killing process 10322 process merchant-testmerchant-1 exited test merchant-instances-delete finished in worker process exited code=0 signal=null parent: got result {"name":"merchant-instances-delete","timeSec":2.743,"status":"pass"} running merchant-instances-urls with timeout 60000ms running test merchant-instances-urls in worker process running test merchant-instances-urls running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-instances-urls spawning process (merchant-testmerchant-1): taler-merchant-httpd -LDEBUG -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-instances-urls/merchant-testmerchant-1.conf' spawned process (merchant-testmerchant-1) with pid 10381 pinging merchant (testmerchant-1) service merchant (testmerchant-1) not ready: Error: connect ECONNREFUSED 127.0.0.1:8083 pinging merchant (testmerchant-1) service merchant (testmerchant-1) available checking http://localhost:8083/private/instances/default/instances/default/config, expected 404, got 404 checking http://localhost:8083/instances/default/private/instances, expected 404, got 404 checking http://localhost:8083/instances/foo/private/instances, expected 404, got 404 checking http://localhost:8083/instances/myinst/private/instances, expected 404, got 404 checking http://localhost:8083/config, expected 200, got 200 checking http://localhost:8083/instances/default/config, expected 200, got 200 checking http://localhost:8083/instances/myinst/config, expected 200, got 200 checking http://localhost:8083/instances/foo/config, expected 404, got 404 checking http://localhost:8083/instances/default/instances/config, expected 404, got 404 checking http://localhost:8083/private/instances/myinst/config, expected 404, got 404 checking http://localhost:8083/instances/myinst/private/orders, expected 401, got 401 checking http://localhost:8083/instances/myinst/private/orders, expected 401, got 401 checking http://localhost:8083/instances/myinst/private/orders, expected 200, got 200 checking http://localhost:8083/private/instances/myinst/orders, expected 404, got 404 shutting down killing process 10381 process merchant-testmerchant-1 exited test merchant-instances-urls finished in worker process exited code=0 signal=null parent: got result {"name":"merchant-instances-urls","timeSec":2.332,"status":"pass"} running merchant-longpolling with timeout 60000ms running test merchant-longpolling in worker process running test merchant-longpolling running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-longpolling running command taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-longpolling/bank.conf' django migrate child process exited (127 / null) FATAL: test failed with exception Error: Unexpected exit code 127 for 'taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-longpolling/bank.conf' django migrate' at ChildProcess.proc.on (/usr/share/taler-wallet-cli/node_modules/taler-wallet-cli/src/integrationtests/harness.ts:119:16) at ChildProcess.emit (events.js:198:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) shutting down test merchant-longpolling finished in worker process exited code=0 signal=null parent: got result {"name":"merchant-longpolling","timeSec":0.712,"status":"fail"} running merchant-spec-public-orders with timeout 60000ms running test merchant-spec-public-orders in worker process running test merchant-spec-public-orders running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-spec-public-orders running command taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-spec-public-orders/bank.conf' django migrate child process exited (127 / null) FATAL: test failed with exception Error: Unexpected exit code 127 for 'taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-spec-public-orders/bank.conf' django migrate' at ChildProcess.proc.on (/usr/share/taler-wallet-cli/node_modules/taler-wallet-cli/src/integrationtests/harness.ts:119:16) at ChildProcess.emit (events.js:198:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) shutting down test merchant-spec-public-orders finished in worker process exited code=0 signal=null parent: got result {"name":"merchant-spec-public-orders","timeSec":0.719,"status":"fail"} running merchant-refund-api with timeout 60000ms running test merchant-refund-api in worker process running test merchant-refund-api running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-refund-api running command taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-refund-api/bank.conf' django migrate child process exited (127 / null) FATAL: test failed with exception Error: Unexpected exit code 127 for 'taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/merchant-refund-api/bank.conf' django migrate' at ChildProcess.proc.on (/usr/share/taler-wallet-cli/node_modules/taler-wallet-cli/src/integrationtests/harness.ts:119:16) at ChildProcess.emit (events.js:198:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) shutting down test merchant-refund-api finished in worker process exited code=0 signal=null parent: got result {"name":"merchant-refund-api","timeSec":0.734,"status":"fail"} running payment-forgettable with timeout 60000ms running test payment-forgettable in worker process running test payment-forgettable running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/payment-forgettable running command taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/payment-forgettable/bank.conf' django migrate child process exited (127 / null) FATAL: test failed with exception Error: Unexpected exit code 127 for 'taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/payment-forgettable/bank.conf' django migrate' at ChildProcess.proc.on (/usr/share/taler-wallet-cli/node_modules/taler-wallet-cli/src/integrationtests/harness.ts:119:16) at ChildProcess.emit (events.js:198:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) shutting down test payment-forgettable finished in worker process exited code=0 signal=null parent: got result {"name":"payment-forgettable","timeSec":0.741,"status":"fail"} running paywall-flow with timeout 60000ms running test paywall-flow in worker process running test paywall-flow running test in directory /home/ttn/te/tmp/taler-integrationtests-Jcqahv/paywall-flow running command taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/paywall-flow/bank.conf' django migrate child process exited (127 / null) FATAL: test failed with exception Error: Unexpected exit code 127 for 'taler-bank-manage -c '/home/ttn/te/tmp/taler-integrationtests-Jcqahv/paywall-flow/bank.conf' django migrate' at ChildProcess.proc.on (/usr/share/taler-wallet-cli/node_modules/taler-wallet-cli/src/integrationtests/harness.ts:119:16) at ChildProcess.emit (events.js:198:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) shutting down test paywall-flow finished in worker process exited code=0 signal=null parent: got result {"name":"paywall-flow","timeSec":0.748,"status":"fail"} See /home/ttn/te/tmp/taler-integrationtests-Jcqahv/results.json for details Skipped: 0/9 Failed: 6/9 Passed: 3/9 FAIL test-merchant-walletharness.sh (exit status: 1) SKIP: test_merchant_instance_response.sh ======================================== Testing for jqinitialize_taler_system.sh: line 64: jq: command not found SKIP: jq required SKIP test_merchant_instance_response.sh (exit status: 77) SKIP: test_merchant_product_creation.sh ======================================= Testing for jqinitialize_taler_system.sh: line 64: jq: command not found SKIP: jq required SKIP test_merchant_product_creation.sh (exit status: 77) SKIP: test_merchant_reserve_creation.sh ======================================= Testing for jqinitialize_taler_system.sh: line 64: jq: command not found SKIP: jq required SKIP test_merchant_reserve_creation.sh (exit status: 77) SKIP: test_merchant_order_creation.sh ===================================== Testing for jqinitialize_taler_system.sh: line 64: jq: command not found SKIP: jq required SKIP test_merchant_order_creation.sh (exit status: 77) SKIP: test_merchant_instance_purge.sh ===================================== Testing for jqinitialize_taler_system.sh: line 64: jq: command not found SKIP: jq required SKIP test_merchant_instance_purge.sh (exit status: 77) SKIP: test_merchant_transfer_tracking.sh ======================================== Testing for jqinitialize_taler_system.sh: line 64: jq: command not found SKIP: jq required SKIP test_merchant_transfer_tracking.sh (exit status: 77)