Skip to content

Fixup perfmon

Fixup perfmon #211

Triggered via pull request January 30, 2024 23:51
Status Failure
Total duration 12m 2s
Artifacts

main.yml

on: pull_request
Matrix: Python tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 16 warnings
Deprecation tests: scripts/examples/python/XenAPI/XenAPI.py#L186
[mypy] reported by reviewdog ๐Ÿถ Item "None" of "Any | None" has no attribute "startswith" [union-attr] Raw Output: /home/runner/work/xen-api/xen-api/scripts/examples/python/XenAPI/XenAPI.py:186:16: error: Item "None" of "Any | None" has no attribute "startswith" [union-attr]
Deprecation tests: scripts/mail-alarm#L726
[mypy] reported by reviewdog ๐Ÿถ Item "None" of "Node | None" has no attribute "toxml" [union-attr] Raw Output: /home/runner/work/xen-api/xen-api/scripts/mail-alarm:726:24: error: Item "None" of "Node | None" has no attribute "toxml" [union-attr]
Deprecation tests: scripts/mail-alarm#L797
[mypy] reported by reviewdog ๐Ÿถ Cannot determine type of "cached_etg" [has-type] Raw Output: /home/runner/work/xen-api/xen-api/scripts/mail-alarm:797:20: error: Cannot determine type of "cached_etg" [has-type]
Deprecation tests: scripts/mail-alarm#L821
[mypy] reported by reviewdog ๐Ÿถ Incompatible types in assignment (expression has type "NetworkUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment] Raw Output: /home/runner/work/xen-api/xen-api/scripts/mail-alarm:821:23: error: Incompatible types in assignment (expression has type "NetworkUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment]
Deprecation tests: scripts/mail-alarm#L832
[mypy] reported by reviewdog ๐Ÿถ Incompatible types in assignment (expression has type "MemoryUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment] Raw Output: /home/runner/work/xen-api/xen-api/scripts/mail-alarm:832:23: error: Incompatible types in assignment (expression has type "MemoryUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment]
Deprecation tests: scripts/mail-alarm#L842
[mypy] reported by reviewdog ๐Ÿถ Incompatible types in assignment (expression has type "DiskUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment] Raw Output: /home/runner/work/xen-api/xen-api/scripts/mail-alarm:842:23: error: Incompatible types in assignment (expression has type "DiskUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment]
Deprecation tests: scripts/mail-alarm#L852
[mypy] reported by reviewdog ๐Ÿถ Incompatible types in assignment (expression has type "Dom0FSUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment] Raw Output: /home/runner/work/xen-api/xen-api/scripts/mail-alarm:852:23: error: Incompatible types in assignment (expression has type "Dom0FSUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment]
Deprecation tests: scripts/mail-alarm#L861
[mypy] reported by reviewdog ๐Ÿถ Incompatible types in assignment (expression has type "Dom0LogFSUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment] Raw Output: /home/runner/work/xen-api/xen-api/scripts/mail-alarm:861:23: error: Incompatible types in assignment (expression has type "Dom0LogFSUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment]
Deprecation tests: scripts/mail-alarm#L870
[mypy] reported by reviewdog ๐Ÿถ Incompatible types in assignment (expression has type "Dom0MemUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment] Raw Output: /home/runner/work/xen-api/xen-api/scripts/mail-alarm:870:23: error: Incompatible types in assignment (expression has type "Dom0MemUsageAlarmETG", variable has type "CpuUsageAlarmETG") [assignment]
Deprecation tests
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
Python tests (3.11)
Process completed with exit code 3.
Deprecation tests: scripts/perfmon#L40
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (120/112) (line-too-long) Raw Output: scripts/perfmon:40:0: C0301: Line too long (120/112) (line-too-long)
Deprecation tests: scripts/perfmon#L281
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (116/112) (line-too-long) Raw Output: scripts/perfmon:281:0: C0301: Line too long (116/112) (line-too-long)
Deprecation tests: scripts/perfmon#L348
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (164/112) (line-too-long) Raw Output: scripts/perfmon:348:0: C0301: Line too long (164/112) (line-too-long)
Deprecation tests: scripts/perfmon#L360
[pylint] reported by reviewdog ๐Ÿถ C0325: Unnecessary parens after 'if' keyword (superfluous-parens) Raw Output: scripts/perfmon:360:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens)
Deprecation tests: scripts/perfmon#L513
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (176/112) (line-too-long) Raw Output: scripts/perfmon:513:0: C0301: Line too long (176/112) (line-too-long)
Deprecation tests: scripts/perfmon#L617
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (121/112) (line-too-long) Raw Output: scripts/perfmon:617:0: C0301: Line too long (121/112) (line-too-long)
Deprecation tests: scripts/perfmon#L671
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (203/112) (line-too-long) Raw Output: scripts/perfmon:671:0: C0301: Line too long (203/112) (line-too-long)
Deprecation tests: scripts/perfmon#L672
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (115/112) (line-too-long) Raw Output: scripts/perfmon:672:0: C0301: Line too long (115/112) (line-too-long)
Deprecation tests: scripts/perfmon#L696
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (115/112) (line-too-long) Raw Output: scripts/perfmon:696:0: C0301: Line too long (115/112) (line-too-long)
Deprecation tests: scripts/perfmon#L702
[pylint] reported by reviewdog ๐Ÿถ C0301: Line too long (116/112) (line-too-long) Raw Output: scripts/perfmon:702:0: C0301: Line too long (116/112) (line-too-long)
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)
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#L484
No attribute 'alarm_auto_inhibit_period' on VariableState
pytype: attribute-error: scripts/perfmon#L485
No attribute 'alarm_trigger_period' on VariableState
pytype: attribute-error: scripts/perfmon#L1251
No attribute 'details' on Exception
Ocaml tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, falti/dotenv-action@v1.0.4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.