Skip to content

[ET Device Support] Extract shared device test utilities to reduce redundancy #73420

[ET Device Support] Extract shared device test utilities to reduce redundancy

[ET Device Support] Extract shared device test utilities to reduce redundancy #73420

Triggered via pull request May 27, 2026 22:09
Status Failure
Total duration 3m 13s
Artifacts

lint.yml

on: pull_request
Get changed files  /  get-changed-files
4s
Get changed files / get-changed-files
link-check  /  lint-urls
11s
link-check / lint-urls
link-check  /  lint-xrefs
12s
link-check / lint-xrefs
link-check  /  lint-file-size
12s
link-check / lint-file-size
android-java-format
13s
android-java-format
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
lintrunner
Process completed with exit code 1.
FLAKE8 F821: test/models/export_program_with_device_info.py#L52
undefined name 'exir' See https://www.flake8rules.com/rules/F821.html.
lintrunner-mypy
Process completed with exit code 1.
MYPY name-defined: test/models/export_program_with_device_info.py#L52
Name "exir" is not defined To disable, use ` # type: ignore[name-defined]`
link-check / lint-xrefs
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
link-check / lint-file-size
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
link-check / lint-urls
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
android-java-format
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-java@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lintrunner
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
CLANGFORMAT format: runtime/executor/test/method_meta_test.cpp#L0
See https://clang.llvm.org/docs/ClangFormat.html. Run `lintrunner -a` to apply this patch.
UFMT format: exir/emit/test/test_emit.py#L0
Run `lintrunner -a` to apply this patch.
UFMT format: test/models/export_program_with_device_info.py#L0
Run `lintrunner -a` to apply this patch.
UFMT format: exir/tests/test_propagate_device_pass.py#L0
Run `lintrunner -a` to apply this patch.
CLANGFORMAT format: extension/tensor/test/tensor_ptr_device_test.cpp#L0
See https://clang.llvm.org/docs/ClangFormat.html. Run `lintrunner -a` to apply this patch.
lintrunner-mypy
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/