William Banfield
161611cb3c
e2e: configurable IP addresses for e2e testnet generator (backport #9592 ) ( #9623 )
...
* e2e: configurable IP addresses for e2e testnet generator (backport #9592 )
* resurrect 'misbehavior'
2022-11-03 10:42:10 -04:00
mergify[bot]
e914fe40ec
ci: Fix linter complaint (backport #9645 ) ( #9647 )
...
* ci: Fix linter complaint (#9645 )
Fixes a very silly linter complaint that makes absolutely no sense and is blocking the merging of several PRs.
---
#### PR checklist
- [x] Tests written/updated, or no tests needed
- [x] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [x] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
(cherry picked from commit 83b7f4ad5b )
# Conflicts:
# .github/workflows/lint.yml
# .golangci.yml
# cmd/tendermint/commands/debug/util.go
* Resolve conflicts
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ci: Sync golangci-lint config with main
Minus the spelling configuration that restricts spelling to US English
only.
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* make format
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove usage of deprecated io/ioutil package
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove unused mockBlockStore
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* blockchain/v2: Remove unused method
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Bulk fix lints
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* lint: Ignore auto-generated query PEG
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-10-29 08:58:18 -04:00
samricotta
dad439f115
Bump linter to 1.47 ( #9218 )
...
*bump linter to 1.47
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-08-11 15:53:17 +02:00
samricotta
fbd754b4de
Backport of sam/abci-responses ( #9090 ) ( #9159 )
...
*backport of sam/abci-responses
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-08-11 10:41:41 +02:00
Aleksandr Bezobchuk
6b7d30cf37
feat: v0.34.x Prioritized Mempool ( #8695 )
...
* Updated mocks
* add reactor tests
* add v1 reactor tests
* Fix fuzz test for priority mempool
* e2e adapted to mempool v1; prio pool is default now
* Reverted default mempool to be fifo
* Changed buf version
* Added priority mempool to ci testnet
* Fixed linter
* Updated makefile
* Aligned makefile changes to v0.34.x
* Added go install for proto
* Add log message to warn about prioritized mempool bug
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Changelog message
Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com >
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: Sam Kleinman <garen@tychoish.com >
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-06-27 11:34:28 +02:00
Joe Abbey
4a1df4911d
fix: "Lazy" Stringers to defer Sprintf and Hash until logs print ( #8845 )
2022-06-23 14:56:34 -04:00
mergify[bot]
db60bbad54
statesync: assert app version matches (backport #7856 ) ( #7885 )
2022-02-23 12:17:12 +01:00
mergify[bot]
4023580a25
e2e: cleanup node start function ( #6842 ) ( #6848 )
...
I realized after my last commit that my change made a following line of code a bit redundant.
(alternatively my last change was redunadnt to the existing code.)
I took this oppertunity to make some minor cleanups and logging changes to the node changes which I hope will make tests a bit more clear.
(cherry picked from commit a374f74f7c )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2021-08-20 16:12:13 -04:00
mergify[bot]
2db1e422d8
e2e: avoid starting nodes from the future ( #6835 ) ( #6838 )
...
(cherry picked from commit a4cc8317da )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2021-08-18 14:42:27 -04:00
Callum Waters
d515bbcf1d
statesync: increase chunk priority and robustness ( #6582 )
2021-06-18 09:59:52 +02:00
Callum Waters
b878326396
e2e: relax timeouts ( #6356 )
...
* remove duplicate light error
* quieten handling of txs that already exist in the mempool
* notch back e2e timeouts
2021-04-14 19:53:54 +02:00
mergify[bot]
693e11c6c6
e2e: tx load to use broadcast sync instead of commit (backport #6347 ) ( #6352 )
2021-04-14 10:09:49 +02:00
mergify[bot]
b2f01448be
e2e: integrate light clients (bp #6196 )
...
integrate light clients (#6196 )
fix e2e app test (#6223 )
fix light client generator (#6236 )
2021-03-18 13:02:05 +01:00
mergify[bot]
8bb85856d0
e2e: add benchmarking functionality (bp #6210 ) ( #6216 )
2021-03-05 15:30:18 +01:00
mergify[bot]
1b5697a41d
mempool/rpc: log grooming (bp #6201 ) ( #6203 )
2021-03-04 09:04:13 -05:00
Anton Kaliaev
33fb03fcc8
test/e2e: enable pprof server to help debugging failures ( #6003 )
2021-02-11 11:43:19 +01:00
Marko
26493bbbd8
test/e2e: fix secp failures ( #5649 )
2020-11-18 15:21:52 +01:00
Erik Grinaker
59f3f63d33
test: fix various E2E test issues ( #5576 )
...
* Don't use state sync for nodes starting at initial height.
* Also remove stopped containers when cleaning up.
* Start nodes in order of startAt, mode, name to avoid full nodes starting before their seeds.
* Tweak network waiting to avoid halts caused by validator changes and perturbations.
* Disable most tests for seed nodes, which aren't always able to join consensus.
* Disable `blockchain/v2` due to known bugs.
2020-11-05 11:26:30 +01:00
Erik Grinaker
ceea64ec28
test: fix handling of start height in generated E2E testnets ( #5563 )
...
In #5488 the E2E testnet generator changed to setting explicit `StartAt` heights for initial nodes. This broke the runner, which expected all initial nodes to have `StartAt: 0`, as well as validator set scheduling in the generator. Testnet loading now normalizes initial nodes to have `StartAt: 0`.
This also tweaks waiting for misbehavior heights to only use an additional wait if there actually is any misbehavior in the testnet, and to output information when waiting.
2020-10-26 20:56:47 +01:00
Callum Waters
dacbfbe1fe
test: add evidence e2e tests ( #5488 )
2020-10-23 16:04:23 +02:00
Erik Grinaker
75879ab1d7
test: tag E2E Docker resources and autoremove them ( #5558 )
...
Fixes #5555 .
2020-10-23 16:04:23 +02:00
Erik Grinaker
6473f0178c
test: tweak E2E tests for nightly runs ( #5512 )
2020-10-22 13:36:08 +02:00
Erik Grinaker
4e2e487c7a
test: clean up E2E test volumes using a container ( #5509 )
2020-10-22 13:36:08 +02:00
Erik Grinaker
5e6e6315ad
github: add nightly E2E testnet action ( #5480 )
2020-10-22 13:36:08 +02:00
Erik Grinaker
f9bfb40d53
test/e2e: add random testnet generator ( #5479 )
...
Closes #5291 . Adds a randomized testnet generator. Nightly CI job will be submitted separately. A few of the testnets can be a bit flaky, even after disabling known-faulty behavior and making minor tweaks, and the larger networks may be too resource-intensive to run in CI - this will be optimized separately.
2020-10-22 13:36:08 +02:00
Erik Grinaker
3a4a6ae9ac
test: add E2E test for node peering ( #5465 )
...
This was a missing test case from the old P2P tests removed in #5453 , which makes sure that all nodes are able to peer with each other regardless of how they discover peers.
Fixes #2795 , since the default CI testnet uses a combination of (partially meshed) persistent peers and PEX-based seed nodes.
2020-10-22 13:36:08 +02:00
Erik Grinaker
4b3565fcaa
test: add GitHub action for end-to-end tests ( #5452 )
...
Partial fix for #5291 .
2020-10-22 13:36:08 +02:00
Erik Grinaker
a58454e788
test: add end-to-end testing framework ( #5435 )
...
Partial fix for #5291 . For details, see [README.md](https://github.com/tendermint/tendermint/blob/erik/e2e-tests/test/e2e/README.md ) and [RFC-001](https://github.com/tendermint/tendermint/blob/master/docs/rfc/rfc-001-end-to-end-testing.md ).
This only includes a single test case under `test/e2e/tests/`, as a proof of concept - additional test cases will be submitted separately. A randomized testnet generator will also be submitted separately, there a currently just a handful of static testnets under `test/e2e/networks/`. This will eventually replace the current P2P tests and run in CI.
2020-10-22 13:36:08 +02:00