Commit Graph

319 Commits

Author SHA1 Message Date
vyzo
58923fe2ff some baseline cleanup
1. Miners wait for all client's signal to stop mining
2. Miners don't care about client addresses
3. Moved collect methods to node.go
2020-06-25 14:10:00 +03:00
vyzo
5cccc81abf keep log level at WARN so that we see what's happening in the system 2020-06-25 13:52:02 +03:00
Anton Evangelatov
831cd2e71d move init to node.go 2020-06-25 12:33:52 +02:00
Anton Evangelatov
9f9c30d406 speed up block mining 2020-06-25 12:21:14 +02:00
Raúl Kripalani
1cb087c99e update issue templates + labels. 2020-06-25 11:14:49 +01:00
Anton Evangelatov
ae3fcca543 barrier for stop mining, instead of sleep 2020-06-25 12:00:56 +02:00
Anton Evangelatov
801a4f79b9 completed deal 2020-06-24 18:15:52 +02:00
Anton Evangelatov
98bc576888 insecure post validation 2020-06-24 17:39:37 +02:00
Anton Evangelatov
bb758854fb move init to main, add more logging 2020-06-24 16:46:12 +02:00
Anton Evangelatov
f460d24f65 fixup 2020-06-24 16:12:10 +02:00
Anton Evangelatov
b026160c5c mine longer 2020-06-24 15:48:15 +02:00
Anton Evangelatov
fe842823a9 mine more blocks 2020-06-24 15:45:32 +02:00
Anton Evangelatov
65dff05008 bump up balances 2020-06-24 15:42:34 +02:00
Anton Evangelatov
d4f883c1b0 connect miner node to its full node??? 2020-06-24 15:40:30 +02:00
Anton Evangelatov
e8f037cac8 broken mining and deal sealing 2020-06-24 15:29:27 +02:00
Anton Evangelatov
cca568112d start deal, need to add mining 2020-06-24 15:16:10 +02:00
Anton Evangelatov
db19764130 generate random data, start deal 2020-06-24 15:10:05 +02:00
Anton Evangelatov
2379ff1740 composition for k8s, better error logging on collect addrs 2020-06-24 14:50:06 +02:00
Anton Evangelatov
f6da7679b8 connect client to miner; fix topic bug 2020-06-24 14:40:29 +02:00
Anton Evangelatov
b0d0a7a04a improvements 2020-06-24 14:34:19 +02:00
Anton Evangelatov
f1181ce9c2 broadcast addrs, and connect miner and client 2020-06-24 14:34:19 +02:00
Anton Evangelatov
e9402da131
fix ignored barrier (#58) 2020-06-24 14:33:31 +02:00
vyzo
04a945531c
Merge pull request #56 from filecoin-project/extract-subscriptions-and-check-for-errors
extract subscriptions for balances, genesis and preseals
2020-06-24 15:07:12 +03:00
Anton Evangelatov
ebd0e85d65 extract subscriptions 2020-06-24 13:10:35 +02:00
vyzo
2bfbc6a314
Merge pull request #55 from filecoin-project/fix/bug
use the role map, luke!
2020-06-24 14:07:21 +03:00
vyzo
0e924edf0e use the role map, luke! 2020-06-24 14:02:20 +03:00
vyzo
448bbf3710
generic test plan scaffolding, with baseline plan (#39)
* test plan scaffolding

* generify the testplan role dispatch

* manifest.toml

* initial go.mod and go.sum

* correct name

* gomod: update from build

* node construction in scaffolding

* fix test runner return type

* remove offending comments

* add initial composition, and fix context bug

* debug lines

* check errors from node construction

* specify Repo after Online option

* add power/proof type initialization code

* fix baseline composition

* use new docker-images (build/run) introduced in the #48 PR

* upgrade go-sdk to master (#51)

* fix types for run.InvokeMap

* fix miner actor sequence address

* explictly specify listen address for nodes on the data network

* make a separate full node for the miner

* initialize the wallet for the full node before creating the storage node

* go mod tidy

* also set the listen address for the miner node

* circleci to build the soup testplan

* extract topics

* test runner: pass the role map to doRun for generic runner

* use a wrapper TestEnvironment to encapsulate the runenv and initCtx

* embed RunEnv and InitContext into TestEnvironment for better ergonomics

* remove empty import

* extract stateReady

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
2020-06-24 12:52:23 +02:00
Raúl Kripalani
1907fe2a91
update team in README.md. 2020-06-23 20:00:14 +01:00
Anton Evangelatov
021c0386f8
add circleci build job (#52) 2020-06-23 19:59:39 +01:00
Yusef Napora
f72616981e
Merge pull request #43 from filecoin-project/feat/composer
Add "composer" configuration UI
2020-06-23 11:20:47 -04:00
Anton Evangelatov
6eddd62a73 handle get_host_ip on macos 2020-06-23 10:02:05 -04:00
Anton Evangelatov
306efa66c7 random fixes 2020-06-23 10:02:05 -04:00
Yusef Napora
0bfaa46ce7 add readme 2020-06-23 10:02:05 -04:00
Yusef Napora
91b9cdfae5 make sure each group gets its own param objects 2020-06-23 10:02:05 -04:00
Yusef Napora
6f12d797d2 stringify test params 2020-06-23 10:02:05 -04:00
Yusef Napora
86a4d6f607 allow renaming groups via ui 2020-06-23 10:02:05 -04:00
Yusef Napora
a60a4c507a fix groups for existing compositions 2020-06-23 10:02:05 -04:00
Yusef Napora
7bbde459f3 refactor groups ui 2020-06-23 10:02:05 -04:00
Yusef Napora
4a961401fc set default builder & runner from manifest 2020-06-23 10:02:05 -04:00
Yusef Napora
9eab4cfa0d new composition flow working e2e, some rough edges 2020-06-23 10:02:05 -04:00
Yusef Napora
92409c321c skip docker build if SKIP_BUILD is set 2020-06-23 10:02:05 -04:00
Yusef Napora
9e348c049b test runner working in docker 2020-06-23 10:02:05 -04:00
Yusef Napora
c9dbf908b5 build testground and copy to run image 2020-06-23 10:02:05 -04:00
Yusef Napora
202cdda358 update global config with manifest 2020-06-23 10:02:05 -04:00
Yusef Napora
6eae66728b create new composition or load existing 2020-06-23 10:02:05 -04:00
Yusef Napora
e262320348 launch panel server from docker 2020-06-23 10:02:05 -04:00
Yusef Napora
9323fd896a wip, jupyter in docker 2020-06-23 10:02:00 -04:00
Raúl Kripalani
f29141b855
simplify the docker build base and runtime images + remove the go.rice trickery (#48)
* adjust the prototype for building oni test plans.

- We no longer clone the entire lotus codebase.
- We only clone and build the ffi module in the build image.
- The runtime image no longer builds the ffi module.
- The runtime image uses go-paramfetch to fetch the parameters
  (which are not expected to change).
- We use filecoin-project/lotus#2097 to not have to deal with
  go.rice trickery for things we don't actually need to use.

* add filecoin-ffi submodule (commit ca281af); fix replace directive.

* remove stale file.

* tag build base images.

* fix build.sh.

* delete filecoin-ffi submodule from root.

* add filecoin-ffi submodule under extra/filecoin-ffi.

* adjust everything to use extra sources TG feature.
2020-06-23 15:20:47 +02:00
Anton Evangelatov
6f8706818d
move docker images (#47) 2020-06-22 19:14:45 +02:00
Anton Evangelatov
512915b4c9
use runtime image for lotus testplans (#35)
* use runtime image

* no need to compile with `make 2k`

* use new go-sdk /2 (#36)

* use new go-sdk

* use custom runtime image (#38)

* improve runtime image

* remove redundant runners

* enable go build cache

* remove replace lotus directive

* add git clone for lotus as part of manifest.toml

* use base build image

* compile `lotus-testground` on `current master` from Lotus (#41)

* automated scripts to build/push base build and runtime images

* go mod tidy and new version of lotus in manifest

* fix types

* fix storage miner (#42)

* fix storage miner

* update runtime image to ubuntu
2020-06-22 17:17:42 +02:00