Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/oasis-test-runner: Reorganize e2e tests #5324

Merged
merged 13 commits into from Jul 19, 2023

Conversation

peternose
Copy link
Contributor

@peternose peternose commented Jul 18, 2023

Code generalization/deduplication, minor bug fixes and some extra methods that will be used by the upgrade-test for master secret rotations.

@peternose peternose force-pushed the peternose/trivial/reorganize-e2e-tests branch 3 times, most recently from 59f65a2 to 0f04c7a Compare July 18, 2023 12:15
When the runtime binary was upgraded before the key manager binary,
the key manager was unable to decode long-term key requests due to
the inclusion of a master secret generation number. As a result,
all secure transactions failed, returning an unknown field error.
Group similar runtime scenario methods and make them globally available.
The runtime test client interface is no longer needed since
we only have one implementation of the client.
Now, a runtime client can run multiple scenarios without the need
to change the seed.
Other scenarios can now use this code to upgrade the simple key value
runtime or the key manager runtime.
A scenario can now refresh a single bundle, without overwriting others.
The Tendermint verifier now stores the trusted root under a key derived
from the enclave's identity and the runtime version. Relying solely
on the identity is not sufficient, as on non-SGX platforms, the identity
is set to the default value, causing new runtimes in the upgrade tests
to use trusted roots from the previous versions, which may not even
be compatible.
@peternose peternose force-pushed the peternose/trivial/reorganize-e2e-tests branch from 0f04c7a to 8f34ee2 Compare July 18, 2023 12:15
@peternose peternose marked this pull request as ready for review July 18, 2023 13:51
@peternose peternose merged commit c234001 into master Jul 19, 2023
3 checks passed
@peternose peternose deleted the peternose/trivial/reorganize-e2e-tests branch July 19, 2023 11:49
ptrus pushed a commit that referenced this pull request Jul 19, 2023
…ize-e2e-tests

go/oasis-test-runner: Reorganize e2e tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants