update testcontainers #133
GitHub Actions / Test Results
failed
Jan 13, 2025 in 0s
1 errors, 11 skipped, 1β095 pass in 1m 7s
1β107 testsβ +19βββ1β095 β
+14βββ1m 7s β±οΈ +27s
ββββ4 suites Β±β0ββββββ11 π€ +β7β
ββββ4 filesββ Β±β0βββββββ0 β Β±β0βββ1 π₯ β-β2β
Results for commit 30fcd25.βΒ± Comparison against earlier commit 23d5fb9.
Annotations
Check failure on line 0 in tests.sandbox_tests.test_concurrent.ConcurrentTransactionsTestCase
github-actions / Test Results
test_1_originate_contract (tests.sandbox_tests.test_concurrent.ConcurrentTransactionsTestCase) with error
sandbox_test_results.xmlβ[took 7s]
Raw output
failed on setup with "pytezos.rpc.node.RpcError: ({'id': 'proto.021-PsQuebec.constants.invalid_protocol_constants',
'kind': 'permanent',
'reason': 'The DAL committee must be a subset of the Tenderbake committee.'},)"
cls = <class 'test_concurrent.ConcurrentTransactionsTestCase'>
@classmethod
def setUpClass(cls) -> None:
> super().setUpClass()
src/pytezos/sandbox/node.py:196:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/pytezos/sandbox/node.py:137: in setUpClass
cls.node_container.activate(cls.PROTOCOL)
src/pytezos/sandbox/node.py:102: in activate
return self.client.using(key='dictator').activate_protocol(protocol).fill().sign().inject()
src/pytezos/jupyter.py:90: in __call__
return method(self.obj, *args, **kwargs)
src/pytezos/block/header.py:179: in fill
res = self.shell.head.helpers.preapply.block.post(
src/pytezos/jupyter.py:90: in __call__
return method(self.obj, *args, **kwargs)
src/pytezos/rpc/helpers.py:176: in post
return self._post(
src/pytezos/rpc/query.py:131: in _post
return self.node.post(
src/pytezos/rpc/node.py:143: in post
response = self.request(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytezos.rpc.node.RpcNode object at 0x7fe3a832b560>
Node address
http://localhost:8732
method = 'POST', path = '/chains/main/blocks/head/helpers/preapply/block'
kwargs = {'json': {'operations': [], 'protocol_data': {'content': {'command': 'activate', 'fitness': ['02', '00000001', '', 'ff...ZsuB2KiHbZRGFz72XgF6KaKADznh674fQgBatxw3xdHqTtMHUZAGRprxy64wg1aq'}}, 'params': {'sort': True, 'timestamp': 1530374853}}
res = <Response [500]>
def request(self, method: str, path: str, **kwargs) -> requests.Response:
"""Perform HTTP request to node.
:param method: one of GET/POST/PUT/DELETE
:param path: path to endpoint
:param kwargs: requests.request arguments
:raises RpcError: node has returned an error
:returns: node response
"""
logger.debug('>>>>> %s %s\n%s', method, path, json.dumps(kwargs, indent=4))
res = requests.request(
method=method,
url=_urljoin(self.uri[0], path),
headers={'content-type': 'application/json', 'user-agent': 'PyTezos', **self.headers},
timeout=kwargs.pop('timeout', None) or 60,
**kwargs,
)
if res.status_code == 401:
logger.debug('<<<<< %s\n%s', res.status_code, res.text)
raise RpcError(f'Unauthorized: {path}')
if res.status_code == 404:
logger.debug('<<<<< %s\n%s', res.status_code, res.text)
raise RpcError(f'Not found: {path}')
if res.status_code != 200:
logger.debug('<<<<< %s\n%s', res.status_code, pformat(res.text, indent=4))
> raise RpcError.from_response(res)
E pytezos.rpc.node.RpcError: ({'id': 'proto.021-PsQuebec.constants.invalid_protocol_constants',
E 'kind': 'permanent',
E 'reason': 'The DAL committee must be a subset of the Tenderbake committee.'},)
src/pytezos/rpc/node.py:118: RpcError
Loading