-
Notifications
You must be signed in to change notification settings - Fork 86
Testing cf-abacus-dataflow failed. #868
Description
Hi Team,
I am just trying to clone cf-abacus and build and run it locally.
yarn run build .. fails at this point.
yarn -v : 1.3.2
node -v: v8.9.4
Testing...
abacus-dataflow
√ log input (110ms)
dataflow mapper
√ runs a map transform and stores inputs and outputs (1140ms)
√ expects map func to be called with system scope (63ms)
√ save to output db when it gets duplicate (409) (781ms)
√ does not store map outputs when error exists (610ms)
√ detects error when there is no sink (1015ms)
√ propagates mapper error from the sink, does not store to output (594ms)
√ limits db connections to error db (94ms)
on error
√ stores map errors to error db (719ms)
√ removes mapper error docs from db (1203ms)
with documents missing in the output db
√ replays data (469ms)
dataflow reducer
1) runs a reduce transform and stores its inputs and outputs
2) save to output db when it gets duplicate (409)
3) runs a reduce transform and down samples outputs
4) does not store reduce outputs when error exists
5) detects error when there is no sink
6) propagates reducer error from the sink and does not store to output
√ does batch post, and gather the errors (282ms)
√ limits db connections to error db (109ms)
on error
7) stores reducer errors to error db
8) removes reducer errors docs from db
with documents missing in the output db
9) replays data
dataflow sink
√ returns correct URI
√ distributes sampled db data evenly (94ms)
√ distributes random orgs evenly (187ms)
√ organization sticks to a node (187ms)
17 passing (49s)
9 failing
-
abacus-dataflow dataflow reducer runs a reduce transform and stores its inputs and outputs:
Uncaught AssertionError: expected 't/0001517381507772-0-0-0-1/k/4' to match /t/[0-9].*-0-0-0/k/4/
at postspy (src\test\test.js:1656:31)
at Object.batch_post (src\test\test.js:54:29)
at Timeout.flush [as _onTimeout] (C:\Users\i338670\Desktop\TestCFAbacus\node_modules\abacus-batch\src\index.js:79:5) -
abacus-dataflow dataflow reducer save to output db when it gets duplicate (409):
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it r
esolves. -
abacus-dataflow dataflow reducer runs a reduce transform and down samples outputs:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it r
esolves. -
abacus-dataflow dataflow reducer does not store reduce outputs when error exists:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it r
esolves. -
abacus-dataflow dataflow reducer detects error when there is no sink:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it r
esolves. -
abacus-dataflow dataflow reducer propagates reducer error from the sink and does not store to output:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it r
esolves. -
abacus-dataflow dataflow reducer on error stores reducer errors to error db:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it r
esolves. -
abacus-dataflow dataflow reducer on error removes reducer errors docs from db:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it r
esolves. -
abacus-dataflow dataflow reducer with documents missing in the output db replays data:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
Child process exited with code 9
----------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
----------|----------|----------|----------|----------|----------------|
All files | 86.94 | 75.46 | 96.26 | 87.87 | |
index.js | 86.94 | 75.46 | 96.26 | 87.87 |... 4,1305,1306 |
----------|----------|----------|----------|----------|----------------|
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Please help.