cpu: Pin optimized-routines to v26.01 for SVE test#6879
Conversation
Upstream master added SVE2 strchr assembly that fails to build with -march=armv8.2-a+sve on Apollo/Fujitsu-class hosts. Shallow clone the v26.01 release tag so optimized-routines stays SVE-only. Signed-off-by: hholoubk <hholoubk@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis PR pins the optimized-routines repository clone in the aarch64 CPU SVE test config to branch v26.01, and adds explicit calls to drop the VM address cache using vm.address_cache.drop(vm.get_mac_address(0).lower()) immediately after starting the VM in both prepare_env and run, before waiting for guest login. Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
libvirt/tests/cfg/cpu/aarch64_cpu_sve.cfg (1)
54-54: Confirmv26.01tag pin for optimized-routines clone (avoids missing-ref failures)In
libvirt/tests/cfg/cpu/aarch64_cpu_sve.cfg(line 54), the clone command is now:optimized_repo_cmd = "git clone --depth=1 -b v26.01 https://github.com/ARM-software/optimized-routines ${target_dir}"The
v26.01tag exists inhttps://github.com/ARM-software/optimized-routines, so the pinned ref should resolve correctly at runtime. Keeping the pin improves reproducibility; consider documenting a periodic review for upstream fixes/security updates.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@libvirt/tests/cfg/cpu/aarch64_cpu_sve.cfg` at line 54, Verify that the pinned tag v26.01 exists upstream and keep the shallow clone pinned in the optimized_repo_cmd string; add an inline comment near optimized_repo_cmd noting the intentional tag pin for reproducibility and that the tag should be reviewed periodically for upstream fixes/security updates, and update your project/test configuration documentation to include a periodic-review note for this pinned ref.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@libvirt/tests/cfg/cpu/aarch64_cpu_sve.cfg`:
- Line 54: Verify that the pinned tag v26.01 exists upstream and keep the
shallow clone pinned in the optimized_repo_cmd string; add an inline comment
near optimized_repo_cmd noting the intentional tag pin for reproducibility and
that the tag should be reviewed periodically for upstream fixes/security
updates, and update your project/test configuration documentation to include a
periodic-review note for this pinned ref.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 16ff88f3-e743-43fe-b200-573983ccf47f
📒 Files selected for processing (1)
libvirt/tests/cfg/cpu/aarch64_cpu_sve.cfg
c3078ec to
94682a5
Compare
|
@smitterl ... could you please review and accept? |
Upstream master added SVE2 strchr assembly that fails to build with -march=armv8.2-a+sve on Apollo/Fujitsu-class hosts. Shallow clone the v26.01 release tag so optimized-routines stays SVE-only.
The test is passing with this change:
(1/1) type_specific.io-github-autotest-libvirt.aarch64_cpu_sve.optimized-routines: STARTED
(1/1) type_specific.io-github-autotest-libvirt.aarch64_cpu_sve.optimized-routines: PASS (802.06 s)
Summary by CodeRabbit