Skip to content

Implement multisite-switchover CTL command #60

Implement multisite-switchover CTL command

Implement multisite-switchover CTL command #60

Triggered via pull request March 26, 2025 22:57
@avandrasavandras
synchronize #5
ctl-switchover
Status Failure
Total duration 14m 13s
Artifacts 1

tests.yaml

on: pull_request
Matrix: behave
Matrix: unit
pyright
35s
pyright
Test compatibility with the latest version of ydiff
15s
Test compatibility with the latest version of ydiff
docs
2m 28s
docs
isort
20s
isort
Finalize Codacy
0s
Finalize Codacy
Matrix: post-unit-coverage
Finalize coveralls.io
0s
Finalize coveralls.io
Fit to window
Zoom out
Zoom in

Annotations

38 errors
Test compatibility with the latest version of ydiff
Process completed with exit code 2.
isort: patroni/multisite.py#L1
Imports are incorrectly sorted and/or formatted.
isort: patroni/postgresql/citus.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_api.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_raft.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_exhibitor.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_rewind.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_patroni.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_cancellable.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_config.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_kubernetes.py#L1
Imports are incorrectly sorted and/or formatted.
unit (macos-latest, 3.11)
Process completed with exit code 3.
unit (ubuntu-latest, 3.11)
Process completed with exit code 3.
unit (ubuntu-latest, 3.10)
Process completed with exit code 3.
unit (ubuntu-latest, 3.9)
Process completed with exit code 3.
unit (ubuntu-latest, 3.8)
Process completed with exit code 3.
pyright: patroni/api.py#L678
Type of "site_switches" is partially unknown   Type of "site_switches" is "Unknown | None" (reportUnknownMemberType)
pyright: patroni/api.py#L678
Argument type is partially unknown   Argument corresponds to parameter "args" in function "format"   Argument type is "Unknown | None" (reportUnknownArgumentType)
pyright: patroni/api.py#L678
Cannot access attribute "site_switches" for class "SingleSiteController"   Attribute "site_switches" is unknown (reportAttributeAccessIssue)
pyright: patroni/api.py#L1196
Return type, "Unknown | None", is partially unknown (reportUnknownParameterType)
pyright: patroni/api.py#L1202
Type of "_write_response" is unknown (reportUnknownMemberType)
pyright: patroni/api.py#L1202
Return type is unknown (reportUnknownVariableType)
pyright: patroni/api.py#L1202
Cannot access attribute "_write_response" for class "RestApiHandler*"   Attribute "_write_response" is unknown (reportAttributeAccessIssue)
pyright: patroni/api.py#L1209
Type of "dcs" is partially unknown   Type of "dcs" is "AbstractDCS | Unknown" (reportUnknownMemberType)
pyright: patroni/api.py#L1209
Type of "manual_failover" is partially unknown   Type of "manual_failover" is "((leader: str | None, candidate: str | None, scheduled_at: datetime | None = None, target_site: str | None = None, version: Any | None = None) -> bool) | Unknown" (reportUnknownMemberType)
pyright: patroni/api.py#L1209
Cannot access attribute "dcs" for class "SingleSiteController"   Attribute "dcs" is unknown (reportAttributeAccessIssue)
unit (ubuntu-22.04, 3.7)
Process completed with exit code 3.
unit (macos-latest, 3.10)
Process completed with exit code 3.
unit (macos-latest, 3.9)
Process completed with exit code 3.
unit (windows-latest, 3.11)
Process completed with exit code 1.
unit (windows-latest, 3.8)
Process completed with exit code 1.
unit (windows-latest, 3.10)
Process completed with exit code 1.
unit (macos-latest, 3.8)
Process completed with exit code 3.
unit (macos-latest, 3.8)
[notice] A new release of pip is available: 21.1.1 -> 25.0.1 [notice] To update, run: python3.8 -m pip install --upgrade pip
unit (windows-latest, 3.9)
Process completed with exit code 1.
unit (windows-latest, 3.7)
Process completed with exit code 1.
docs
Process completed with exit code 255.
behave (ubuntu-22.04, 3.13, etcd)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
behave-ubuntu-22.04-etcd-3.13-logs Expired
1.38 KB
sha256:c0869840b2a4f968b9f958dab401af4f322a7e46432f164f07baf7d1f23804ee