Skip to content

shell.py: Fix warnings caused by overwriting cmd with str, and str too. #520

shell.py: Fix warnings caused by overwriting cmd with str, and str too.

shell.py: Fix warnings caused by overwriting cmd with str, and str too. #520

Triggered via pull request June 17, 2024 16:36
Status Success
Total duration 7m 58s
Artifacts 8

other.yml

on: pull_request
Test SDK builds  /  Generate SDK sources
4m 35s
Test SDK builds / Generate SDK sources
Deprecation tests
7s
Deprecation tests
Matrix: Python tests
Test SDK builds  /  Build C# SDK
1m 14s
Test SDK builds / Build C# SDK
Test SDK builds  /  Build C SDK
19s
Test SDK builds / Build C SDK
Test SDK builds  /  Build PowerShell 5.x SDK (.NET Framework 4.5)
1m 19s
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

10 errors, 3 warnings, and 10 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: wrong-arg-types: scripts/examples/python/exportimport.py#L66
Function SSLSocket.send was called with the wrong arguments, Expected: (self, data: Buffer, ...), Actually passed: (self, data: str), Attributes of protocol Buffer are not implemented on str: __buffer__
pytype: name-error: scripts/examples/python/exportimport.py#L76
Name 'long' is not defined
pytype: wrong-arg-types: scripts/examples/python/monitor-unwanted-domains.py#L14
Function bytes.split was called with the wrong arguments, Expected: (self, sep: Optional[bytes] = ..., ...), Actually passed: (self, sep: str)
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/.
pytype: attribute-error: scripts/static-vdis#L82
No attribute 'items' on None, In Optional[Any], Called from (traceback):, line 379, in current file, line 173, in add
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: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: bool, No attribute '__setitem__' on bool
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: int, No attribute '__setitem__' on int
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: float, No attribute '__setitem__' on float
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: str, No attribute '__setitem__' on str
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: bytes, No attribute '__setitem__' on bytes
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: None, No attribute '__setitem__' on None
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: tuple, No attribute '__setitem__' on tuple
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: datetime.datetime, No attribute '__setitem__' on datetime.datetime
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: xmlrpc.client.DateTime, No attribute '__setitem__' on xmlrpc.client.DateTime
pytype: unsupported-operands: scripts/static-vdis#L242
unsupported operand type(s) for item assignment: xmlrpc.client.Binary, No attribute '__setitem__' on xmlrpc.client.Binary

Artifacts

Produced during runtime
Name Size Digest
SDK_Artifacts_C Expired
9.1 MB
sha256:6429018cd71b460b5d0d095c9d67039df71d30a5b3f69aa79deb4df57800ac72
SDK_Binaries_CSharp Expired
607 KB
sha256:b2ebabfa6f5b0d8af03136d4ab57c4d6edf368f08032ef22c72a17dfe7805be8
SDK_Binaries_XenServerPowerShell_NET45 Expired
1.43 MB
sha256:9eaa867890f6e7a66012f7b9c6487ff7e4de7d1b1ea8b21b0c8351ebc4094a38
SDK_Binaries_XenServerPowerShell_NET6 Expired
1.61 MB
sha256:6255ff3ecb17a7ac0265c1951a9aff5c3f85eb54dc3157b5768bebab833d1287
SDK_Binaries_XenServerPowerShell_NET8 Expired
1.57 MB
sha256:7670533d572b1bf0b0a8c8bd1ed8a71bf61504c3687004c3ac920955835fe52c
SDK_Source_C Expired
903 KB
sha256:cf577155afdf8b6235520dd8d7cb1057a83db3f552b871230bf354064c2c954c
SDK_Source_CSharp Expired
569 KB
sha256:bf6f57b8b1caf3700733544c051c9f1f3ad2f52f35e05af075c12dd38d28895a
SDK_Source_PowerShell Expired
764 KB
sha256:25d80e5d94ef12d7db96197b3806b5089ebf96a9d400943fbb7c1d61a721ecc9