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
SDK_Artifacts_C Expired
9.1 MB
SDK_Binaries_CSharp Expired
607 KB
SDK_Binaries_XenServerPowerShell_NET45 Expired
1.43 MB
SDK_Binaries_XenServerPowerShell_NET6 Expired
1.61 MB
SDK_Binaries_XenServerPowerShell_NET8 Expired
1.57 MB
SDK_Source_C Expired
903 KB
SDK_Source_CSharp Expired
569 KB
SDK_Source_PowerShell Expired
764 KB