-
Notifications
You must be signed in to change notification settings - Fork 884
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
Issue 5544 - Tessera as internal process #5968
Conversation
Signed-off-by: George Tebrean <george@web3labs.com>
|
Signed-off-by: George Tebrean <george@web3labs.com>
testutil/src/main/java/org/hyperledger/enclave/testutil/TesseraInternalProcessTestHarness.java
Fixed
Show fixed
Hide fixed
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Hey @gtebrean - this would be a huge help in our CI simplification and testing processes. Anything you need to get this across the line? |
Hey Mat, the only thing left here is getting Tessera JVM started properly. Last time, I encountered some issues with the ports. I've been busy with work over the past few months, but now I'm getting back to this. |
Signed-off-by: George Tebrean <george@web3labs.com>
testutil/src/main/java/org/hyperledger/enclave/testutil/TesseraInternalProcessTestHarness.java
Fixed
Show resolved
Hide resolved
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@gtebrean it's failing locally for me because the tessera tar file doesn't exist at this location
|
acceptance-tests/build.gradle
Outdated
@@ -13,4 +13,8 @@ | |||
* SPDX-License-Identifier: Apache-2.0 | |||
*/ | |||
|
|||
dependencies { | |||
tessera 'net.consensys.quorum.tessera:tessera-dist:23.4.0@tar' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this dependency go in versions.gradle instead
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also should be able to delete the testcontainers dependency
dependency 'org.testcontainers:testcontainers:1.19.3'
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@gtebrean I played around with circle CI config for the privacy ATs task today to see if I could make it more efficient - most recent run worked but took 43 min which isn't really feasible so I changed it back |
Signed-off-by: George Tebrean <george@web3labs.com>
@macfarla I tried to address the tx pool issue that we are facing, in the last commit. I followed the approach which was adopted in #6384 but I update it for the privacy node use case creating a new PrivateSyncCondition, using the PrivConditios. However the issue still persists locally and in github pipeline. Could you please look at my last commit? As I haven't interacted that much with synchronisation, maybe I missed something. |
I think your latest commit fixes the "Transaction pool not enabled" issue. (could you push commit this as a separate PR - I think we can merge that ahead of this one to fix the nightly). This PR though still has the occasional "Tessera did not start" which seems to be flaky for a different reason. |
Also - unit test failures is files missing headers
|
@gtebrean for me it's still missing the part that will download the tessera dependency and install it into the build dir |
Signed-off-by: George Tebrean <george@web3labs.com>
@macfarla please mention in here the tasks you are trying to run to check exactly, in my case the tessera is added to the build folder. |
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
@gtebrean I think we can close this PR, you have other methods to test privacy right, and we aren't going to spend time trying to get this working again with Tessera within Besu. |
PR description
The key changes are in the TesseraInternalProcessTestHarness class. This starts Tessera nodes as processes.
For unzziping Tessera I created a gradle task.
Also got inspired from #4466
Fixed Issue(s)
Fixes #5544