google / google/xls

xls/visualization/ir_viz/app release fails in nightly workflow

Open
#2,021 0 comments 0 reactions 0 assignees View on GitHub
🧑‍🌾 gardener
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

**Describe the bug**
xls/github/gcp_ubuntu_release has been failing since at least Se 25, 2024 (from available history). I've cleaned it up so that `./xls/tools/make_release.py xls_20250328` succeeds locally, but it still fails in the nightly workflow due to a problematic file dependency in the ir_viz app.

The current error is:

```
I0328 05:32:09.135509 127290798521216 package_bazel_build.py:253] INFO: - Unable to find common path for /home/testing/.cache/bazel/_bazel_testing/5eeddc84bceff4fbe76fd8c516cb1790/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/site-packages/setuptools/_vendor/jaraco/text/Lorem ipsum.txt, copying instead
Traceback (most recent call last):
File "/tmpfs/src/github/xls/./bazel-bin/xls/dev_tools/package_bazel_build.runfiles/_main/xls/dev_tools/package_bazel_build.py", line 355, in
app.run(main)
File "/tmpfs/src/github/xls/bazel-bin/xls/dev_tools/package_bazel_build.runfiles/abseil-py~/absl/app.py", line 308, in run
_run_main(main, args)
File "/tmpfs/src/github/xls/bazel-bin/xls/dev_tools/package_bazel_build.runfiles/abseil-py~/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
^^^^^^^^^^
File "/tmpfs/src/github/xls/./bazel-bin/xls/dev_tools/package_bazel_build.runfiles/_main/xls/dev_tools/package_bazel_build.py", line 349, in main
packager.package_target(t)
File "/tmpfs/src/github/xls/./bazel-bin/xls/dev_tools/package_bazel_build.runfiles/_main/xls/dev_tools/package_bazel_build.py", line 215, in package_target
self._copy_to_output(mf_path, mf_mapping)
File "/tmpfs/src/github/xls/./bazel-bin/xls/dev_tools/package_bazel_build.runfiles/_main/xls/dev_tools/package_bazel_build.py", line 257, in _copy_to_output
shutil.copy2(path, output_path, follow_symlinks=True)
File "/home/testing/.cache/bazel/_bazel_testing/5eeddc84bceff4fbe76fd8c516cb1790/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/shutil.py", line 448, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/home/testing/.cache/bazel/_bazel_testing/5eeddc84bceff4fbe76fd8c516cb1790/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/testing/.cache/bazel/_bazel_testing/5eeddc84bceff4fbe76fd8c516cb1790/execroot/_main/bazel-out/k8-opt/bin/xls/visualization/ir_viz/app.runfiles/_main/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/python3.11/site-packages/setuptools/_vendor/jaraco/text/Lorem\\sipsum.txt'
Creating release directory xls_20250328
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.