Commit Graph

56 Commits

Author SHA1 Message Date
William Banfield
b378a2b59d use --no-start 2022-12-09 16:21:26 -05:00
William Banfield
64a65c75f1 use correct variable in e2e compose 2022-12-08 15:27:57 -05:00
William Banfield
ad9c3140fb Merge remote-tracking branch 'origin/main' into wb/issue-9790 2022-12-05 11:52:28 -05:00
William Banfield
e22b61ab9d use external IP in digital ocean 2022-12-05 11:34:20 -05:00
William Banfield
8e3f608770 add external address field 2022-12-05 11:28:42 -05:00
William Banfield
ac539b1f3d rename IP node field 2022-12-05 11:25:01 -05:00
William Banfield
4dd0ff5621 remove hostkeyalgorithm setting 2022-12-05 10:18:15 -05:00
William Banfield
143109eb28 Update test/e2e/pkg/infra/digitalocean/digitalocean.go
Co-authored-by: Thane Thomson <connect@thanethomson.com>
2022-12-05 10:15:43 -05:00
William Banfield
5ba0d131c4 e2e: setup testing for multi-version (#9819)
This pull requests sets up the e2e tests to be able to support multiple versions within the same test network. This is achieved through a few simple changes:

* Each node takes a `version` parameter in the testnet manifest. This dictates which version of the testapp to use. If not set, the locally available version is used.
* Adds a `testapp-docker.yml` workflow that publishes the testapp to docker hub so that tagged versions may be available for use in a multi-version test network.

This change does not actually add a testnetwork that does multi-version testing. Since no previous versions of the testapp have been published to dockerhub, there are not old versions available to test against. We'll either need to configure this after the next minor release which will trigger a testapp to be pushed to dockerhub, or push an image from the previous version of Tendermint so that the multiversion test has an old version to pull.

#### PR checklist

- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
      documentation updates needed
2022-12-02 18:37:33 +00:00
William Banfield
644a93a759 correct the nolint comment format 2022-12-01 11:31:51 -05:00
William Banfield
ca78052a7e use IP.Equal instead of bytes.Equal 2022-12-01 11:31:30 -05:00
William Banfield
59f93e9035 close connection in ssh exec 2022-12-01 11:21:51 -05:00
William Banfield
8ec6013b1d return session error 2022-12-01 11:17:03 -05:00
William Banfield
5a6b3abe27 allow unknown hosts to be accessed 2022-12-01 11:17:03 -05:00
William Banfield
3cfb90fb5b error if auth sock not defined 2022-12-01 11:17:03 -05:00
William Banfield
9c8c6c4cff move agent socket dial to client connection creation 2022-12-01 11:17:03 -05:00
William Banfield
1a2afa62c5 plump infra data into tests 2022-12-01 11:17:03 -05:00
William Banfield
de20e3d224 use ssh agent to auth to remote 2022-12-01 11:17:03 -05:00
William Banfield
b7fccf0138 add client creation logic 2022-12-01 11:17:03 -05:00
William Banfield
b0be713546 add digital ocean package 2022-12-01 11:17:03 -05:00
William Banfield
e009a2c7ee add ssh pkg 2022-12-01 11:17:03 -05:00
William Banfield
db7b4a0e32 commit exec pkg 2022-12-01 11:17:03 -05:00
William Banfield
eec848b408 add create node to infra provider 2022-12-01 11:17:03 -05:00
William Banfield
9e4a24681c docker.exec takes context 2022-12-01 11:17:03 -05:00
William Banfield
eb46fdc720 compose verbose takes context 2022-12-01 11:17:03 -05:00
William Banfield
be8d980f83 exec compose takes context 2022-12-01 11:17:03 -05:00
William Banfield
6415af6b92 functionality in place for start kill terminate 2022-12-01 11:17:03 -05:00
William Banfield
55c0e472c9 all exec switched to docker package 2022-12-01 11:17:03 -05:00
William Banfield
241c96a96e switch exec compose to docker pkg 2022-12-01 11:17:03 -05:00
William Banfield
11ca11a8cc add param names 2022-12-01 11:17:03 -05:00
William Banfield
23cb6ad834 add terminate vs kill 2022-12-01 11:17:03 -05:00
William Banfield
64b0340251 rename to 'kill tendermint' 2022-12-01 11:17:03 -05:00
William Banfield
1a831b2fcb rename to 'tendermint' 2022-12-01 11:17:03 -05:00
William Banfield
e49f6aecdb shim in start and stop methods 2022-12-01 11:17:03 -05:00
Sergio Mena
739b92bf01 Fix typo in new option in e2e manifest node (#9806)
The "toml" annotation of "send no load" had a typo (`send_no_laod`).

This is suspected to have caused failures in e2e, however I couldn't reproduce the error locally, so not sure this will fix it. Still, the typo needs to be fixed in any case.


---

#### 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
2022-12-01 12:19:15 +00:00
William Banfield
21b2801c60 e2e: test runner generates loadtime formatted transactions. (#9779) 2022-11-30 13:36:19 -05:00
Thane Thomson
45071d1f23 abci: Add unsynchronized local client (#9660)
* Remove extra interface cast

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Remove irrelevant comment

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* abci: Add unsynchronized local client

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* proxy: Add unsync local client creator

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* e2e: Add sync app for use with unsync local client

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* abci: Elaborate on mutex param in unsync local client

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* proxy: Remove unnecessary comment

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* abcicli: Remove unnecessary mutex param from unsync client

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* ci/e2e: Explicitly use sync app for validator04

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* e2e: Ensure app is definitely the E2E app

Signed-off-by: Thane Thomson <connect@thanethomson.com>

Signed-off-by: Thane Thomson <connect@thanethomson.com>
2022-11-07 06:46:55 -05:00
William Banfield
f6709208b0 e2e: configurable IP addresses for e2e testnet generator (#9592)
* add the infrastructure types

* add infra data to testnetload

* extract infrastructure generation from manifest creation

* add infrastructure type and data flags

* rename docker ifd constructor

* implement read ifd from file

* add 'provider' field to the infrastructure data file to disable ip range check

* return error from infrastructure from data file function

* remove ifd from Setup

* implement a basic infra provider with a simple setup command

* remove misbehavior remnants

* use manifest instead of file in all places

* include cidr block range in the infrastructure data

* nolint gosec

* gosec

* lint
2022-10-25 10:19:10 -04:00
Thane Thomson
cceea4de22 chore: Format and fix lints (#9336)
* make format

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Fix linting directives

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* make mockery

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Appease CI linter

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Appease CI linter

Signed-off-by: Thane Thomson <connect@thanethomson.com>

Signed-off-by: Thane Thomson <connect@thanethomson.com>
2022-08-30 12:28:46 -04:00
Sergio Mena
50b5c23d88 Merge branch 'feature/abci++ppp' 2022-08-22 17:16:17 +02:00
Callum Waters
b37f062619 e2e: add evidence tests (#9292) 2022-08-22 13:33:47 +02:00
Callum Waters
0ca3a89c90 e2e: add abci delays (#9254) 2022-08-19 12:00:58 +02:00
William Banfield
1069ffc6aa config: backport the rename of fastsync to blocksync (#9259)
This is largely a cherry pick of #6755 with some additional fixups added where detected. 
This change moves the blockchain package to a package called blocksync. Additionally, it renames the relevant uses of the term `fastsync` to `blocksync`.

closes: #9227 

#### PR checklist

- [ ] 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
2022-08-17 15:19:20 +00:00
Callum Waters
4206a0e9b7 remove v1 and v2 blocksync protocol impementations (#9146) 2022-08-02 11:30:28 +02:00
Callum Waters
07d242c461 e2e: remove maverick (#9148) 2022-08-01 17:15:03 +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
mergify[bot]
1dfb3451ea e2e: light nodes should use builtin abci app (#7095) (#7096)
(cherry picked from commit befd669794)

Co-authored-by: Sam Kleinman <garen@tychoish.com>
2021-10-09 00:32:41 -04:00
mergify[bot]
9f13b9b083 e2e: abci protocol should be consistent across networks (backport #7078) (#7085)
* e2e: abci protocol should be consistent across networks (#7078)

It seems weird in retrospect that we allow networks to contain
applications that use different ABCI protocols.

(cherry picked from commit f2a8f5e054)
2021-10-08 10:37:12 -04: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
Marko
23bc2f690c ci: remove add-path (#5674) 2020-11-18 15:21:52 +01:00