[llvm] [llvm-ir2vec] Automating ir2vec python bindings testing in llvm CI (PR #194593)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 04:41:42 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 174756 tests passed
* 2586 tests skipped
* 6 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/llvm-ir2vec/bindings/ir2vec-getBBEmbMap.py</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib "/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getBBEmbMap.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getBBEmbMap.py
# executed command: env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getBBEmbMap.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getBBEmbMap.py", line 4, in <module>
# | import ir2vec
# | ModuleNotFoundError: No module named 'ir2vec'
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getBBEmbMap.py
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getBBEmbMap.py
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.tools/llvm-ir2vec/bindings/ir2vec-getFuncEmb.py</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib "/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmb.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmb.py
# executed command: env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmb.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmb.py", line 4, in <module>
# | import ir2vec
# | ModuleNotFoundError: No module named 'ir2vec'
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmb.py
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmb.py
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.tools/llvm-ir2vec/bindings/ir2vec-getFuncEmbMap.py</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib "/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmbMap.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmbMap.py
# executed command: env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmbMap.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmbMap.py", line 4, in <module>
# | import ir2vec
# | ModuleNotFoundError: No module named 'ir2vec'
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmbMap.py
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncEmbMap.py
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.tools/llvm-ir2vec/bindings/ir2vec-getFuncNames.py</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib "/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncNames.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncNames.py
# executed command: env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncNames.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncNames.py", line 4, in <module>
# | import ir2vec
# | ModuleNotFoundError: No module named 'ir2vec'
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncNames.py
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getFuncNames.py
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.tools/llvm-ir2vec/bindings/ir2vec-getInstEmbMap.py</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib "/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getInstEmbMap.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getInstEmbMap.py
# executed command: env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getInstEmbMap.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getInstEmbMap.py", line 4, in <module>
# | import ir2vec
# | ModuleNotFoundError: No module named 'ir2vec'
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getInstEmbMap.py
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-getInstEmbMap.py
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.tools/llvm-ir2vec/bindings/ir2vec-initEmbedding.py</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib "/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-initEmbedding.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-initEmbedding.py
# executed command: env PYTHONPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-initEmbedding.py /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/../Inputs/input.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-initEmbedding.py", line 4, in <module>
# | import ir2vec
# | ModuleNotFoundError: No module named 'ir2vec'
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-initEmbedding.py
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-ir2vec/bindings/ir2vec-initEmbedding.py
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/194593
More information about the llvm-commits
mailing list