Advertisement
Guest User

Untitled

a guest
Dec 5th, 2017
4
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.49 KB | None | 0 0
  1. entropy :: ~/downloads/duniter ‹better_cpu_target*› % yarn test
  2. yarn run v1.3.2
  3. $ nyc --reporter html mocha
  4.  
  5.  
  6. Basic Memory Blockchain
  7. ✓ should be able to push 3 blocks and read them
  8. ✓ should be able to read a range
  9. ✓ should have a good height
  10. ✓ should be able to revert blocks
  11.  
  12. Basic SQL Blockchain
  13. ✓ should be able to push 3 blocks and read them
  14. ✓ should be able to read a range
  15. ✓ should have a good height
  16. ✓ should be able to revert blocks
  17.  
  18. Indexed Blockchain
  19. MemoryIndex
  20. PK on one field
  21. ✓ should be able to index data
  22. ✓ should be able to reduce data
  23. ✓ should be able to count data
  24. ✓ should be able to reduce grouped data
  25. ✓ should be able to trim data
  26. PK on two fields
  27. ✓ should be able to index data
  28. ✓ should be able to reduce data
  29. ✓ should be able to count data
  30. ✓ should be able to reduce grouped data
  31. ✓ should be able to trim data
  32. SqlIndex
  33. PK on one field
  34. ✓ should be able to index data
  35. ✓ should be able to reduce data
  36. ✓ should be able to count data
  37. ✓ should be able to reduce grouped data
  38. ✓ should be able to trim data
  39. PK on two fields
  40. ✓ should be able to index data
  41. ✓ should be able to reduce data
  42. ✓ should be able to count data
  43. ✓ should be able to reduce grouped data
  44. ✓ should be able to trim data
  45.  
  46. MISC SQL Blockchain
  47. MINDEX
  48. ✓ should be able to index data
  49. ✓ should be able to reduce data
  50. ✓ should be able to count data
  51. ✓ should be able to reduce grouped data
  52. ✓ should be able to trim data
  53. IINDEX
  54. ✓ should be able to index data
  55. ✓ should be able to reduce data
  56. ✓ should be able to count data
  57. ✓ should be able to reduce grouped data
  58. ✓ should be able to trim data
  59. SINDEX
  60. ✓ should be able to index data
  61. ✓ should be able to reduce data
  62. ✓ should be able to count data
  63. ✓ should be able to reduce grouped data
  64. ✓ should be able to trim data
  65. CINDEX
  66. ✓ should be able to index data
  67. ✓ should be able to reduce data
  68. ✓ should be able to count data
  69. ✓ should be able to reduce grouped data
  70. ✓ should be able to trim data
  71.  
  72. DAL
  73. ✓ should have DB version 21
  74. ✓ should have no peer in a first time
  75. ✓ should have 1 peer if 1 is created
  76. ✓ should have no current block
  77. ✓ should have no blocks in first time
  78. ✓ should be able to save a Block
  79.  
  80. Source DAL
  81. ✓ should be able to feed the sindex with unordered rows
  82.  
  83. Triming
  84. ✓ should be able to feed the bindex
  85. ✓ should have bindex head(1) = 125
  86. ✓ should have bindex range(1, 3) = 125, 124, 123
  87. ✓ should be able to feed the iindex
  88. ✓ should be able to trim the iindex
  89. ✓ triming again the iindex should have no effet
  90. ✓ should be able to feed the mindex
  91. ✓ should be able to trim the mindex
  92. ✓ should be able to feed the cindex
  93. ✓ should be able to trim the cindex
  94. ✓ should be able to feed the sindex
  95. ✓ should be able to trim the sindex
  96. 1) should be able to trim the bindex
  97.  
  98. Linting
  99. eslint
  100.  
  101. app/ProcessCpuProfiler.js
  102. 6:2 warning Expected indentation of 2 characters indent
  103. 7:2 warning Expected indentation of 2 characters indent
  104. 11:6 warning Expected indentation of 6 characters indent
  105. 13:6 warning Expected indentation of 6 characters indent
  106. 14:6 warning Expected indentation of 6 characters indent
  107. 15:6 warning Expected indentation of 6 characters indent
  108. 16:6 warning Expected indentation of 6 characters indent
  109. 18:6 warning Expected indentation of 6 characters indent
  110. 19:8 warning Expected indentation of 8 characters indent
  111. 20:8 warning Expected indentation of 8 characters indent
  112. 21:8 warning Expected indentation of 8 characters indent
  113. 22:8 warning Expected indentation of 8 characters indent
  114. 23:8 warning Expected indentation of 8 characters indent
  115. 24:8 warning Expected indentation of 8 characters indent
  116. 25:8 warning Expected indentation of 8 characters indent
  117. 26:10 warning Expected indentation of 10 characters indent
  118. 27:8 warning Expected indentation of 8 characters indent
  119. 28:8 warning Expected indentation of 8 characters indent
  120. 30:6 warning Expected indentation of 6 characters indent
  121. 33:6 warning Expected indentation of 6 characters indent
  122. 36:6 warning Expected indentation of 6 characters indent
  123. 39:6 warning Expected indentation of 6 characters indent
  124. 42:6 warning Expected indentation of 6 characters indent
  125. 45:6 warning Expected indentation of 6 characters indent
  126. 46:6 warning Expected indentation of 6 characters indent
  127. 47:6 warning Expected indentation of 6 characters indent
  128. 48:8 warning Expected indentation of 8 characters indent
  129. 49:8 warning Expected indentation of 8 characters indent
  130. 50:6 warning Expected indentation of 6 characters indent
  131. 54:1 warning Newline required at end of file but not found eol-last
  132.  
  133. app/lib/common/package.js
  134. 5:6 warning Expected indentation of 6 characters indent
  135. 8:6 warning Expected indentation of 6 characters indent
  136. 11:6 warning Expected indentation of 6 characters indent
  137. 12:8 warning Expected indentation of 8 characters indent
  138. 13:6 warning Expected indentation of 6 characters indent
  139. 14:6 warning Expected indentation of 6 characters indent
  140. 18:1 warning Newline required at end of file but not found eol-last
  141.  
  142. ✖ 37 problems (0 errors, 37 warnings)
  143.  
  144. ✓ should have no errors in app (7918ms)
  145.  
  146. bin/duniter
  147. 4:6 warning heapdump is defined but never used no-unused-vars
  148.  
  149. ✖ 1 problem (0 errors, 1 warning)
  150.  
  151. ✓ should have no errors in bin/duniter (63ms)
  152. ✓ should have no errors in test (2558ms)
  153.  
  154. Block format
  155. ✓ a valid block should be well formatted
  156. should be rejected
  157. ✓ a block without signature
  158. ✓ a block with wrong pubkey format
  159.  
  160. Block local coherence
  161. ✓ a valid block should be well formatted (114ms)
  162. should be rejected
  163. ✓ if wrong signature block
  164. ✓ if root block does not have Parameters
  165. ✓ if proof-of-work does not match PoWMin field
  166. ✓ if non-root has Parameters
  167. ✓ if root block has PreviousHash
  168. ✓ if root block has PreviousIssuer
  169. ✓ if non-root block does not have PreviousHash
  170. ✓ if non-root block does not have PreviousIssuer
  171. ✓ a V2 block with Dividend must have UnitBase field
  172. ✓ a V3 root block must have UnitBase field
  173. ✓ a V3 root block must have UnitBase field equal 0
  174. ✓ a block with wrong date (in past)
  175. ✓ a block with wrong date (in future, but too far)
  176. ✓ a root block with different time & medianTime should fail
  177. ✓ a block with good date
  178. ✓ Block cannot contain wrongly signed identities
  179. ✓ block with colliding uids in identities
  180. ✓ a block with colliding pubkeys in identities
  181. ✓ a block with identities not matchin joins
  182. ✓ Block cannot contain wrongly signed join
  183. ✓ Block cannot contain wrongly signed active
  184. ✓ Block cannot contain wrongly signed leave
  185. ✓ Block cannot contain a same pubkey more than once in joiners
  186. ✓ Block cannot contain a same pubkey more than once in actives
  187. ✓ Block cannot contain a same pubkey more than once in leavers
  188. ✓ Block cannot contain a same pubkey more than once in excluded
  189. ✓ Block cannot contain a same pubkey more than once in joiners, actives, leavers and excluded
  190. ✓ Block cannot have revoked key in joiners,actives,leavers
  191. ✓ Block cannot have revoked key duplicates
  192. ✓ Block revoked keys must be in excluded
  193. ✓ Block cannot contain 2 certifications from same issuer
  194. ✓ Block cannot contain identical certifications
  195. ✓ Block cannot contain certifications concerning a leaver
  196. ✓ Block cannot contain certifications concerning an excluded member
  197. ✓ Block cannot contain transactions without issuers (1)
  198. ✓ Block cannot contain transactions without issuers (2)
  199. ✓ Block cannot contain transactions without issuers (3)
  200. ✓ Block cannot contain transactions with identical sources in one transaction
  201. ✓ Block cannot contain transactions with identical sources in a pack of transactions
  202. ✓ Block cannot contain transactions with empty output conditions
  203. ✓ Block cannot contain transactions with wrong total
  204. ✓ Block cannot contain transactions with wrong base transformation
  205. ✓ Block cannot contain transactions with unexisting lower base in sources
  206. ✓ Block cannot contain transactions with more than 100 lines
  207. ✓ Block cannot contain transactions with a too large output
  208. ✓ Block cannot contain transactions with a too large unlock
  209. ✓ Block cannot be refused with a good V3 transaction
  210. ✓ Block cannot contain transactions with wrong signatures
  211.  
  212. CFS
  213. ✓ should have the content of A.json from B5
  214. ✓ should have the content of C.json modified from B5 (direct read)
  215. ✓ should have the content of D.json modified from B4 (direct read/write)
  216. ✓ should have the content of D.json modified from B5 (direct read/write)
  217. ✓ should have G,H,I as files from /DIR
  218. ✓ should have I as files from /DIR2
  219. ✓ should have no files from /DIR2 after file DELETION
  220. Root core
  221. ✓ should have 1 file in /OTHER folder
  222. ✓ should have no files from /OTHER after file DELETION
  223.  
  224. ed25519 tests:
  225. ✓ good signature from generated key should be verified
  226. ✓ wrong signature from generated key should NOT be verified
  227. ✓ good signature on a Peer document with just BMA should be verified
  228. ✓ good signature on a Peer document with just BMA + BMAS should be verified
  229.  
  230. Random keypair
  231. ✓ good signature from generated key should be verified
  232. ✓ wrong signature from generated key should NOT be verified
  233.  
  234. SQLite driver
  235. Memory
  236. ✓ should be openable and closable on will
  237. File
  238. ✓ should be able to open a new one
  239. ✓ should be able to reopen the file
  240. ✓ should be able to remove the file
  241. ✓ should be able to open the file after being removed
  242.  
  243. Entities
  244. ✓ testing Block
  245.  
  246. Fork resolution 3-3 algo
  247. ✓ should switch on a valid fork
  248. ✓ should not switch if no fork block 3-3 exist
  249. ✓ should eliminate a fork with missing blocks
  250. ✓ should eliminate a fork out of fork window
  251. ✓ should refuse a fork right on the limit of the fork window
  252. ✓ should eliminate a fork whose 2nd block is invalid
  253. ✓ should select the longest fork
  254.  
  255. Merkle ['a', 'b', 'c', 'd', 'e']
  256. ✓ should have root 16E6BEB3E080910740A2923D6091618CAA9968AEAD8A52D187D725D199548E2C
  257. ✓ should have level 1,0 AB4587D9F4AD6990E0BF4A1C5A836C78CCE881C2B7C4287C0A7DA15B47B8CF1F
  258. ✓ should have level 1,1 3F79BB7B435B05321651DAEFD374CDC681DC06FAA65E374E38337B88CA046DEA
  259. ✓ should have 4 levels
  260. ✓ should have depth: 3
  261. ✓ should have 6 nodes
  262. ✓ should have 5 leaves
  263.  
  264. Merkle []
  265. ✓ should have root empty
  266. ✓ should have 1 levels
  267. ✓ should have depth: 0
  268. ✓ should have 0 nodes
  269. ✓ should have 0 leaves
  270.  
  271. Module usage
  272. ✓ /node/summary should answer (188ms)
  273. Unknown command 'test2'. Try --help for a listing of commands & options.
  274. ✓ remoteipv4 should NOT be filled if remote Host is declared
  275. Unknown command 'test3'. Try --help for a listing of commands & options.
  276. ✓ remoteipv4 should NOT be filled if remote IPv6 is declared
  277. Unknown command 'test4'. Try --help for a listing of commands & options.
  278. ✓ remoteipv4 should be NOT be auto-filled if manual remoteipv4 is declared
  279. Unknown command 'test5'. Try --help for a listing of commands & options.
  280. ✓ remoteipv4 should be filled if no remote is declared, but local IPv4 is
  281. ✓ default IPv6 should not be a local one
  282.  
  283. ed25519 tests:
  284. ✓ good signature from generated key should be verified
  285. ✓ wrong signature from generated key should NOT be verified
  286.  
  287. Grammar
  288. ✓ SIG should work (528ms)
  289. ✓ SIG should work (303ms)
  290. ✓ XHX should work (267ms)
  291. ✓ && keywork should work (267ms)
  292. ✓ || keywork should work (259ms)
  293. ✓ || && keyworks combined should work (127ms)
  294. ✓ SIG XHX functions combined should work (461ms)
  295. ✓ SIG, XHX, &&, || words combined should work (395ms)
  296. ✓ CSV+CLTV+1of2SIG (229ms)
  297. ✓ Wrong syntax should return `null` (54ms)
  298.  
  299. Peer
  300. of some key
  301. ✓ should be version 10
  302. ✓ should have beta_brousoufs currency name
  303. ✓ should have public key
  304. ✓ should have 2 endpoints
  305. ✓ should have DNS
  306. ✓ should have IPv4
  307. ✓ should have no IPv6 address
  308. ✓ should have port 9101
  309.  
  310. Random keypair
  311. ✓ good signature from generated key should be verified
  312. ✓ wrong signature from generated key should NOT be verified
  313.  
  314. Transaction format
  315. ✓ a valid block should be well formatted (118ms)
  316.  
  317. Pulling blocks
  318. ✓ from genesis with good sidechain should work
  319. ✓ from genesis with fork sidechain should not work
  320. ✓ from genesis with multiple good sidechains should work
  321. ✓ sync with a single fork
  322. ✓ sync with multiple forks
  323. ✓ sync with inconsistant fork should skip it
  324.  
  325. Peers garbaging
  326. ✓ should be able to garbage some peers (184ms)
  327.  
  328. Scrypt salt // key
  329. ✓ abc // abc (80ms)
  330. ✓ abc // def (74ms)
  331. ✓ azerty // def (74ms)
  332.  
  333. Module usage
  334. ✓ wrong options should throw
  335. ✓ no options on brand new node should generate random key (45ms)
  336.  
  337. WS2P IP functions
  338. ✓ should format correctly DNS endpoints
  339. ✓ should format correctly IPv4 endpoints
  340. ✓ should format correctly IPv6 endpoints
  341.  
  342. WS2P Single Write limiter
  343. ✓ should detect double writings (212ms)
  344.  
  345. WS2P Regexp
  346. ✓ should match correctly HEADv0 regexps
  347. ✓ should match correctly HEADv1 regexps
  348.  
  349. Protocol BR_G106 - Garbaging
  350. ✓ An account with balance < 1,00 should be cleaned up
  351.  
  352. Protocol BR_G107 - udReevalTime
  353. ✓ root block good udReevalTime
  354. ✓ block with medianTime < udReevalTime
  355. ✓ block with medianTime == udReevalTime
  356. ✓ block with medianTime > udReevalTime
  357.  
  358. Protocol BR_G11 - udTime
  359. ✓ root block good udTime
  360. ✓ block with medianTime < udTime
  361. ✓ block with medianTime == udTime
  362. ✓ block with medianTime > udTime
  363.  
  364. Protocol BR_G13 - dividend
  365. ✓ root block has no dividend
  366. ✓ block with medianTime < udTime has no dividend
  367. ✓ block with medianTime == udTime
  368. ✓ block with medianTime > udTime
  369.  
  370. Protocol BR_G49 - Version
  371. ✓ V13 following V12 should fail
  372. ✓ V14 following V12 should fail
  373. ✓ V13 following V14 should succeed
  374. ✓ V13 following V15 should fail
  375.  
  376. Protocol BR_G50 - Block size
  377. ✓ 2 for an AVG(10) should succeed
  378. ✓ 400 for an AVG(10) should succeed
  379. ✓ 499 for an AVG(10) should succeed
  380. ✓ 500 for an AVG(10) should fail
  381. ✓ 500 for an AVG(454) should fail
  382. ✓ 500 for an AVG(455) should succeed
  383. ✓ 1100 for an AVG(1000) should fail
  384. ✓ 1100 for an AVG(1001) should succeed
  385. ✓ 1100 for block#0 should succeed
  386.  
  387. Protocol BR_G51 - Number
  388. ✓ 1 following 1 should fail
  389. ✓ 1 following 0 should succeed
  390. ✓ 0 following 0 should fail
  391. ✓ 0 following nothing should succeed
  392. ✓ 4 following nothing should fail
  393. ✓ 4 following 2 should fail
  394. ✓ 4 following 3 should succeed
  395.  
  396. PoW Cluster
  397. ✓ should have an empty cluster if no PoW was asked
  398. 2) should answer for a basic PoW in more than 50ms (cold)
  399. ✓ should have an non-empty cluster after a PoW was asked
  400. 3) should answer within 50ms for a basic PoW (warm)
  401.  
  402. PoW Engine
  403. ✓ should be configurable
  404. 4) should be able to make a proof
  405. ✓ should be able to stop a proof (164ms)
  406.  
  407. PoW block prover
  408. ✓ should be configurable
  409. ✓ should be able to make a proof (3203ms)
  410. ✓ should be able to use a prefix maxed at 899
  411. ✓ should be able to stop a proof
  412.  
  413. Proxies Conf
  414. ✓ should do not use any sock proxy
  415. ✓ should use tor proxy only to reach ".onion" endpoints
  416. ✓ should always use tor proxy
  417. ✓ should always use classical socks proxy
  418. ✓ should use tor proxy for ".onion" endpoints and classical socks proxy for everyone else
  419. ✓ should always use tor proxy and contact only tor endpoints
  420. ✓ should never use proxy and contact tor endpoints (user redirect the traffic to tor himself)
  421.  
  422. v1.0 Local Index
  423. ✓ should have 30 index entries
  424. ✓ should have 4 iindex entries
  425. ✓ should have 1 iindex CREATE entries
  426. ✓ should have 3 iindex UPDATE entries
  427. ✓ should have 5 mindex entries
  428. ✓ should have 1 mindex CREATE entries
  429. ✓ should have 4 mindex UPDATE entries
  430. ✓ should have 5 cindex entries
  431. ✓ should have 5 cindex CREATE entries
  432. ✓ should have 0 cindex UPDATE entries
  433. ✓ should have 16 cindex entries
  434. ✓ should have 9 cindex CREATE entries
  435. ✓ should have 7 cindex UPDATE entries
  436.  
  437. Branches
  438. Server 1 /blockchain
  439. ✓ should have a 3 blocks fork window size
  440.  
  441. SelfFork
  442. 5) "before all" hook
  443.  
  444. Pending data
  445. 6) "before all" hook
  446.  
  447. Revert root
  448. 7) "before all" hook
  449.  
  450. Revert two blocks
  451. before revert
  452. ✓ /block/0 should exist
  453. ✓ /block/2 should exist
  454. ✓ /block/3 should exist
  455. ✓ /tx/sources/HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd should have only UD
  456. ✓ /tx/sources/DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo should have only UD
  457. ✓ /tx/sources/DNann1Lh55eZMEDXeYt59bzHbA3NJR46DeQYCS2qQdLV should have only UD
  458. after revert
  459. ✓ /block/0 should exist
  460. ✓ /block/2 should exist
  461. ✓ /block/3 should NOT exist
  462. ✓ /tx/sources/HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd should have only UD
  463. ✓ /tx/sources/DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo should have only UD
  464. ✓ /tx/sources/DNann1Lh55eZMEDXeYt59bzHbA3NJR46DeQYCS2qQdLV should have only UD
  465. commit again (but send less, to check that the account is not cleaned this time)
  466. ✓ /block/0 should exist
  467. ✓ /block/2 should exist
  468. ✓ /block/3 should exist
  469. ✓ /tx/sources/HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd should have only UD
  470. ✓ /tx/sources/DKpQPUL4ckzXYdnDRvCRKAm1gNvSdmAXnTrJZ7LvM5Qo should have only UD
  471. ✓ /tx/sources/DNann1Lh55eZMEDXeYt59bzHbA3NJR46DeQYCS2qQdLV should have only UD
  472.  
  473. Revert balance
  474. 2017-12-05T10:10:53+01:00 - info: SIGTERM received, closing worker 22823
  475. ✓ cat and tac should have 200 units
  476. ✓ cat should be able to send 60 units to tac (892ms)
  477. ✓ revert: cat and tac should have 100 units (72ms)
  478. ✓ cat should be able to RE-send 60 units to tac (511ms)
  479.  
  480. Revert memberships
  481. 2017-12-05T10:11:03+01:00 - info: SIGTERM received, closing worker 22846
  482. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 exit listeners added. Use emitter.setMaxListeners() to increase limit
  483. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 online listeners added. Use emitter.setMaxListeners() to increase limit
  484. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 message listeners added. Use emitter.setMaxListeners() to increase limit
  485. 8) "before all" hook
  486.  
  487. Switch
  488. 9) "before all" hook
  489.  
  490. Certification chainability
  491. 10) "before all" hook
  492.  
  493. Certifier must be a member
  494. 11) "before all" hook
  495.  
  496. CLI
  497. ✓ config --autoconf (2071ms)
  498. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added. Use emitter.setMaxListeners() to increase limit
  499. 12) reset data
  500. 13) sync 7 blocks (fast)
  501. 14) sync 4 blocks (cautious)
  502. 2017-12-05T10:12:33+01:00 - debug: Plugging file system...
  503. 2017-12-05T10:12:33+01:00 - debug: Loading conf...
  504. 2017-12-05T10:12:33+01:00 - debug: Configuration saved.
  505. ✓ [spawn] reset data (16289ms)
  506. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
  507. 15) [spawn] sync 10 first blocks --memory
  508.  
  509. Community collapse
  510. 16) "before all" hook
  511.  
  512. Continous proof-of-work
  513. ✓ should automatically stop waiting if nothing happens (2711ms)
  514. ✓ should be able to start generation and find a block (1012ms)
  515. ✓ should be able to cancel generation because of a blockchain switch (361ms)
  516. ✓ testing proof-of-work during a block pulling (13926ms)
  517.  
  518. Crosschain transactions
  519. Successfull transaction
  520. 2017-12-05T10:13:27+01:00 - info: SIGTERM received, closing worker 23169
  521. 17) "before all" hook
  522. Rollbacked transaction
  523. 18) "before all" hook
  524.  
  525. Document pool currency
  526. ✓ Identity with wrong currency should be rejected (63ms)
  527. ✓ Identity absorption with wrong currency should be rejected (72ms)
  528. ✓ Certification with wrong currency should be rejected (67ms)
  529. ✓ Membership with wrong currency should be rejected (60ms)
  530. ✓ Revocation with wrong currency should be rejected (71ms)
  531. 19) Block with wrong currency should be rejected
  532. 20) Transaction with wrong currency should be rejected
  533. 21) Transaction with wrong XHX should be rejected
  534. ✓ Peer with wrong currency should be rejected (48ms)
  535.  
  536. Forwarding
  537. Nodes
  538. Testing technical API
  539. ✓ Node1 should be up and running
  540. ✓ Node2 should be up and running
  541. Node 1
  542. ✓ toc should give only 1 result
  543. ✓ tic should give only 1 results
  544. user cat
  545. ✓ should give only 1 result
  546. ✓ should have sent 1 signature
  547. user tac
  548. ✓ should give only 1 result
  549. ✓ should have 1 signature
  550. ✓ should have sent 1 signature
  551. Node 2
  552. ✓ toc should give only 1 result
  553. ✓ tic should give only 1 results
  554. user cat
  555. ✓ should give only 1 result
  556. ✓ should have sent 1 signature
  557. user tac
  558. ✓ should give only 1 result
  559. ✓ should have 1 signature
  560. ✓ should have sent 1 signature
  561.  
  562. HTTP API
  563. 22) "before all" hook
  564.  
  565. Identity absorption
  566. ✓ cat should exist on server 1
  567. ✓ cat should exist on server 2
  568. ✓ should test idty absorption refusal (114ms)
  569.  
  570. Identities cleaned
  571. 23) "before all" hook
  572.  
  573. Identities expiry
  574. 24) "before all" hook
  575.  
  576. Implicit revocation
  577. 25) "before all" hook
  578.  
  579. Identities kicking by certs
  580. 26) "before all" hook
  581.  
  582. Identities kicking
  583. 27) "before all" hook
  584.  
  585. Identity pulling
  586. ✓ toc, tic and tuc can create their account on s2 (736ms)
  587. ✓ toc should not be known of s1
  588. ✓ tic should not be known of s1
  589. ✓ tuc should not be known of s1
  590. ✓ toc should have 2 certs on server2 (78ms)
  591. ✓ tic should have 1 certs on server2 (82ms)
  592. ✓ s1 should be able to pull sandbox data from s2 (1259ms)
  593.  
  594. Identities with shared pubkey
  595. ✓ should exit 2 pubkey result (51ms)
  596. ✓ pubkey HgTT should have signed 1 key (51ms)
  597.  
  598. Identities collision
  599. 28) "before all" hook
  600.  
  601. Lookup identity grouping
  602. ✓ cat should have only 1 identity in 1 pubkey
  603. ✓ tic should have only 2 identities in 1 pubkey
  604. ✓ should exist 2 pending memberships
  605.  
  606. Membership chainability
  607. before July 2017
  608. ✓ current should be the 2nd
  609. after July 2017
  610. 2017-12-05T10:17:25+01:00 - info: SIGTERM received, closing worker 23813
  611. ✓ should refuse a block with a too early membership in it (137ms)
  612. ✓ should not be able to renew immediately (230ms)
  613. ✓ should be able to renew after 20 sec (291ms)
  614. ✓ current should be the 4th
  615.  
  616. Network updating
  617. 2017-12-05T10:17:34+01:00 - info: SIGTERM received, closing worker 23838
  618. 29) "before all" hook
  619.  
  620. Network Merkle
  621. ✓ /peers?leaf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (86ms)
  622. Server 1 /network/peering
  623. ✓ /peers?leaves=true
  624. ✓ /peers?leaf=C3EAB939F0BEF711461A140A1BA2649C75905107FACA3BE9C5F76F7FD1C7BC5E
  625. Server 2 /network/peering
  626. ✓ /peers?leaves=true
  627. ✓ /peers?leaf=BDD850441E3CDEB9005345B425CDBDA83E7BC7E5D83E9130C6012084F93CD220
  628.  
  629. Newcomers shuffling
  630. 30) "before all" hook
  631.  
  632. Peer document expiry
  633. 31) "before all" hook
  634.  
  635. Network
  636. 32) "before all" hook
  637.  
  638. Peer document
  639. 33) "before all" hook
  640.  
  641. Proof-of-work
  642. ✓ should be able to find an easy PoW (7972ms)
  643. 34) should be reducing cpu when the PoW is too easy for the cpu
  644.  
  645. Fork blocks
  646. ✓ should create a common blockchain (6786ms)
  647. ✓ should exist the same block on each node
  648. ✓ should be able to fork, and notify each node (2746ms)
  649. ✓ should exist a different third block on each node
  650. ✓ should exist both branches on each node
  651. ✓ should be able to grow S1's blockchain (766ms)
  652. ✓ should refuse known fork blocks (2859ms)
  653. ✓ should be able to make one fork grow enough to make one node switch (1273ms)
  654. ✓ should exist a same current block on each node
  655. ✓ should exist 2 branches on each node
  656.  
  657. Revocation
  658. 2017-12-05T10:25:46+01:00 - info: SIGTERM received, closing worker 24954
  659. 2017-12-05T10:25:46+01:00 - info: SIGTERM received, closing worker 24973
  660. 2017-12-05T10:25:46+01:00 - info: SIGTERM received, closing worker 24989
  661. 35) "before all" hook
  662.  
  663. Revoked pubkey replay
  664. ✓ should exist tic as pending identity
  665. ✓ should be able to make tic become a member (598ms)
  666. ✓ should be able to revoke tic (358ms)
  667. ✓ should not try to include tic2 in a new block (397ms)
  668.  
  669. Import/Export
  670. 2017-12-05T10:26:14+01:00 - info: SIGTERM received, closing worker 25049
  671. 36) "before all" hook
  672.  
  673. Sandboxes
  674. Identities
  675. ✓ should i1, i2, i3 (168ms)
  676. ✓ should reject i4 (53ms)
  677. ✓ should create i4 by i1->i4 (167ms)
  678. ✓ should accept i1 (already here) by i4->i1 (77ms)
  679. 37) should commit & make room for sandbox, and commit again
  680. 38) should create i5(1)
  681. ✓ should reject i7(1) (49ms)
  682. ✓ should reject i7(1) by revocation (121ms)
  683. 39) should reject i1 -> i7 by revocation
  684. ✓ should accept i7(1), i8(1), i9(1) by i1->i7(1), i1->i8(1), i1->i9(1) (335ms)
  685. 40) should reject i10(1) by i1->i10(1)
  686. 41) should accept i10(0) by i1->i10(0) because of an superior date compared to others in sandbox
  687. ✓ should accept i11(0) and i12(0) for the same reason (109ms)
  688. ✓ should reject i13(0) because absolutely no more room is available (53ms)
  689. ✓ should accept an identity with the same key as server, always (52ms)
  690. 42) should make room as identities get expired
  691. Certifications
  692. 43) should accept i4->i7(0),i4->i8(0),i4->i9(0)
  693. ✓ should reject i4->i10(0)
  694. 44) should accept a certification from the same key as server, always
  695. 45) should make room as certs get expired
  696. Memberships
  697. 46) should accept i8,i9
  698. ✓ should reject i7 (84ms)
  699. 47) should accept a membership from the same key as server, always
  700. 48) should make room as membership get expired
  701. Transaction
  702. 49) should accept 2 transactions of 20, 30 units
  703. ✓ should reject amount of 10
  704. 50) should accept a transaction from the same key as server, always
  705. 51) should make room as transactions get commited
  706.  
  707. Server shutdown
  708. ✓ should not interrupt a task in the documents FIFO (50ms)
  709.  
  710. Single document treatment
  711. 52) should create a common blockchain
  712. 53) should exist the same block on each node
  713. ✓ should refuse known fork blocks (51ms)
  714.  
  715. Sources property
  716. 54) "before all" hook
  717.  
  718. Generation
  719. 55) "before all" hook
  720.  
  721. Integration
  722. Node 1
  723. Testing technical API
  724. ✓ /node/summary should give package.json version
  725. Testing malformed documents
  726. ✓ should not have crashed because of wrong tx
  727. Lookup on
  728. ✓ toc should give only 1 result
  729. ✓ tic should give only 1 result
  730. identities collisions
  731. ✓ sending same identity should fail (43ms)
  732. ✓ sending same identity (again) should fail (41ms)
  733. user cat
  734. ✓ should give only 1 result
  735. ✓ should have sent 1 signature
  736. user tac
  737. ✓ should give only 1 result
  738. ✓ should have 1 signature
  739. ✓ should have sent 0 signature
  740. Testing leavers
  741. 56) "before all" hook
  742.  
  743. Transaction chaining
  744. 57) "before all" hook
  745.  
  746. Transactions: CLTV
  747. 58) "before all" hook
  748.  
  749. Transaction: CSV+CLTV+1of2SIG
  750. ✓ cat should have 100 units
  751. ✓ cat should be able to make a CSV+CLTV+1of2SIG tx (977ms)
  752. ✓ tac should be able to consume the tx after 10s (926ms)
  753.  
  754. Transactions: CSV
  755. 2017-12-05T10:30:26+01:00 - info: SIGTERM received, closing worker 25630
  756. 59) "before all" hook
  757.  
  758. Transactions pruning
  759. 60) "before all" hook
  760.  
  761. Testing transactions
  762. Sources
  763. ✓ it should exist block#2 with UD of 1200 (42ms)
  764. ✓ tic should be able to send 510 to toc
  765. ✓ toc should have 1510 of sources
  766. ✓ toc should be able to send 800 to tic (1017ms)
  767. Chaining
  768. ✓ with SIG and XHX (3401ms)
  769. ✓ with MULTISIG (2558ms)
  770.  
  771. Protocol 0.4 Times
  772. 2017-12-05T10:31:20+01:00 - info: SIGTERM received, closing worker 25747
  773. 61) "before all" hook
  774.  
  775. Protocol 0.5 Identity blockstamp
  776. 62) should be able to create tuc on s1
  777. ✓ should not be able to create tuc on s2, using identity generated on s1
  778.  
  779. Protocol 0.5 Transaction version
  780. 63) "before all" hook
  781.  
  782. Protocol 0.6 Difficulties
  783. 64) "before all" hook
  784.  
  785. Protocol 1.0 Dividend Update
  786. 65) "before all" hook
  787.  
  788. Protocol 1.0 Ğ1 Dividend - long run
  789. 66) "before all" hook
  790.  
  791. Protocol 1.0 Ğ1 Dividend
  792. 67) "before all" hook
  793.  
  794. v1.0 Module API
  795. Hello world! from within Duniter.
  796. ✓ should be able to execute `hello` command with quickRun (146ms)
  797. ✓ should be able to execute `hello` command (139ms)
  798. Configuration hooks
  799. ✓ verify that we get the CLI options (471ms)
  800. 68) verify that we get the saved options
  801. Service triggers
  802. ✓ verify that services are started (350ms)
  803. ✓ verify that services are stopped (192ms)
  804. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
  805. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
  806. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
  807. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
  808. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit
  809. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 end listeners added. Use emitter.setMaxListeners() to increase limit
  810. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 data listeners added. Use emitter.setMaxListeners() to increase limit
  811. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
  812. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
  813. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
  814. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
  815. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit
  816. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 end listeners added. Use emitter.setMaxListeners() to increase limit
  817. (node:22292) Warning: Possible EventEmitter memory leak detected. 11 data listeners added. Use emitter.setMaxListeners() to increase limit
  818.  
  819. Protocol 1.1 Dividend
  820. 69) "before all" hook
  821.  
  822. WOTB module
  823. Server 1
  824. 70) "before all" hook
  825. Server 2
  826. 71) "before all" hook
  827. Server 3
  828. 72) two first commits: the WoT is new and OK
  829. 73) third & fourth commits: toc should have joined
  830. 74) fifth commit: cat still here, but not its certs
  831. 75) sixth commit: cat is gone with its certs
  832. 76) seventh commit: toc is gone, but not its cert to tic
  833. 77) revert seventh commit: toc is back, cat is gone
  834. 78) revert sixth commit: cat is back
  835. 79) revert fifth commit
  836. 80) revert third & fourth commits
  837. 81) revert first & second commits
  838.  
  839. WS2P client limitations
  840. ✓ should have b#2 on s1, s2 and s3
  841. ✓ should be able to have a connected network on s2 start (1030ms)
  842. ✓ should not connect to s3 because of connection size limit (679ms)
  843. ✓ should connect to s4 because of configuration favorism (1395ms)
  844. ✓ should be able to connect to s3 if the we increase size limit (758ms)
  845.  
  846. WS2P cluster
  847. ✓ should have b#2 on s1, s2 and s3
  848. ✓ should be able to have a connected network on s2 start (343ms)
  849. ✓ should not start another connection if peer is already connected (556ms)
  850. ✓ should be able to connect on s3 when s3 submits its peer document (579ms)
  851.  
  852. WS2P
  853. WS2P client connection
  854. no auth
  855. ✓ should be able to create a connection
  856. pubkey auth
  857. ✓ should refuse the connection if the server does not answer (104ms)
  858. ✓ should refuse the connection if the server answers with a wrong signature (53ms)
  859. ✓ should refuse the connection if the server refuses our signature (103ms)
  860. ✓ should accept the connection if the server answers with a good signature (61ms)
  861. WS2P server connection
  862. no auth
  863. ✓ should be able to create connections and make several requests
  864. pubkey auth
  865. ✓ should refuse the connection if the client does not send ACK (111ms)
  866. ✓ should refuse the connection if the client not confirm with OK (154ms)
  867. ✓ should refuse the connection if the client answers with a wrong signature (114ms)
  868. ✓ should refuse the connection if the client refuses our signature (144ms)
  869. ✓ should accept the connection if everything is OK on both side (253ms)
  870. ✓ should refuse the connection if the client does not send OK (120ms)
  871.  
  872. WS2P doc sharing
  873. ✓ should see the identity and certs of initial members in the docpool (135ms)
  874. ✓ should have the same block#0 if we commit (8911ms)
  875. ✓ should see the identity, certs and memberships in the docpool (3520ms)
  876. ✓ should see the transactions pending (1961ms)
  877. ✓ should see the peer documents (102ms)
  878.  
  879. WS2P docpool pulling
  880. ✓ should have b#2 on s1 and s2
  881. ✓ should be able to pull the docpool (754ms)
  882.  
  883. WS2P exchange
  884. WS2P: newConnectionFromWebSocketServer connection error
  885. ✓ should accept the connection if everything is OK on both side (180ms)
  886.  
  887. WS2P heads propagation
  888. ✓ should have b#2 on s1, s2 and s3
  889. ✓ should be able to have a connected network on s2 start (855ms)
  890. ✓ should be able to receive HEADs (482ms)
  891.  
  892. WS2P network
  893. ✓ should have b#2 on s1 and s2
  894. ✓ should be able to have a connected network on s2 start (337ms)
  895.  
  896. WS2P block pulling
  897. ✓ should have b#6 on s1, b#2 on s2
  898. ✓ should be able to pull and have the same current block as a result (406ms)
  899.  
  900. WS2P server limitations
  901. ✓ should have b#2 on s1, s2 and s3
  902. ✓ should be able to have a connected network on s2 start (895ms)
  903. Unhandled rejection: WS2P connection timeout
  904. WS2P connection timeout
  905. 82) should not connect to s3 because of connection size limit
  906. Unhandled rejection: WS2P connection timeout
  907. WS2P connection timeout
  908. 83) should connect to s3 because of configuration favorism
  909.  
  910.  
  911. 440 passing (30m)
  912. 83 failing
  913.  
  914. 1) Triming should be able to trim the bindex:
  915. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  916. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  917. at ontimeout (timers.js:386:11)
  918. at tryOnTimeout (timers.js:250:5)
  919. at Timer.listOnTimeout (timers.js:214:5)
  920.  
  921. 2) PoW Cluster should answer for a basic PoW in more than 50ms (cold):
  922. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  923. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  924. at ontimeout (timers.js:386:11)
  925. at tryOnTimeout (timers.js:250:5)
  926. at Timer.listOnTimeout (timers.js:214:5)
  927.  
  928. 3) PoW Cluster should answer within 50ms for a basic PoW (warm):
  929. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  930. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  931. at ontimeout (timers.js:386:11)
  932. at tryOnTimeout (timers.js:250:5)
  933. at Timer.listOnTimeout (timers.js:214:5)
  934.  
  935. 4) PoW Engine should be able to make a proof:
  936. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  937. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  938. at ontimeout (timers.js:386:11)
  939. at tryOnTimeout (timers.js:250:5)
  940. at Timer.listOnTimeout (timers.js:214:5)
  941.  
  942. 5) SelfFork "before all" hook:
  943. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  944. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  945. at ontimeout (timers.js:386:11)
  946. at tryOnTimeout (timers.js:250:5)
  947. at Timer.listOnTimeout (timers.js:214:5)
  948.  
  949. 6) Pending data "before all" hook:
  950. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  951. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  952. at ontimeout (timers.js:386:11)
  953. at tryOnTimeout (timers.js:250:5)
  954. at Timer.listOnTimeout (timers.js:214:5)
  955.  
  956. 7) Revert root "before all" hook:
  957. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  958. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  959. at ontimeout (timers.js:386:11)
  960. at tryOnTimeout (timers.js:250:5)
  961. at Timer.listOnTimeout (timers.js:214:5)
  962.  
  963. 8) Revert memberships "before all" hook:
  964. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  965. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  966. at ontimeout (timers.js:386:11)
  967. at tryOnTimeout (timers.js:250:5)
  968. at Timer.listOnTimeout (timers.js:214:5)
  969.  
  970. 9) Switch "before all" hook:
  971. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  972. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  973. at ontimeout (timers.js:386:11)
  974. at tryOnTimeout (timers.js:250:5)
  975. at Timer.listOnTimeout (timers.js:214:5)
  976.  
  977. 10) Certification chainability "before all" hook:
  978. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  979. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  980. at ontimeout (timers.js:386:11)
  981. at tryOnTimeout (timers.js:250:5)
  982. at Timer.listOnTimeout (timers.js:214:5)
  983.  
  984. 11) Certifier must be a member "before all" hook:
  985. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  986. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  987. at ontimeout (timers.js:386:11)
  988. at tryOnTimeout (timers.js:250:5)
  989. at Timer.listOnTimeout (timers.js:214:5)
  990.  
  991. 12) CLI reset data:
  992. Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
  993. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  994. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  995. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  996. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  997. at process._tickCallback (internal/process/next_tick.js:109:7)
  998.  
  999. 13) CLI sync 7 blocks (fast):
  1000. Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
  1001. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1002. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1003. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1004. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1005. at process._tickCallback (internal/process/next_tick.js:109:7)
  1006.  
  1007. 14) CLI sync 4 blocks (cautious):
  1008. Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
  1009. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1010. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1011. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1012. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1013. at process._tickCallback (internal/process/next_tick.js:109:7)
  1014.  
  1015. 15) CLI [spawn] sync 10 first blocks --memory:
  1016. Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
  1017. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1018. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1019. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1020. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1021. at process._tickCallback (internal/process/next_tick.js:109:7)
  1022.  
  1023. 16) Community collapse "before all" hook:
  1024. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1025. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1026. at ontimeout (timers.js:386:11)
  1027. at tryOnTimeout (timers.js:250:5)
  1028. at Timer.listOnTimeout (timers.js:214:5)
  1029.  
  1030. 17) Crosschain transactions Successfull transaction "before all" hook:
  1031. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1032. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1033. at ontimeout (timers.js:386:11)
  1034. at tryOnTimeout (timers.js:250:5)
  1035. at Timer.listOnTimeout (timers.js:214:5)
  1036.  
  1037. 18) Crosschain transactions Rollbacked transaction "before all" hook:
  1038. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1039. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1040. at ontimeout (timers.js:386:11)
  1041. at tryOnTimeout (timers.js:250:5)
  1042. at Timer.listOnTimeout (timers.js:214:5)
  1043.  
  1044. 19) Document pool currency Block with wrong currency should be rejected:
  1045. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1046. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1047. at ontimeout (timers.js:386:11)
  1048. at tryOnTimeout (timers.js:250:5)
  1049. at Timer.listOnTimeout (timers.js:214:5)
  1050.  
  1051. 20) Document pool currency Transaction with wrong currency should be rejected:
  1052. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1053. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1054. at ontimeout (timers.js:386:11)
  1055. at tryOnTimeout (timers.js:250:5)
  1056. at Timer.listOnTimeout (timers.js:214:5)
  1057.  
  1058. 21) Document pool currency Transaction with wrong XHX should be rejected:
  1059. AssertionError: expected 'No current block' to match /Wrong output format/
  1060. at Assertion.fail (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:258:17)
  1061. at Assertion.value (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:335:19)
  1062. at /home/nanocryk/downloads/duniter/test/integration/documents-currency.ts:195:30
  1063. at throw (native)
  1064. at onRejected (/home/nanocryk/downloads/duniter/node_modules/co/index.js:81:24)
  1065. at tryCatcher (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/util.js:16:23)
  1066. at Promise._settlePromiseFromHandler (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:512:31)
  1067. at Promise._settlePromise (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:569:18)
  1068. at Promise._settlePromise0 (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:614:10)
  1069. at Promise._settlePromises (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:689:18)
  1070. at Async._drainQueue (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:133:16)
  1071. at Async._drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:143:10)
  1072. at Immediate.Async.drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:17:14)
  1073. at runCallback (timers.js:672:20)
  1074. at tryOnImmediate (timers.js:645:5)
  1075. at processImmediate [as _immediateCallback] (timers.js:617:5)
  1076.  
  1077. 22) HTTP API "before all" hook:
  1078. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1079. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1080. at ontimeout (timers.js:386:11)
  1081. at tryOnTimeout (timers.js:250:5)
  1082. at Timer.listOnTimeout (timers.js:214:5)
  1083.  
  1084. 23) Identities cleaned "before all" hook:
  1085. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1086. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1087. at ontimeout (timers.js:386:11)
  1088. at tryOnTimeout (timers.js:250:5)
  1089. at Timer.listOnTimeout (timers.js:214:5)
  1090.  
  1091. 24) Identities expiry "before all" hook:
  1092. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1093. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1094. at ontimeout (timers.js:386:11)
  1095. at tryOnTimeout (timers.js:250:5)
  1096. at Timer.listOnTimeout (timers.js:214:5)
  1097.  
  1098. 25) Implicit revocation "before all" hook:
  1099. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1100. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1101. at ontimeout (timers.js:386:11)
  1102. at tryOnTimeout (timers.js:250:5)
  1103. at Timer.listOnTimeout (timers.js:214:5)
  1104.  
  1105. 26) Identities kicking by certs "before all" hook:
  1106. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1107. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1108. at ontimeout (timers.js:386:11)
  1109. at tryOnTimeout (timers.js:250:5)
  1110. at Timer.listOnTimeout (timers.js:214:5)
  1111.  
  1112. 27) Identities kicking "before all" hook:
  1113. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1114. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1115. at ontimeout (timers.js:386:11)
  1116. at tryOnTimeout (timers.js:250:5)
  1117. at Timer.listOnTimeout (timers.js:214:5)
  1118.  
  1119. 28) Identities collision "before all" hook:
  1120. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1121. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1122. at ontimeout (timers.js:386:11)
  1123. at tryOnTimeout (timers.js:250:5)
  1124. at Timer.listOnTimeout (timers.js:214:5)
  1125.  
  1126. 29) Network updating "before all" hook:
  1127. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1128. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1129. at ontimeout (timers.js:386:11)
  1130. at tryOnTimeout (timers.js:250:5)
  1131. at Timer.listOnTimeout (timers.js:214:5)
  1132.  
  1133. 30) Newcomers shuffling "before all" hook:
  1134. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1135. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1136. at ontimeout (timers.js:386:11)
  1137. at tryOnTimeout (timers.js:250:5)
  1138. at Timer.listOnTimeout (timers.js:214:5)
  1139.  
  1140. 31) Peer document expiry "before all" hook:
  1141. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1142. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1143. at ontimeout (timers.js:386:11)
  1144. at tryOnTimeout (timers.js:250:5)
  1145. at Timer.listOnTimeout (timers.js:214:5)
  1146.  
  1147. 32) Network "before all" hook:
  1148. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1149. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1150. at ontimeout (timers.js:386:11)
  1151. at tryOnTimeout (timers.js:250:5)
  1152. at Timer.listOnTimeout (timers.js:214:5)
  1153.  
  1154. 33) Peer document "before all" hook:
  1155. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1156. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1157. at ontimeout (timers.js:386:11)
  1158. at tryOnTimeout (timers.js:250:5)
  1159. at Timer.listOnTimeout (timers.js:214:5)
  1160.  
  1161. 34) Proof-of-work should be reducing cpu when the PoW is too easy for the cpu:
  1162. Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1163. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1164. at ontimeout (timers.js:386:11)
  1165. at tryOnTimeout (timers.js:250:5)
  1166. at Timer.listOnTimeout (timers.js:214:5)
  1167.  
  1168. 35) Revocation "before all" hook:
  1169. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1170. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1171. at ontimeout (timers.js:386:11)
  1172. at tryOnTimeout (timers.js:250:5)
  1173. at Timer.listOnTimeout (timers.js:214:5)
  1174.  
  1175. 36) Import/Export "before all" hook:
  1176. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1177. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1178. at ontimeout (timers.js:386:11)
  1179. at tryOnTimeout (timers.js:250:5)
  1180. at Timer.listOnTimeout (timers.js:214:5)
  1181.  
  1182. 37) Sandboxes Identities should commit & make room for sandbox, and commit again:
  1183. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1184. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1185. at ontimeout (timers.js:386:11)
  1186. at tryOnTimeout (timers.js:250:5)
  1187. at Timer.listOnTimeout (timers.js:214:5)
  1188.  
  1189. 38) Sandboxes Identities should create i5(1):
  1190. Error: the string "{\n \"ucode\": 1007,\n \"message\": \"The identities' sandbox is full. Please retry with another document or retry later.\"\n}"
  1191. was thrown, throw an Error :)
  1192. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1193. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1194. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1195. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1196. at process._tickCallback (internal/process/next_tick.js:109:7)
  1197.  
  1198. 39) Sandboxes Identities should reject i1 -> i7 by revocation:
  1199. AssertionError: expected [Promise] to be rejected, but it was fulfilled with undefined
  1200. at Assertion.fail (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:258:17)
  1201. at /home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:1559:14
  1202. at process._tickCallback (internal/process/next_tick.js:109:7)
  1203.  
  1204. 40) Sandboxes Identities should reject i10(1) by i1->i10(1):
  1205. AssertionError: expected [Promise] to be rejected, but it was fulfilled with undefined
  1206. at Assertion.fail (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:258:17)
  1207. at /home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:1559:14
  1208. at process._tickCallback (internal/process/next_tick.js:109:7)
  1209.  
  1210. 41) Sandboxes Identities should accept i10(0) by i1->i10(0) because of an superior date compared to others in sandbox:
  1211. Error: the string "{\n \"ucode\": 1004,\n \"message\": \"Already up-to-date\"\n}" was thrown, throw an Error :)
  1212. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1213. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1214. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1215. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1216. at process._tickCallback (internal/process/next_tick.js:109:7)
  1217.  
  1218. 42) Sandboxes Identities should make room as identities get expired:
  1219. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1220. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1221. at ontimeout (timers.js:386:11)
  1222. at tryOnTimeout (timers.js:250:5)
  1223. at Timer.listOnTimeout (timers.js:214:5)
  1224.  
  1225. 43) Sandboxes Certifications should accept i4->i7(0),i4->i8(0),i4->i9(0):
  1226. Error: the string "{\n \"ucode\": 1004,\n \"message\": \"Already up-to-date\"\n}" was thrown, throw an Error :)
  1227. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1228. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1229. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1230. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1231. at process._tickCallback (internal/process/next_tick.js:109:7)
  1232.  
  1233. 44) Sandboxes Certifications should accept a certification from the same key as server, always:
  1234.  
  1235. AssertionError: expected 2 to be 0
  1236. + expected - actual
  1237.  
  1238. -2
  1239. +0
  1240.  
  1241. at Assertion.fail (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:258:17)
  1242. at Assertion.value (/home/nanocryk/downloads/duniter/node_modules/should/cjs/should.js:335:19)
  1243. at /home/nanocryk/downloads/duniter/test/integration/server-sandbox.js:215:119
  1244. at next (native)
  1245. at onFulfilled (/home/nanocryk/downloads/duniter/node_modules/co/index.js:65:19)
  1246.  
  1247. 45) Sandboxes Certifications should make room as certs get expired:
  1248. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1249. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1250. at ontimeout (timers.js:386:11)
  1251. at tryOnTimeout (timers.js:250:5)
  1252. at Timer.listOnTimeout (timers.js:214:5)
  1253.  
  1254. 46) Sandboxes Memberships should accept i8,i9:
  1255. Error: the string "{\n \"ucode\": 1004,\n \"message\": \"Already up-to-date\"\n}" was thrown, throw an Error :)
  1256. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1257. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1258. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1259. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1260. at process._tickCallback (internal/process/next_tick.js:109:7)
  1261.  
  1262. 47) Sandboxes Memberships should accept a membership from the same key as server, always:
  1263. Error: the string "{\n \"ucode\": 2007,\n \"message\": \"Already received membership\"\n}" was thrown, throw an Error :)
  1264. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1265. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1266. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1267. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1268. at process._tickCallback (internal/process/next_tick.js:109:7)
  1269.  
  1270. 48) Sandboxes Memberships should make room as membership get expired:
  1271. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1272. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1273. at ontimeout (timers.js:386:11)
  1274. at tryOnTimeout (timers.js:250:5)
  1275. at Timer.listOnTimeout (timers.js:214:5)
  1276.  
  1277. 49) Sandboxes Transaction should accept 2 transactions of 20, 30 units:
  1278. No current block
  1279.  
  1280.  
  1281. 50) Sandboxes Transaction should accept a transaction from the same key as server, always:
  1282. No current block
  1283.  
  1284.  
  1285. 51) Sandboxes Transaction should make room as transactions get commited:
  1286. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1287. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1288. at ontimeout (timers.js:386:11)
  1289. at tryOnTimeout (timers.js:250:5)
  1290. at Timer.listOnTimeout (timers.js:214:5)
  1291.  
  1292. 52) Single document treatment should create a common blockchain:
  1293. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1294. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1295. at ontimeout (timers.js:386:11)
  1296. at tryOnTimeout (timers.js:250:5)
  1297. at Timer.listOnTimeout (timers.js:214:5)
  1298.  
  1299. 53) Single document treatment should exist the same block on each node:
  1300.  
  1301. AssertionError: 404 == 200
  1302. + expected - actual
  1303.  
  1304. -404
  1305. +200
  1306.  
  1307. at /home/nanocryk/downloads/duniter/test/integration/tools/http.js:62:18
  1308. at throw (native)
  1309. at onRejected (/home/nanocryk/downloads/duniter/node_modules/co/index.js:81:24)
  1310. at tryCatcher (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/util.js:16:23)
  1311. at Promise._settlePromiseFromHandler (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:512:31)
  1312. at Promise._settlePromise (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:569:18)
  1313. at Promise._settlePromise0 (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:614:10)
  1314. at Promise._settlePromises (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:689:18)
  1315. at Async._drainQueue (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:133:16)
  1316. at Async._drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:143:10)
  1317. at Immediate.Async.drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:17:14)
  1318. at runCallback (timers.js:672:20)
  1319. at tryOnImmediate (timers.js:645:5)
  1320. at processImmediate [as _immediateCallback] (timers.js:617:5)
  1321.  
  1322. 54) Sources property "before all" hook:
  1323. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1324. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1325. at ontimeout (timers.js:386:11)
  1326. at tryOnTimeout (timers.js:250:5)
  1327. at Timer.listOnTimeout (timers.js:214:5)
  1328.  
  1329. 55) Generation "before all" hook:
  1330. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1331. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1332. at ontimeout (timers.js:386:11)
  1333. at tryOnTimeout (timers.js:250:5)
  1334. at Timer.listOnTimeout (timers.js:214:5)
  1335.  
  1336. 56) Integration Testing leavers "before all" hook:
  1337. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1338. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1339. at ontimeout (timers.js:386:11)
  1340. at tryOnTimeout (timers.js:250:5)
  1341. at Timer.listOnTimeout (timers.js:214:5)
  1342.  
  1343. 57) Transaction chaining "before all" hook:
  1344. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1345. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1346. at ontimeout (timers.js:386:11)
  1347. at tryOnTimeout (timers.js:250:5)
  1348. at Timer.listOnTimeout (timers.js:214:5)
  1349.  
  1350. 58) Transactions: CLTV "before all" hook:
  1351. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1352. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1353. at ontimeout (timers.js:386:11)
  1354. at tryOnTimeout (timers.js:250:5)
  1355. at Timer.listOnTimeout (timers.js:214:5)
  1356.  
  1357. 59) Transactions: CSV "before all" hook:
  1358. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1359. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1360. at ontimeout (timers.js:386:11)
  1361. at tryOnTimeout (timers.js:250:5)
  1362. at Timer.listOnTimeout (timers.js:214:5)
  1363.  
  1364. 60) Transactions pruning "before all" hook:
  1365. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1366. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1367. at ontimeout (timers.js:386:11)
  1368. at tryOnTimeout (timers.js:250:5)
  1369. at Timer.listOnTimeout (timers.js:214:5)
  1370.  
  1371. 61) Protocol 0.4 Times "before all" hook:
  1372. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1373. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1374. at ontimeout (timers.js:386:11)
  1375. at tryOnTimeout (timers.js:250:5)
  1376. at Timer.listOnTimeout (timers.js:214:5)
  1377.  
  1378. 62) Protocol 0.5 Identity blockstamp should be able to create tuc on s1:
  1379. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1380. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1381. at ontimeout (timers.js:386:11)
  1382. at tryOnTimeout (timers.js:250:5)
  1383. at Timer.listOnTimeout (timers.js:214:5)
  1384.  
  1385. 63) Protocol 0.5 Transaction version "before all" hook:
  1386. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1387. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1388. at ontimeout (timers.js:386:11)
  1389. at tryOnTimeout (timers.js:250:5)
  1390. at Timer.listOnTimeout (timers.js:214:5)
  1391.  
  1392. 64) Protocol 0.6 Difficulties "before all" hook:
  1393. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1394. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1395. at ontimeout (timers.js:386:11)
  1396. at tryOnTimeout (timers.js:250:5)
  1397. at Timer.listOnTimeout (timers.js:214:5)
  1398.  
  1399. 65) Protocol 1.0 Dividend Update "before all" hook:
  1400. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1401. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1402. at ontimeout (timers.js:386:11)
  1403. at tryOnTimeout (timers.js:250:5)
  1404. at Timer.listOnTimeout (timers.js:214:5)
  1405.  
  1406. 66) Protocol 1.0 Ğ1 Dividend - long run "before all" hook:
  1407. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1408. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1409. at ontimeout (timers.js:386:11)
  1410. at tryOnTimeout (timers.js:250:5)
  1411. at Timer.listOnTimeout (timers.js:214:5)
  1412.  
  1413. 67) Protocol 1.0 Ğ1 Dividend "before all" hook:
  1414. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1415. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1416. at ontimeout (timers.js:386:11)
  1417. at tryOnTimeout (timers.js:250:5)
  1418. at Timer.listOnTimeout (timers.js:214:5)
  1419.  
  1420. 68) v1.0 Module API Configuration hooks verify that we get the saved options:
  1421. Error: the string "Your node is currently running. Please stop it and relaunch your command." was thrown, throw an Error :)
  1422. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1423. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1424. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1425. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1426. at process._tickCallback (internal/process/next_tick.js:109:7)
  1427.  
  1428. 69) Protocol 1.1 Dividend "before all" hook:
  1429. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1430. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1431. at ontimeout (timers.js:386:11)
  1432. at tryOnTimeout (timers.js:250:5)
  1433. at Timer.listOnTimeout (timers.js:214:5)
  1434.  
  1435. 70) WOTB module Server 1 "before all" hook:
  1436. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1437. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1438. at ontimeout (timers.js:386:11)
  1439. at tryOnTimeout (timers.js:250:5)
  1440. at Timer.listOnTimeout (timers.js:214:5)
  1441.  
  1442. 71) WOTB module Server 2 "before all" hook:
  1443. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1444. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1445. at ontimeout (timers.js:386:11)
  1446. at tryOnTimeout (timers.js:250:5)
  1447. at Timer.listOnTimeout (timers.js:214:5)
  1448.  
  1449. 72) WOTB module Server 3 two first commits: the WoT is new and OK:
  1450. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1451. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1452. at ontimeout (timers.js:386:11)
  1453. at tryOnTimeout (timers.js:250:5)
  1454. at Timer.listOnTimeout (timers.js:214:5)
  1455.  
  1456. 73) WOTB module Server 3 third & fourth commits: toc should have joined:
  1457. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1458. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1459. at ontimeout (timers.js:386:11)
  1460. at tryOnTimeout (timers.js:250:5)
  1461. at Timer.listOnTimeout (timers.js:214:5)
  1462.  
  1463. 74) WOTB module Server 3 fifth commit: cat still here, but not its certs:
  1464. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1465. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1466. at ontimeout (timers.js:386:11)
  1467. at tryOnTimeout (timers.js:250:5)
  1468. at Timer.listOnTimeout (timers.js:214:5)
  1469.  
  1470. 75) WOTB module Server 3 sixth commit: cat is gone with its certs:
  1471. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1472. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1473. at ontimeout (timers.js:386:11)
  1474. at tryOnTimeout (timers.js:250:5)
  1475. at Timer.listOnTimeout (timers.js:214:5)
  1476.  
  1477. 76) WOTB module Server 3 seventh commit: toc is gone, but not its cert to tic:
  1478. Error: the string "{\n \"ucode\": 1004,\n \"message\": \"Already up-to-date\"\n}" was thrown, throw an Error :)
  1479. at Runner.fail (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:233:11)
  1480. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runner.js:565:18
  1481. at done (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:295:5)
  1482. at /home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:359:11
  1483. at process._tickCallback (internal/process/next_tick.js:109:7)
  1484.  
  1485. 77) WOTB module Server 3 revert seventh commit: toc is back, cat is gone:
  1486. TypeError: Cannot read property 'number' of undefined
  1487. at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
  1488. at next (native)
  1489. at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
  1490.  
  1491. 78) WOTB module Server 3 revert sixth commit: cat is back:
  1492. TypeError: Cannot read property 'number' of undefined
  1493. at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
  1494. at next (native)
  1495. at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
  1496.  
  1497. 79) WOTB module Server 3 revert fifth commit:
  1498. TypeError: Cannot read property 'number' of undefined
  1499. at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
  1500. at next (native)
  1501. at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
  1502.  
  1503. 80) WOTB module Server 3 revert third & fourth commits:
  1504. TypeError: Cannot read property 'number' of undefined
  1505. at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
  1506. at next (native)
  1507. at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
  1508.  
  1509. 81) WOTB module Server 3 revert first & second commits:
  1510. TypeError: Cannot read property 'number' of undefined
  1511. at BlockchainContext.<anonymous> (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:8:54)
  1512. at next (native)
  1513. at fulfilled (/home/nanocryk/downloads/duniter/app/lib/computation/BlockchainContext.ts:1:14)
  1514.  
  1515. 82) WS2P server limitations should not connect to s3 because of connection size limit:
  1516.  
  1517. AssertionError: 1 == 0
  1518. + expected - actual
  1519.  
  1520. -1
  1521. +0
  1522.  
  1523. at s3.expect (/home/nanocryk/downloads/duniter/test/integration/ws2p_server_limitations.ts:159:14)
  1524. at /home/nanocryk/downloads/duniter/test/integration/tools/http.js:73:16
  1525. at next (native)
  1526. at onFulfilled (/home/nanocryk/downloads/duniter/node_modules/co/index.js:65:19)
  1527. at tryCatcher (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/util.js:16:23)
  1528. at Promise._settlePromiseFromHandler (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:512:31)
  1529. at Promise._settlePromise (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:569:18)
  1530. at Promise._settlePromise0 (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:614:10)
  1531. at Promise._settlePromises (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/promise.js:693:18)
  1532. at Async._drainQueue (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:133:16)
  1533. at Async._drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:143:10)
  1534. at Immediate.Async.drainQueues (/home/nanocryk/downloads/duniter/node_modules/bluebird/js/release/async.js:17:14)
  1535. at runCallback (timers.js:672:20)
  1536. at tryOnImmediate (timers.js:645:5)
  1537. at processImmediate [as _immediateCallback] (timers.js:617:5)
  1538.  
  1539. 83) WS2P server limitations should connect to s3 because of configuration favorism:
  1540. Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  1541. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19)
  1542. at ontimeout (timers.js:386:11)
  1543. at tryOnTimeout (timers.js:250:5)
  1544. at Timer.listOnTimeout (timers.js:214:5)
  1545.  
  1546.  
  1547.  
  1548. error Command failed with exit code 83.
  1549. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  1550. entropy :: ~/downloads/duniter ‹better_cpu_target*› %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement