> ipfsd-ctl@12.0.3 test > aegir test build > ipfsd-ctl@12.0.3 build > aegir build [12:11:54] tsc [started] [12:11:55] tsc [completed] [12:11:55] esbuild [started] [12:11:55] esbuild [completed] test node.js Warning: Cannot find any files matching pattern "dist/test/node.{js,cjs,mjs}" Warning: Cannot find any files matching pattern "dist/test/**/*.spec.{js,cjs,mjs}" 2022-09-21T19:11:59.495Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client routes POST /spawn ✔ should return 200 POST /init ✔ should return 200 (3846ms) ✔ should return 400 POST /start 2022-09-21T19:12:04.769Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ should return 200 (1419ms) ✔ should return 400 GET /pid ✔ should return 200 ✔ should return 400 POST /stop ✔ should return 200 ✔ should return 400 POST /cleanup ✔ should return 200 ✔ should return 400 utils node version ✔ tmpDir should return correct path ✔ defaultRepo should return path ✔ removeRepo should work (1113ms) checkForRunningApi ✔ should return null with no node running 2022-09-21T19:12:11.702Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ should return path to api with running node (5806ms) repoExists ✔ should resolve true when repo exists (1039ms) ✔ should resolve false for random path buildStartArgs ✔ custom args ✔ pass ✔ preload ✔ preload disabled ✔ sharding ✔ offline ✔ ipns pubsub ✔ migrate buildInitArgs ✔ pass ✔ bits ✔ algorithm ✔ empty repo ✔ profiles Node specific tests ✔ should use process.IPFS_PATH init should work with defaults ✔ type: js remote: false (2392ms) ✔ type: go remote: false (2377ms) ✔ type: proc remote: false (1139ms) ✔ type: js remote: true (5478ms) ✔ type: go remote: true (2041ms) should work with a initialized repo ✔ type: js remote: false ✔ type: go remote: false ✔ type: proc remote: false ✔ type: js remote: true ✔ type: go remote: true should work with all the options ✔ type: js remote: false (1570ms) ✔ type: go remote: false (505ms) ✔ type: proc remote: false (498ms) ✔ type: js remote: true (1638ms) ✔ type: go remote: true (516ms) should apply config 2022-09-21T19:12:34.145Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3241ms) 2022-09-21T19:12:36.551Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2413ms) ✔ type: proc remote: false (1336ms) 2022-09-21T19:12:41.163Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:12:41.264Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3352ms) 2022-09-21T19:12:43.470Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:12:43.568Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2289ms) should return a version ✔ type: js remote: false (1042ms) ✔ type: go remote: false ✔ type: proc remote: false (1284ms) ✔ type: js remote: true (1065ms) ✔ type: go remote: true start should work with defaults 2022-09-21T19:12:50.413Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3396ms) 2022-09-21T19:12:52.592Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2184ms) ✔ type: proc remote: false (989ms) 2022-09-21T19:12:57.062Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:12:57.148Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3553ms) 2022-09-21T19:12:59.384Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:12:59.474Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2327ms) should attach to a running node 2022-09-21T19:12:59.565Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (72ms) 2022-09-21T19:12:59.638Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (56ms) 2022-09-21T19:12:59.693Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: proc remote: false (154ms) 2022-09-21T19:12:59.855Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:12:59.916Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (121ms) 2022-09-21T19:12:59.974Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:00.030Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (112ms) should stop a running node that we have joined 2022-09-21T19:13:02.280Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:02.357Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (2499ms) 2022-09-21T19:13:04.696Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:04.783Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2459ms) 2022-09-21T19:13:07.190Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:07.261Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: proc remote: false (2521ms) 2022-09-21T19:13:09.696Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:09.788Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:13:09.869Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (2510ms) 2022-09-21T19:13:12.217Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:12.291Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:12.369Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2506ms) cleanup should delete the repo 2022-09-21T19:13:16.030Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3540ms) 2022-09-21T19:13:18.325Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2302ms) ✔ type: proc remote: false (1112ms) 2022-09-21T19:13:22.874Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:13:22.960Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3536ms) 2022-09-21T19:13:25.364Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:25.459Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2491ms) stop should stop the node 2022-09-21T19:13:29.182Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3735ms) 2022-09-21T19:13:31.550Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2370ms) ✔ type: proc remote: false (780ms) 2022-09-21T19:13:36.404Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:13:36.498Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (4156ms) 2022-09-21T19:13:38.821Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:38.930Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2424ms) should not clean with disposable false 2022-09-21T19:13:42.081Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3155ms) 2022-09-21T19:13:44.358Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2303ms) ✔ type: proc remote: false (858ms) 2022-09-21T19:13:51.973Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:13:52.063Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (6830ms) 2022-09-21T19:13:54.399Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:13:54.496Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2458ms) should clean with disposable true 2022-09-21T19:13:58.131Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3582ms) 2022-09-21T19:14:00.330Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2223ms) ✔ type: proc remote: false (1355ms) 2022-09-21T19:14:05.239Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:14:05.331Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3636ms) 2022-09-21T19:14:07.795Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:14:07.893Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2554ms) should clean listeners 2022-09-21T19:14:11.429Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3568ms) 2022-09-21T19:14:13.794Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2344ms) ✔ type: proc remote: false (904ms) 2022-09-21T19:14:18.397Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:14:18.480Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3764ms) 2022-09-21T19:14:20.735Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:14:20.833Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2362ms) pid should return pid 2022-09-21T19:14:24.237Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3395ms) 2022-09-21T19:14:26.547Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: false (2310ms) ✔ type: proc remote: false (587ms) 2022-09-21T19:14:30.779Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:14:30.860Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3731ms) 2022-09-21T19:14:33.155Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:14:33.250Z ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client ✔ type: go remote: true (2390ms) `createController` should return the correct class ✔ for type `js` ✔ for type `go` ✔ for type `proc` ✔ for remote - should use ipfs-client if passed - should use ipfs-client for remote if passed `createController({test: true})` should return daemon with test profile 2022-09-21T19:14:36.534Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3279ms) 2022-09-21T19:14:38.755Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: false (2219ms) ✔ type: proc remote: false (789ms) 2022-09-21T19:14:43.056Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:14:43.156Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3624ms) 2022-09-21T19:14:45.491Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:14:45.583Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: true (2448ms) `createController({test: true})` should return daemon with correct config 2022-09-21T19:14:49.026Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3414ms) 2022-09-21T19:14:51.279Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: false (2276ms) ✔ type: proc remote: false (635ms) 2022-09-21T19:14:58.856Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:14:58.975Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (7061ms) 2022-09-21T19:15:01.380Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:15:01.487Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: true (2522ms) `createFactory({test: true})` should return daemon with test profile 2022-09-21T19:15:05.134Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3635ms) 2022-09-21T19:15:07.545Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: false (2406ms) ✔ type: proc remote: false (618ms) 2022-09-21T19:15:11.912Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:15:12.005Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3840ms) 2022-09-21T19:15:14.362Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:15:14.451Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: true (2428ms) `createServer` ✔ should return a Server with port 43134 by default ✔ should return a Server with port 11111 when passed number directly ✔ should return a Server with port 22222 when passed {port: 22222} `Factory tmpDir()` should return correct temporary dir ✔ type: js remote: false ✔ type: go remote: false ✔ type: proc remote: false ✔ type: js remote: true ✔ type: go remote: true `Factory spawn()` should return a node with api 2022-09-21T19:15:17.778Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3339ms) 2022-09-21T19:15:20.096Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: false (2303ms) ✔ type: proc remote: false (765ms) 2022-09-21T19:15:24.226Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:15:24.323Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3457ms) 2022-09-21T19:15:26.719Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:15:26.830Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: true (2528ms) should return ctl for tests when factory initialized with test === true 2022-09-21T19:15:30.695Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3847ms) 2022-09-21T19:15:36.499Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: false (5785ms) ✔ type: proc remote: false (1058ms) 2022-09-21T19:15:41.632Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:15:41.725Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (4179ms) 2022-09-21T19:15:44.041Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:15:44.141Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: true (2417ms) should return a disposable node by default 2022-09-21T19:15:47.333Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (3191ms) 2022-09-21T19:15:49.635Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: false (2313ms) ✔ type: proc remote: false (690ms) 2022-09-21T19:15:53.816Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:15:53.915Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (3578ms) 2022-09-21T19:15:56.158Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:15:56.264Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: true (2336ms) should return a non disposable node ✔ type: js remote: false ✔ type: go remote: false ✔ type: proc remote: false ✔ type: js remote: true ✔ type: go remote: true `Factory.clean()` should stop all nodes 2022-09-21T19:15:59.435Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:02.739Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (6474ms) 2022-09-21T19:16:05.040Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:07.422Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: false (4727ms) ✔ type: proc remote: false (1551ms) 2022-09-21T19:16:12.307Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:12.395Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:16.033Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:16.119Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (7105ms) 2022-09-21T19:16:18.443Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:16:18.534Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:20.776Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:16:20.843Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: true (4729ms) `Factory.clean()` should not error when controller already stopped 2022-09-21T19:16:24.734Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:28.499Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: false (7667ms) 2022-09-21T19:16:30.873Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:33.282Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: false (4793ms) ✔ type: proc remote: false (1884ms) 2022-09-21T19:16:39.151Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:39.242Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:42.966Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:43.053Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: js remote: true (7913ms) 2022-09-21T19:16:45.573Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:16:45.692Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client 2022-09-21T19:16:48.022Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client 2022-09-21T19:16:48.102Z ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client ✔ type: go remote: true (5043ms) 159 passing (5m) 2 pending test browser - Setting up chromium ✔ chromium set up  2022-09-21T19:16:54.870Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +0ms  utils browser version  ✅ tmpDir should return correct path  ✅ checkForRunningApi should return null  ✅ defaultRepo should return ipfs  ✅ removeRepo should work (1993ms)  ✅ removeRepo should wait for db to be closed (2578ms)  repoExists  ✅ should resolve true when repo exists (1820ms)  ✅ should resolve false for random path (106ms)  `createController` should return the correct class  ✅ for type `js`   ✅ for type `go`   ✅ for type `proc`   ✅ for remote  - should use ipfs-client if passed  - should use ipfs-client for remote if passed  `createController({test: true})` should return daemon with test profile 2022-09-21T19:17:04.950Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +10s  ✅ type: js remote: false (3592ms) 2022-09-21T19:17:07.471Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (2494ms)  ✅ type: proc remote: false (1538ms) 2022-09-21T19:17:12.402Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3378ms) 2022-09-21T19:17:14.717Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (2298ms)  `createController({test: true})` should return daemon with correct config 2022-09-21T19:17:18.078Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3368ms) 2022-09-21T19:17:20.705Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: false (2613ms)  ✅ type: proc remote: false (1258ms) 2022-09-21T19:17:25.514Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3582ms) 2022-09-21T19:17:28.076Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: true (2552ms)  `createFactory({test: true})` should return daemon with test profile 2022-09-21T19:17:32.313Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (4227ms) 2022-09-21T19:17:34.812Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: false (2570ms)  ✅ type: proc remote: false (1474ms) 2022-09-21T19:17:39.858Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3488ms) 2022-09-21T19:17:42.392Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: true (2528ms)  `createServer` Server not implemented in the browser  ✅ should return a Server with port 43134 by default Server not implemented in the browser  ✅ should return a Server with port 11111 when passed number directly Server not implemented in the browser  ✅ should return a Server with port 22222 when passed {port: 22222}  `Factory tmpDir()` should return correct temporary dir  ✅ type: js remote: false  ✅ type: go remote: false  ✅ type: proc remote: false  ✅ type: js remote: true  ✅ type: go remote: true  `Factory spawn()`   should return a node with api 2022-09-21T19:17:45.620Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3226ms) 2022-09-21T19:17:48.255Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: false (2617ms)  ✅ type: proc remote: false (1816ms) 2022-09-21T19:17:53.356Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3306ms) 2022-09-21T19:17:55.788Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (2426ms)  should return ctl for tests when factory initialized with test === true 2022-09-21T19:17:59.543Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3731ms) 2022-09-21T19:18:02.084Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: false (2573ms)  ✅ type: proc remote: false (1322ms) 2022-09-21T19:18:07.124Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3679ms) 2022-09-21T19:18:09.409Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (2297ms)  should return a disposable node by default 2022-09-21T19:18:13.164Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3743ms) 2022-09-21T19:18:15.541Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (2401ms)  ✅ type: proc remote: false (1398ms) 2022-09-21T19:18:20.318Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3357ms) 2022-09-21T19:18:22.894Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: true (2596ms)  should return a non disposable node  ✅ type: js remote: false  ✅ type: go remote: false  ✅ type: proc remote: false  ✅ type: js remote: true  ✅ type: go remote: true  `Factory.clean()` should stop all nodes 2022-09-21T19:18:26.231Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s 2022-09-21T19:18:33.041Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +7s  ✅ type: js remote: false (10122ms) 2022-09-21T19:18:35.393Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s 2022-09-21T19:18:37.828Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (4806ms)  ✅ type: proc remote: false (3952ms) 2022-09-21T19:18:45.903Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +8s 2022-09-21T19:18:49.519Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: true (7699ms) 2022-09-21T19:18:52.158Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s 2022-09-21T19:18:54.715Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: true (5221ms)  `Factory.clean()` should not error when controller already stopped 2022-09-21T19:18:58.188Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s 2022-09-21T19:19:01.928Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (7215ms) 2022-09-21T19:19:04.166Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s 2022-09-21T19:19:06.468Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (4526ms)  ✅ type: proc remote: false (3474ms) 2022-09-21T19:19:13.996Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +8s 2022-09-21T19:19:17.434Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: true (7494ms) 2022-09-21T19:19:19.808Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s 2022-09-21T19:19:22.116Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (4645ms)  init  should work with defaults  ✅ type: js remote: false (2161ms)  ✅ type: go remote: false (2210ms)  ✅ type: proc remote: false (1042ms)  ✅ type: js remote: true (2091ms)  ✅ type: go remote: true (2006ms)  should work with a initialized repo  ✅ type: js remote: false  ✅ type: go remote: false  ✅ type: proc remote: false (1035ms)  ✅ type: js remote: true  ✅ type: go remote: true  should work with all the options  ✅ type: js remote: false (1798ms)  ✅ type: go remote: false (571ms)  ✅ type: proc remote: false (1139ms)  ✅ type: js remote: true (2020ms)  ✅ type: go remote: true (507ms)  should apply config 2022-09-21T19:19:42.528Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +20s  ✅ type: js remote: false (3799ms) 2022-09-21T19:19:44.748Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2218ms)  ✅ type: proc remote: false (1879ms) 2022-09-21T19:19:50.714Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: true (4087ms) 2022-09-21T19:19:53.114Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2377ms)  should return a version  ✅ type: js remote: false (1092ms)  ✅ type: go remote: false (44ms)  ✅ type: proc remote: false (1101ms)  ✅ type: js remote: true (1093ms)  ✅ type: go remote: true  start  should work with defaults 2022-09-21T19:20:00.358Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +7s  ✅ type: js remote: false (3879ms) 2022-09-21T19:20:02.799Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2424ms)  ✅ type: proc remote: false (1741ms) 2022-09-21T19:20:08.078Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3541ms) 2022-09-21T19:20:10.409Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2336ms)  should attach to a running node 2022-09-21T19:20:10.523Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +97ms  ✅ type: js remote: false (73ms) 2022-09-21T19:20:10.598Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +81ms  ✅ type: go remote: false (75ms)  - type: proc remote: false 2022-09-21T19:20:10.677Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +66ms  ✅ type: js remote: true (62ms) 2022-09-21T19:20:10.739Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +68ms  ✅ type: go remote: true (67ms)  should stop a running node that we have joined  - type: js remote: false  - type: go remote: false  - type: proc remote: false  - type: js remote: true  - type: go remote: true  cleanup  should delete the repo 2022-09-21T19:20:14.661Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3955ms) 2022-09-21T19:20:17.314Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +3s  ✅ type: go remote: false (2637ms)  ✅ type: proc remote: false (1613ms) 2022-09-21T19:20:22.861Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: true (3964ms) 2022-09-21T19:20:25.288Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2424ms)  stop  should stop the node 2022-09-21T19:20:28.439Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3119ms) 2022-09-21T19:20:30.679Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2281ms)  ✅ type: proc remote: false (1768ms) 2022-09-21T19:20:36.506Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: true (4012ms) 2022-09-21T19:20:38.806Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2339ms)  should not clean with disposable false 2022-09-21T19:20:42.664Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s Error: Timeout stopping js node after 5000ms. Process 2518 will be force killed now. at Timeout._onTimeout (file:///Users/sgtpooki/code/work/protocol.ai/ipfs/js-ipfsd-ctl/src/ipfsd-daemon.js:324:27) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)  ✅ type: js remote: false (8812ms) 2022-09-21T19:20:49.939Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +7s  ✅ type: go remote: false (2321ms)  ✅ type: proc remote: false (1145ms) 2022-09-21T19:20:54.565Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s Error: Timeout stopping js node after 5000ms. Process 2525 will be force killed now. at Timeout._onTimeout (file:///Users/sgtpooki/code/work/protocol.ai/ipfs/js-ipfsd-ctl/src/ipfsd-daemon.js:324:27) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)  ✅ type: js remote: true (8421ms) 2022-09-21T19:21:01.914Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +7s  ✅ type: go remote: true (2439ms)  should clean with disposable true 2022-09-21T19:21:05.178Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3163ms) 2022-09-21T19:21:07.523Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2327ms)  ✅ type: proc remote: false (1669ms) 2022-09-21T19:21:13.186Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: true (3985ms) 2022-09-21T19:21:15.390Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2241ms)  should clean listeners 2022-09-21T19:21:19.256Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3835ms) 2022-09-21T19:21:21.770Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +3s  ✅ type: go remote: false (2529ms)  ✅ type: proc remote: false (1321ms) 2022-09-21T19:21:27.224Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (4105ms) 2022-09-21T19:21:29.527Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2301ms)  pid should return pid 2022-09-21T19:21:32.904Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3411ms) 2022-09-21T19:21:35.182Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2284ms)  ✅ type: proc remote: false (1278ms) 2022-09-21T19:21:40.247Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3775ms) 2022-09-21T19:21:42.598Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2358ms)   128 passing (5m)   8 pending test webworker - Setting up chromium ✔ chromium set up  2022-09-21T19:21:48.363Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +0ms  `createController` should return the correct class  ✅ for type `js`   ✅ for type `go`   ✅ for type `proc`   ✅ for remote  - should use ipfs-client if passed  - should use ipfs-client for remote if passed  `createController({test: true})` should return daemon with test profile 2022-09-21T19:21:52.208Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3827ms) 2022-09-21T19:21:54.491Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (2279ms)  ✅ type: proc remote: false (1782ms) 2022-09-21T19:22:02.728Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +8s  ✅ type: js remote: true (6466ms) 2022-09-21T19:22:04.945Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (2201ms)  `createController({test: true})` should return daemon with correct config 2022-09-21T19:22:08.647Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3730ms) 2022-09-21T19:22:11.025Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (2347ms)  ✅ type: proc remote: false (1781ms) 2022-09-21T19:22:16.345Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3542ms) 2022-09-21T19:22:18.604Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (2270ms)  `createFactory({test: true})` should return daemon with test profile 2022-09-21T19:22:21.879Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3257ms) 2022-09-21T19:22:24.123Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (2262ms)  ✅ type: proc remote: false (1634ms) 2022-09-21T19:22:29.669Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: true (3900ms) 2022-09-21T19:22:32.010Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (2326ms)  `createServer` Server not implemented in the browser  ✅ should return a Server with port 43134 by default Server not implemented in the browser  ✅ should return a Server with port 11111 when passed number directly Server not implemented in the browser  ✅ should return a Server with port 22222 when passed {port: 22222}  `Factory tmpDir()` should return correct temporary dir  ✅ type: js remote: false  ✅ type: go remote: false  ✅ type: proc remote: false  ✅ type: js remote: true  ✅ type: go remote: true  `Factory spawn()`   should return a node with api 2022-09-21T19:22:35.987Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3980ms) 2022-09-21T19:22:38.161Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (2170ms)  ✅ type: proc remote: false (1412ms) 2022-09-21T19:22:43.175Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3610ms) 2022-09-21T19:22:45.721Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: true (2533ms)  should return ctl for tests when factory initialized with test === true 2022-09-21T19:22:49.625Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3909ms) 2022-09-21T19:22:52.092Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (2456ms)  ✅ type: proc remote: false (1932ms) 2022-09-21T19:22:58.095Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: true (4065ms) 2022-09-21T19:23:00.416Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (2332ms)  should return a disposable node by default 2022-09-21T19:23:06.587Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: false (6165ms) 2022-09-21T19:23:08.938Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (2368ms)  ✅ type: proc remote: false (1563ms) 2022-09-21T19:23:14.640Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: true (4130ms) 2022-09-21T19:23:17.152Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (2467ms)  should return a non disposable node  ✅ type: js remote: false  ✅ type: go remote: false  ✅ type: proc remote: false  ✅ type: js remote: true  ✅ type: go remote: true  `Factory.clean()` should stop all nodes 2022-09-21T19:23:21.207Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s 2022-09-21T19:23:24.900Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (7795ms) 2022-09-21T19:23:27.404Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s 2022-09-21T19:23:29.736Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (4767ms)  ✅ type: proc remote: false (3040ms) 2022-09-21T19:23:36.821Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +7s 2022-09-21T19:23:40.619Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: true (7853ms) 2022-09-21T19:23:42.950Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s 2022-09-21T19:23:45.444Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: go remote: true (4842ms)  `Factory.clean()` should not error when controller already stopped 2022-09-21T19:23:48.701Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s 2022-09-21T19:23:52.575Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (7149ms) 2022-09-21T19:23:55.018Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s 2022-09-21T19:23:57.445Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: false (4887ms)  ✅ type: proc remote: false (3445ms) 2022-09-21T19:24:04.690Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +7s 2022-09-21T19:24:08.384Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: true (7485ms) 2022-09-21T19:24:10.670Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s 2022-09-21T19:24:12.989Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +2s  ✅ type: go remote: true (4589ms)  init  should work with defaults  ✅ type: js remote: false (2135ms)  ✅ type: go remote: false (2226ms)  ✅ type: proc remote: false (928ms)  ✅ type: js remote: true (5118ms)  ✅ type: go remote: true (2036ms)  should work with a initialized repo  ✅ type: js remote: false  ✅ type: go remote: false  ✅ type: proc remote: false (884ms)  ✅ type: js remote: true  ✅ type: go remote: true  should work with all the options  ✅ type: js remote: false (1951ms)  ✅ type: go remote: false (470ms)  ✅ type: proc remote: false (1115ms)  ✅ type: js remote: true (1779ms)  ✅ type: go remote: true (498ms)  should apply config 2022-09-21T19:24:35.622Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +23s  ✅ type: js remote: false (3445ms) 2022-09-21T19:24:37.934Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2310ms)  ✅ type: proc remote: false (1505ms) 2022-09-21T19:24:43.244Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3780ms) 2022-09-21T19:24:45.632Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2479ms)  should return a version  ✅ type: js remote: false (1151ms)  ✅ type: go remote: false (39ms)  ✅ type: proc remote: false (1076ms)  ✅ type: js remote: true (1101ms)  ✅ type: go remote: true (54ms)  start  should work with defaults 2022-09-21T19:24:52.895Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +7s  ✅ type: js remote: false (3778ms) 2022-09-21T19:24:55.193Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2274ms)  ✅ type: proc remote: false (1346ms) 2022-09-21T19:25:00.341Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3811ms) 2022-09-21T19:25:02.788Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2457ms)  should attach to a running node 2022-09-21T19:25:02.930Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +128ms  ✅ type: js remote: false (87ms) 2022-09-21T19:25:03.022Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +81ms  ✅ type: go remote: false (76ms)  - type: proc remote: false 2022-09-21T19:25:03.095Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +64ms  ✅ type: js remote: true (65ms) 2022-09-21T19:25:03.164Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +67ms  ✅ type: go remote: true (63ms)  should stop a running node that we have joined  - type: js remote: false  - type: go remote: false  - type: proc remote: false  - type: js remote: true  - type: go remote: true  cleanup  should delete the repo 2022-09-21T19:25:06.566Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3442ms) 2022-09-21T19:25:08.920Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2350ms)  ✅ type: proc remote: false (1355ms) 2022-09-21T19:25:13.626Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3340ms) 2022-09-21T19:25:16.190Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +3s  ✅ type: go remote: true (2584ms)  stop  should stop the node 2022-09-21T19:25:20.142Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3935ms) 2022-09-21T19:25:22.383Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2271ms)  ✅ type: proc remote: false (1537ms) 2022-09-21T19:25:27.602Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3632ms) 2022-09-21T19:25:29.809Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2215ms)  should not clean with disposable false 2022-09-21T19:25:36.184Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s Error: Timeout stopping js node after 5000ms. Process 4261 will be force killed now. at Timeout._onTimeout (file:///Users/sgtpooki/code/work/protocol.ai/ipfs/js-ipfsd-ctl/src/ipfsd-daemon.js:324:27) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)  ✅ type: js remote: false (11406ms) 2022-09-21T19:25:43.530Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +7s  ✅ type: go remote: false (2369ms)  ✅ type: proc remote: false (1452ms) 2022-09-21T19:25:48.414Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s Error: Timeout stopping js node after 5000ms. Process 4270 will be force killed now. at Timeout._onTimeout (file:///Users/sgtpooki/code/work/protocol.ai/ipfs/js-ipfsd-ctl/src/ipfsd-daemon.js:324:27) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)  ✅ type: js remote: true (8379ms) 2022-09-21T19:25:55.805Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +7s  ✅ type: go remote: true (2456ms)  should clean with disposable true 2022-09-21T19:25:59.244Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3372ms) 2022-09-21T19:26:01.605Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2347ms)  ✅ type: proc remote: false (1287ms) 2022-09-21T19:26:06.884Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3985ms) 2022-09-21T19:26:09.208Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2345ms)  should clean listeners 2022-09-21T19:26:13.057Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +4s  ✅ type: js remote: false (3833ms) 2022-09-21T19:26:15.452Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2411ms)  ✅ type: proc remote: false (1933ms) 2022-09-21T19:26:21.382Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +6s  ✅ type: js remote: true (4005ms) 2022-09-21T19:26:23.733Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2332ms)  pid should return pid 2022-09-21T19:26:27.135Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +3s  ✅ type: js remote: false (3418ms) 2022-09-21T19:26:29.400Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: false (2273ms)  ✅ type: proc remote: false (1612ms) 2022-09-21T19:26:34.317Z ipfsd-ctl:daemon:rpcModule:stdout Using ipfs-http-client ipfsd-ctl:client:rpcModule:stdout Using ipfs-http-client +5s  ✅ type: js remote: true (3277ms) 2022-09-21T19:26:36.741Z ipfsd-ctl:daemon:rpcModule:stdout Using kubo-rpc-client ipfsd-ctl:client:rpcModule:stdout Using kubo-rpc-client +2s  ✅ type: go remote: true (2480ms)   121 passing (5m)   8 pending