Skip to content

Staging Partner Chains Tests #65

Staging Partner Chains Tests

Staging Partner Chains Tests #65

Manually triggered December 5, 2024 14:01
Status Failure
Total duration 2m 52s
Artifacts 1

staging.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

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["chainId"] == config.chain_id, "Chain ID 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:228: 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:109: in update_d_param response = self.handle_response(result) src/sidechain_main_cli.py:232: in handle_response raise SidechainMainCliException(result.stdout) E src.sidechain_main_cli.SidechainMainCliException: Invalid option `--chain-id' E E Usage: pc-contracts-cli update-d-parameter (-k|--payment-signing-key-file /absolute/path/to/payment.skey) E [-K|--stake-signing-key-file /absolute/path/to/stake.skey] E (-i|--sidechain-id 1) E (-c|--genesis-committee-hash-utxo TX_ID#TX_IDX) E (-g|--governance-authority PUB_KEY_HASH) E --threshold-numerator INT E --threshold-denominator INT E --d-parameter-permissioned-candidates-count INT E --d-parameter-registered-candidates-count INT E [--ogmios-host localhost] E [--ogmios-path some/path] E [--ogmios-port 1234] E [--ogmios-secure] E [--kupo-host localhost] E [--kupo-path some/path] E [--kupo-port 1234] [--kupo-secure] E --network NETWORK E Update a D parameter
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:228: 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_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:208: in update_permissioned_candidates response = self.handle_response(result) src/sidechain_main_cli.py:232: in handle_response raise SidechainMainCliException(result.stdout) E src.sidechain_main_cli.SidechainMainCliException: Invalid option `--chain-id' E E Usage: pc-contracts-cli update-permissioned-candidates (-k|--payment-signing-key-file /absolute/path/to/payment.skey) E [-K|--stake-signing-key-file /absolute/path/to/stake.skey] E (-i|--sidechain-id 1) E (-c|--genesis-committee-hash-utxo TX_ID#TX_IDX) E (-g|--governance-authority PUB_KEY_HASH) E --threshold-numerator INT E --threshold-denominator INT E [--add-candidate SIDECHAIN_KEY:AURA_KEY:GRANDPA_KEY] E ([--remove-all-candidates] E | E [--remove-candidate SIDECHAIN_KEY:AURA_KEY:GRANDPA_KEY]) E [--ogmios-host localhost] E [--ogmios-path some/path] E [--ogmios-port 1234] E [--ogmios-secure] E [--kupo-host localhost] E [--kupo-path some/path] E [--kupo-port 1234] E [--kupo-secure] E --network NETWORK E Update a Permissioned Candidates list
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:228: 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_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:208: in update_permissioned_candidates response = self.handle_response(result) src/sidechain_main_cli.py:232: in handle_response raise SidechainMainCliException(result.stdout) E src.sidechain_main_cli.SidechainMainCliException: Invalid option `--chain-id' E E Usage: pc-contracts-cli update-permissioned-candidates (-k|--payment-signing-key-file /absolute/path/to/payment.skey) E [-K|--stake-signing-key-file /absolute/path/to/stake.skey] E (-i|--sidechain-id 1) E (-c|--genesis-committee-hash-utxo TX_ID#TX_IDX) E (-g|--governance-authority PUB_KEY_HASH) E --threshold-numerator INT E --threshold-denominator INT E [--add-candidate SIDECHAIN_KEY:AURA_KEY:GRANDPA_KEY] E ([--remove-all-candidates] E | E [--remove-candidate SIDECHAIN_KEY:AURA_KEY:GRANDPA_KEY]) E [--ogmios-host localhost] E [--ogmios-path some/path] E [--ogmios-port 1234] E [--ogmios-secure] E [--kupo-host localhost] E [--kupo-path some/path] E [--kupo-port 1234] E [--kupo-secure] E --network NETWORK E Update a Permissioned Candidates list
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:81: in get_signatures raise e src/sidechain_main_cli.py:66: 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:228: 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:163: in deregister_candidate response = self.handle_response(result) src/sidechain_main_cli.py:232: in handle_response raise SidechainMainCliException(result.stdout) E src.sidechain_main_cli.SidechainMainCliException: Invalid option `--chain-id' E E Usage: pc-contracts-cli deregister (-k|--payment-signing-key-file /absolute/path/to/payment.skey) E [-K|--stake-signing-key-file /absolute/path/to/stake.skey] E (-i|--sidechain-id 1) E (-c|--genesis-committee-hash-utxo TX_ID#TX_IDX) E (-g|--governance-authority PUB_KEY_HASH) E --threshold-numerator INT E --threshold-denominator INT E (--ada-based-staking E --spo-public-key PUBLIC_KEY | E --native-token-based-staking) E [--ogmios-host localhost] E [--ogmios-path some/path] E [--ogmios-port 1234] [--ogmios-secure] E [--kupo-host localhost] E [--kupo-path some/path] [--kupo-port 1234] E [--kupo-secure] --network NETWORK E Deregister a committee member
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log Expired
21 KB