Skip to content

Bring feature/perf up-to-date with master #8124

Bring feature/perf up-to-date with master

Bring feature/perf up-to-date with master #8124

Triggered via pull request April 22, 2024 14:58
Status Success
Total duration 12m 16s
Artifacts 8

main.yml

on: pull_request
Test SDK builds  /  Generate SDK sources
7m 36s
Test SDK builds / Generate SDK sources
Run OCaml tests
12m 6s
Run OCaml tests
Deprecation tests
22s
Deprecation tests
Matrix: Python tests
Test SDK builds  /  Build C# SDK
37s
Test SDK builds / Build C# SDK
Test SDK builds  /  Build C SDK
21s
Test SDK builds / Build C SDK
Test SDK builds  /  Build PowerShell 5.x SDK (.NET Framework 4.5)
1m 13s
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, 17 warnings, and 10 notices
pytype: wrong-arg-types: scripts/hfx_filename#L36
Function socket.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: wrong-arg-types: scripts/hfx_filename#L38
Function socket.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__, Called from (traceback):, line 70, in db_get_by_uuid
pytype: wrong-arg-types: scripts/hfx_filename#L38
Function socket.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__, Called from (traceback):, line 75, in read_field
pytype: wrong-arg-types: scripts/hfx_filename#L46
Function bytes.find was called with the wrong arguments, Expected: (self, sub: Union[bytes, int], ...), Actually passed: (self, sub: str)
pytype: wrong-arg-types: scripts/hfx_filename#L48
Function bytes.split was called with the wrong arguments, Expected: (self, sep: Optional[bytes] = ..., ...), Actually passed: (self, sep: str)
pytype: wrong-arg-types: scripts/hfx_filename#L59
Function bytes.startswith was called with the wrong arguments, Expected: (self, prefix: Union[Tuple[bytes, ...], bytes]), Actually passed: (self, prefix: str), Called from (traceback):, line 84, in current file, line 70, in db_get_by_uuid
pytype: wrong-arg-types: scripts/hfx_filename#L63
Function bytes.endswith was called with the wrong arguments, Expected: (self, suffix: Union[Tuple[bytes, ...], bytes]), Actually passed: (self, suffix: str), Called from (traceback):, line 84, in current file, line 70, in db_get_by_uuid
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'
Python tests (3.11)
Resource not accessible by integration
Python tests (2.7)
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/.
Python tests (3.11): scripts/examples/python/XenAPI/XenAPI.py#L204
[pylint] reported by reviewdog 🐶 C0301: Line too long (112/100) (line-too-long) Raw Output: scripts/examples/python/XenAPI/XenAPI.py:204:0: C0301: Line too long (112/100) (line-too-long)
Python tests (3.11): scripts/examples/python/XenAPI/XenAPI.py#L150
[pylint] reported by reviewdog 🐶 C0103: Attribute name "_API_version" doesn't conform to snake_case naming style (invalid-name) Raw Output: scripts/examples/python/XenAPI/XenAPI.py:150:8: C0103: Attribute name "_API_version" doesn't conform to snake_case naming style (invalid-name)
Python tests (3.11): scripts/examples/python/XenAPI/XenAPI.py#L195
[pylint] reported by reviewdog 🐶 R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise) Raw Output: scripts/examples/python/XenAPI/XenAPI.py:195:12: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise)
Python tests (3.11): scripts/examples/python/XenAPI/XenAPI.py#L221
[pylint] reported by reviewdog 🐶 C0116: Missing function or method docstring (missing-function-docstring) Raw Output: scripts/examples/python/XenAPI/XenAPI.py:221:4: C0116: Missing function or method docstring (missing-function-docstring)
Python tests (3.11): scripts/examples/python/XenAPI/XenAPI.py#L221
[pylint] reported by reviewdog 🐶 C0103: Attribute name "API_version" doesn't conform to snake_case naming style (invalid-name) Raw Output: scripts/examples/python/XenAPI/XenAPI.py:221:4: C0103: Attribute name "API_version" doesn't conform to snake_case naming style (invalid-name)
Python tests (3.11): scripts/examples/python/XenAPI/XenAPI.py#L279
[pylint] reported by reviewdog 🐶 C0209: Formatting a regular string which could be an f-string (consider-using-f-string) Raw Output: scripts/examples/python/XenAPI/XenAPI.py:279:44: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
Python tests (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/hfx_filename#L59
No attribute 'startswith' on None, In Optional[bytes], Called from (traceback):, line 84, in current file, line 70, in db_get_by_uuid
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/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
Run OCaml tests
Failed to save: Unable to reserve cache with key v1-setup-ocaml-opam-download-github.com/xapi-project/xs-opam.git-4_14_1-2024-3-22-8786271552-8124, another job may be creating this cache. More details: Cache already exists. Scope: refs/pull/5582/merge, Key: v1-setup-ocaml-opam-download-github.com/xapi-project/xs-opam.git-4_14_1-2024-3-22-8786271552-8124, Version: 8ba50e9fc539bbaad67d1115157cd1e8ffd3994b0f3336146e0798f6d7232842
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
12.5 MB
SDK_Binaries_CSharp Expired
604 KB
SDK_Binaries_XenServerPowerShell_NET45 Expired
1.39 MB
SDK_Binaries_XenServerPowerShell_NET6 Expired
1.58 MB
SDK_Binaries_XenServerPowerShell_NET8 Expired
1.54 MB
SDK_Source_C Expired
886 KB
SDK_Source_CSharp Expired
563 KB
SDK_Source_PowerShell Expired
757 KB