Skip to content

CP-49928 static-vdis: Fix pyright: Add type hints, assert, var = "" #801

CP-49928 static-vdis: Fix pyright: Add type hints, assert, var = ""

CP-49928 static-vdis: Fix pyright: Add type hints, assert, var = "" #801

Triggered via pull request July 2, 2024 16:15
Status Success
Total duration 11m 59s
Artifacts 8

other.yml

on: pull_request
Test SDK builds  /  Generate SDK sources
8m 7s
Test SDK builds / Generate SDK sources
Deprecation tests
6s
Deprecation tests
Matrix: Python tests
Test SDK builds  /  Build C# SDK
1m 30s
Test SDK builds / Build C# SDK
Test SDK builds  /  Build C SDK
22s
Test SDK builds / Build C SDK
Test SDK builds  /  Build PowerShell 5.x SDK (.NET Framework 4.5)
1m 11s
Test SDK builds / Build PowerShell 5.x SDK (.NET Framework 4.5)
Matrix: Test SDK builds / Build PowerShell 7.x SDK
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 2 warnings, and 3 notices
pytype: python-compiler-error: scripts/backup-sr-metadata.py#L35
multiple exception types must be parenthesized
pytype: python-compiler-error: scripts/restore-sr-metadata.py#L32
multiple exception types must be parenthesized
pytype: name-error: scripts/plugins/extauth-hook-AD.py#L270
Name 'upn' is not defined
Python tests (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test SDK builds / Generate SDK sources
Restore cache failed: Dependencies file is not found in /home/runner/work/xen-api/xen-api. Supported file pattern: go.sum
pytype: ignored-abstractmethod: scripts/plugins/extauth-hook-AD.py#L85
Stray abc.abstractmethod decorator on method ADConfig._apply_to_cache, (ADConfig does not have metaclass abc.ABCMeta)
pytype: ignored-abstractmethod: scripts/plugins/extauth-hook-AD.py#L178
Stray abc.abstractmethod decorator on method DynamicPam._add_subject, (DynamicPam does not have metaclass abc.ABCMeta)
pytype: ignored-abstractmethod: scripts/plugins/extauth-hook-AD.py#L178
Stray abc.abstractmethod decorator on method DynamicPam._match_subject, (DynamicPam does not have metaclass abc.ABCMeta)

Artifacts

Produced during runtime
Name Size Digest
SDK_Artifacts_C Expired
9.1 MB
sha256:7defba99818e6d7de941fcaa3708b10ae8b6847e8cf6339b41d73d5f7c6ca8b4
SDK_Binaries_CSharp Expired
607 KB
sha256:f9c65c01845fdc302b00142bc27573004bc0668da7c8a4e3ee91f5e7d4058494
SDK_Binaries_XenServerPowerShell_NET45 Expired
1.43 MB
sha256:92716b238de35c72129352858560869565d04d6fe4881bfb336e45e68accb534
SDK_Binaries_XenServerPowerShell_NET6 Expired
1.61 MB
sha256:72d85ecdb24aa760b65ef5145d74507ce982c7f96a0a5bf96ed29e099781c0c7
SDK_Binaries_XenServerPowerShell_NET8 Expired
1.57 MB
sha256:f6219b1dfaa1298cf76b8839a7adf656752949767757f28bc22ea96a6321eee0
SDK_Source_C Expired
903 KB
sha256:f75fcd53c0e684c9a9603f4adcc151e869ed062f55cae7997f1fccc2856d1add
SDK_Source_CSharp Expired
569 KB
sha256:7eedb881ba7d8e736a44d34f61081b06b73c7e0cd2ce6f579e17d86a5e18b130
SDK_Source_PowerShell Expired
764 KB
sha256:416cbe408aa58bd93c34b9745d6c7d3deb02b3903ad386735ad862cc5779c9b5