Skip to content

test(e2e): reproduce py_binary execve failure under bazel run (runfiles discovery)#1113

Open
gregmagolan wants to merge 1 commit into
mainfrom
test/py-binary-bazel-run-runfiles-discovery
Open

test(e2e): reproduce py_binary execve failure under bazel run (runfiles discovery)#1113
gregmagolan wants to merge 1 commit into
mainfrom
test/py-binary-bazel-run-runfiles-discovery

test(e2e): reproduce py_binary execve failure under bazel run (runfil…

731228f
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / test (test-examples-uv_pip_compile-bazel-8) succeeded Jun 16, 2026 in 25s

✅ test //... · Tests passed (cached)

✅ Succeeded · 📅 Tue Jun 16 08:39:25 UTC 2026 · ⏱ 25.5s — 🔧 Setup 7s · 🧪 Test 18.4s
👤 runner · 🖥 runnervm1li68 · 💎 aspect-cli v2026.24.11
📦 4 targets · ⚡ 13 of 40 actions executed (67% cached) · 🧪 1 test (100% cached) · 🔧 bazel v8.7.0 test · 🎯 k8 · ⚙️ opt
🐙 GitHub Actions

💬 Last update: test task complete

Details

🎯 Bazel targets (4)

⚡ 1 Test Cached
Label                                  | Target Type       | Duration
---------------------------------------+-------------------+---------
//:generate_requirements_txt_diff_test | _pip_compile_test | 342ms   
✅ 3 Targets Built
Label                        | Target Type   
-----------------------------+---------------
//:generate_requirements_txt | _pip_compile  
//app:app                    | py_binary     
//app:app.find_main          | determine_main

🔁 Reproduce

aspect test -- //...
# vanilla bazel
bazel test -- //...

Install aspect: docs.aspect.build/cli/install

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 7s      
Test  | Run bazel tests              | 18.4s   
------+------------------------------+---------
Total |                              | 25.5s   

🧮 Bazel details

📟 Command line · bazel test //...
bazel test \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --test_tag_filters=-skip-on-bazel8 \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/45fb1e8f-80f3-4f10-91cc-5c24a066b469.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=test-examples-uv_pip_compile-bazel-8 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-f3f2291c-0649-48a9-85e4-c0ae33adba5f.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: a7378459-03a6-4928-9f6f-0900b3480d61
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jun 16 08:39:25 UTC 2026
  • End time: Tue Jun 16 08:39:35 UTC 2026
  • User: runner
  • Host name: runnervm1li68
  • CPU Target: k8
  • Mode: opt
  • Working directory: /home/runner/work/rules_py/rules_py/examples/uv_pip_compile
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/uv_pip_compile
  • Server PID: 2321
⏱ Timing
  • Elapsed time: 9.6s
  • Analysis time: 5.9s
  • Execution time: 5.4s
  • Bazel server time: 16.1 cpu-seconds
  • Cached tests time saved: 0.3 cpu-seconds
📦 Build graph
  • Targets: 4 targets (3,664 configured, 1 aspect application)
  • Actions: 13 actions (40 created)
  • Packages: 105 packages loaded
💾 Cache stats
  • Actions: 27 of 40 cached (67%)
  • Tests: 1 of 1 cached (100%)
⚡ Actions by mnemonic (7)
Mnemonic                   | Count | %    
---------------------------+-------+------
RepoMappingManifest        | 3     | 23.0%
SourceSymlinkManifest      | 3     | 23.0%
TemplateExpand             | 3     | 23.0%
BazelWorkspaceStatusAction | 1     | 7.6% 
FileWrite                  | 1     | 7.6% 
Symlink                    | 1     | 7.6% 
TestRunner                 | 1     | 7.6% 
🏃 Actions by runner (2)
Runner                  | Count | %    
------------------------+-------+------
internal                | 11    | 84.6%
disk cache hit · Remote | 2     | 15.3%
🏠 Workspace status (4)
  • BUILD_HOST: runnervm1li68
  • BUILD_TIMESTAMP: 1781599169
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jun 16 08 39 29 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: test-examples-uv_pip_compile-bazel-8
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (12)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/16ea84e6f592e46b8b51deeab178822d/failure_detail.rawproto
--idle_server_tasks
--max_idle_secs=10800
--noclient_debug
--nofatal_event_bus_exceptions
--noshutdown_on_low_sys_mem
--nowatchfs
--nowindows_enable_symlinks
--output_base=/home/runner/.cache/bazel/_bazel_runner/16ea84e6f592e46b8b51deeab178822d
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (15)
--build_event_binary_file=/tmp/build-event-out-f3f2291c-0649-48a9-85e4-c0ae33adba5f.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=test-examples-uv_pip_compile-bazel-8
--build_metadata=ASPECT_TASK_NAME=Test
--color=yes
--disk_cache=/home/runner/.cache/bazel-disk
--experimental_profile_include_target_label
--generate_json_trace_profile=1
--lockfile_mode=off
--nobuild_runfile_links
--profile=/tmp/45fb1e8f-80f3-4f10-91cc-5c24a066b469.profile.gz
--remote_download_outputs=minimal
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel8

⏱ Last updated Tue Jun 16 08:39:37 UTC 2026 · 📊 GitHub API quota 129/15,000 (1% used, resets in 51m, throttle 10×)
🚀 Powered by Aspect CLI (v2026.24.11)  |  Aspect Build · X · LinkedIn · YouTube