mediawiki/services/function-evaluator (main)

sourcepatches
$ date
Sat Jun 19 11:31:44 UTC 2021

$ git clone file:///srv/git/mediawiki-services-function-evaluator.git repo --depth=1 -b master
Cloning into 'repo'...

$ git config user.name libraryupgrader

$ git config user.email tools.libraryupgrader@tools.wmflabs.org

$ git submodule update --init
Submodule 'function-schemata' (https://gerrit.wikimedia.org/r/mediawiki/services/function-schemata) registered for path 'function-schemata'
Cloning into '/src/repo/function-schemata'...
Submodule path 'function-schemata': checked out 'fcad90e8098db06640ecc81dfe593daab82c3fed'

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
4c05b9e1777958273049ae03797a10e7fca3fcf5 refs/heads/master

Attempting to npm audit fix
$ npm audit fix --only=dev

> core-js@3.13.1 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 268 packages from 962 contributors in 7.305s

25 packages are looking for funding
  run `npm fund` for details

fixed 0 of 5 vulnerabilities in 537 scanned packages
  1 package update for 1 vulnerability involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)

$ npm audit fix --only=dev
up to date in 2.316s

25 packages are looking for funding
  run `npm fund` for details

fixed 0 of 5 vulnerabilities in 537 scanned packages
  1 package update for 1 vulnerability involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)

$ npm audit fix --only=dev
up to date in 2.055s

25 packages are looking for funding
  run `npm fund` for details

fixed 0 of 5 vulnerabilities in 537 scanned packages
  1 package update for 1 vulnerability involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)

$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

Verifying that tests still pass
$ npm ci
npm WARN prepare removing existing node_modules/ before installation

> dtrace-provider@0.8.8 install /src/repo/node_modules/dtrace-provider
> node-gyp rebuild || node suppress-error.js

make: Entering directory '/src/repo/node_modules/dtrace-provider/build'
  TOUCH Release/obj.target/DTraceProviderStub.stamp
make: Leaving directory '/src/repo/node_modules/dtrace-provider/build'

> unix-dgram@2.0.4 install /src/repo/node_modules/unix-dgram
> node-gyp rebuild

make: Entering directory '/src/repo/node_modules/unix-dgram/build'
  CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
In file included from ../../nan/nan.h:56,
                 from ../src/unix_dgram.cc:5:
/cache/node-gyp/10.24.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/cache/node-gyp/10.24.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(unix_dgram, Initialize)
 ^~~~~~~~~~~
In file included from /cache/node-gyp/10.24.0/include/node/node.h:63,
                 from ../../nan/nan.h:56,
                 from ../src/unix_dgram.cc:5:
/cache/node-gyp/10.24.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/cache/node-gyp/10.24.0/include/node/node_object_wrap.h:84:78:   required from here
/cache/node-gyp/10.24.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/cache/node-gyp/10.24.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61:   required from here
/cache/node-gyp/10.24.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
  COPY Release/unix_dgram.node
make: Leaving directory '/src/repo/node_modules/unix-dgram/build'

> heapdump@0.3.15 install /src/repo/node_modules/heapdump
> node-gyp rebuild

make: Entering directory '/src/repo/node_modules/heapdump/build'
  CXX(target) Release/obj.target/addon/src/heapdump.o
In file included from ../src/heapdump.cc:15:
/cache/node-gyp/10.24.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/cache/node-gyp/10.24.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../src/heapdump.cc:136:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(addon, Initialize)
 ^~~~~~~~~~~
In file included from /cache/node-gyp/10.24.0/include/node/node.h:63,
                 from ../src/heapdump.cc:15:
/cache/node-gyp/10.24.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/cache/node-gyp/10.24.0/include/node/node_object_wrap.h:84:78:   required from here
/cache/node-gyp/10.24.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/cache/node-gyp/10.24.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61:   required from here
/cache/node-gyp/10.24.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  SOLINK_MODULE(target) Release/obj.target/addon.node
  COPY Release/addon.node
make: Leaving directory '/src/repo/node_modules/heapdump/build'

> gc-stats@1.4.0 install /src/repo/node_modules/gc-stats
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download 
[gc-stats] Success: "/src/repo/node_modules/gc-stats/build/gcstats/v1.4.0/Release/node-v64-linux-x64/gcstats.node" is installed via remote

> core-js@3.13.1 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

added 468 packages in 16.275s

$ npm test

> service-template-node@0.8.0 test /src/repo
> npm run lint && PREQ_CONNECT_TIMEOUT=15 mocha


