Skip to content

Implement multisite-switchover CTL command #63

Implement multisite-switchover CTL command

Implement multisite-switchover CTL command #63

Re-run triggered April 14, 2025 13:49
Status Cancelled
Total duration 1m 30s
Artifacts

tests.yaml

on: pull_request
Matrix: behave
Matrix: unit
pyright
26s
pyright
Test compatibility with the latest version of ydiff
17s
Test compatibility with the latest version of ydiff
docs
2m 22s
docs
isort
26s
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

48 errors
behave (ubuntu-22.04, 3.13, kubernetes)
The run was canceled by @avandras.
behave (ubuntu-22.04, 3.13, kubernetes)
The operation was canceled.
behave (ubuntu-22.04, 3.13, raft)
The run was canceled by @avandras.
behave (ubuntu-22.04, 3.13, raft)
The operation was canceled.
behave (ubuntu-22.04, 3.13, etcd)
The run was canceled by @avandras.
behave (ubuntu-22.04, 3.13, etcd)
The operation was canceled.
behave (ubuntu-22.04, 3.13, exhibitor)
The run was canceled by @avandras.
behave (ubuntu-22.04, 3.13, exhibitor)
The operation was canceled.
behave (ubuntu-22.04, 3.13, etcd3)
The run was canceled by @avandras.
behave (ubuntu-22.04, 3.13, etcd3)
The operation was canceled.
behave (ubuntu-22.04, 3.13, consul)
The run was canceled by @avandras.
behave (ubuntu-22.04, 3.13, consul)
The operation was canceled.
isort: patroni/multisite.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.
isort: tests/test_postmaster.py#L1
Imports are incorrectly sorted and/or formatted.
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 1.
unit (macos-latest, 3.9)
Process completed with exit code 1.
unit (macos-latest, 3.10)
Process completed with exit code 1.
unit (macos-latest, 3.11)
Process completed with exit code 1.
unit (windows-latest, 3.10)
Process completed with exit code 1.
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.7)
Process completed with exit code 1.
unit (windows-latest, 3.9)
Process completed with exit code 1.
unit (ubuntu-latest, 3.11)
Process completed with exit code 1.
unit (ubuntu-latest, 3.8)
Process completed with exit code 1.
unit (ubuntu-latest, 3.10)
Process completed with exit code 1.
Test compatibility with the latest version of ydiff
Process completed with exit code 1.
unit (ubuntu-latest, 3.9)
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