Skip to content

Instantly share code, notes, and snippets.

View zippy's full-sized avatar

Eric Harris-Braun zippy

View GitHub Profile
In file included from ../sleep.cc:2:
../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':
../../nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../sleep.cc: At global scope:
../sleep.cc:6:11: error: 'v8::Handle' has not been declared
using v8::Handle;
^~~~~~
../sleep.cc: In function 'void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':
thread 'net_worker_thread/puid-8-4' panicked at 'Couldn't get lock on Context::thread_pool: LocksmithError { lock_type: Lock, kind: LocksmithTimeout }', src/libcore/result.rs:1051:5
stack backtrace:
0: 0x5652278e508b - backtrace::backtrace::libunwind::trace::hd4effc5cbc99af65
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88
1: 0x5652278e508b - backtrace::backtrace::trace_unsynchronized::h389cccb5967fa3c2
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66
2: 0x5652278e508b
- std::sys_common::backtrace::_print::hbb606689fb98322f
at src/libstd/sys_common/backtrace.rs:47
[ec2-user@ip-10-5-76-4 ~]$ docker logs 80329a13c9b9
waiting for connections on port 9000
Downloading dna from https://github.com/holochain/passthrough-dna/releases/download/v0.0.6/passthrough-dna.dna.json ...
Finished downloading dna from https://github.com/holochain/passthrough-dna/releases/download/v0.0.6/passthrough-dna.dna.json
dna https://github.com/holochain/passthrough-dna/releases/download/v0.0.6/passthrough-dna.dna.json: "dna for https://github.com/holochain/passthrough-dna/releases/download/v0.0.6/passthrough-dna.dna.json at /tmp/.tmp5l0286/dnas/holochainpassthrough-dnareleasesdownloadv0.0.6passthrough-dna.dna.json"
player 9: "wrote config for player 9 to /tmp/.tmpi4QV7c/9/conductor-config.toml"
WARNING! The git-hash of the runtime and the zome don't match.
Runtime hash: 4a2a0ad06e80b7b99f36a08f834125b6b2d53e02
Zome hash: 3b93a72d7ae059efb29016c47666cf042c01d4a7
DEBUG 2019-11-19 15:26:22 [holochain_conductor_lib::conductor::base] main crates/conductor_lib/src/conductor/base.rs:267 starting signal l
APP_SPEC_NETWORK_TYPE=sim2h npm run test:stress
> @ test:stress /home/eric/code/metacurrency/holochain/passthrough-dna/test
> AWS_ACCESS_KEY_ID=bla AWS_SECRET_ACCESS_KEY=blup ts-node stress_test/index.ts
using dna: {"file":"https://github.com/holochain/passthrough-dna/releases/download/v0.0.6/passthrough-dna.dna.json","id":"passthrough"}
using network: {"type":"sim2h","sim2h_url":"ws://sim2h.eu-central-1.holochain-aws.org:9000"}
Running stress test id=1573853288780 with N=1, M=2
22:28:08 [tryorama] debug: About to execute 1 tests
22:28:08 [tryorama] warn: Skipping 1 test(s)!
ERROR 2019-11-06 21:50:34 [holochain_locksmith::sync] hc_guard_watcher/puid-0-0 crates/locksmith/src/sync.rs:121
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! IMMORTAL LOCK GUARD FOUND !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Lock guard puid-3-2f lived for > 60 seconds.
Backtrace at the moment of guard creation follows:
stack backtrace:
★ ERROR 2019-11-04 09:42:20 [holochain_core_types::sync] hc_guard_watcher/puid-0-0 crates/core_types/src/sync.rs:121
★ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
★ !!! IMMORTAL LOCK GUARD FOUND !!!
★ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
★ Lock guard puid-0-a2 lived for > 60 seconds.
★ Backtrace at the moment of guard creation follows:
★ stack backtrace:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! IMMORTAL LOCK GUARD FOUND !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Read guard puid-52-2d36 lived for > 60 seconds. Backtrace at the moment of guard creation follows:
stack backtrace:
0: holochain_core_types::sync::GuardTracker::new::hd56bcfce9f7e9113 (0x55b9093deb20)
1: holochain_core_types::sync::HcRwLockReadGuard<T>::new::hcd844ea0979f8319 (0x55b9089d8982)
2: holochain_core_types::sync::HcRwLock<T>::try_read::hbdc6f3f091813dc4 (0x55b9089d806b)
go test
# github.com/metacurrency/holochain
./node.go:367: cannot use []"gx/ipfs/QmXY77cVe7rVRQXZZQRioukUM7aRW3BTcAgJe12MCtb3Ji/go-multiaddr".Multiaddr literal (type []"gx/ipfs/QmXY77cVe7rVRQXZZQRioukUM7aRW3BTcAgJe12MCtb3Ji/go-multiaddr".Multiaddr) as type []"github.com/multiformats/go-multiaddr".Multiaddr in argument to swarm.NewNetwork
./node.go:367: cannot use nodeID (type "gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-peer".ID in argument to swarm.NewNetwork
./node.go:367: cannot use ps (type "gx/ipfs/QmPgDWmTmuzvP7QE5zwo1TmjbJme9pmZHNujB2453jkCTr/go-libp2p-peerstore".Peerstore) as type "github.com/libp2p/go-libp2p-peerstore".Peerstore in argument to swarm.NewNetwork:
"gx/ipfs/QmPgDWmTmuzvP7QE5zwo1TmjbJme9pmZHNujB2453jkCTr/go-libp2p-peerstore".Peerstore does not implement "github.com/libp2p/go-libp2p-peerstore".Peerstore (wrong type for AddAddr method)
have AddAddr("gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer".
$ go test
# github.com/libp2p/go-libp2p-metrics/conn
../../libp2p/go-libp2p-metrics/conn/conn.go:28: mc.Conn.Read undefined (type transport.Conn has no field or method Read)
../../libp2p/go-libp2p-metrics/conn/conn.go:35: mc.Conn.Write undefined (type transport.Conn has no field or method Write)
# github.com/libp2p/go-libp2p-conn
../../libp2p/go-libp2p-conn/conn.go:90: c.maconn.SetDeadline undefined (type transport.Conn has no field or method SetDeadline)
../../libp2p/go-libp2p-conn/conn.go:93: c.maconn.SetReadDeadline undefined (type transport.Conn has no field or method SetReadDeadline)
../../libp2p/go-libp2p-conn/conn.go:97: c.maconn.SetWriteDeadline undefined (type transport.Conn has no field or method SetWriteDeadline)
../../libp2p/go-libp2p-conn/conn.go:126: c.maconn.Read undefined (type transport.Conn has no field or method Read)
../../libp2p/go-libp2p-conn/conn.go:126: not enough arguments to return
npm test
> hc-scaffold@0.0.2 test /home/eric/code/metacurrency/hc-scaffold
> standard && node ./bin/build.js && ninja && node ./bin/exec-tests.js
wrote build.ninja
build - Transpiles source files to ECMAScript 5 before publishing.
lint - Verifies source code meets syntax/style rules.
ls - Lists dependencies (top-level).
outdated - Lists outdated dependencies (top-level).