Staging Partner Chains Tests #64
Annotations
7 errors
Failed Test: tests/test_smoke.py::TestSmoke::test_get_params
tests/test_smoke.py::TestSmoke::test_get_params: The test failed in the call phase - tests/test_smoke.py:99: in test_get_params
assert params["genesis_utxo"] == config.genesis_utxo, "Genesis UTXO mismatch"
E TypeError: 'NoneType' object is not subscriptable
|
Failed Test: tests/committee/test_committee.py::TestCommitteeDistribution::test_update_d_param
tests/committee/test_committee.py::TestCommitteeDistribution::test_update_d_param: The test failed in the call phase due to an exception - src/sidechain_main_cli.py:208: in handle_response
response = json.loads(json_part)
/usr/local/lib/python3.10/json/__init__.py:346: in loads
return _default_decoder.decode(s)
/usr/local/lib/python3.10/json/decoder.py:337: in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
/usr/local/lib/python3.10/json/decoder.py:355: in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
tests/committee/test_committee.py:73: in test_update_d_param
result = api.update_d_param(new_d_param.permissioned_candidates_number, new_d_param.trustless_candidates_number)
src/substrate_api.py:289: in update_d_param
result = self.sidechain_main_cli.update_d_param(
src/sidechain_main_cli.py:101: in update_d_param
response = self.handle_response(result)
src/sidechain_main_cli.py:212: in handle_response
raise SidechainMainCliException(result.stdout)
E src.sidechain_main_cli.SidechainMainCliException: (UnknownContractError "An error occurred when running CTL base monad: Unable to load key from file: \"./secrets/substrate/staging/keys/governance_authority/init.skey.json.decrypted\", error: Error: ENOENT: no such file or directory, open './secrets/substrate/staging/keys/governance_authority/init.skey.json.decrypted'\n at Object.openSync (node:fs:561:18)\n at readFileSync (node:fs:445:35)\n at file:///tools/partner-chains-smart-contracts-7.0.1/pc-contracts-cli:21:141636\n at bd (file:///tools/partner-chains-smart-contracts-7.0.1/pc-contracts-cli:5:45654)\n at RS (file:///tools/partner-chains-smart-contracts-7.0.1/pc-contracts-cli:5:47295)\n at Object.run (file:///tools/partner-chains-smart-contracts-7.0.1/pc-contracts-cli:5:49752)\n at TS (file:///tools/partner-chains-smart-contracts-7.0.1/pc-contracts-cli:5:52103)\n at vun (file:///tools/partner-chains-smart-contracts-7.0.1/pc-contracts-cli:5:52413)\n at file:///tools/partner-chains-smart-contracts-7.0.1/pc-contracts-cli:5:52576\n at nw (file:///tools/partner-chains-smart-contracts-7.0.1/pc-contracts-cli:5:45724)")
|
Failed Test: tests/committee/test_permissioned_registrations.py::test_add_permissioned_candidate
tests/committee/test_permissioned_registrations.py::test_add_permissioned_candidate: The test failed in the call phase due to an exception - src/sidechain_main_cli.py:208: in handle_response
response = json.loads(json_part)
/usr/local/lib/python3.10/json/__init__.py:346: in loads
return _default_decoder.decode(s)
/usr/local/lib/python3.10/json/decoder.py:337: in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
/usr/local/lib/python3.10/json/decoder.py:353: in raw_decode
obj, end = self.scan_once(s, idx)
E json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 3 (char 2)
During handling of the above exception, another exception occurred:
tests/committee/test_permissioned_registrations.py:31: in test_add_permissioned_candidate
raise e
tests/committee/test_permissioned_registrations.py:26: in test_add_permissioned_candidate
result, next_status_epoch = api.add_permissioned_candidate(permissioned_candidate.name)
src/substrate_api.py:606: in add_permissioned_candidate
txId, next_status_epoch = self.sidechain_main_cli.update_permissioned_candidates(
src/sidechain_main_cli.py:188: in update_permissioned_candidates
response = self.handle_response(result)
src/sidechain_main_cli.py:212: in handle_response
raise SidechainMainCliException(result.stdout)
E src.sidechain_main_cli.SidechainMainCliException: (NotFoundUtxo "Could not find unspent output with correct script ref locked at version oracle validator address. Looking for: (VersionOracle { scriptId: GovernancePolicy }). Available are: []")
|
Failed Test: tests/committee/test_permissioned_registrations.py::test_remove_permissioned_candidate
tests/committee/test_permissioned_registrations.py::test_remove_permissioned_candidate: The test failed in the call phase due to an exception - src/sidechain_main_cli.py:208: in handle_response
response = json.loads(json_part)
/usr/local/lib/python3.10/json/__init__.py:346: in loads
return _default_decoder.decode(s)
/usr/local/lib/python3.10/json/decoder.py:337: in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
/usr/local/lib/python3.10/json/decoder.py:353: in raw_decode
obj, end = self.scan_once(s, idx)
E json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 3 (char 2)
During handling of the above exception, another exception occurred:
tests/committee/test_permissioned_registrations.py:84: in test_remove_permissioned_candidate
raise e
tests/committee/test_permissioned_registrations.py:79: in test_remove_permissioned_candidate
result, next_status_epoch = api.remove_permissioned_candidate(permissioned_candidate.name)
src/substrate_api.py:621: in remove_permissioned_candidate
txId, next_status_epoch = self.sidechain_main_cli.update_permissioned_candidates(
src/sidechain_main_cli.py:188: in update_permissioned_candidates
response = self.handle_response(result)
src/sidechain_main_cli.py:212: in handle_response
raise SidechainMainCliException(result.stdout)
E src.sidechain_main_cli.SidechainMainCliException: (NotFoundUtxo "Could not find unspent output with correct script ref locked at version oracle validator address. Looking for: (VersionOracle { scriptId: GovernancePolicy }). Available are: []")
|
Failed Test: tests/committee/test_registrations.py::test_register_candidate
tests/committee/test_registrations.py::test_register_candidate: The test failed in the call phase - tests/committee/test_registrations.py:23: in test_register_candidate
result, next_status_epoch = api.register_candidate(candidate.name)
src/substrate_api.py:312: in register_candidate
signatures = self.sidechain_main_cli.get_signatures(
src/sidechain_main_cli.py:77: in get_signatures
raise e
src/sidechain_main_cli.py:62: in get_signatures
registration_signatures = json.loads(result.stdout)
/usr/local/lib/python3.10/json/__init__.py:346: in loads
return _default_decoder.decode(s)
/usr/local/lib/python3.10/json/decoder.py:337: in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
/usr/local/lib/python3.10/json/decoder.py:355: in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|
Failed Test: tests/committee/test_registrations.py::test_deregister_candidate
tests/committee/test_registrations.py::test_deregister_candidate: The test failed in the call phase due to an exception - src/sidechain_main_cli.py:208: in handle_response
response = json.loads(json_part)
/usr/local/lib/python3.10/json/__init__.py:346: in loads
return _default_decoder.decode(s)
/usr/local/lib/python3.10/json/decoder.py:337: in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
/usr/local/lib/python3.10/json/decoder.py:355: in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
tests/committee/test_registrations.py:74: in test_deregister_candidate
result, next_status_epoch = api.deregister_candidate(candidate.name)
src/substrate_api.py:338: in deregister_candidate
txId, next_status_epoch = self.sidechain_main_cli.deregister_candidate(
src/sidechain_main_cli.py:147: in deregister_candidate
response = self.handle_response(result)
src/sidechain_main_cli.py:212: in handle_response
raise SidechainMainCliException(result.stdout)
E src.sidechain_main_cli.SidechainMainCliException: (NotFoundInputUtxo "Couldn't find registration UTxO")
|
run
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
debug_log
Expired
|
19.1 KB |
|