Skip to content

py2->py3: nbd_client_manager.py #7716

py2->py3: nbd_client_manager.py

py2->py3: nbd_client_manager.py #7716

Triggered via pull request March 14, 2024 09:51
Status Success
Total duration 11m 43s
Artifacts 6

main.yml

on: pull_request
Test SDK builds  /  Generate SDK sources
7m 56s
Test SDK builds / Generate SDK sources
Run OCaml tests
11m 23s
Run OCaml tests
Deprecation tests
20s
Deprecation tests
Matrix: Python tests
Test SDK builds  /  Build C# SDK
1m 0s
Test SDK builds / Build C# SDK
Test SDK builds  /  Build PowerShell 5.x SDK (.NET Framework 4.5)
2m 17s
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

11 errors, 26 warnings, and 10 notices
pytype: module-attr: scripts/perfmon#L317
No attribute 'URLopener' on module 'urllib'
pytype: module-attr: scripts/hatests#L198
No attribute 'urlopen' on module 'urllib'
pytype: module-attr: scripts/hatests#L218
No attribute 'urlopen' on module 'urllib'
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: module-attr: scripts/examples/python/mini-xenrt.py#L112
No attribute 'server' on module 'xmlrpc.client'
pytype: wrong-arg-types: scripts/examples/python/XenAPI/XenAPI.py#L134
Function ServerProxy.__init__ was called with the wrong arguments, Expected: (self, uri, transport, encoding, verbose: bool = ..., ...), Actually passed: (self, uri, transport, encoding, verbose: int, ...), Called from (traceback):, line 218, in xapi_local
pytype: module-attr: scripts/examples/python/XenAPI/XenAPI.py#L179
No attribute 'errno' on module 'socket'
Python tests (3.11)
Resource not accessible by integration
Deprecation tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Python tests (2.7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L18
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:18:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L40
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:40:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L70
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:70:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L90
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:90:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L101
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:101:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L111
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:111:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L155
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:155:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L161
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:161:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11): python3/unittest/test_nbd_client_manager.py#L203
[pylint] reported by reviewdog 🐶 C0115: Missing class docstring (missing-class-docstring) Raw Output: python3/unittest/test_nbd_client_manager.py:203:0: C0115: Missing class docstring (missing-class-docstring)
Python tests (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, 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/perfmon#L486
No attribute 'alarm_auto_inhibit_period' on VariableState
pytype: attribute-error: scripts/perfmon#L487
No attribute 'alarm_trigger_period' on VariableState
pytype: attribute-error: scripts/perfmon#L1251
No attribute 'details' on Exception
pytype: attribute-error: scripts/hatests#L42
No attribute 'iteritems' on dict
pytype: attribute-error: scripts/examples/python/XenAPI/XenAPI.py#L187
No attribute 'local_logout' on Callable[[], Any], In Union[Callable[[], Any], xmlrpc.client._Method]
pytype: attribute-error: scripts/examples/python/shell.py#L36
No attribute 'Cmd' on str, In Union[module, str]
pytype: attribute-error: scripts/examples/python/shell.py#L41
No attribute 'Cmd' on str, In Union[module, str]
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, falti/[email protected], actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test SDK builds / Build C# SDK
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test SDK builds / Build PowerShell 7.x SDK (8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test SDK builds / Build PowerShell 7.x SDK (6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run OCaml tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, falti/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test SDK builds / Build PowerShell 5.x SDK (.NET Framework 4.5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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_Binaries_CSharp Expired
608 KB
SDK_Binaries_XenServerPowerShell_NET45 Expired
4.62 MB
SDK_Binaries_XenServerPowerShell_NET6 Expired
4.85 MB
SDK_Binaries_XenServerPowerShell_NET8 Expired
4.74 MB
SDK_Source_CSharp Expired
4.06 MB
SDK_Source_PowerShell Expired
2.8 MB