zenground0
a82ac00d9a
Deflake snap deals integration test
2022-01-14 17:14:32 -05:00
zenground0
d6aa17e21f
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-14 17:14:32 -05:00
Jennifer Wang
e24b454a1f
Bump the master version to v1.13.3-dev
2022-01-14 17:14:32 -05:00
c r
7efaa708a6
reorder transfer
checks so as to ensure sending more money than you have to yourself fails with an error (fixing issue 7596)
...
PR #7637 , also adds tests to make sure behavior is correct across versions.
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
3a7c364562
Address review
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
393d8541e2
Update deps
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
1ef780d96f
Plug in the FFI call
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
a8cb027c08
Integrate v7 actors
2022-01-14 17:14:32 -05:00
Łukasz Magiera
4a874eff70
post workers: Cleanup, tests
2022-01-14 14:17:52 +01:00
Aarsh Shah
b9d3585f4c
get tests working
2022-01-12 16:55:45 +04:00
Aarsh Shah
3a52f05692
green ci
2022-01-12 15:53:15 +04:00
Aarsh Shah
edfc2c215c
Merge remote-tracking branch 'origin/main' into feat/cid-to-piece-idx
2022-01-12 12:48:54 +04:00
zenground0
c309686679
Fix TooManyMarkedForUpgrade
2022-01-10 15:39:38 +05:30
zenground0
3dc3f55ecb
Deflake more practically
2022-01-10 15:39:38 +05:30
zenground0
f59bfd65da
Deflake snap deals integration test
2022-01-10 15:39:38 +05:30
zenground0
33f2d24f54
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-10 15:39:38 +05:30
Darko Brdareski
dda1a42a2a
Merge branch 'bloxico/system-test-matrix' of https://github.com/filecoin-project/lotus into merge_lotus
2021-12-20 15:48:16 +01:00
Dirk McCormick
bb56e97177
fix: rename query-retrieval-ask to retrieval-ask
2021-12-17 18:01:12 +01:00
Dirk McCormick
b1734f84b3
feat: retrieval ask CLI command
2021-12-17 15:55:12 +01:00
Łukasz Magiera
a4728d3c72
Merge pull request #7578 from filecoin-project/rvagg/SimultaneousTransfersForStoragePerClient
...
feat(graphsync): allow setting of per-peer incoming requests for miners
2021-12-17 14:27:15 +01:00
Łukasz Magiera
bc384c01e3
Merge remote-tracking branch 'origin/master' into deps/update-ctx-dsbs
2021-12-17 13:01:22 +01:00
Rod Vagg
9e7d9affbe
feat(graphsync): allow setting of per-peer incoming requests for miners
2021-12-17 15:04:16 +11:00
Darko Brdareski
3e32aa896c
Annotate client storage deals feature
2021-12-16 14:36:02 +01:00
Darko Brdareski
2f1f35cc71
Annotate storage miner features
2021-12-15 15:30:42 +01:00
vyzo
fc7d4a13b0
fix itests
2021-12-14 16:06:59 +02:00
Darko Brdareski
a64f2421d2
Annotate 'incoming' subsystem
2021-12-14 11:33:33 +01:00
Aayush Rajasekaran
80d5e52923
Merge branch 'master' into next
2021-12-13 13:24:28 -05:00
Darko Brdareski
0addca1070
Fix bad annotations
2021-12-13 13:41:04 +01:00
Darko Brdareski
0169d0dafd
Annotate state feature tests
2021-12-10 16:08:25 +01:00
Darko Brdareski
95f86f9de0
Annotate feature syncer
2021-12-10 11:33:29 +01:00
zenground0
a5be80828a
RemoveData and Decode
...
- Unsealing replica update with sector key works and tested
- Sector key generation added and tested
2021-12-03 15:21:06 -05:00
c r
e16e9ad343
reorder transfer
checks so as to ensure sending more money than you have to yourself fails with an error (fixing issue 7596)
...
PR #7637 , also adds tests to make sure behavior is correct across versions.
2021-11-29 17:26:47 -05:00
Łukasz Magiera
5b5e6b9e44
retrieval: DagSpec.MatchPath -> ExportMerkleProof
2021-11-29 21:14:00 +01:00
Łukasz Magiera
227188e908
retrieval: Test non-matching path traversal
2021-11-29 20:52:55 +01:00
Łukasz Magiera
61791b90ea
retrieval: Only output matching nodes, MatchPath dagspec
2021-11-29 20:40:55 +01:00
Peter Rabbitson
407bf4961c
Modify preexisting test to reflect the simple-path car export behavior
...
I am open to having a flag or something, as long as the behavior reflected in
deals_partial_retrieval_dm-level_test.go can be preserved for v0, and opt-in for v1
2021-11-24 15:31:19 +01:00
Peter Rabbitson
46937a1b9f
Add tests cementing the DM-level behavior on simple paths
2021-11-24 15:31:15 +01:00
Łukasz Magiera
597b72e286
retrieval: Fix lint, cli docsgen
2021-11-22 12:46:29 +01:00
Łukasz Magiera
b83a9b902a
gofmt
2021-11-22 12:46:17 +01:00
Łukasz Magiera
b26906963b
retrieval: Support multi-root export
2021-11-22 12:46:17 +01:00
Łukasz Magiera
d0503d409f
fix TestPartialRetrieval
2021-11-22 12:46:04 +01:00
Łukasz Magiera
b868769ec8
more retrieval api work
2021-11-22 12:46:02 +01:00
Łukasz Magiera
89138bab4d
Simplify retrieval APIs
2021-11-22 12:45:42 +01:00
Aayush Rajasekaran
5f1783c9a5
Address review
2021-11-19 15:11:13 -05:00
Aarsh Shah
7655e660f3
integrate store-the-hash
2021-11-18 12:07:12 +04:00
Aayush Rajasekaran
8665e32221
Update deps
2021-11-17 15:55:14 -05:00
Aayush Rajasekaran
07f1be0ff6
Plug in the FFI call
2021-11-17 15:55:14 -05:00
Aayush Rajasekaran
1449644c34
Integrate v7 actors
2021-11-17 15:55:14 -05:00
Aarsh Shah
60fe55cdc0
fix lint and gen
2021-11-17 15:25:25 +04:00
Aarsh Shah
caf3cfa7d8
Merge branch 'feat/cid-to-piece-idx' into feat/indexer-provider
2021-11-17 11:43:49 +04:00
Aarsh Shah
bfee6699d2
update go mod and inject store the hash index in dagstore
2021-11-17 11:42:14 +04:00
Dirk McCormick
627d4fbf74
wip: storage miner index provider
2021-11-16 17:45:42 +01:00
Aarsh Shah
189f5f8aae
fix deals test
2021-11-12 09:43:42 +01:00
Dirk McCormick
e309293a47
fix: lint fixes
2021-11-12 09:43:42 +01:00
Aarsh Shah
4d87f16e95
better comparision in test
2021-11-12 09:43:42 +01:00
Aarsh Shah
053317e334
test for retrieval by any cid
2021-11-12 09:43:42 +01:00
Dirk McCormick
662c51605f
feat: retrieve from any cid (not just root cid)
2021-11-12 09:43:42 +01:00
Łukasz Magiera
19f52b4541
inline-gen: Slightly nicer comment format
2021-10-18 17:21:53 +02:00
Łukasz Magiera
9606dce425
Add inline-gen to itests
2021-10-18 17:17:54 +02:00
Anton Evangelatov
a19dbb8c91
remove log
2021-10-11 14:03:56 +02:00
Anton Evangelatov
6a3bb184b7
more tests for deals when provider has no funds in control addr
2021-10-11 14:03:56 +02:00
Anton Evangelatov
1acb6b4328
update CLI command to take arg; reduce time for itest
2021-10-11 14:03:56 +02:00
Anton Evangelatov
6e5ccc87cf
cli: add retry for deals stuck in Publish with no funds
2021-10-11 14:03:55 +02:00
Peter Rabbitson
f8ac98bf46
Adjust error wording
2021-10-05 18:16:14 +02:00
Peter Rabbitson
5e6aceeb0e
Merge remote-tracking branch 'origin/master' into feat/datamodel-selector-retrieval
2021-10-05 18:15:51 +02:00
Jiaying Wang
cbb147de23
Merge pull request #7405 from filecoin-project/feat/update-graphsync-0.10.0
...
Update to graphsync to v0.10.0, enable seperate storage and retrieval transfer limits
2021-10-05 11:50:59 -04:00
hannahhoward
368d72ebfe
feat(graphsync): update to v0.10.0-rc1
...
also add config changes
2021-10-05 14:13:58 +11:00
Peter Rabbitson
af0d9b650d
Error on corner cases with corresponding negative tests
2021-10-04 23:21:24 +02:00
Peter Rabbitson
2a1094fc17
Merge banch feat/go-fil-markets-v1.13.0 into feat/datamodel-selector-retrieval
2021-10-04 21:56:11 +02:00
Jennifer Wang
38e01cba83
Merge branch 'release/v1.12.0' into jen/12tomaster
2021-10-04 02:38:00 -04:00
Aayush Rajasekaran
f004d036dc
Set BatchPreCommitAboveBaseFee correctly
2021-10-01 14:23:41 -04:00
Łukasz Magiera
8e0314b3a3
Merge pull request #7362 from filecoin-project/chore/update-libp2p
...
Update go-libp2p to v0.15.0
2021-09-23 14:24:12 +01:00
Aayush Rajasekaran
b9bfcc4b69
Randomness: Move getters from ChainAPI to StateAPI
2021-09-21 14:20:15 -04:00
Aarsh Shah
89ac8b09b5
update libp2p
2021-09-21 15:10:04 +04:00
Aayush Rajasekaran
1d6db306ec
Randomness: Move getters from ChainAPI to StateAPI
2021-09-15 00:03:13 +02:00
Peter Rabbitson
0444435589
Expose basic text-based datamodel selector on retrieval
...
Syntaxt of selection is located at
https://pkg.go.dev/github.com/ipld/go-ipld-selector-text-lite#SelectorSpecFromPath
Example use, assuming that:
- The root of the deal is a plain dag-pb unixfs directory
- The directory is not sharded
- The user wants to retrieve the first entry in that directory
lotus client retrieve --miner f0XXXXX --datamodel-path-selector 'Links/0/Hash' bafyROOTCID ~/output
For a much more elaborate example see the top of ./itests/deals_partial_retrieval_test.go
2021-09-10 09:44:11 +02:00
Anton Evangelatov
567d0546ec
itests: remove equality comparison for cids
2021-09-07 10:57:10 +02:00
Anton Evangelatov
992cc3ffbf
itests: MaxStagingDealsBytes integration test
2021-09-06 17:39:35 +02:00
Łukasz Magiera
95b128b7bc
chain: Cleanup consensus logic
2021-09-02 18:09:37 +02:00
Steven Allen
003eae81ce
fix: address review
2021-08-30 16:43:21 -07:00
Steven Allen
3846170302
refactor events system
2021-08-30 16:43:21 -07:00
Steven Allen
43bbde1e6b
fix: close chain head subscription when the reader is slow
...
The reader can just re-subscribe when they're ready to catch up. This
prevents a slow reader from bogging down the entire system.
2021-08-30 16:43:21 -07:00
Dirk McCormick
7b7a5b0b21
revert: changes to OnDealExpiredOrChanged in #5431 #7201
2021-08-30 10:42:41 +02:00
Dirk McCormick
07dcb074f8
fix: catch deal slashed because sector was terminated
2021-08-27 12:56:23 +02:00
dirkmc
77a19774cf
fix events API timeout handling for nil blocks ( #7184 )
2021-08-27 09:05:00 +02:00
Steven Allen
1105c24e8c
test: disable flaky TestBatchDealInput
...
See #4611 .
2021-08-24 15:37:52 -07:00
Steven Allen
b509f1f098
Merge pull request #7148 from filecoin-project/raulk/test-large-deals
...
itests: support larger sector sizes; add large deal test.
2021-08-24 12:21:11 -07:00
Steven Allen
2a4ad207a5
test: disable flaky TestSimultaneousTransferLimit
...
See https://github.com/filecoin-project/lotus/issues/7152 for details.
2021-08-20 14:59:01 -07:00
Raúl Kripalani
342134f853
EnableLargeSectors: restore previous supported proof types.
2021-08-20 18:07:25 +01:00
Raúl Kripalani
0030e208a0
avoid reordering imports.
2021-08-20 15:59:19 +01:00
Raúl Kripalani
2dde022a00
itests: support larger sector sizes; add large deal test.
2021-08-20 15:53:24 +01:00
Aarsh Shah
d7076778e2
integrate DAG store and CARv2 in deal-making ( #6671 )
...
This commit removes badger from the deal-making processes, and
moves to a new architecture with the dagstore as the cental
component on the miner-side, and CARv2s on the client-side.
Every deal that has been handed off to the sealing subsystem becomes
a shard in the dagstore. Shards are mounted via the LotusMount, which
teaches the dagstore how to load the related piece when serving
retrievals.
When the miner starts the Lotus for the first time with this patch,
we will perform a one-time migration of all active deals into the
dagstore. This is a lightweight process, and it consists simply
of registering the shards in the dagstore.
Shards are backed by the unsealed copy of the piece. This is currently
a CARv1. However, the dagstore keeps CARv2 indices for all pieces, so
when it's time to acquire a shard to serve a retrieval, the unsealed
CARv1 is joined with its index (safeguarded by the dagstore), to form
a read-only blockstore, thus taking the place of the monolithic
badger.
Data transfers have been adjusted to interface directly with CARv2 files.
On inbound transfers (client retrievals, miner storage deals), we stream
the received data into a CARv2 ReadWrite blockstore. On outbound transfers
(client storage deals, miner retrievals), we serve the data off a CARv2
ReadOnly blockstore.
Client-side imports are managed by the refactored *imports.Manager
component (when not using IPFS integration). Just like it before, we use
the go-filestore library to avoid duplicating the data from the original
file in the resulting UnixFS DAG (concretely the leaves). However, the
target of those imports are what we call "ref-CARv2s": CARv2 files placed
under the `$LOTUS_PATH/imports` directory, containing the intermediate
nodes in full, and the leaves as positional references to the original file
on disk.
Client-side retrievals are placed into CARv2 files in the location:
`$LOTUS_PATH/retrievals`.
A new set of `Dagstore*` JSON-RPC operations and `lotus-miner dagstore`
subcommands have been introduced on the miner-side to inspect and manage
the dagstore.
Despite moving to a CARv2-backed system, the IPFS integration has been
respected, and it continues to be possible to make storage deals with data
held in an IPFS node, and to perform retrievals directly into an IPFS node.
NOTE: because the "staging" and "client" Badger blockstores are no longer
used, existing imports on the client will be rendered useless. On startup,
Lotus will enumerate all imports and print WARN statements on the log for
each import that needs to be reimported. These log lines contain these
messages:
- import lacks carv2 path; import will not work; please reimport
- import has missing/broken carv2; please reimport
At the end, we will print a "sanity check completed" message indicating
the count of imports found, and how many were deemed broken.
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Dirk McCormick <dirkmdev@gmail.com>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
Co-authored-by: Dirk McCormick <dirkmdev@gmail.com>
2021-08-16 23:34:32 +01:00
ZenGround0
ce58b119bf
Merge pull request #7038 from filecoin-project/spike/restrict-api-versions
...
Strict major minor version checking on v0 and v1 apis
2021-08-12 14:34:31 -04:00
ZenGround0
2d8c9bba99
more fix
2021-08-12 14:03:19 -04:00
ZenGround0
c8720fef02
Fix tests
2021-08-12 14:01:24 -04:00
Steven Allen
dcff06bd91
test: genesis actors version
...
Properly handle genesis in actors tests. Fast-forward upgrading to
actors v13 doesn't work because there needs to be at least a day between
v0 genesis and v13 (due to differences in miner cron).
2021-08-11 13:30:15 -07:00
Steven Allen
b885d69aaa
chore: disable flaky test
2021-07-30 09:01:31 -07:00
ZenGround0
823bd54484
Review
2021-07-29 20:48:27 -07:00
ZenGround0
756e5ac0b8
Add a separate node to ensemble and check propagation reached
2021-07-29 20:48:27 -07:00
ZenGround0
7c99169fb4
Fix
2021-07-29 20:48:27 -07:00
ZenGround0
2380d252e1
Post rebase fix
2021-07-29 20:48:27 -07:00
ZenGround0
f2f6c209ea
Integration test forcing max batch size
2021-07-29 20:48:27 -07:00
Peter Rabbitson
39325e5463
Merge branch 'master' into feat/allow_padding_redux
2021-07-26 20:53:27 +02:00
Peter Rabbitson
8d873e3edc
Tests for online and offline dealpadding
...
Also bump the times on several flaky tests that can not complete in time
on a typical laptop ( and fail half the time on CircleCI )
2021-07-24 17:46:04 +02:00
Raúl Kripalani
8693df4656
fix racy TestSimultanenousTransferLimit.
2021-07-24 12:53:56 +01:00
Peter Rabbitson
2edf7fd25b
Rewire itest's StartDeal to take the full API struct
...
This allows one to use the harness for much more versatile deal conditions
2021-07-24 04:17:42 +02:00
raulk
4ffbb03a82
Merge branch 'master' into raulk/merge-gs-fix
2021-07-22 23:37:17 +01:00
Łukasz Magiera
660829703a
Merge remote-tracking branch 'origin/master' into feat/split-net-api
2021-07-22 15:38:06 +02:00
Łukasz Magiera
0236f2ec5d
Merge pull request #6802 from filecoin-project/fix/6786-rest
...
fix: always check if StateSearchMessage returns nil
2021-07-21 15:05:57 +02:00
Steven Allen
38919f59ad
test: fix flaky window post tests
...
Wait until the network upgrade is finished. If we try to seal while it's
happening, we have a few annoying edge cases that can fail if we try to
submit some messages right on the upgrade epoch (which is why everyone
turns that kind of stuff off for the upgrade epoch).
2021-07-20 16:31:14 -07:00
Steven Allen
f9c759fcb2
fix: always check if StateSearchMessage returns nil
...
It returns nil on "not found".
Fixes the cases not covered in:
https://github.com/filecoin-project/lotus/pull/6787
2021-07-20 11:28:27 -07:00
Raúl Kripalani
5e66960ab6
fix merge error.
2021-07-20 17:51:09 +01:00
raulk
353ccf0c55
Merge branch 'raulk/merge-gs-fix' into raulk/merge-gs-fix-simultaneous-fix
2021-07-20 17:37:51 +01:00
Raúl Kripalani
c1b304b633
update graphsync.
2021-07-20 15:43:44 +01:00
hannahhoward
3b4df5e10d
fix(itests): fix simultaneous transfer logic
...
limit parallelism on client side and also fix the issue with how ongoing transfers are detected
2021-07-16 11:46:03 -07:00
Raúl Kripalani
089bcceb33
remove test concurrency guardrails.
2021-07-16 19:09:56 +01:00
Raúl Kripalani
9042429abd
Merge branch 'master' into raulk/merge-gs-fix
2021-07-16 18:19:50 +01:00
Raúl Kripalani
aeb8e57eef
use https://github.com/ipfs/go-graphsync/pull/176 .
2021-07-16 18:17:34 +01:00
Raúl Kripalani
b2feb7e960
upgrade go-fil-markets, go-data-transfer; add logging.
2021-07-16 17:30:45 +01:00
Łukasz Magiera
49e26cce7d
api: Separate the Net interface from Common
2021-07-15 11:41:30 +02:00
hunjixin
b2f8b4011a
fix imports
2021-07-15 14:52:12 +08:00
hunjixin
3e9ec01d04
rm fmt
2021-07-15 14:52:12 +08:00
hunjixin
a48a6a168a
add test for new api
2021-07-15 14:52:12 +08:00
hunjixin
ac03c01e4a
test for messages in tipset
2021-07-15 14:52:12 +08:00
Łukasz Magiera
583a8a13d9
Merge pull request #6629 from filecoin-project/feat/pledge-from-miner-balance
...
Config for collateral from miner available balance
2021-07-13 17:22:00 +02:00
Łukasz Magiera
7526a074d9
sealing: collateral buffer / falback config
2021-07-13 17:04:58 +02:00
Łukasz Magiera
83f2368507
Add CollateralFromMinerBalance config
2021-07-12 14:11:58 +02:00
Anton Evangelatov
4bc9fa04ba
rename cfg.Subsystems.EnableStorageMarket to EnableMarkets
2021-07-12 12:12:29 +02:00
Anton Evangelatov
d89ddb9315
resolve conflicts
2021-07-12 11:34:37 +02:00
Raúl Kripalani
71ddf73f44
check if merging ipfs/go-graphsync#177 fixes deal concurrency.
2021-07-10 10:48:18 +01:00
Łukasz Magiera
9bdea91a70
itests: Some kit cleanup
2021-07-07 21:40:44 +02:00
Łukasz Magiera
d0e87a7487
dealpublisher: Fix provider address checks
2021-07-07 20:06:49 +02:00
Łukasz Magiera
2dc27d6ab4
itests: Fix deal provider collateral flakiness
2021-07-07 19:41:46 +02:00
Łukasz Magiera
ee97aa0a8a
dealpublisher: Use address selector
2021-07-07 19:12:03 +02:00
Anton Evangelatov
6b014f57e5
pass Subsystems to StorageMiner option; add enableLibp2p bool in Settings
2021-07-07 13:56:37 +02:00
Anton Evangelatov
caa366bc6a
variadic WithSubsystems
2021-07-07 13:35:40 +02:00
Anton Evangelatov
566a9d5541
fix signature
2021-07-06 18:12:30 +02:00
Anton Evangelatov
2a7af38538
fix testServ to Start with correct listener
2021-07-06 17:57:08 +02:00
Anton Evangelatov
7a78527fde
remove not used sa; cleanup
2021-07-06 17:46:21 +02:00
Anton Evangelatov
8cf3accc53
Update itests/kit/ensemble.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-07-06 17:25:33 +02:00
Anton Evangelatov
9839d5701b
fix SectorsStatus to query full node for on-chain data
2021-07-06 15:41:14 +02:00
Anton Evangelatov
5a87f04e71
fix finalize sectors early test
2021-07-05 13:36:23 +02:00
Anton Evangelatov
4be0a7a215
resolve conflicts with master
2021-07-05 13:13:32 +02:00
Łukasz Magiera
13d4563c25
Merge pull request #6663 from filecoin-project/raulk/test-incremental-nonce
...
add an incremental nonce itest.
2021-07-02 23:33:52 +02:00
Łukasz Magiera
8a94ab676e
storage: Fix FinalizeSector with sectors in stoage paths
2021-07-02 19:54:45 +02:00
Raúl Kripalani
592b8c4f4a
add an incremental nonce itest.
2021-07-02 17:04:13 +01:00
Anton Evangelatov
724f728f60
enable more tests
2021-07-02 14:54:09 +02:00
Anton Evangelatov
9e85492b85
fix test
2021-07-02 12:24:07 +02:00
Anton Evangelatov
3aa6d03cc1
connect miner to full node , only when running markets
2021-06-30 16:45:11 +02:00
Anton Evangelatov
4f0a96c9c7
resolved conflicts
2021-06-30 13:16:52 +02:00
Anton Evangelatov
9ec7cd7239
enable libp2p options
2021-06-30 12:55:43 +02:00
Łukasz Magiera
e9dd3e8650
Test Miner SimultaneousTransfers
2021-06-28 18:17:29 +02:00
Raúl Kripalani
6a48fbbc11
increase suspension threshold to 300.
2021-06-23 19:21:42 +01:00
Raúl Kripalani
58f348cb7f
add ability to suspend deal-making until CE is stable.
2021-06-23 19:14:27 +01:00
Raúl Kripalani
9b3188d110
split deals tests.
2021-06-23 18:13:29 +01:00
Raúl Kripalani
f4d0db83d8
Merge branch 'raulk/circleci-dynamic' into raulk/itests-refactor-kit
2021-06-23 17:33:17 +01:00
Raúl Kripalani
211751f8b8
declare some tests as expensive.
2021-06-23 16:37:43 +01:00
Anton Evangelatov
a8d5ae5213
enable more tests
2021-06-23 13:39:03 +02:00
Anton Evangelatov
4217ec5308
make auth on remote rpc server optional
2021-06-23 13:27:03 +02:00
Anton Evangelatov
21b51328f9
adding TestDealWithMarketAndMinerNode
2021-06-23 12:44:52 +02:00
Anton Evangelatov
99646d209e
fix TestFirstDealEnablesMining
2021-06-23 11:56:09 +02:00
Anton Evangelatov
7fb93d4585
refactor kit.NewDealHarness to include main miner and market node
2021-06-23 11:24:55 +02:00
Anton Evangelatov
51a4657ef7
fix SDR test
2021-06-23 11:19:25 +02:00
Anton Evangelatov
d98eca7260
Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes
2021-06-23 10:58:37 +02:00
Raúl Kripalani
b74ad796ce
fix dangling import.
2021-06-22 21:39:20 +01:00
Raúl Kripalani
539f8c1f61
fix test that references private symbols; avoid hacky test selection flags.
2021-06-22 21:39:20 +01:00
Raúl Kripalani
2e9e1c2330
avoid double BlockMiner instantiation.
2021-06-22 18:15:38 +01:00
Raúl Kripalani
120dd14979
avoid double close.
2021-06-22 17:18:07 +01:00
Raúl Kripalani
9b2efd5ace
try to deflake window post itests.
2021-06-22 17:07:14 +01:00
Anton Evangelatov
fc7feffaad
Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes
2021-06-22 17:37:50 +02:00
Raúl Kripalani
098eb6bfff
try using bg context on constructor.
2021-06-22 16:36:06 +01:00
Raúl Kripalani
71a7270c98
cleanup gateway RPC.
2021-06-22 16:36:06 +01:00
Raúl Kripalani
2a58f830c0
fix sector_terminate_test.go flakiness.
2021-06-22 16:36:06 +01:00
Anton Evangelatov
aa584475cc
fix paych and sdr tests
2021-06-22 16:48:07 +02:00
Anton Evangelatov
218c9199f3
fix testNonGenesisMiner
2021-06-22 15:51:50 +02:00
Anton Evangelatov
4f2d8b0a85
add all subsystems to deadlines and wdpost_dispute tests
2021-06-22 15:35:46 +02:00
Anton Evangelatov
a828b15fbe
revert MockSectorMgr
2021-06-22 15:22:08 +02:00
Anton Evangelatov
9567807144
Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes
2021-06-22 14:39:28 +02:00
Dirk McCormick
da789939b1
fix: bump blocktime of TestQuotePriceForUnsealedRetrieval to 1 second
2021-06-22 14:33:44 +02:00
Anton Evangelatov
b0d1668ab9
comment out preseal sectors
2021-06-22 13:34:45 +02:00
Anton Evangelatov
00618672f5
policy.SetPreCommitChallengeDelay to reduce WaitSeed stage time
2021-06-22 13:08:36 +02:00
Anton Evangelatov
5e10d53ca8
wip
2021-06-22 12:16:21 +02:00
Anton Evangelatov
6720463799
resolve merge conflicts
2021-06-22 11:28:23 +02:00
Raúl Kripalani
bb032b526c
switch back to ws API.
2021-06-21 23:24:59 +01:00
Raúl Kripalani
0e2d06fc39
switch to http API.
2021-06-21 23:10:17 +01:00
Raúl Kripalani
502e104e6a
typo.
2021-06-21 21:35:39 +01:00
Raúl Kripalani
e438ef99f8
fix merge error in window post dispute tests.
2021-06-21 21:25:55 +01:00
Raúl Kripalani
4fcd0b7aca
disable resource filtering on scheduler.
2021-06-21 21:20:45 +01:00
Raúl Kripalani
b7a5e3cd0f
Merge branch 'raulk/worker-disable-resource-filtering' into raulk/itests-refactor-kit
2021-06-21 21:09:04 +01:00
Raúl Kripalani
b6147fb27f
extern/storage: retype resource filtering strategy to enum.
2021-06-21 20:28:15 +01:00
Raúl Kripalani
f3b6f8de1a
add ability to ignore worker resources when scheduling.
2021-06-21 20:08:18 +01:00
Raúl Kripalani
c22e10c4a4
use mock proofs in TestQuotePriceForUnsealedRetrieval.
2021-06-21 18:29:25 +01:00
Raúl Kripalani
132b49728c
Merge branch 'master' into raulk/itests-refactor-kit
2021-06-21 18:26:04 +01:00
Raúl Kripalani
70929a99e6
speed up test.
2021-06-21 18:24:39 +01:00
Raúl Kripalani
00fa3878d4
remove debug statement.
2021-06-21 18:22:08 +01:00
Raúl Kripalani
0879ac496f
uncomment lines in TestDealCyclesConcurrent.
2021-06-21 18:21:10 +01:00
Raúl Kripalani
83ee345b1c
Merge branch 'master' into raulk/itests-refactor-kit
2021-06-21 18:19:26 +01:00
Łukasz Magiera
b37a66c7c9
Merge remote-tracking branch 'origin/release/v1.10.0' into chore/merge-1.10
2021-06-21 17:03:03 +02:00
Raúl Kripalani
d1b291de5e
fix proof types.
2021-06-21 13:24:25 +01:00
Raúl Kripalani
8a418bf982
rename {kit2=>kit}.
2021-06-18 19:45:29 +01:00
Raúl Kripalani
a7d8d15c13
kill old kit 🎉
2021-06-18 19:42:06 +01:00
raulk
a8bf7e7bad
Merge pull request #6510 from filecoin-project/refactor/itest-wdpost-dispute
2021-06-18 19:40:12 +01:00
Raúl Kripalani
718babd33a
use miner owner address when posting proofs.
2021-06-18 19:38:17 +01:00
Raúl Kripalani
9604be6d2f
Merge branch 'raulk/itests-refactor-kit' into refactor/itest-wdpost-dispute
2021-06-18 19:29:18 +01:00
Raúl Kripalani
3d8eb374bd
cleaner instantiation of lite and gateway nodes + general cleanup.
2021-06-18 19:23:42 +01:00
Raúl Kripalani
3ae42d4648
Merge branch 'raulk/itests-refactor-kit' into refactor/itest-multisig
2021-06-18 19:08:07 +01:00
Raúl Kripalani
5548541e1a
fix default proof type to use for non-genesis miners.
...
We need to instantiate non-genesis miners with a _concrete_
proof type.
2021-06-18 18:10:42 +01:00
Anton Evangelatov
577b730415
wip
2021-06-18 18:42:34 +02:00
Raúl Kripalani
4c2cc8e5f7
Merge branch 'raulk/itests-refactor-kit' into refactor/itest-deadling-toggling
2021-06-18 16:20:15 +01:00
Raúl Kripalani
e85af3cba7
fix merge error.
2021-06-18 16:19:58 +01:00
Raúl Kripalani
32327c7d43
Merge branch 'raulk/itests-refactor-kit' into refactor/itest-deadling-toggling
2021-06-18 11:22:12 +01:00
Anton Evangelatov
89df3cc207
Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes
2021-06-18 12:07:15 +02:00
Raúl Kripalani
2548c224c7
switch to TestFullNode#WaitTillChain.
2021-06-18 10:27:20 +01:00
Raúl Kripalani
21848054d7
Merge branch 'raulk/itests-refactor-kit' into refactor/itest-wdpost
2021-06-18 10:26:17 +01:00
Raúl Kripalani
9436be5ff0
introduce TestFullNode#WaitTillChain(predicate).
2021-06-17 22:02:20 +01:00
Anton Evangelatov
338bd042b9
Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes
2021-06-17 18:12:48 +02:00
Dirk McCormick
7a9769b807
refactor: deadline toggling test to kit2
2021-06-17 14:58:35 +02:00
Dirk McCormick
3de6beabe3
refactor: wdpost dispute test to use kit2
2021-06-17 14:31:57 +02:00
Dirk McCormick
e9325fecc5
refactor: wdpost test to kit2
2021-06-17 14:31:20 +02:00
Dirk McCormick
6567887e6e
refactor: sector terminate test to kit2
2021-06-17 14:27:44 +02:00
Dirk McCormick
8f608dff45
refactor: sector pledge test to use kit2
2021-06-17 09:37:35 +02:00
Raúl Kripalani
f1bf080e04
Merge branch 'raulk/itests-refactor-kit' into refactor/itest-multisig
2021-06-16 20:00:11 +01:00
Raúl Kripalani
8ed753a712
rename RootVerifier option.
2021-06-16 18:16:59 +01:00
Raúl Kripalani
a3015ca9c2
Merge branch 'raulk/itests-refactor-kit' into refactor/itest-verifreg
2021-06-16 18:12:51 +01:00
Raúl Kripalani
d2ff0cd88e
fix verifreg test; add VerifierRootKey() and Account() ensemble opts.
2021-06-16 18:11:34 +01:00
raulk
30148477a7
Merge pull request #6470 from filecoin-project/refactor/ccupgrade-test
2021-06-16 16:20:54 +01:00
Dirk McCormick
4ea73b4088
refactor: use genesis preseals from kit2
2021-06-16 14:42:28 +02:00
Raúl Kripalani
305e3245b6
Merge branch 'master' into raulk/itests-refactor-kit
2021-06-16 11:02:16 +01:00
raulk
fea5afd615
Merge pull request #6468 from filecoin-project/refactor/itest-tape
...
Refactor tape test to kit2
2021-06-16 10:58:08 +01:00
raulk
06cb3cf132
Merge pull request #6488 from filecoin-project/refactor/itest-sdr-upgrade
2021-06-16 10:49:03 +01:00
raulk
1d768a823f
Merge pull request #6484 from filecoin-project/refactor/itest-paych-cli
...
refactor paych cli tests to use kit2
2021-06-16 10:45:53 +01:00
raulk
a0894a866d
Merge pull request #6464 from filecoin-project/refactor/itest-cli
...
Refactor cli test to kit2
2021-06-16 10:42:29 +01:00
Dirk McCormick
cd903bec5e
refactor: sdr upgrade test to use kit2
2021-06-15 17:30:51 +02:00
Dirk McCormick
cd53942525
refactor: batch deal test to use kit2
2021-06-15 15:38:09 +02:00
Dirk McCormick
2267d15a0f
refactor: update paych cli tests to use kit2
2021-06-15 14:37:03 +02:00
Dirk McCormick
5ce482b817
refactor: change network upgrade NodeOption to node.Option
2021-06-15 13:53:41 +02:00
Dirk McCormick
16cad0e01a
refactor: convert gateway tests to kit2
2021-06-15 11:46:32 +02:00
Dirk McCormick
2d5b798763
refactor: cli test with kit2
2021-06-15 09:08:56 +02:00
Dirk McCormick
4cd0964ab1
refactor: replace if err with require
2021-06-15 08:27:02 +02:00
Dirk McCormick
803a3df6b4
refactor: ccupgrade test
2021-06-15 08:21:02 +02:00
Raúl Kripalani
c27f3deadd
start mining way more in the past.
2021-06-15 08:19:29 +02:00
Dirk McCormick
0bb5fffd88
refactor: clean up code
2021-06-15 08:09:14 +02:00
Raúl Kripalani
dae8be0881
migrate to require; use t.Log* instead of fmt.Print*.
2021-06-14 18:59:15 +01:00
Raúl Kripalani
8a7dba11bd
add comment.
2021-06-14 18:58:40 +01:00
Raúl Kripalani
6fb31a34b3
start mining way more in the past.
2021-06-14 18:58:12 +01:00
Dirk McCormick
eb5a263d74
refactor: convert verifreg test to kit2
2021-06-14 16:19:20 +02:00
Dirk McCormick
d2c35db0c9
refactor: convert tape test to kit2
2021-06-14 15:51:10 +02:00
Dirk McCormick
7b00b1828b
refactor: convert paych to kit2
2021-06-14 15:28:05 +02:00
Dirk McCormick
86cca7303d
refactor: convert multisig tests to kit2
2021-06-14 14:03:08 +02:00
Dirk McCormick
d94a19ff65
refactor: cli test with kit2
2021-06-14 12:07:50 +02:00
Anton Evangelatov
31e6fb154e
resolve conflicts
2021-06-14 11:27:54 +02:00
aarshkshah1992
3d086dfb43
changes as per review
2021-06-14 09:40:34 +05:30
Raúl Kripalani
ac67e466ec
fix test.
2021-06-14 00:13:15 +01:00
Raúl Kripalani
f1ec0d6094
fix lint.
2021-06-14 00:10:37 +01:00
Raúl Kripalani
183814a826
finish migrating deals test.
2021-06-13 23:43:22 +01:00
Raúl Kripalani
e84b8ab3a0
move new kit into kit2, re-enable unmigrated tests against kit1.
2021-06-11 18:26:25 +01:00
aarshkshah1992
fed5afa704
merge master
2021-06-11 09:35:20 +05:30
Raúl Kripalani
8b037e2da3
deals tests: migrate deals cycles tests and add coverage.
2021-06-10 18:25:02 +01:00
Raúl Kripalani
dcd6fc239b
deals tests: migrate TestOfflineDealFlow.
2021-06-10 15:54:16 +01:00
Raúl Kripalani
4f2aaa54d2
deals tests: refactor/simplify TestDealMining; now TestFirstDealEnablesMining.
2021-06-10 14:04:39 +01:00
Raúl Kripalani
329970934a
deals tests: begin migration.
2021-06-10 13:25:36 +01:00
Raúl Kripalani
cf0150e057
deals harness: use require.
2021-06-10 12:23:27 +01:00
Raúl Kripalani
c27fdc263c
deals harness: more improvements.
2021-06-10 12:22:55 +01:00
Raúl Kripalani
0d69c03a8d
deals harness: use require.
2021-06-10 12:17:39 +01:00
Raúl Kripalani
0303a0297d
rename DealHarness.{TestRetrieval=>PerformRetrieval}.
2021-06-10 12:15:03 +01:00
Raúl Kripalani
019394b9e5
remove debug statements.
2021-06-10 12:14:37 +01:00
Raúl Kripalani
d3fc6833a5
itests/kit: add guard to ensure imports from tests only.
2021-06-10 12:05:35 +01:00
Raúl Kripalani
bcbbd73d65
Merge branch 'raulk/itests' into raulk/itests-refactor-kit
2021-06-10 12:02:08 +01:00
Raúl Kripalani
fd783a6862
fix gateway URL.
2021-06-10 00:15:29 +01:00
Raúl Kripalani
39c19a0fe5
fix a merge error.
2021-06-10 00:15:29 +01:00
Raúl Kripalani
8ea7398d38
pacify gotestsum by adding a normal go file.
2021-06-10 00:15:29 +01:00
Raúl Kripalani
6d46be53bd
make tests no longer create auth tokens.
2021-06-10 00:15:29 +01:00
Raúl Kripalani
6e4eae69ac
fix merge error that led to test failures.
2021-06-09 23:11:34 +01:00
Raúl Kripalani
7df3f3755d
itests: move init.
2021-06-09 17:32:08 +01:00
Raúl Kripalani
d1f749a808
fix log.
2021-06-09 00:46:57 +01:00
Raúl Kripalani
9eecbb1b20
fix rpc tests.
2021-06-09 00:17:39 +01:00
Raúl Kripalani
cd6f91ba6f
fix lint.
2021-06-07 23:47:38 +01:00
Raúl Kripalani
a274fcc533
Merge branch 'master' into raulk/itests
2021-06-07 23:44:22 +01:00
Raúl Kripalani
db1a61852d
Merge branch 'master' into raulk/itests
2021-06-07 23:17:44 +01:00
Raúl Kripalani
2bcedcf55f
initial version of the new itest kit.
...
Still need to migrate all integration tests, add godocs,
and probably zap bugs.
2021-05-26 00:04:13 +01:00
Raúl Kripalani
75c88d0385
make gateway tests use gateway rpc setup methods.
2021-05-23 18:57:04 +01:00
Raúl Kripalani
f08c792686
minor renames.
2021-05-21 20:39:41 +01:00
Raúl Kripalani
416340d227
fix paych test; re-add pubsub bootstrapping.
2021-05-21 19:46:58 +01:00
Raúl Kripalani
63f929541f
itests: fix gateway tests parameters.
2021-05-21 17:20:56 +01:00
Raúl Kripalani
bf36891972
fix lint errors.
2021-05-21 15:02:03 +01:00
Raúl Kripalani
2e9b0f0895
adapt cmd/lotus-storage-miner tests.
2021-05-21 14:52:30 +01:00
Raúl Kripalani
b56568d720
fix client tests.
2021-05-21 13:56:04 +01:00
Raúl Kripalani
20dfe220f3
fix lifecycle of BlockMiner.
2021-05-21 13:39:09 +01:00
Raúl Kripalani
25daa0c8e4
itests: create deal harness.
2021-05-20 16:12:42 +01:00
Raúl Kripalani
1902c4c687
itests: rename Builder methods.
2021-05-20 12:17:41 +01:00
Raúl Kripalani
06b8ee5b95
Merge branch 'master' into raulk/itests
2021-05-20 11:56:43 +01:00
Raúl Kripalani
2a70ff96bf
move the gateway test to itests package.
2021-05-19 17:34:48 +01:00
Raúl Kripalani
6f4349064a
fix bad rename.
2021-05-19 17:30:43 +01:00
Raúl Kripalani
5d34c8b7da
wip move MineUntilBlock under BlockMiner; other simplifications.
2021-05-19 17:30:43 +01:00
Raúl Kripalani
2a71c47397
simplify BlockMiner.
2021-05-19 17:30:43 +01:00
Raúl Kripalani
0cfef0fdbb
wip extract test kit.
2021-05-19 17:30:43 +01:00
Raúl Kripalani
41d0818347
wip pull all integration tests under itests/
2021-05-19 17:30:43 +01:00
Raúl Kripalani
c46d4ae529
wip
2021-05-19 17:30:43 +01:00