Commit Graph

9148 Commits

Author SHA1 Message Date
William Banfield b378a2b59d use --no-start 2022-12-09 16:21:26 -05:00
William Banfield 3d5b4f789d Merge branch 'main' into wb/issue-9790 2022-12-08 15:28:34 -05:00
William Banfield 64a65c75f1 use correct variable in e2e compose 2022-12-08 15:27:57 -05:00
William Banfield dfb6589d8c rfc 27: report on bandwidth usage within Tendermint (#9706)
This pull request adds a report on the major bandwidth usage within Tendermint. 

[Rendered](https://github.com/tendermint/tendermint/blob/wb/p2p-rfc/docs/rfc/rfc-027-p2p-message-bandwidth-report.md)

#### 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-08 20:20:02 +00:00
William Banfield 63b5b09871 Merge remote-tracking branch 'origin/main' into wb/issue-9790 2022-12-08 12:06:41 -05:00
William Banfield 365af06517 workflow: correct the name for the e2e app in the workflow (#9850) 2022-12-08 10:12:15 -05:00
William Banfield 3324f49fb7 inspect: resurrect the inspect command (#9655)
resurrect the inspect command from #6785

Co-authored-by: Sam Kleinman <garen@tychoish.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
2022-12-07 12:15:55 -05:00
William Banfield ac48630fdb e2e: add multiversion flag to generator (#9829)
* add multiversion flag to generator

* clarify flag comment
2022-12-06 11:17:47 -05:00
Lasaro Camargos 49502dae92 Rejects empty transactions in the example kvstore (#9823)
* Rejects empty transactions in the example kvstore

* Add code for rejected transaction; Add test for txn rejection;

* Apply suggestions from code review

Co-authored-by: Sergio Mena <sergio@informal.systems>
2022-12-06 10:00:22 -03: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 d5119c20f7 remove backup for INFRASTRUCTURE_DATA missing 2022-12-05 10:13:17 -05:00
Lasaro Camargos c3302b0dc9 fixes abci-cli console help (#9821)
* adds prepare and process proposal commands to console help

* comment typo fix
2022-12-04 08:15:49 -03: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 654e5652e4 e2e: add defer to ensure waitgroup is finished. (#9822)
* defer wait group completion

* generate correct number of tx
2022-12-02 13:19:10 -05:00
Thane Thomson 0952a99f45 ci: Better Slack failures (#9812)
The primary aim of this PR is to improve the failure messages we get a little. Seeing the latest commit is often useless, and it's probably better to just get a direct link to a list of commits for that specific branch so we can see what's been committed since the previous nightly run.

This PR also makes one minor improvement in the use of the now-deprecated `set-output` syntax for workflows, upgrading it to use the new approach as per https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

---

#### 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 17:46:22 +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 2bcc84efd4 gofmt 2022-12-01 11:30:19 -05:00
William Banfield 59f93e9035 close connection in ssh exec 2022-12-01 11:21:51 -05:00
William Banfield d09f4f503d e2e: create client when sending transaction (#9814)
Fixes the issue observed in an [e2e test run](https://github.com/tendermint/tendermint/actions/runs/3588927225). The issue arises when the e2e runner process cannot connect to the remote node. In the previous version of this code, the runner would simply skip the transaction if the client couldn't connect. This pull request resurrects that behavior.

---

#### 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-01 16:21:28 +00: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 0cafe89301 start and create calls replaced with infra provider 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 6389d3d3f3 remove runner exec 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 6117ad38aa add command package 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