> service-template-node@0.8.0 lint /src/repo
> eslint --max-warnings 0 --ext .js --ext .json .



  express app
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:31.609Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:32.064Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0942fc20-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"0942fc20-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35616},"levelPath":"trace/req","time":"2021-06-19T11:32:32.099Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"094482c0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/robots.txt","headers":{"content-length":"0","x-request-id":"094482c0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/robots.txt"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35618},"levelPath":"trace/req","time":"2021-06-19T11:32:32.108Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":40,"levelPath":"warn/metrics","msg":"Calling 'Metrics.endTiming' directly is deprecated.","time":"2021-06-19T11:32:32.111Z","v":0}
    ✓ should get robots.txt (53ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"094a2810-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"094a2810-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35620},"levelPath":"trace/req","time":"2021-06-19T11:32:32.145Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"094a4f20-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"094a4f20-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35622},"levelPath":"trace/req","time":"2021-06-19T11:32:32.146Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"094a7630-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/robots.txt","headers":{"content-length":"0","x-request-id":"094a7630-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/robots.txt"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35624},"levelPath":"trace/req","time":"2021-06-19T11:32:32.147Z","v":0}
    ✓ should set CORS headers
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"094b6090-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/robots.txt","headers":{"content-length":"0","x-request-id":"094b6090-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/robots.txt"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35626},"levelPath":"trace/req","time":"2021-06-19T11:32:32.153Z","v":0}
    ✓ should set CSP headers
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"094bfcd0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/static/index.html","headers":{"content-length":"0","x-request-id":"094bfcd0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/static/index.html"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35628},"levelPath":"trace/req","time":"2021-06-19T11:32:32.157Z","v":0}
    ✓ should get static content gzipped
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"094f3120-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/static/index.html","headers":{"content-length":"0","x-request-id":"094f3120-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/static/index.html"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35630},"levelPath":"trace/req","time":"2021-06-19T11:32:32.178Z","v":0}
    ✓ should get static content uncompressed
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:32.184Z","v":0}

  Swagger spec
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:32.189Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:32.199Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0952daa0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"0952daa0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35632},"levelPath":"trace/req","time":"2021-06-19T11:32:32.202Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"095301b0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"095301b0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35634},"levelPath":"trace/req","time":"2021-06-19T11:32:32.203Z","v":0}
    ✓ get the spec
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"09546140-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"09546140-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35636},"levelPath":"trace/req","time":"2021-06-19T11:32:32.212Z","v":0}
    ✓ should expose valid OpenAPI spec
    ✓ spec validation
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:32.228Z","v":0}

  errors
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:32.230Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:32.237Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"09587ff0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"09587ff0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35638},"levelPath":"trace/req","time":"2021-06-19T11:32:32.239Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0958f520-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/array","headers":{"content-length":"0","x-request-id":"0958f520-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/array"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35640},"levelPath":"trace/req","time":"2021-06-19T11:32:32.242Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"RangeError: Invalid array length\n    at router.get (/src/repo/routes/ex.js:27:14)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at router (/src/repo/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at urlencodedParser (/src/repo/node_modules/body-parser/lib/types/urlencoded.js:100:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at jsonParser (/src/repo/node_modules/body-parser/lib/types/json.js:119:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at compression (/src/repo/node_modules/compression/index.js:220:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at next (/src/repo/node_modules/express/lib/router/route.js:127:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at app.all (/src/repo/app.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at param (/src/repo/node_modules/express/lib/router/index.js:354:14)\n    at param (/src/repo/node_modules/express/lib/router/index.js:365:14)\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:410:3)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/src/repo/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at query (/src/repo/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at Function.handle (/src/repo/node_modules/express/lib/application.js:174:10)\n    at Server.app (/src/repo/node_modules/express/lib/express.js:39:9)\n    at Server.emit (events.js:203:15)\n    at Server.EventEmitter.emit (domain.js:448:20)\n    at parserOnIncoming (_http_server.js:695:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)","status":500,"type":"internal_error","detail":"Invalid array length","request_id":"0958f520-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/array","headers":{"content-length":"0","x-request-id":"0958f520-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/array"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35640},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:32.245Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"096996f0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/array","headers":{"content-length":"0","x-request-id":"096996f0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/array"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35642},"levelPath":"trace/req","time":"2021-06-19T11:32:32.351Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"RangeError: Invalid array length\n    at router.get (/src/repo/routes/ex.js:27:14)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at router (/src/repo/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at urlencodedParser (/src/repo/node_modules/body-parser/lib/types/urlencoded.js:100:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at jsonParser (/src/repo/node_modules/body-parser/lib/types/json.js:119:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at compression (/src/repo/node_modules/compression/index.js:220:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at next (/src/repo/node_modules/express/lib/router/route.js:127:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at app.all (/src/repo/app.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at param (/src/repo/node_modules/express/lib/router/index.js:354:14)\n    at param (/src/repo/node_modules/express/lib/router/index.js:365:14)\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:410:3)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/src/repo/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at query (/src/repo/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at Function.handle (/src/repo/node_modules/express/lib/application.js:174:10)\n    at Server.app (/src/repo/node_modules/express/lib/express.js:39:9)\n    at Server.emit (events.js:203:15)\n    at Server.EventEmitter.emit (domain.js:448:20)\n    at parserOnIncoming (_http_server.js:695:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)","status":500,"type":"internal_error","detail":"Invalid array length","request_id":"096996f0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/array","headers":{"content-length":"0","x-request-id":"096996f0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/array"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35642},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:32.353Z","v":0}
    ✓ array creation error (120ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"096b44a0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/file","headers":{"content-length":"0","x-request-id":"096b44a0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/file"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35644},"levelPath":"trace/req","time":"2021-06-19T11:32:32.362Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"Error: ENOENT: no such file or directory, open '../mushrooms.txt'","status":500,"type":"internal_error","detail":"ENOENT: no such file or directory, open '../mushrooms.txt'","request_id":"096b44a0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/file","headers":{"content-length":"0","x-request-id":"096b44a0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/file"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35644},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:32.365Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"097bbf60-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/file","headers":{"content-length":"0","x-request-id":"097bbf60-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/file"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35646},"levelPath":"trace/req","time":"2021-06-19T11:32:32.470Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"Error: ENOENT: no such file or directory, open '../mushrooms.txt'","status":500,"type":"internal_error","detail":"ENOENT: no such file or directory, open '../mushrooms.txt'","request_id":"097bbf60-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/file","headers":{"content-length":"0","x-request-id":"097bbf60-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/file"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35646},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:32.472Z","v":0}
    ✓ file read error (116ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"097d1ef0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/error","headers":{"content-length":"0","x-request-id":"097d1ef0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/error"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35648},"levelPath":"trace/req","time":"2021-06-19T11:32:32.479Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"Error: A maximum value of 10 is expected, 50 given!\n    at router.get (/src/repo/routes/ex.js:62:9)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at router (/src/repo/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at urlencodedParser (/src/repo/node_modules/body-parser/lib/types/urlencoded.js:100:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at jsonParser (/src/repo/node_modules/body-parser/lib/types/json.js:119:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at compression (/src/repo/node_modules/compression/index.js:220:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at next (/src/repo/node_modules/express/lib/router/route.js:127:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at app.all (/src/repo/app.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at param (/src/repo/node_modules/express/lib/router/index.js:354:14)\n    at param (/src/repo/node_modules/express/lib/router/index.js:365:14)\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:410:3)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/src/repo/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at query (/src/repo/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at Function.handle (/src/repo/node_modules/express/lib/application.js:174:10)\n    at Server.app (/src/repo/node_modules/express/lib/express.js:39:9)\n    at Server.emit (events.js:203:15)\n    at Server.EventEmitter.emit (domain.js:448:20)\n    at parserOnIncoming (_http_server.js:695:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)","status":500,"type":"internal_error","detail":"A maximum value of 10 is expected, 50 given!","request_id":"097d1ef0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/error","headers":{"content-length":"0","x-request-id":"097d1ef0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/error"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35648},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:32.481Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"098d99b0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/error","headers":{"content-length":"0","x-request-id":"098d99b0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/error"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35650},"levelPath":"trace/req","time":"2021-06-19T11:32:32.587Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"Error: A maximum value of 10 is expected, 50 given!\n    at router.get (/src/repo/routes/ex.js:62:9)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at router (/src/repo/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at urlencodedParser (/src/repo/node_modules/body-parser/lib/types/urlencoded.js:100:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at jsonParser (/src/repo/node_modules/body-parser/lib/types/json.js:119:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at compression (/src/repo/node_modules/compression/index.js:220:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at next (/src/repo/node_modules/express/lib/router/route.js:127:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at app.all (/src/repo/app.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at param (/src/repo/node_modules/express/lib/router/index.js:354:14)\n    at param (/src/repo/node_modules/express/lib/router/index.js:365:14)\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:410:3)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/src/repo/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at query (/src/repo/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at Function.handle (/src/repo/node_modules/express/lib/application.js:174:10)\n    at Server.app (/src/repo/node_modules/express/lib/express.js:39:9)\n    at Server.emit (events.js:203:15)\n    at Server.EventEmitter.emit (domain.js:448:20)\n    at parserOnIncoming (_http_server.js:695:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)","status":500,"type":"internal_error","detail":"A maximum value of 10 is expected, 50 given!","request_id":"098d99b0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/error","headers":{"content-length":"0","x-request-id":"098d99b0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/error"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35650},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:32.589Z","v":0}
    ✓ constraint check error (116ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"098f2050-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/deny","headers":{"content-length":"0","x-request-id":"098f2050-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/deny"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35652},"levelPath":"trace/req","time":"2021-06-19T11:32:32.597Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"403: access_denied","status":403,"type":"access_denied","detail":"No access is allowed to this endpoint","request_id":"098f2050-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/deny","headers":{"content-length":"0","x-request-id":"098f2050-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/deny"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35652},"levelPath":"info/403","msg":"403: access_denied","time":"2021-06-19T11:32:32.598Z","v":0}
    ✓ access denied error
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"09900ab0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/auth","headers":{"content-length":"0","x-request-id":"09900ab0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/auth"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35654},"levelPath":"trace/req","time":"2021-06-19T11:32:32.603Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"401: unauthorized","status":401,"type":"unauthorized","detail":"You are not authorized to fetch this endpoint!","request_id":"09900ab0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/auth","headers":{"content-length":"0","x-request-id":"09900ab0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/auth"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35654},"levelPath":"info/401","msg":"401: unauthorized","time":"2021-06-19T11:32:32.613Z","v":0}
    ✓ authorisation error
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:32.616Z","v":0}

  service information
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:32.617Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:32.626Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0993db40-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"0993db40-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35656},"levelPath":"trace/req","time":"2021-06-19T11:32:32.628Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"09945070-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/_info/name","headers":{"content-length":"0","x-request-id":"09945070-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/_info/name"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35658},"levelPath":"trace/req","time":"2021-06-19T11:32:32.631Z","v":0}
    ✓ should get the service name
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0994c5a0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/_info/version","headers":{"content-length":"0","x-request-id":"0994c5a0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/_info/version"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35660},"levelPath":"trace/req","time":"2021-06-19T11:32:32.634Z","v":0}
    ✓ should get the service version
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"099561e0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/_info/home","headers":{"content-length":"0","x-request-id":"099561e0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/_info/home"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35662},"levelPath":"trace/req","time":"2021-06-19T11:32:32.638Z","v":0}
    ✓ should redirect to the service home page
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"09969a60-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/_info/","headers":{"content-length":"0","x-request-id":"09969a60-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/_info/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35664},"levelPath":"trace/req","time":"2021-06-19T11:32:32.646Z","v":0}
    ✓ should get the service info
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:32.647Z","v":0}

  evaluate-unit
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:32.649Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:32.657Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"09995980-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"09995980-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35666},"levelPath":"trace/req","time":"2021-06-19T11:32:32.664Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0999ceb0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"18","x-request-id":"0999ceb0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35668},"levelPath":"trace/req","time":"2021-06-19T11:32:32.668Z","v":0}
    ✓ good output; no errors (412ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"09d81030-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"18","x-request-id":"09d81030-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35670},"levelPath":"trace/req","time":"2021-06-19T11:32:33.075Z","v":0}
    ✓ empty on both ends (387ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0a136b80-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"0","x-request-id":"0a136b80-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35672},"levelPath":"trace/req","time":"2021-06-19T11:32:33.464Z","v":0}
    ✓ no output; much errors (282ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:33.742Z","v":0}

  evaluate-integration-python3
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:33.744Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":60,"err":{"message":"","name":"Error [ERR_HTTP_HEADERS_SENT]","stack":"Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client\n    at ServerResponse.setHeader (_http_outgoing.js:470:11)\n    at ServerResponse.header (/src/repo/node_modules/express/lib/response.js:771:10)\n    at ServerResponse.send (/src/repo/node_modules/express/lib/response.js:170:12)\n    at ServerResponse.json (/src/repo/node_modules/express/lib/response.js:267:15)\n    at Promise.all.then (/src/repo/routes/evaluate.js:207:7)","code":"ERR_HTTP_HEADERS_SENT","levelPath":"fatal/service-runner/unhandled"},"msg":"Cannot set headers after they are sent to the client","time":"2021-06-19T11:32:33.750Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:33.751Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0a3faba0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"0a3faba0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35674},"levelPath":"trace/req","time":"2021-06-19T11:32:33.754Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0a406ef0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"2888","x-request-id":"0a406ef0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35676},"levelPath":"trace/req","time":"2021-06-19T11:32:33.759Z","v":0}
    ✓ python - addition (362ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0a773660-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"35","x-request-id":"0a773660-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35678},"levelPath":"trace/req","time":"2021-06-19T11:32:34.118Z","v":0}
    ✓ python - error: no Z8 (267ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0aa0b760-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"94","x-request-id":"0aa0b760-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35680},"levelPath":"trace/req","time":"2021-06-19T11:32:34.390Z","v":0}
    ✓ python - error: no Z14 (312ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":60,"err":{"message":"","name":"Error [ERR_HTTP_HEADERS_SENT]","stack":"Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client\n    at ServerResponse.setHeader (_http_outgoing.js:470:11)\n    at ServerResponse.header (/src/repo/node_modules/express/lib/response.js:771:10)\n    at ServerResponse.send (/src/repo/node_modules/express/lib/response.js:170:12)\n    at ServerResponse.json (/src/repo/node_modules/express/lib/response.js:267:15)\n    at Promise.all.then (/src/repo/routes/evaluate.js:207:7)","code":"ERR_HTTP_HEADERS_SENT","levelPath":"fatal/service-runner/unhandled"},"msg":"Cannot set headers after they are sent to the client","time":"2021-06-19T11:32:34.699Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":60,"err":{"message":"","name":"Error [ERR_HTTP_HEADERS_SENT]","stack":"Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client\n    at ServerResponse.setHeader (_http_outgoing.js:470:11)\n    at ServerResponse.header (/src/repo/node_modules/express/lib/response.js:771:10)\n    at ServerResponse.send (/src/repo/node_modules/express/lib/response.js:170:12)\n    at ServerResponse.json (/src/repo/node_modules/express/lib/response.js:267:15)\n    at Promise.all.then (/src/repo/routes/evaluate.js:207:7)","code":"ERR_HTTP_HEADERS_SENT","levelPath":"fatal/service-runner/unhandled"},"msg":"Cannot set headers after they are sent to the client","time":"2021-06-19T11:32:34.700Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0ad13d40-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"2969","x-request-id":"0ad13d40-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35682},"levelPath":"trace/req","time":"2021-06-19T11:32:34.708Z","v":0}
    ✓ javascript - addition (559ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0b272570-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"115","x-request-id":"0b272570-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35684},"levelPath":"trace/req","time":"2021-06-19T11:32:35.271Z","v":0}
    ✓ javascript - error: no Z8 (253ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0b4d4b10-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/wikifunctions.org/v1/evaluate/","headers":{"content-type":"application/x-www-form-urlencoded","content-length":"174","x-request-id":"0b4d4b10-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"POST","params":{"0":"/wikifunctions.org/v1/evaluate/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35686},"levelPath":"trace/req","time":"2021-06-19T11:32:35.521Z","v":0}
    ✓ javascript - error: no Z14 (246ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:35.766Z","v":0}

  page gets
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:35.768Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":60,"err":{"message":"","name":"Error [ERR_HTTP_HEADERS_SENT]","stack":"Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client\n    at ServerResponse.setHeader (_http_outgoing.js:470:11)\n    at ServerResponse.header (/src/repo/node_modules/express/lib/response.js:771:10)\n    at ServerResponse.send (/src/repo/node_modules/express/lib/response.js:170:12)\n    at ServerResponse.json (/src/repo/node_modules/express/lib/response.js:267:15)\n    at Promise.all.then (/src/repo/routes/evaluate.js:207:7)","code":"ERR_HTTP_HEADERS_SENT","levelPath":"fatal/service-runner/unhandled"},"msg":"Cannot set headers after they are sent to the client","time":"2021-06-19T11:32:35.777Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:35.777Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0b74d040-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"0b74d040-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35688},"levelPath":"trace/req","time":"2021-06-19T11:32:35.780Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0b756c80-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Table_(database)/","headers":{"content-length":"0","x-request-id":"0b756c80-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Table_(database)/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35690},"levelPath":"trace/req","time":"2021-06-19T11:32:35.784Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"get","uri":"https://en.wikipedia.org/api/rest_v1/page/html/Table_(database)","query":{},"headers":{"user-agent":"service-template-node","x-request-id":"0b756c80-d0f2-11eb-9e58-6f17e02d6cf2"}},"request_id":"0b756c80-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Table_(database)/","headers":{"content-length":"0","x-request-id":"0b756c80-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Table_(database)/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35690},"levelPath":"trace/req","time":"2021-06-19T11:32:35.785Z","v":0}
    ✓ should get the whole page body (107ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0b854b00-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Table_(database)/lead","headers":{"content-length":"0","x-request-id":"0b854b00-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Table_(database)/lead"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35694},"levelPath":"trace/req","time":"2021-06-19T11:32:35.888Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"get","uri":"https://en.wikipedia.org/api/rest_v1/page/html/Table_(database)","query":{},"headers":{"user-agent":"service-template-node","x-request-id":"0b854b00-d0f2-11eb-9e58-6f17e02d6cf2"}},"request_id":"0b854b00-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Table_(database)/lead","headers":{"content-length":"0","x-request-id":"0b854b00-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Table_(database)/lead"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35694},"levelPath":"trace/req","time":"2021-06-19T11:32:35.888Z","v":0}
    ✓ should get only the leading section (55ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0b8e4bb0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Foobar_and_friends","headers":{"content-length":"0","x-request-id":"0b8e4bb0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Foobar_and_friends"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35698},"levelPath":"trace/req","time":"2021-06-19T11:32:35.947Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"get","uri":"https://en.wikipedia.org/api/rest_v1/page/html/Foobar_and_friends","query":{},"headers":{"user-agent":"service-template-node","x-request-id":"0b8e4bb0-d0f2-11eb-9e58-6f17e02d6cf2"}},"request_id":"0b8e4bb0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Foobar_and_friends","headers":{"content-length":"0","x-request-id":"0b8e4bb0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Foobar_and_friends"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35698},"levelPath":"trace/req","time":"2021-06-19T11:32:35.948Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"Page or revision not found.","status":404,"type":"https://mediawiki.org/wiki/HyperSwitch/errors/not_found","detail":"Page or revision not found.","request_id":"0b8e4bb0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Foobar_and_friends","headers":{"content-length":"0","x-request-id":"0b8e4bb0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Foobar_and_friends"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35698},"levelPath":"info/404","msg":"Page or revision not found.","time":"2021-06-19T11:32:36.025Z","v":0}
    ✓ should throw a 404 for a non-existent page (85ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":60,"err":{"message":"","name":"Error [ERR_HTTP_HEADERS_SENT]","stack":"Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client\n    at ServerResponse.setHeader (_http_outgoing.js:470:11)\n    at ServerResponse.header (/src/repo/node_modules/express/lib/response.js:771:10)\n    at ServerResponse.send (/src/repo/node_modules/express/lib/response.js:170:12)\n    at ServerResponse.json (/src/repo/node_modules/express/lib/response.js:267:15)\n    at Promise.all.then (/src/repo/routes/evaluate.js:207:7)","code":"ERR_HTTP_HEADERS_SENT","levelPath":"fatal/service-runner/unhandled"},"msg":"Cannot set headers after they are sent to the client","time":"2021-06-19T11:32:36.028Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:36.029Z","v":0}

  wiki site info
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:36.032Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:36.037Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0b9d3fd0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec","headers":{"content-length":"0","x-request-id":"0b9d3fd0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":""},"remoteAddress":"127.0.0.1","remotePort":35702},"levelPath":"trace/req","time":"2021-06-19T11:32:36.045Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0b9db500-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/","headers":{"content-length":"0","x-request-id":"0b9db500-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35704},"levelPath":"trace/req","time":"2021-06-19T11:32:36.048Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://en.wikipedia.org/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0b9db500-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0b9db500-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/","headers":{"content-length":"0","x-request-id":"0b9db500-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35704},"levelPath":"trace/req","time":"2021-06-19T11:32:36.048Z","v":0}
    ✓ should get all general enwiki site info (69ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0ba86360-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/mainpage","headers":{"content-length":"0","x-request-id":"0ba86360-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/mainpage"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35708},"levelPath":"trace/req","time":"2021-06-19T11:32:36.118Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://en.wikipedia.org/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0ba86360-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0ba86360-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/mainpage","headers":{"content-length":"0","x-request-id":"0ba86360-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/mainpage"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35708},"levelPath":"trace/req","time":"2021-06-19T11:32:36.119Z","v":0}
    ✓ should get the mainpage setting of enwiki (60ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bb1b230-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/dummy_wiki_setting","headers":{"content-length":"0","x-request-id":"0bb1b230-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/dummy_wiki_setting"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35712},"levelPath":"trace/req","time":"2021-06-19T11:32:36.180Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://en.wikipedia.org/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bb1b230-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bb1b230-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/dummy_wiki_setting","headers":{"content-length":"0","x-request-id":"0bb1b230-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/dummy_wiki_setting"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35712},"levelPath":"trace/req","time":"2021-06-19T11:32:36.180Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"404: not_found","status":404,"type":"not_found","detail":"Property dummy_wiki_setting not found in MW API response!","request_id":"0bb1b230-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/dummy_wiki_setting","headers":{"content-length":"0","x-request-id":"0bb1b230-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/dummy_wiki_setting"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35712},"levelPath":"info/404","msg":"404: not_found","time":"2021-06-19T11:32:36.236Z","v":0}
    ✓ should fail to get a non-existent setting of enwiki (64ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bbb9d40-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/non.existent.wiki/v1/siteinfo/","headers":{"content-length":"0","x-request-id":"0bbb9d40-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/non.existent.wiki/v1/siteinfo/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35716},"levelPath":"trace/req","time":"2021-06-19T11:32:36.245Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://non.existent.wiki/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bbb9d40-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bbb9d40-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/non.existent.wiki/v1/siteinfo/","headers":{"content-length":"0","x-request-id":"0bbb9d40-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/non.existent.wiki/v1/siteinfo/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35716},"levelPath":"trace/req","time":"2021-06-19T11:32:36.245Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"getaddrinfo ENOTFOUND non.existent.wiki non.existent.wiki:443","status":504,"type":"internal_http_error","detail":"getaddrinfo ENOTFOUND non.existent.wiki non.existent.wiki:443","request_id":"0bbb9d40-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/non.existent.wiki/v1/siteinfo/","headers":{"content-length":"0","x-request-id":"0bbb9d40-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/non.existent.wiki/v1/siteinfo/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35716},"levelPath":"error/504","msg":"getaddrinfo ENOTFOUND non.existent.wiki non.existent.wiki:443","time":"2021-06-19T11:32:36.286Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bd23280-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/non.existent.wiki/v1/siteinfo/","headers":{"content-length":"0","x-request-id":"0bd23280-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/non.existent.wiki/v1/siteinfo/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35718},"levelPath":"trace/req","time":"2021-06-19T11:32:36.393Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://non.existent.wiki/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bd23280-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bd23280-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/non.existent.wiki/v1/siteinfo/","headers":{"content-length":"0","x-request-id":"0bd23280-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/non.existent.wiki/v1/siteinfo/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35718},"levelPath":"trace/req","time":"2021-06-19T11:32:36.393Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"getaddrinfo ENOTFOUND non.existent.wiki non.existent.wiki:443","status":504,"type":"internal_http_error","detail":"getaddrinfo ENOTFOUND non.existent.wiki non.existent.wiki:443","request_id":"0bd23280-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/non.existent.wiki/v1/siteinfo/","headers":{"content-length":"0","x-request-id":"0bd23280-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/non.existent.wiki/v1/siteinfo/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35718},"levelPath":"error/504","msg":"getaddrinfo ENOTFOUND non.existent.wiki non.existent.wiki:443","time":"2021-06-19T11:32:36.407Z","v":0}
    ✓ should fail to get info from a non-existent wiki (169ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:36.411Z","v":0}

  Monitoring routes
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2021-06-19T11:32:36.418Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"levelPath":"info","msg":"Worker 373 listening on 0.0.0.0:6927","time":"2021-06-19T11:32:36.425Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bddcb40-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/robots.txt","headers":{"content-length":"0","x-request-id":"0bddcb40-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/robots.txt"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35720},"levelPath":"trace/req","time":"2021-06-19T11:32:36.468Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bddf250-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/","headers":{"content-length":"0","x-request-id":"0bddf250-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35722},"levelPath":"trace/req","time":"2021-06-19T11:32:36.469Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bde1960-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?spec=true","headers":{"content-length":"0","x-request-id":"0bde1960-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"spec":"true"},"remoteAddress":"127.0.0.1","remotePort":35724},"levelPath":"trace/req","time":"2021-06-19T11:32:36.470Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bde4070-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?doc=true","headers":{"content-length":"0","x-request-id":"0bde4070-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"doc":"true"},"remoteAddress":"127.0.0.1","remotePort":35726},"levelPath":"trace/req","time":"2021-06-19T11:32:36.471Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bde6780-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/?fooo=true","headers":{"content-length":"0","x-request-id":"0bde6780-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/"},"query":{"fooo":"true"},"remoteAddress":"127.0.0.1","remotePort":35728},"levelPath":"trace/req","time":"2021-06-19T11:32:36.472Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bde6781-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bde6781-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35730},"levelPath":"trace/req","time":"2021-06-19T11:32:36.472Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://en.wikipedia.org/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bde6781-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bde6781-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bde6781-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35730},"levelPath":"trace/req","time":"2021-06-19T11:32:36.473Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdeb5a0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bdeb5a0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35732},"levelPath":"trace/req","time":"2021-06-19T11:32:36.474Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://my.fake.domain/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bdeb5a0-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bdeb5a0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bdeb5a0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35732},"levelPath":"trace/req","time":"2021-06-19T11:32:36.474Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdedcb0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bdedcb0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35734},"levelPath":"trace/req","time":"2021-06-19T11:32:36.475Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://en.wikipedia.org/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bdedcb0-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bdedcb0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bdedcb0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35734},"levelPath":"trace/req","time":"2021-06-19T11:32:36.475Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdf03c0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bdf03c0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35736},"levelPath":"trace/req","time":"2021-06-19T11:32:36.476Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://my.fake.domain/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bdf03c0-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bdf03c0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bdf03c0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35736},"levelPath":"trace/req","time":"2021-06-19T11:32:36.476Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdf2ad0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/sitename","headers":{"content-length":"0","x-request-id":"0bdf2ad0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/sitename"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35738},"levelPath":"trace/req","time":"2021-06-19T11:32:36.477Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://en.wikipedia.org/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bdf2ad0-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bdf2ad0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/sitename","headers":{"content-length":"0","x-request-id":"0bdf2ad0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/sitename"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35738},"levelPath":"trace/req","time":"2021-06-19T11:32:36.477Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdf51e0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/blaprop","headers":{"content-length":"0","x-request-id":"0bdf51e0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/blaprop"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35740},"levelPath":"trace/req","time":"2021-06-19T11:32:36.478Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://en.wikipedia.org/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bdf51e0-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bdf51e0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/blaprop","headers":{"content-length":"0","x-request-id":"0bdf51e0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/blaprop"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35740},"levelPath":"trace/req","time":"2021-06-19T11:32:36.478Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdf51e1-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Foobar","headers":{"content-length":"0","x-request-id":"0bdf51e1-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Foobar"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35742},"levelPath":"trace/req","time":"2021-06-19T11:32:36.478Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"get","uri":"https://en.wikipedia.org/api/rest_v1/page/html/Foobar","query":{},"headers":{"user-agent":"service-template-node","x-request-id":"0bdf51e1-d0f2-11eb-9e58-6f17e02d6cf2"}},"request_id":"0bdf51e1-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Foobar","headers":{"content-length":"0","x-request-id":"0bdf51e1-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Foobar"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35742},"levelPath":"trace/req","time":"2021-06-19T11:32:36.479Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdf78f0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Barack%20Obama/lead","headers":{"content-length":"0","x-request-id":"0bdf78f0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Barack Obama/lead"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35744},"levelPath":"trace/req","time":"2021-06-19T11:32:36.480Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"get","uri":"https://en.wikipedia.org/api/rest_v1/page/html/Barack%20Obama","query":{},"headers":{"user-agent":"service-template-node","x-request-id":"0bdf78f0-d0f2-11eb-9e58-6f17e02d6cf2"}},"request_id":"0bdf78f0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/page/Barack%20Obama/lead","headers":{"content-length":"0","x-request-id":"0bdf78f0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/page/Barack Obama/lead"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35744},"levelPath":"trace/req","time":"2021-06-19T11:32:36.480Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdfa000-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/_info","headers":{"content-length":"0","x-request-id":"0bdfa000-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/_info"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35746},"levelPath":"trace/req","time":"2021-06-19T11:32:36.480Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdfc710-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/_info/name","headers":{"content-length":"0","x-request-id":"0bdfc710-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/_info/name"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35748},"levelPath":"trace/req","time":"2021-06-19T11:32:36.481Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bdfee20-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/_info/version","headers":{"content-length":"0","x-request-id":"0bdfee20-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/_info/version"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35750},"levelPath":"trace/req","time":"2021-06-19T11:32:36.482Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0be01530-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/_info/home","headers":{"content-length":"0","x-request-id":"0be01530-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/_info/home"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35752},"levelPath":"trace/req","time":"2021-06-19T11:32:36.483Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0be03c40-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/array","headers":{"content-length":"0","x-request-id":"0be03c40-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/array"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35754},"levelPath":"trace/req","time":"2021-06-19T11:32:36.484Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0be06350-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/file","headers":{"content-length":"0","x-request-id":"0be06350-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/file"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35756},"levelPath":"trace/req","time":"2021-06-19T11:32:36.485Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0be06351-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/error","headers":{"content-length":"0","x-request-id":"0be06351-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/error"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35758},"levelPath":"trace/req","time":"2021-06-19T11:32:36.485Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0be08a60-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/deny","headers":{"content-length":"0","x-request-id":"0be08a60-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/deny"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35760},"levelPath":"trace/req","time":"2021-06-19T11:32:36.486Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0be0b170-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/auth","headers":{"content-length":"0","x-request-id":"0be0b170-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/auth"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35762},"levelPath":"trace/req","time":"2021-06-19T11:32:36.487Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0be0b171-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/req/uri/http%3A%2F%2Fwww.example.com","headers":{"content-length":"0","x-request-id":"0be0b171-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/req/uri/http://www.example.com"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35764},"levelPath":"trace/req","time":"2021-06-19T11:32:36.487Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"uri":"http://www.example.com","method":"get","headers":{"user-agent":"service-template-node","x-request-id":"0be0b171-d0f2-11eb-9e58-6f17e02d6cf2"}},"request_id":"0be0b171-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/req/uri/http%3A%2F%2Fwww.example.com","headers":{"content-length":"0","x-request-id":"0be0b171-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/req/uri/http://www.example.com"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35764},"levelPath":"trace/req","time":"2021-06-19T11:32:36.488Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"RangeError: Invalid array length\n    at router.get (/src/repo/routes/ex.js:27:14)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at router (/src/repo/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at urlencodedParser (/src/repo/node_modules/body-parser/lib/types/urlencoded.js:100:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at jsonParser (/src/repo/node_modules/body-parser/lib/types/json.js:119:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at compression (/src/repo/node_modules/compression/index.js:220:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at next (/src/repo/node_modules/express/lib/router/route.js:127:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at app.all (/src/repo/app.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at param (/src/repo/node_modules/express/lib/router/index.js:354:14)\n    at param (/src/repo/node_modules/express/lib/router/index.js:365:14)\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:410:3)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/src/repo/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at query (/src/repo/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at Function.handle (/src/repo/node_modules/express/lib/application.js:174:10)\n    at Server.app (/src/repo/node_modules/express/lib/express.js:39:9)\n    at Server.emit (events.js:203:15)\n    at Server.EventEmitter.emit (domain.js:448:20)\n    at parserOnIncoming (_http_server.js:695:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)","status":500,"type":"internal_error","detail":"Invalid array length","request_id":"0be03c40-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/array","headers":{"content-length":"0","x-request-id":"0be03c40-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/array"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35754},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:36.489Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"Error: A maximum value of 10 is expected, 50 given!\n    at router.get (/src/repo/routes/ex.js:62:9)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at router (/src/repo/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at urlencodedParser (/src/repo/node_modules/body-parser/lib/types/urlencoded.js:100:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at jsonParser (/src/repo/node_modules/body-parser/lib/types/json.js:119:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at compression (/src/repo/node_modules/compression/index.js:220:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at next (/src/repo/node_modules/express/lib/router/route.js:127:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at app.all (/src/repo/app.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at param (/src/repo/node_modules/express/lib/router/index.js:354:14)\n    at param (/src/repo/node_modules/express/lib/router/index.js:365:14)\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:410:3)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/src/repo/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at query (/src/repo/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at Function.handle (/src/repo/node_modules/express/lib/application.js:174:10)\n    at Server.app (/src/repo/node_modules/express/lib/express.js:39:9)\n    at Server.emit (events.js:203:15)\n    at Server.EventEmitter.emit (domain.js:448:20)\n    at parserOnIncoming (_http_server.js:695:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)","status":500,"type":"internal_error","detail":"A maximum value of 10 is expected, 50 given!","request_id":"0be06351-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/error","headers":{"content-length":"0","x-request-id":"0be06351-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/error"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35758},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:36.489Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"403: access_denied","status":403,"type":"access_denied","detail":"No access is allowed to this endpoint","request_id":"0be08a60-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/deny","headers":{"content-length":"0","x-request-id":"0be08a60-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/deny"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35760},"levelPath":"info/403","msg":"403: access_denied","time":"2021-06-19T11:32:36.490Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"Error: ENOENT: no such file or directory, open '../mushrooms.txt'","status":500,"type":"internal_error","detail":"ENOENT: no such file or directory, open '../mushrooms.txt'","request_id":"0be06350-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/file","headers":{"content-length":"0","x-request-id":"0be06350-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/file"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35756},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:36.514Z","v":0}
    ✓ robots.txt check (88ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","status":504,"type":"internal_http_error","detail":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","request_id":"0bdeb5a0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bdeb5a0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35732},"levelPath":"error/504","msg":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","time":"2021-06-19T11:32:36.524Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","status":504,"type":"internal_http_error","detail":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","request_id":"0bdf03c0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bdf03c0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35736},"levelPath":"error/504","msg":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","time":"2021-06-19T11:32:36.525Z","v":0}
    ✓ root with no query params (87ms)
    ✓ spec from root (101ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"401: unauthorized","status":401,"type":"unauthorized","detail":"You are not authorized to fetch this endpoint!","request_id":"0be0b170-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/auth","headers":{"content-length":"0","x-request-id":"0be0b170-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/auth"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35762},"levelPath":"info/401","msg":"401: unauthorized","time":"2021-06-19T11:32:36.538Z","v":0}
    ✓ doc from root (102ms)
(node:373) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
    ✓ root with wrong query param (84ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"404: not_found","status":404,"type":"not_found","detail":"Property blaprop not found in MW API response!","request_id":"0bdf51e0-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/en.wikipedia.org/v1/siteinfo/blaprop","headers":{"content-length":"0","x-request-id":"0bdf51e0-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/en.wikipedia.org/v1/siteinfo/blaprop"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35740},"levelPath":"info/404","msg":"404: not_found","time":"2021-06-19T11:32:36.569Z","v":0}
    ✓ site info for default domain (145ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bf37620-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/array","headers":{"content-length":"0","x-request-id":"0bf37620-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/array"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35782},"levelPath":"trace/req","time":"2021-06-19T11:32:36.610Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"RangeError: Invalid array length\n    at router.get (/src/repo/routes/ex.js:27:14)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at router (/src/repo/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at urlencodedParser (/src/repo/node_modules/body-parser/lib/types/urlencoded.js:100:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at jsonParser (/src/repo/node_modules/body-parser/lib/types/json.js:119:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at compression (/src/repo/node_modules/compression/index.js:220:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at next (/src/repo/node_modules/express/lib/router/route.js:127:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at app.all (/src/repo/app.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at param (/src/repo/node_modules/express/lib/router/index.js:354:14)\n    at param (/src/repo/node_modules/express/lib/router/index.js:365:14)\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:410:3)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/src/repo/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at query (/src/repo/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at Function.handle (/src/repo/node_modules/express/lib/application.js:174:10)\n    at Server.app (/src/repo/node_modules/express/lib/express.js:39:9)\n    at Server.emit (events.js:203:15)\n    at Server.EventEmitter.emit (domain.js:448:20)\n    at parserOnIncoming (_http_server.js:695:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)","status":500,"type":"internal_error","detail":"Invalid array length","request_id":"0bf37620-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/array","headers":{"content-length":"0","x-request-id":"0bf37620-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/array"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35782},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:36.613Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bf46080-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/error","headers":{"content-length":"0","x-request-id":"0bf46080-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/error"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35784},"levelPath":"trace/req","time":"2021-06-19T11:32:36.616Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"Error: A maximum value of 10 is expected, 50 given!\n    at router.get (/src/repo/routes/ex.js:62:9)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at BBPromise.try (/src/repo/lib/util.js:113:26)\n    at tryCatcher (/src/repo/node_modules/bluebird/js/release/util.js:16:23)\n    at Function.Promise.attempt.Promise.try (/src/repo/node_modules/bluebird/js/release/method.js:39:29)\n    at layer.handle (/src/repo/lib/util.js:113:18)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at router (/src/repo/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at urlencodedParser (/src/repo/node_modules/body-parser/lib/types/urlencoded.js:100:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at jsonParser (/src/repo/node_modules/body-parser/lib/types/json.js:119:7)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at compression (/src/repo/node_modules/compression/index.js:220:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at next (/src/repo/node_modules/express/lib/router/route.js:127:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at app.all (/src/repo/app.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at next (/src/repo/node_modules/express/lib/router/route.js:137:13)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at next (/src/repo/node_modules/express/lib/router/route.js:131:14)\n    at Route.dispatch (/src/repo/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at /src/repo/node_modules/express/lib/router/index.js:281:22\n    at param (/src/repo/node_modules/express/lib/router/index.js:354:14)\n    at param (/src/repo/node_modules/express/lib/router/index.js:365:14)\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:410:3)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/src/repo/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at query (/src/repo/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/src/repo/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/src/repo/node_modules/express/lib/router/index.js:317:13)\n    at /src/repo/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/src/repo/node_modules/express/lib/router/index.js:335:12)\n    at next (/src/repo/node_modules/express/lib/router/index.js:275:10)\n    at Function.handle (/src/repo/node_modules/express/lib/router/index.js:174:3)\n    at Function.handle (/src/repo/node_modules/express/lib/application.js:174:10)\n    at Server.app (/src/repo/node_modules/express/lib/express.js:39:9)\n    at Server.emit (events.js:203:15)\n    at Server.EventEmitter.emit (domain.js:448:20)\n    at parserOnIncoming (_http_server.js:695:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)","status":500,"type":"internal_error","detail":"A maximum value of 10 is expected, 50 given!","request_id":"0bf46080-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/manual/error","headers":{"content-length":"0","x-request-id":"0bf46080-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/manual/error"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35784},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:36.618Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bf5c010-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/file","headers":{"content-length":"0","x-request-id":"0bf5c010-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/file"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35786},"levelPath":"trace/req","time":"2021-06-19T11:32:36.625Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"500: internal_error","stack":"Error: ENOENT: no such file or directory, open '../mushrooms.txt'","status":500,"type":"internal_error","detail":"ENOENT: no such file or directory, open '../mushrooms.txt'","request_id":"0bf5c010-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/ex/err/file","headers":{"content-length":"0","x-request-id":"0bf5c010-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/ex/err/file"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35786},"levelPath":"error/500","msg":"500: internal_error","time":"2021-06-19T11:32:36.626Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bf6aa70-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bf6aa70-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35788},"levelPath":"trace/req","time":"2021-06-19T11:32:36.631Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://my.fake.domain/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bf6aa70-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bf6aa70-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bf6aa70-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35788},"levelPath":"trace/req","time":"2021-06-19T11:32:36.632Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Incoming request","request_id":"0bf6d180-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bf6d180-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35790},"levelPath":"trace/req","time":"2021-06-19T11:32:36.632Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":10,"msg":"Outgoing request","out_request":{"method":"post","uri":"https://my.fake.domain/w/api.php","headers":{"user-agent":"service-template-node","x-request-id":"0bf6d180-d0f2-11eb-9e58-6f17e02d6cf2"},"body":{"format":"json","formatversion":2,"action":"query","meta":"siteinfo"}},"request_id":"0bf6d180-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bf6d180-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35790},"levelPath":"trace/req","time":"2021-06-19T11:32:36.633Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","status":504,"type":"internal_http_error","detail":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","request_id":"0bf6aa70-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bf6aa70-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35788},"levelPath":"error/504","msg":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","time":"2021-06-19T11:32:36.641Z","v":0}
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":50,"message":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","status":504,"type":"internal_http_error","detail":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","request_id":"0bf6d180-d0f2-11eb-9e58-6f17e02d6cf2","request":{"url":"/my.fake.domain/v1/siteinfo","headers":{"content-length":"0","x-request-id":"0bf6d180-d0f2-11eb-9e58-6f17e02d6cf2"},"method":"GET","params":{"0":"/my.fake.domain/v1/siteinfo"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35790},"levelPath":"error/504","msg":"getaddrinfo ENOTFOUND my.fake.domain my.fake.domain:443 my.fake.domain:443","time":"2021-06-19T11:32:36.641Z","v":0}
    ✓ site info for a non-existent domain (209ms)
    ✓ site info for default domain (142ms)
    ✓ site info for a non-existent domain (208ms)
    ✓ site info check for valid prop (428ms)
    ✓ site info check for invalid prop (135ms)
    ✓ get the Foobar page from en.wp.org (142ms)
    ✓ get the lead section for Barack Obama (968ms)
    ✓ retrieve service info (81ms)
    ✓ retrieve service name (81ms)
    ✓ retrieve service version (80ms)
    ✓ redirect to the home page (80ms)
    ✓ wrong array declaration example (182ms)
    ✓ non-existing file example (188ms)
    ✓ user error example (184ms)
    ✓ access denied error example (79ms)
    ✓ unauthorised error example (99ms)
    ✓ Get example home page (97ms)
{"name":"service-template-node","hostname":"22dfc4b9708f","pid":373,"level":30,"message":"worker shutting down","worker_pid":373,"levelPath":"info/service-runner/worker","msg":"worker shutting down","time":"2021-06-19T11:32:37.410Z","v":0}


  56 passing (6s)


$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

$ git add .

$ git commit -F /tmp/tmpchh5613n
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

npm dependencies

Dependencies
Development dependencies

Logs

Source code is licensed under the AGPL.