Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- entropy :: ~/downloads/duniter ‹better_cpu_target*› % yarn test
- yarn run v1.3.2
- $ nyc --reporter html mocha
- Basic Memory Blockchain
- ✓ should be able to push 3 blocks and read them
- ✓ should be able to read a range
- ✓ should have a good height
- ✓ should be able to revert blocks
- Basic SQL Blockchain
- ✓ should be able to push 3 blocks and read them
- ✓ should be able to read a range
- ✓ should have a good height
- ✓ should be able to revert blocks
- Indexed Blockchain
- MemoryIndex
- PK on one field
- ✓ should be able to index data
- ✓ should be able to reduce data
- ✓ should be able to count data
- ✓ should be able to reduce grouped data
- ✓ should be able to trim data
- PK on two fields
- ✓ should be able to index data
- ✓ should be able to reduce data
- ✓ should be able to count data
- ✓ should be able to reduce grouped data
- ✓ should be able to trim data
- SqlIndex
- PK on one field
- ✓ should be able to index data
- ✓ should be able to reduce data
- ✓ should be able to count data
- ✓ should be able to reduce grouped data
- ✓ should be able to trim data
- PK on two fields
- ✓ should be able to index data
- ✓ should be able to reduce data
- ✓ should be able to count data
- ✓ should be able to reduce grouped data
- ✓ should be able to trim data
- MISC SQL Blockchain
- MINDEX
- ✓ should be able to index data
- ✓ should be able to reduce data
- ✓ should be able to count data
- ✓ should be able to reduce grouped data
- ✓ should be able to trim data
- IINDEX
- ✓ should be able to index data
- ✓ should be able to reduce data
- ✓ should be able to count data
- ✓ should be able to reduce grouped data
- ✓ should be able to trim data
- SINDEX
- ✓ should be able to index data
- ✓ should be able to reduce data
- ✓ should be able to count data
- ✓ should be able to reduce grouped data
- ✓ should be able to trim data
- CINDEX
- ✓ should be able to index data
- ✓ should be able to reduce data
- ✓ should be able to count data
- ✓ should be able to reduce grouped data
- ✓ should be able to trim data
- DAL
- ✓ should have DB version 21
- ✓ should have no peer in a first time
- ✓ should have 1 peer if 1 is created
- ✓ should have no current block
- ✓ should have no blocks in first time
- ✓ should be able to save a Block
- Source DAL
- ✓ should be able to feed the sindex with unordered rows
- Triming
- ✓ should be able to feed the bindex
- ✓ should have bindex head(1) = 125
- ✓ should have bindex range(1, 3) = 125, 124, 123
- ✓ should be able to feed the iindex
- ✓ should be able to trim the iindex
- ✓ triming again the iindex should have no effet
- ✓ should be able to feed the mindex
- ✓ should be able to trim the mindex
- ✓ should be able to feed the cindex
- ✓ should be able to trim the cindex
- ✓ should be able to feed the sindex
- ✓ should be able to trim the sindex
- 1) should be able to trim the bindex
- Linting
- eslint
- app/ProcessCpuProfiler.js
- 6:2 warning Expected indentation of 2 characters indent
- 7:2 warning Expected indentation of 2 characters indent
- 11:6 warning Expected indentation of 6 characters indent
- 13:6 warning Expected indentation of 6 characters indent
- 14:6 warning Expected indentation of 6 characters indent
- 15:6 warning Expected indentation of 6 characters indent
- 16:6 warning Expected indentation of 6 characters indent
- 18:6 warning Expected indentation of 6 characters indent
- 19:8 warning Expected indentation of 8 characters indent
- 20:8 warning Expected indentation of 8 characters indent
- 21:8 warning Expected indentation of 8 characters indent
- 22:8 warning Expected indentation of 8 characters indent
- 23:8 warning Expected indentation of 8 characters indent
- 24:8 warning Expected indentation of 8 characters indent
- 25:8 warning Expected indentation of 8 characters indent
- 26:10 warning Expected indentation of 10 characters indent
- 27:8 warning Expected indentation of 8 characters indent
- 28:8 warning Expected indentation of 8 characters indent
- 30:6 warning Expected indentation of 6 characters indent
- 33:6 warning Expected indentation of 6 characters indent
- 36:6 warning Expected indentation of 6 characters indent
- 39:6 warning Expected indentation of 6 characters indent
- 42:6 warning Expected indentation of 6 characters indent
- 45:6 warning Expected indentation of 6 characters indent
- 46:6 warning Expected indentation of 6 characters indent
- 47:6 warning Expected indentation of 6 characters indent
- 48:8 warning Expected indentation of 8 characters indent
- 49:8 warning Expected indentation of 8 characters indent
- 50:6 warning Expected indentation of 6 characters indent
- 54:1 warning Newline required at end of file but not found eol-last
- app/lib/common/package.js
- 5:6 warning Expected indentation of 6 characters indent
- 8:6 warning Expected indentation of 6 characters indent
- 11:6 warning Expected indentation of 6 characters indent
- 12:8 warning Expected indentation of 8 characters indent
- 13:6 warning Expected indentation of 6 characters indent
- 14:6 warning Expected indentation of 6 characters indent
- 18:1 warning Newline required at end of file but not found eol-last
- ✖ 37 problems (0 errors, 37 warnings)
- ✓ should have no errors in app (7918ms)
- bin/duniter
- 4:6 warning heapdump is defined but never used no-unused-vars
- ✖ 1 problem (0 errors, 1 warning)
- ✓ should have no errors in bin/duniter (63ms)
- ✓ should have no errors in test (2558ms)
- Block format
- ✓ a valid block should be well formatted
- should be rejected
- ✓ a block without signature
- ✓ a block with wrong pubkey format
- Block local coherence
- ✓ a valid block should be well formatted (114ms)
- should be rejected
- ✓ if wrong signature block
- ✓ if root block does not have Parameters
- ✓ if proof-of-work does not match PoWMin field
- ✓ if non-root has Parameters
- ✓ if root block has PreviousHash
- ✓ if root block has PreviousIssuer
- ✓ if non-root block does not have PreviousHash
- ✓ if non-root block does not have PreviousIssuer
- ✓ a V2 block with Dividend must have UnitBase field
- ✓ a V3 root block must have UnitBase field
- ✓ a V3 root block must have UnitBase field equal 0
- ✓ a block with wrong date (in past)
- ✓ a block with wrong date (in future, but too far)
- ✓ a root block with different time & medianTime should fail
- ✓ a block with good date
- ✓ Block cannot contain wrongly signed identities
- ✓ block with colliding uids in identities
- ✓ a block with colliding pubkeys in identities
- ✓ a block with identities not matchin joins
- ✓ Block cannot contain wrongly signed join
- ✓ Block cannot contain wrongly signed active
- ✓ Block cannot contain wrongly signed leave
- ✓ Block cannot contain a same pubkey more than once in joiners
- ✓ Block cannot contain a same pubkey more than once in actives
- ✓ Block cannot contain a same pubkey more than once in leavers
- ✓ Block cannot contain a same pubkey more than once in excluded
- ✓ Block cannot contain a same pubkey more than once in joiners, actives, leavers and excluded
- ✓ Block cannot have revoked key in joiners,actives,leavers
- ✓ Block cannot have revoked key duplicates
- ✓ Block revoked keys must be in excluded
- ✓ Block cannot contain 2 certifications from same issuer
- ✓ Block cannot contain identical certifications
- ✓ Block cannot contain certifications concerning a leaver
- ✓ Block cannot contain certifications concerning an excluded member
- ✓ Block cannot contain transactions without issuers (1)
- ✓ Block cannot contain transactions without issuers (2)
- ✓ Block cannot contain transactions without issuers (3)
- ✓ Block cannot contain transactions with identical sources in one transaction
- ✓ Block cannot contain transactions with identical sources in a pack of transactions
- ✓ Block cannot contain transactions with empty output conditions
- ✓ Block cannot contain transactions with wrong total
- ✓ Block cannot contain transactions with wrong base transformation
- ✓ Block cannot contain transactions with unexisting lower base in sources
- ✓ Block cannot contain transactions with more than 100 lines
- ✓ Block cannot contain transactions with a too large output
- ✓ Block cannot contain transactions with a too large unlock
- ✓ Block cannot be refused with a good V3 transaction
- ✓ Block cannot contain transactions with wrong signatures
- CFS
- ✓ should have the content of A.json from B5
- ✓ should have the content of C.json modified from B5 (direct read)
- ✓ should have the content of D.json modified from B4 (direct read/write)
- ✓ should have the content of D.json modified from B5 (direct read/write)
- ✓ should have G,H,I as files from /DIR
- ✓ should have I as files from /DIR2
- ✓ should have no files from /DIR2 after file DELETION
- Root core
- ✓ should have 1 file in /OTHER folder
- ✓ should have no files from /OTHER after file DELETION
- ed25519 tests:
- ✓ good signature from generated key should be verified
- ✓ wrong signature from generated key should NOT be verified
- ✓ good signature on a Peer document with just BMA should be verified
- ✓ good signature on a Peer document with just BMA + BMAS should be verified
- Random keypair
- ✓ good signature from generated key should be verified
- ✓ wrong signature from generated key should NOT be verified
- SQLite driver
- Memory
- ✓ should be openable and closable on will
- File
- ✓ should be able to open a new one
- ✓ should be able to reopen the file
- ✓ should be able to remove the file
- ✓ should be able to open the file after being removed
- Entities
- ✓ testing Block
- Fork resolution 3-3 algo
- ✓ should switch on a valid fork
- ✓ should not switch if no fork block 3-3 exist
- ✓ should eliminate a fork with missing blocks
- ✓ should eliminate a fork out of fork window
- ✓ should refuse a fork right on the limit of the fork window
- ✓ should eliminate a fork whose 2nd block is invalid
- ✓ should select the longest fork
- Merkle ['a', 'b', 'c', 'd', 'e']
- ✓ should have root 16E6BEB3E080910740A2923D6091618CAA9968AEAD8A52D187D725D199548E2C
- ✓ should have level 1,0 AB4587D9F4AD6990E0BF4A1C5A836C78CCE881C2B7C4287C0A7DA15B47B8CF1F
- ✓ should have level 1,1 3F79BB7B435B05321651DAEFD374CDC681DC06FAA65E374E38337B88CA046DEA
- ✓ should have 4 levels
- ✓ should have depth: 3
- ✓ should have 6 nodes
- ✓ should have 5 leaves
- Merkle []
- ✓ should have root empty
- ✓ should have 1 levels
- ✓ should have depth: 0
- ✓ should have 0 nodes
- ✓ should have 0 leaves
- Module usage
- ✓ /node/summary should answer (188ms)
- Unknown command 'test2'. Try --help for a listing of commands & options.
- ✓ remoteipv4 should NOT be filled if remote Host is declared
- Unknown command 'test3'. Try --help for a listing of commands & options.
- ✓ remoteipv4 should NOT be filled if remote IPv6 is declared
- Unknown command 'test4'. Try --help for a listing of commands & options.
- ✓ remoteipv4 should be NOT be auto-filled if manual remoteipv4 is declared
- Unknown command 'test5'. Try --help for a listing of commands & options.
- ✓ remoteipv4 should be filled if no remote is declared, but local IPv4 is
- ✓ default IPv6 should not be a local one
- ed25519 tests:
- ✓ good signature from generated key should be verified
- ✓ wrong signature from generated key should NOT be verified
- Grammar
- ✓ SIG should work (528ms)
- ✓ SIG should work (303ms)
- ✓ XHX should work (267ms)
- ✓ && keywork should work (267ms)
- ✓ || keywork should work (259ms)
- ✓ || && keyworks combined should work (127ms)
- ✓ SIG XHX functions combined should work (461ms)
- ✓ SIG, XHX, &&, || words combined should work (395ms)
- ✓ CSV+CLTV+1of2SIG (229ms)
- ✓ Wrong syntax should return `null` (54ms)
- Peer
- of some key
- ✓ should be version 10
- ✓ should have beta_brousoufs currency name
- ✓ should have public key
- ✓ should have 2 endpoints
- ✓ should have DNS
- ✓ should have IPv4
- ✓ should have no IPv6 address
- ✓ should have port 9101
- Random keypair
- ✓ good signature from generated key should be verified
- ✓ wrong signature from generated key should NOT be verified
- Transaction format
- ✓ a valid block should be well formatted (118ms)
- Pulling blocks
- ✓ from genesis with good sidechain should work
- ✓ from genesis with fork sidechain should not work
- ✓ from genesis with multiple good sidechains should work
- ✓ sync with a single fork
- ✓ sync with multiple forks
- ✓ sync with inconsistant fork should skip it
- Peers garbaging
- ✓ should be able to garbage some peers (184ms)
- Scrypt salt // key
- ✓ abc // abc (80ms)
- ✓ abc // def (74ms)
- ✓ azerty // def (74ms)
- Module usage
- ✓ wrong options should throw
- ✓ no options on brand new node should generate random key (45ms)
- WS2P IP functions
- ✓ should format correctly DNS endpoints
- ✓ should format correctly IPv4 endpoints
- ✓ should format correctly IPv6 endpoints
- WS2P Single Write limiter
- ✓ should detect double writings (212ms)
- WS2P Regexp
- ✓ should match correctly HEADv0 regexps
- ✓ should match correctly HEADv1 regexps
- Protocol BR_G106 - Garbaging
- ✓ An account with balance < 1,00 should be cleaned up
- Protocol BR_G107 - udReevalTime
- ✓ root block good udReevalTime
- ✓ block with medianTime < udReevalTime
- ✓ block with medianTime == udReevalTime
- ✓ block with medianTime > udReevalTime
- Protocol BR_G11 - udTime
- ✓ root block good udTime
- ✓ block with medianTime < udTime
- ✓ block with medianTime == udTime
- ✓ block with medianTime > udTime
- Protocol BR_G13 - dividend
- ✓ root block has no dividend
- ✓ block with medianTime < udTime has no dividend
- ✓ block with medianTime == udTime
- ✓ block with medianTime > udTime
- Protocol BR_G49 - Version
- ✓ V13 following V12 should fail
- ✓ V14 following V12 should fail
- ✓ V13 following V14 should succeed
- ✓ V13 following V15 should fail
- Protocol BR_G50 - Block size
- ✓ 2 for an AVG(10) should succeed
- ✓ 400 for an AVG(10) should succeed
- ✓ 499 for an AVG(10) should succeed
- ✓ 500 for an AVG(10) should fail
- ✓ 500 for an AVG(454) should fail
- ✓ 500 for an AVG(455) should succeed
- ✓ 1100 for an AVG(1000) should fail
- ✓ 1100 for an AVG(1001) should succeed
- ✓ 1100 for block#0 should succeed
- Protocol BR_G51 - Number
- ✓ 1 following 1 should fail
- ✓ 1 following 0 should succeed
- ✓ 0 following 0 should fail
- ✓ 0 following nothing should succeed
- ✓ 4 following nothing should fail
- ✓ 4 following 2 should fail
- ✓ 4 following 3 should succeed
- PoW Cluster
- ✓ should have an empty cluster if no PoW was asked
- 2) should answer for a basic PoW in more than 50ms (cold)
- ✓ should have an non-empty cluster after a PoW was asked
- 3) should answer within 50ms for a basic PoW (warm)
- PoW Engine
- ✓ should be configurable
- 4) should be able to make a proof
- ✓ should be able to stop a proof (164ms)
- PoW block prover
- ✓ should be configurable
- ✓ should be able to make a proof (3203ms)
- ✓ should be able to use a prefix maxed at 899
- ✓ should be able to stop a proof
- Proxies Conf
- ✓ should do not use any sock proxy
- ✓ should use tor proxy only to reach ".onion" endpoints
- ✓ should always use tor proxy
- ✓ should always use classical socks proxy
- ✓ should use tor proxy for ".onion" endpoints and classical socks proxy for everyone else
- ✓ should always use tor proxy and contact only tor endpoints
- ✓ should never use proxy and contact tor endpoints (user redirect the traffic to tor himself)
- v1.0 Local Index
- ✓ should have 30 index entries
- ✓ should have 4 iindex entries
- ✓ should have 1 iindex CREATE entries
- ✓ should have 3 iindex UPDATE entries
- ✓ should have 5 mindex entries
- ✓ should have 1 mindex CREATE entries
- ✓ should have 4 mindex UPDATE entries
- ✓ should have 5 cindex entries
- ✓ should have 5 cindex CREATE entries
- ✓ should have 0 cindex UPDATE entries
- ✓ should have 16 cindex entries
- ✓ should have 9 cindex CREATE entries
- ✓ should have 7 cindex UPDATE entries
- Branches
- Server 1 /blockchain
- ✓ should have a 3 blocks fork window size
- SelfFork
- 5) "before all" hook
- Pending data
- 6) "before all" hook
- Revert root
- 7) "before all" hook
- Revert two blocks
- before revert
- ✓ /block/0 should exist
- ✓ /block/2 should exist
- ✓ /block/3 should exist
- ✓ /tx/sources/HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd should have only UD
- ✓ /tx/sources/DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo should have only UD
- ✓ /tx/sources/DNann1Lh55eZMEDXeYt59bzHbA3NJR46DeQYCS2qQdLV should have only UD
- after revert
- ✓ /block/0 should exist
- ✓ /block/2 should exist
- ✓ /block/3 should NOT exist
- ✓ /tx/sources/HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd should have only UD
- ✓ /tx/sources/DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo should have only UD
- ✓ /tx/sources/DNann1Lh55eZMEDXeYt59bzHbA3NJR46DeQYCS2qQdLV should have only UD
- commit again (but send less, to check that the account is not cleaned this time)
- ✓ /block/0 should exist
- ✓ /block/2 should exist
- ✓ /block/3 should exist
- ✓ /tx/sources/HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd should have only UD
- ✓ /tx/sources/DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo should have only UD
- ✓ /tx/sources/DNann1Lh55eZMEDXeYt59bzHbA3NJR46DeQYCS2qQdLV should have only UD
- Revert balance
- 2017-12-05T10:10:53+01:00 - info: SIGTERM received, closing worker 22823
- ✓ cat and tac should have 200 units
- ✓ cat should be able to send 60 units to tac (892ms)
- ✓ revert: cat and tac should have 100 units (72ms)
- ✓ cat should be able to RE-send 60 units to tac (511ms)
- Revert memberships
- 2017-12-05T10:11:03+01:00 - info: SIGTERM received, closing worker 22846
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 exit listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 online listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 message listeners added. Use emitter.setMaxListeners() to increase limit
- 8) "before all" hook
- Switch
- 9) "before all" hook
- Certification chainability
- 10) "before all" hook
- Certifier must be a member
- 11) "before all" hook
- CLI
- ✓ config --autoconf (2071ms)
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added. Use emitter.setMaxListeners() to increase limit
- 12) reset data
- 13) sync 7 blocks (fast)
- 14) sync 4 blocks (cautious)
- 2017-12-05T10:12:33+01:00 - debug: Plugging file system...
- 2017-12-05T10:12:33+01:00 - debug: Loading conf...
- 2017-12-05T10:12:33+01:00 - debug: Configuration saved.
- ✓ [spawn] reset data (16289ms)
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
- 15) [spawn] sync 10 first blocks --memory
- Community collapse
- 16) "before all" hook
- Continous proof-of-work
- ✓ should automatically stop waiting if nothing happens (2711ms)
- ✓ should be able to start generation and find a block (1012ms)
- ✓ should be able to cancel generation because of a blockchain switch (361ms)
- ✓ testing proof-of-work during a block pulling (13926ms)
- Crosschain transactions
- Successfull transaction
- 2017-12-05T10:13:27+01:00 - info: SIGTERM received, closing worker 23169
- 17) "before all" hook
- Rollbacked transaction
- 18) "before all" hook
- Document pool currency
- ✓ Identity with wrong currency should be rejected (63ms)
- ✓ Identity absorption with wrong currency should be rejected (72ms)
- ✓ Certification with wrong currency should be rejected (67ms)
- ✓ Membership with wrong currency should be rejected (60ms)
- ✓ Revocation with wrong currency should be rejected (71ms)
- 19) Block with wrong currency should be rejected
- 20) Transaction with wrong currency should be rejected
- 21) Transaction with wrong XHX should be rejected
- ✓ Peer with wrong currency should be rejected (48ms)
- Forwarding
- Nodes
- Testing technical API
- ✓ Node1 should be up and running
- ✓ Node2 should be up and running
- Node 1
- ✓ toc should give only 1 result
- ✓ tic should give only 1 results
- user cat
- ✓ should give only 1 result
- ✓ should have sent 1 signature
- user tac
- ✓ should give only 1 result
- ✓ should have 1 signature
- ✓ should have sent 1 signature
- Node 2
- ✓ toc should give only 1 result
- ✓ tic should give only 1 results
- user cat
- ✓ should give only 1 result
- ✓ should have sent 1 signature
- user tac
- ✓ should give only 1 result
- ✓ should have 1 signature
- ✓ should have sent 1 signature
- HTTP API
- 22) "before all" hook
- Identity absorption
- ✓ cat should exist on server 1
- ✓ cat should exist on server 2
- ✓ should test idty absorption refusal (114ms)
- Identities cleaned
- 23) "before all" hook
- Identities expiry
- 24) "before all" hook
- Implicit revocation
- 25) "before all" hook
- Identities kicking by certs
- 26) "before all" hook
- Identities kicking
- 27) "before all" hook
- Identity pulling
- ✓ toc, tic and tuc can create their account on s2 (736ms)
- ✓ toc should not be known of s1
- ✓ tic should not be known of s1
- ✓ tuc should not be known of s1
- ✓ toc should have 2 certs on server2 (78ms)
- ✓ tic should have 1 certs on server2 (82ms)
- ✓ s1 should be able to pull sandbox data from s2 (1259ms)
- Identities with shared pubkey
- ✓ should exit 2 pubkey result (51ms)
- ✓ pubkey HgTT should have signed 1 key (51ms)
- Identities collision
- 28) "before all" hook
- Lookup identity grouping
- ✓ cat should have only 1 identity in 1 pubkey
- ✓ tic should have only 2 identities in 1 pubkey
- ✓ should exist 2 pending memberships
- Membership chainability
- before July 2017
- ✓ current should be the 2nd
- after July 2017
- 2017-12-05T10:17:25+01:00 - info: SIGTERM received, closing worker 23813
- ✓ should refuse a block with a too early membership in it (137ms)
- ✓ should not be able to renew immediately (230ms)
- ✓ should be able to renew after 20 sec (291ms)
- ✓ current should be the 4th
- Network updating
- 2017-12-05T10:17:34+01:00 - info: SIGTERM received, closing worker 23838
- 29) "before all" hook
- Network Merkle
- ✓ /peers?leaf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (86ms)
- Server 1 /network/peering
- ✓ /peers?leaves=true
- ✓ /peers?leaf=C3EAB939F0BEF711461A140A1BA2649C75905107FACA3BE9C5F76F7FD1C7BC5E
- Server 2 /network/peering
- ✓ /peers?leaves=true
- ✓ /peers?leaf=BDD850441E3CDEB9005345B425CDBDA83E7BC7E5D83E9130C6012084F93CD220
- Newcomers shuffling
- 30) "before all" hook
- Peer document expiry
- 31) "before all" hook
- Network
- 32) "before all" hook
- Peer document
- 33) "before all" hook
- Proof-of-work
- ✓ should be able to find an easy PoW (7972ms)
- 34) should be reducing cpu when the PoW is too easy for the cpu
- Fork blocks
- ✓ should create a common blockchain (6786ms)
- ✓ should exist the same block on each node
- ✓ should be able to fork, and notify each node (2746ms)
- ✓ should exist a different third block on each node
- ✓ should exist both branches on each node
- ✓ should be able to grow S1's blockchain (766ms)
- ✓ should refuse known fork blocks (2859ms)
- ✓ should be able to make one fork grow enough to make one node switch (1273ms)
- ✓ should exist a same current block on each node
- ✓ should exist 2 branches on each node
- Revocation
- 2017-12-05T10:25:46+01:00 - info: SIGTERM received, closing worker 24954
- 2017-12-05T10:25:46+01:00 - info: SIGTERM received, closing worker 24973
- 2017-12-05T10:25:46+01:00 - info: SIGTERM received, closing worker 24989
- 35) "before all" hook
- Revoked pubkey replay
- ✓ should exist tic as pending identity
- ✓ should be able to make tic become a member (598ms)
- ✓ should be able to revoke tic (358ms)
- ✓ should not try to include tic2 in a new block (397ms)
- Import/Export
- 2017-12-05T10:26:14+01:00 - info: SIGTERM received, closing worker 25049
- 36) "before all" hook
- Sandboxes
- Identities
- ✓ should i1, i2, i3 (168ms)
- ✓ should reject i4 (53ms)
- ✓ should create i4 by i1->i4 (167ms)
- ✓ should accept i1 (already here) by i4->i1 (77ms)
- 37) should commit & make room for sandbox, and commit again
- 38) should create i5(1)
- ✓ should reject i7(1) (49ms)
- ✓ should reject i7(1) by revocation (121ms)
- 39) should reject i1 -> i7 by revocation
- ✓ should accept i7(1), i8(1), i9(1) by i1->i7(1), i1->i8(1), i1->i9(1) (335ms)
- 40) should reject i10(1) by i1->i10(1)
- 41) should accept i10(0) by i1->i10(0) because of an superior date compared to others in sandbox
- ✓ should accept i11(0) and i12(0) for the same reason (109ms)
- ✓ should reject i13(0) because absolutely no more room is available (53ms)
- ✓ should accept an identity with the same key as server, always (52ms)
- 42) should make room as identities get expired
- Certifications
- 43) should accept i4->i7(0),i4->i8(0),i4->i9(0)
- ✓ should reject i4->i10(0)
- 44) should accept a certification from the same key as server, always
- 45) should make room as certs get expired
- Memberships
- 46) should accept i8,i9
- ✓ should reject i7 (84ms)
- 47) should accept a membership from the same key as server, always
- 48) should make room as membership get expired
- Transaction
- 49) should accept 2 transactions of 20, 30 units
- ✓ should reject amount of 10
- 50) should accept a transaction from the same key as server, always
- 51) should make room as transactions get commited
- Server shutdown
- ✓ should not interrupt a task in the documents FIFO (50ms)
- Single document treatment
- 52) should create a common blockchain
- 53) should exist the same block on each node
- ✓ should refuse known fork blocks (51ms)
- Sources property
- 54) "before all" hook
- Generation
- 55) "before all" hook
- Integration
- Node 1
- Testing technical API
- ✓ /node/summary should give package.json version
- Testing malformed documents
- ✓ should not have crashed because of wrong tx
- Lookup on
- ✓ toc should give only 1 result
- ✓ tic should give only 1 result
- identities collisions
- ✓ sending same identity should fail (43ms)
- ✓ sending same identity (again) should fail (41ms)
- user cat
- ✓ should give only 1 result
- ✓ should have sent 1 signature
- user tac
- ✓ should give only 1 result
- ✓ should have 1 signature
- ✓ should have sent 0 signature
- Testing leavers
- 56) "before all" hook
- Transaction chaining
- 57) "before all" hook
- Transactions: CLTV
- 58) "before all" hook
- Transaction: CSV+CLTV+1of2SIG
- ✓ cat should have 100 units
- ✓ cat should be able to make a CSV+CLTV+1of2SIG tx (977ms)
- ✓ tac should be able to consume the tx after 10s (926ms)
- Transactions: CSV
- 2017-12-05T10:30:26+01:00 - info: SIGTERM received, closing worker 25630
- 59) "before all" hook
- Transactions pruning
- 60) "before all" hook
- Testing transactions
- Sources
- ✓ it should exist block#2 with UD of 1200 (42ms)
- ✓ tic should be able to send 510 to toc
- ✓ toc should have 1510 of sources
- ✓ toc should be able to send 800 to tic (1017ms)
- Chaining
- ✓ with SIG and XHX (3401ms)
- ✓ with MULTISIG (2558ms)
- Protocol 0.4 Times
- 2017-12-05T10:31:20+01:00 - info: SIGTERM received, closing worker 25747
- 61) "before all" hook
- Protocol 0.5 Identity blockstamp
- 62) should be able to create tuc on s1
- ✓ should not be able to create tuc on s2, using identity generated on s1
- Protocol 0.5 Transaction version
- 63) "before all" hook
- Protocol 0.6 Difficulties
- 64) "before all" hook
- Protocol 1.0 Dividend Update
- 65) "before all" hook
- Protocol 1.0 Ğ1 Dividend - long run
- 66) "before all" hook
- Protocol 1.0 Ğ1 Dividend
- 67) "before all" hook
- v1.0 Module API
- Hello world! from within Duniter.
- ✓ should be able to execute `hello` command with quickRun (146ms)
- ✓ should be able to execute `hello` command (139ms)
- Configuration hooks
- ✓ verify that we get the CLI options (471ms)
- 68) verify that we get the saved options
- Service triggers
- ✓ verify that services are started (350ms)
- ✓ verify that services are stopped (192ms)
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 end listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 data listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 end listeners added. Use emitter.setMaxListeners() to increase limit
- (node:22292) Warning: Possible EventEmitter memory leak detected. 11 data listeners added. Use emitter.setMaxListeners() to increase limit
- Protocol 1.1 Dividend
- 69) "before all" hook
- WOTB module
- Server 1
- 70) "before all" hook
- Server 2
- 71) "before all" hook
- Server 3
- 72) two first commits: the WoT is new and OK
- 73) third & fourth commits: toc should have joined
- 74) fifth commit: cat still here, but not its certs
- 75) sixth commit: cat is gone with its certs
- 76) seventh commit: toc is gone, but not its cert to tic
- 77) revert seventh commit: toc is back, cat is gone
- 78) revert sixth commit: cat is back
- 79) revert fifth commit
- 80) revert third & fourth commits
- 81) revert first & second commits
- WS2P client limitations
- ✓ should have b#2 on s1, s2 and s3
- ✓ should be able to have a connected network on s2 start (1030ms)
- ✓ should not connect to s3 because of connection size limit (679ms)
- ✓ should connect to s4 because of configuration favorism (1395ms)
- ✓ should be able to connect to s3 if the we increase size limit (758ms)
- WS2P cluster
- ✓ should have b#2 on s1, s2 and s3
- ✓ should be able to have a connected network on s2 start (343ms)
- ✓ should not start another connection if peer is already connected (556ms)
- ✓ should be able to connect on s3 when s3 submits its peer document (579ms)
- WS2P
- WS2P client connection
- no auth
- ✓ should be able to create a connection
- pubkey auth
- ✓ should refuse the connection if the server does not answer (104ms)
- ✓ should refuse the connection if the server answers with a wrong signature (53ms)
- ✓ should refuse the connection if the server refuses our signature (103ms)
- ✓ should accept the connection if the server answers with a good signature (61ms)
- WS2P server connection
- no auth
- ✓ should be able to create connections and make several requests
- pubkey auth
- ✓ should refuse the connection if the client does not send ACK (111ms)
- ✓ should refuse the connection if the client not confirm with OK (154ms)
- ✓ should refuse the connection if the client answers with a wrong signature (114ms)
- ✓ should refuse the connection if the client refuses our signature (144ms)
- ✓ should accept the connection if everything is OK on both side (253ms)
- ✓ should refuse the connection if the client does not send OK (120ms)
- WS2P doc sharing
- ✓ should see the identity and certs of initial members in the docpool (135ms)
- ✓ should have the same block#0 if we commit (8911ms)
- ✓ should see the identity, certs and memberships in the docpool (3520ms)
- ✓ should see the transactions pending (1961ms)
- ✓ should see the peer documents (102ms)
- WS2P docpool pulling
- ✓ should have b#2 on s1 and s2
- ✓ should be able to pull the docpool (754ms)
- WS2P exchange
- WS2P: newConnectionFromWebSocketServer connection error
- ✓ should accept the connection if everything is OK on both side (180ms)
- WS2P heads propagation
- ✓ should have b#2 on s1, s2 and s3
- ✓ should be able to have a connected network on s2 start (855ms)
- ✓ should be able to receive HEADs (482ms)
- WS2P network
- ✓ should have b#2 on s1 and s2
- ✓ should be able to have a connected network on s2 start (337ms)
- WS2P block pulling
- ✓ should have b#6 on s1, b#2 on s2
- ✓ should be able to pull and have the same current block as a result (406ms)
- WS2P server limitations
- ✓ should have b#2 on s1, s2 and s3
- ✓ should be able to have a connected network on s2 start (895ms)
- Unhandled rejection: WS2P connection timeout
- WS2P connection timeout
- 82) should not connect to s3 because of connection size limit
- Unhandled rejection: WS2P connection timeout
- WS2P connection timeout
- 83) should connect to s3 because of configuration favorism
- 440 passing (30m)
- 83 failing
- 1) Triming should be able to trim the bindex:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 2) PoW Cluster should answer for a basic PoW in more than 50ms (cold):
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 3) PoW Cluster should answer within 50ms for a basic PoW (warm):
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 4) PoW Engine should be able to make a proof:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 5) SelfFork "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 6) Pending data "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 7) Revert root "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 8) Revert memberships "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 9) Switch "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 10) Certification chainability "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 11) Certifier must be a member "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 12) CLI reset data:
- Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 13) CLI sync 7 blocks (fast):
- Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 14) CLI sync 4 blocks (cautious):
- Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 15) CLI [spawn] sync 10 first blocks --memory:
- Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 16) Community collapse "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 17) Crosschain transactions Successfull transaction "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 18) Crosschain transactions Rollbacked transaction "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 19) Document pool currency Block with wrong currency should be rejected:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 20) Document pool currency Transaction with wrong currency should be rejected:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 21) Document pool currency Transaction with wrong XHX should be rejected:
- AssertionError: expected 'No current block' to match /Wrong output format/
- at Assertion.fail (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:258:17)
- at Assertion.value (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:335:19)
- at /home/nanocryk/downloads/duniter/test/integration/documents-currency.ts:195:30
- at throw (native)
- at onRejected (/home/nanocryk/downloads/duniter/node_modules/co/index.js:81:24)
- at tryCatcher (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/util.js:16:23)
- at Promise._settlePromiseFromHandler (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:512:31)
- at Promise._settlePromise (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:569:18)
- at Promise._settlePromise0 (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:614:10)
- at Promise._settlePromises (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:689:18)
- at Async._drainQueue (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:133:16)
- at Async._drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:143:10)
- at Immediate.Async.drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:17:14)
- at runCallback (timers.js:672:20)
- at tryOnImmediate (timers.js:645:5)
- at processImmediate [as _immediateCallback] (timers.js:617:5)
- 22) HTTP API "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 23) Identities cleaned "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 24) Identities expiry "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 25) Implicit revocation "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 26) Identities kicking by certs "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 27) Identities kicking "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 28) Identities collision "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 29) Network updating "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 30) Newcomers shuffling "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 31) Peer document expiry "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 32) Network "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 33) Peer document "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 34) Proof-of-work should be reducing cpu when the PoW is too easy for the cpu:
- Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 35) Revocation "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 36) Import/Export "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 37) Sandboxes Identities should commit & make room for sandbox, and commit again:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 38) Sandboxes Identities should create i5(1):
- Error: the string "{\n \"ucode\": 1007,\n \"message\": \"The identities' sandbox is full. Please retry with another document or retry later.\"\n}"
- was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 39) Sandboxes Identities should reject i1 -> i7 by revocation:
- AssertionError: expected [Promise] to be rejected, but it was fulfilled with undefined
- at Assertion.fail (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:258:17)
- at /home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:1559:14
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 40) Sandboxes Identities should reject i10(1) by i1->i10(1):
- AssertionError: expected [Promise] to be rejected, but it was fulfilled with undefined
- at Assertion.fail (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:258:17)
- at /home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:1559:14
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 41) Sandboxes Identities should accept i10(0) by i1->i10(0) because of an superior date compared to others in sandbox:
- Error: the string "{\n \"ucode\": 1004,\n \"message\": \"Already up-to-date\"\n}" was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 42) Sandboxes Identities should make room as identities get expired:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 43) Sandboxes Certifications should accept i4->i7(0),i4->i8(0),i4->i9(0):
- Error: the string "{\n \"ucode\": 1004,\n \"message\": \"Already up-to-date\"\n}" was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 44) Sandboxes Certifications should accept a certification from the same key as server, always:
- AssertionError: expected 2 to be 0
- + expected - actual
- -2
- +0
- at Assertion.fail (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:258:17)
- at Assertion.value (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:335:19)
- at /home/nanocryk/downloads/duniter/test/integration/server-sandbox.js:215:119
- at next (native)
- at onFulfilled (/home/nanocryk/downloads/duniter/node_modules/co/index.js:65:19)
- 45) Sandboxes Certifications should make room as certs get expired:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 46) Sandboxes Memberships should accept i8,i9:
- Error: the string "{\n \"ucode\": 1004,\n \"message\": \"Already up-to-date\"\n}" was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 47) Sandboxes Memberships should accept a membership from the same key as server, always:
- Error: the string "{\n \"ucode\": 2007,\n \"message\": \"Already received membership\"\n}" was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 48) Sandboxes Memberships should make room as membership get expired:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 49) Sandboxes Transaction should accept 2 transactions of 20, 30 units:
- No current block
- 50) Sandboxes Transaction should accept a transaction from the same key as server, always:
- No current block
- 51) Sandboxes Transaction should make room as transactions get commited:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 52) Single document treatment should create a common blockchain:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 53) Single document treatment should exist the same block on each node:
- AssertionError: 404 == 200
- + expected - actual
- -404
- +200
- at /home/nanocryk/downloads/duniter/test/integration/tools/http.js:62:18
- at throw (native)
- at onRejected (/home/nanocryk/downloads/duniter/node_modules/co/index.js:81:24)
- at tryCatcher (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/util.js:16:23)
- at Promise._settlePromiseFromHandler (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:512:31)
- at Promise._settlePromise (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:569:18)
- at Promise._settlePromise0 (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:614:10)
- at Promise._settlePromises (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:689:18)
- at Async._drainQueue (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:133:16)
- at Async._drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:143:10)
- at Immediate.Async.drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:17:14)
- at runCallback (timers.js:672:20)
- at tryOnImmediate (timers.js:645:5)
- at processImmediate [as _immediateCallback] (timers.js:617:5)
- 54) Sources property "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 55) Generation "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 56) Integration Testing leavers "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 57) Transaction chaining "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 58) Transactions: CLTV "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 59) Transactions: CSV "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 60) Transactions pruning "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 61) Protocol 0.4 Times "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 62) Protocol 0.5 Identity blockstamp should be able to create tuc on s1:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 63) Protocol 0.5 Transaction version "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 64) Protocol 0.6 Difficulties "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 65) Protocol 1.0 Dividend Update "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 66) Protocol 1.0 Ğ1 Dividend - long run "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 67) Protocol 1.0 Ğ1 Dividend "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 68) v1.0 Module API Configuration hooks verify that we get the saved options:
- Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 69) Protocol 1.1 Dividend "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 70) WOTB module Server 1 "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 71) WOTB module Server 2 "before all" hook:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 72) WOTB module Server 3 two first commits: the WoT is new and OK:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 73) WOTB module Server 3 third & fourth commits: toc should have joined:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 74) WOTB module Server 3 fifth commit: cat still here, but not its certs:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 75) WOTB module Server 3 sixth commit: cat is gone with its certs:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- 76) WOTB module Server 3 seventh commit: toc is gone, but not its cert to tic:
- Error: the string "{\n \"ucode\": 1004,\n \"message\": \"Already up-to-date\"\n}" was thrown, throw an Error :)
- at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
- at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
- at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
- at process._tickCallback (internal/process/next_tick.js:109:7)
- 77) WOTB module Server 3 revert seventh commit: toc is back, cat is gone:
- TypeError: Cannot read property 'number' of undefined
- at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
- at next (native)
- at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
- 78) WOTB module Server 3 revert sixth commit: cat is back:
- TypeError: Cannot read property 'number' of undefined
- at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
- at next (native)
- at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
- 79) WOTB module Server 3 revert fifth commit:
- TypeError: Cannot read property 'number' of undefined
- at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
- at next (native)
- at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
- 80) WOTB module Server 3 revert third & fourth commits:
- TypeError: Cannot read property 'number' of undefined
- at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
- at next (native)
- at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
- 81) WOTB module Server 3 revert first & second commits:
- TypeError: Cannot read property 'number' of undefined
- at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
- at next (native)
- at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
- 82) WS2P server limitations should not connect to s3 because of connection size limit:
- AssertionError: 1 == 0
- + expected - actual
- -1
- +0
- at s3.expect (/home/nanocryk/downloads/duniter/test/integration/ws2p_server_limitations.ts:159:14)
- at /home/nanocryk/downloads/duniter/test/integration/tools/http.js:73:16
- at next (native)
- at onFulfilled (/home/nanocryk/downloads/duniter/node_modules/co/index.js:65:19)
- at tryCatcher (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/util.js:16:23)
- at Promise._settlePromiseFromHandler (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:512:31)
- at Promise._settlePromise (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:569:18)
- at Promise._settlePromise0 (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:614:10)
- at Promise._settlePromises (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:693:18)
- at Async._drainQueue (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:133:16)
- at Async._drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:143:10)
- at Immediate.Async.drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:17:14)
- at runCallback (timers.js:672:20)
- at tryOnImmediate (timers.js:645:5)
- at processImmediate [as _immediateCallback] (timers.js:617:5)
- 83) WS2P server limitations should connect to s3 because of configuration favorism:
- Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
- at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
- at ontimeout (timers.js:386:11)
- at tryOnTimeout (timers.js:250:5)
- at Timer.listOnTimeout (timers.js:214:5)
- error Command failed with exit code 83.
- info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
- entropy :: ~/downloads/duniter ‹better_cpu_target*› %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement