-
Notifications
You must be signed in to change notification settings - Fork 377
Ubuntu 22.04 #1716
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
base: ubuntu-22.04
Are you sure you want to change the base?
Ubuntu 22.04 #1716
Conversation
setup.py
Outdated
'indy_vdr==0.4.2', | ||
'aries-askar==0.4.3', | ||
'indy-credx==1.1.1' |
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.
This makes the indy-plenum deployment package dependent on client side components that are only used for tests.
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.
General comment on the latest commit ...
It feels like there's duplication in the request parsing/conversion that could be consolidated.
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.
@rhofirAtos, Your latest commit is missing DCO sign-off.
lol, I see you noticed. Thanks |
@WadeBarnes I've addressed your comment regarding duplication in the request parsing/conversion by creating a helper function called convert_indy_vdr_request_to_plenum(). I'll include this in my next push. |
Tests are still having issues with |
setup.py
Outdated
@@ -99,7 +99,7 @@ def run(self): | |||
'base58', | |||
# pinned because issue with fpm from v4.0.0 | |||
'importlib_metadata==3.10.1', | |||
# 'ioflo==2.0.2', | |||
'ioflo==2.0.3', |
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.
This will work, in that the expected version of ioflo
will be installed, however ioflo
is a dev/test dependency and not a runtime dependency. Therefore it should not be defined here. It should be defined in the tests_require
section starting on line 30.
DCO sign-off was not included in the most recent commit. @rhofirAtos, please amend your latest commit with DCO sign-off. |
.devcontainer/Dockerfile
Outdated
# Need to move libursa.so to parent dir | ||
&& mv /usr/lib/ursa/* /usr/lib && rm -rf /usr/lib/ursa | ||
|
||
RUN pip3 install -U \ | ||
# Required by newer verion of python | ||
ioflo==2.0.3 \ |
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.
This should be unnecessary. ioflo
should be installed as a dev dependency when plenum is installed in teh dev container by "postCreateCommand": "pip install .[tests]",
in the devcontainer.json file.
a5abcec
to
59d112f
Compare
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.
@R3CK0 Please exclude the error logs from the commits.
Also the build is failing due to linting errors.
@R3CK0, Whatever's happened between this point https://github.com/hyperledger/indy-plenum/actions/runs/14197083841 and now is a step backwards. The tests where running and one slice was passing. In the current state the tests aren't able to even run. |
That said, affected tests are running and passing locally. |
I'm able to recrate the error locally by running the tests like the workflows do:
Logs get output to
|
Plenum slice tests are running again. |
I'll have a look at the conflicts shortly. |
dbeccf6
to
15eb0f5
Compare
Removed the commit containing the error logs and the error identification script. |
Signed-off-by: Adam Burdett <burdettadam@gmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Adam Burdett <burdettadam@gmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
packages starting debugging process with tests Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Wade Barnes <wade@neoterictech.ca> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
take into account and integrate new types, inputs and outputs from indy-vdr Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
response - Fixed futures loop error - Added Plenum request vs vdr request format - Changed Submit_request to submit_action Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
- Ongoing issue with client test: The build request in indy-vdr does not allow invalid protocol version to be set with is preventing the ability to verify invalid request do to protocol version in plenum - Increased the timeout in some functions do to machine limitations causing tests to timeout and fail prematurely this needs to be tweaked as some tests require the timeout to be shorter and some longer. Need to find that sweet spot Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
reintroduced indy-sdk to test invalid signatures that are prevented in vdr modified symbols from vdr functions to from sdk to vdr Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
vdr format. Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
functions in pool_transaction and node_request to faciliate them Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
cannot be changed Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
- When switching back to SDK reintroduced errors that where fixed in VDR Signed-off-by: Nicholas Massad <nicholasmassad@hotmail.com> Signed-off-by: NicholasMassad <nicholasmassad@hotmail.com>
All fixed. |
- The Ursa package has been migrated to the Hyperledger repository. The Sovrin repositories have been deprecated. - New location: https://hyperledger.jfrog.io/ui/native/indy/pool/bionic/master/u/ursa/ - Previous location: https://repo.sovrin.org/deb/pool/bionic/master/u/ursa/ Signed-off-by: Wade Barnes <wade@neoterictech.ca>
- The indy-sdk packages have been migrated to the Hyperledger repository. The Sovrin repositories have been deprecated. - New location: https://hyperledger.jfrog.io/ui/native/indy/pool/bionic/ - Previous location: https://repo.sovrin.org/sdk/deb/pool/bionic/ - Only the `master` and `stable` channels were migrated over. Signed-off-by: Wade Barnes <wade@neoterictech.ca>
e0abc0a
to
ef88963
Compare
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
f472ad5
to
990c676
Compare
Modified all tests to no longer require on indy-sdk. Started from where Adam left off. Please correct any changes where I am using wrong inputs/outputs