Skip to content

Update ocaml/xapi/xapi_pif_helpers.ml #796

Update ocaml/xapi/xapi_pif_helpers.ml

Update ocaml/xapi/xapi_pif_helpers.ml #796

Triggered via push February 21, 2024 16:00
Status Cancelled
Total duration 3m 22s
Artifacts

main.yml

on: push
Ocaml tests
2m 57s
Ocaml tests
Deprecation tests
23s
Deprecation tests
Matrix: Python tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
Ocaml tests
The operation was canceled.
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'
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/.
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/.
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/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/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]