Skip to content

Staging Partner Chains Tests #76

Staging Partner Chains Tests

Staging Partner Chains Tests #76

Triggered via schedule December 6, 2024 04:00
Status Failure
Total duration 39m 36s
Artifacts 1

staging.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Failed Test: tests/committee/test_committee.py::TestCommitteeDistribution::test_mc_epoch_committee_participation_probability
tests/committee/test_committee.py::TestCommitteeDistribution::test_mc_epoch_committee_participation_probability: The test failed in the call phase due to an assertion error - tests/committee/test_committee.py:214: in test_mc_epoch_committee_participation_probability assert ( E AssertionError: Incorrect attendance for 0x02f2762ab6e1a125dc03908a7b738f8023d13763f28a11d7633c6c8bc463478430 E assert (1200.0 - 216.0) <= 772
Failed Test: tests/committee/test_committee.py::TestCommitteeMembers::test_there_is_at_least_one_trustless_candidate
tests/committee/test_committee.py::TestCommitteeMembers::test_there_is_at_least_one_trustless_candidate: The test failed in the call phase - tests/committee/test_committee.py:391: in test_there_is_at_least_one_trustless_candidate assert len(api.get_trustless_candidates(current_mc_epoch, valid_only=True)) > 0 E assert 0 > 0 E + where 0 = len({}) E + where {} = <bound method SubstrateApi.get_trustless_candidates of <src.substrate_api.SubstrateApi object at 0x7faea7102a10>>(773, valid_only=True) E + where <bound method SubstrateApi.get_trustless_candidates of <src.substrate_api.SubstrateApi object at 0x7faea7102a10>> = <src.substrate_api.SubstrateApi object at 0x7faea7102a10>.get_trustless_candidates
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_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:40: in test_register_candidate registration = candidate_registrations[registered_mc_pub_key][0] E KeyError: '0xd25a7f974e93a0a270abc7ab2f1a81121d63b8b20d644cb87ee0e4de1824f4ff'
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log Expired
1.23 MB