fabric-sdk-py
fabric-sdk-py copied to clipboard
Changed consensus type E2E_Test from solo to raft
Signed-off-by: rohanshrothrium [email protected] This PR introduces changes to the e2e_test and now uses raft consensu for ordering instead of solo ordering.
Hmm...why a lot of secret keys are changing?
Hmm...why a lot of secret keys are changing?
+1. No need to regenerate those credentials?
Hmm...why a lot of secret keys are changing?
@yeasy and @dexhunter, I'll use the previously used certificates and update the PR.
I have reverted back to the previous certs! Please review the same!
@RohanShrothrium What are those certificates under the test/fixtures/e2e_raft/crypto-config/.svn/?
@RohanShrothrium What are those certificates under the
test/fixtures/e2e_raft/crypto-config/.svn/?
Ohh I downloaded the previous version of the crypto-config and channel-artifacts using svn so that was leftover. I'll remove it.
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
@RohanShrothrium The error message is
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1602679823.669218145","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":4133,"referenced_errors":[{"created":"@1602679823.669214245","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":397,"grpc_status":14}]}"
which is different from the timeout error. I found this answer indicating that gRPC fails to connect to all the address because no server is running on the address. I think you need to add some timeout before the invocation.
@dexhunter The error is because many integration tests use the utils.py, so I'll have to make changes to the rest of the integration tests too. I'll update the PR by the earliest.
@dexhunter the CI fails in the e2e_test but when I run it locally it's passing. I don't know why exactly this is happening.
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
@RohanShrothrium If this is applicable for both HLF v1.4 and v2.x, please add a new patchset to https://github.com/hyperledger/fabric-sdk-py/tree/release-1.0 too.
@RohanShrothrium Could you rebase the code and try again?
The current error message is
info: "error applying config update to existing channel \'businesschannel\': error authorizing update: error validating ReadSet: proposed update requires that key [Group] /Channel/Application be at version 0, but it is currently at version 1"
at channel_creation of e2e_test
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
@dexhunter and @yeasy can you help me fix the issue with the CI failing. I'm not sure why this is happening.
@RohanShrothrium Can you rebase to the latest commit of the master branch?
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
@RohanShrothrium Can you check the error log? It seems to be a configuration problem.