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

Release 0.8.2-rc0 #2260

Merged
merged 2 commits into from
Jun 8, 2023
Merged

Release 0.8.2-rc0 #2260

merged 2 commits into from
Jun 8, 2023

Conversation

swcurran
Copy link
Contributor

@swcurran swcurran commented Jun 8, 2023

Signed-off-by: Stephen Curran [email protected]

Signed-off-by: Stephen Curran <[email protected]>
@swcurran swcurran requested review from WadeBarnes and dbluhm June 8, 2023 18:24
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@swcurran
Copy link
Contributor Author

swcurran commented Jun 8, 2023

Arrggh...two runs that failed.

The on the first run was features/0586-sign-transaction.feature:196, log below.

The fail on the last run features/0454-present-proof.feature:181, and it looks like maybe a timing issue, with the CredDef on the ledger but not in the wallet? Log below.

I'm going to try again and if it passes, I think we go...

First run log:

7hBob.agent  | Registered DID: 15myMq65s2VeWHyotdqsyv
INFO:aiohttp.access:172.17.0.1 [08/Jun/2023:18:47:17 +0000] "POST /webhooks/topic/endorse_transaction/ HTTP/1.1" 200 149 "-" "Python/3.6 aiohttp/3.8.4"
7hBob.agent  | Received transaction message: transaction_acked
7hBob.agent  | 2023-06-08 18:47:47,317 aries_cloudagent.core.dispatcher ERROR Handler error: wallet_set_public_did
      Traceback (most recent call last):
        File "/home/indy/demo/runners/support/agent.py", line 886, in admin_request
          resp.raise_for_status()
        File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 1010, in raise_for_status
          headers=self.headers,
      aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('http://10.1.0.19:8031/wallet/did/public?did=15myMq65s2VeWHyotdqsyv')
      
      The above exception was the direct cause of the following exception:
      
      Traceback (most recent call last):
        File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/behave/model.py", line 1329, in run
          match.run(runner.context)
        File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/behave/matchers.py", line 98, in run
          self.func(context, *args, **kwargs)
        File "features/steps/0586-sign-transaction.py", line 40, in step_impl
          params={"did": created_did["result"]["did"]},
        File "/home/indy/demo/bdd_support/agent_backchannel_client.py", line 218, in agent_container_POST
          params=params,
        File "/home/indy/demo/bdd_support/agent_backchannel_client.py", line 19, in run_coroutine
          return loop.run_until_complete(coroutine(*args, **kwargs))
        File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete
          return future.result()
        File "/home/indy/demo/runners/agent_container.py", line 1100, in admin_POST
          return await self.agent.admin_POST(path, data=data, text=text, params=params)
        File "/home/indy/demo/runners/support/agent.py", line 987, in admin_POST
          "POST", path, data, text, params, headers=headers
        File "/home/indy/demo/runners/support/agent.py", line 889, in admin_request
          raise Exception(f"Error: {resp_text}") from e
      Exception: Error: 500 Internal Server Error

Second Run Log:

7hSchema ID: 8EfAuXvL775Vh5oayhM1Bd:2:Schema_DriversLicense_v2:1.0.1
7hAcme1.agent | 2023-06-08 19:23:00,833 aries_cloudagent.ledger.base WARNING Credential definition 8EfAuXvL775Vh5oayhM1Bd:3:CL:550184:Acme1.agent.Schema_DriversLicense_v2 already exists on ledger default
7hAcme1.agent | 2023-06-08 19:23:00,835 aries_cloudagent.admin.server ERROR Handler error with exception: Credential definition 8EfAuXvL775Vh5oayhM1Bd:3:CL:550184:Acme1.agent.Schema_DriversLicense_v2 is on ledger default but not in wallet acme1.agent460638
7hAcme1.agent | Traceback (most recent call last):
7hAcme1.agent |   File "/home/indy/aries_cloudagent/messaging/credential_definitions/routes.py", line 262, in credential_definitions_send_credential_definition
7hAcme1.agent |     endorser_did=endorser_did,
7hAcme1.agent |   File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/asyncio/futures.py", line 327, in __iter__
      Assertion Failed: FAILED SUB-STEP: Given "Acme1" is ready to issue a credential for driverslicense_v2
      Substep info: Traceback (most recent call last):
        File "/home/indy/demo/runners/support/agent.py", line 886, in admin_request
          resp.raise_for_status()
        File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 1010, in raise_for_status
          headers=self.headers,
      aiohttp.client_exceptions.ClientResponseError: 400, message='Credential definition 8EfAuXvL775Vh5oayhM1Bd:3:CL:550184:Acme1.agent.Schema_DriversLicense_v2 is on ledger default but not in wallet acme1.agent460638', url=URL('http://10.1.0.150:8021/credential-definitions')

@swcurran swcurran merged commit 8b22ed3 into openwallet-foundation:main Jun 8, 2023
@swcurran swcurran deleted the 0.8.2-rc0 branch July 4, 2023 23:47
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.

2 participants