Skip to content

Fix NPE for live vm backup

ebd081a
Select commit
Loading
Failed to load commit list.
Merged

NAS backup provider: Support restore from backup to volumes on Ceph storage pool(s), and take backup for stopped instances with volumes on Ceph storage pool(s) #11684

Fix NPE for live vm backup
ebd081a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 29, 2025 in 0s

17.50% (+0.07%) compared to ec533cd

View this Pull Request on Codecov

17.50% (+0.07%) compared to ec533cd

Details

Codecov Report

❌ Patch coverage is 16.02564% with 131 lines in your changes missing coverage. Please review.
✅ Project coverage is 17.50%. Comparing base (ec533cd) to head (ebd081a).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
...ce/wrapper/LibvirtRestoreBackupCommandWrapper.java 25.80% 65 Missing and 4 partials ⚠️
...rg/apache/cloudstack/backup/NASBackupProvider.java 0.00% 30 Missing ⚠️
...ource/wrapper/LibvirtTakeBackupCommandWrapper.java 0.00% 14 Missing ⚠️
...apache/cloudstack/backup/RestoreBackupCommand.java 0.00% 6 Missing ⚠️
...rg/apache/cloudstack/backup/TakeBackupCommand.java 0.00% 6 Missing ⚠️
...java/org/apache/cloudstack/utils/qemu/QemuImg.java 0.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #11684      +/-   ##
============================================
+ Coverage     17.42%   17.50%   +0.07%     
- Complexity    15336    15428      +92     
============================================
  Files          5892     5894       +2     
  Lines        526521   526967     +446     
  Branches      64293    64349      +56     
============================================
+ Hits          91767    92240     +473     
+ Misses       424401   424347      -54     
- Partials      10353    10380      +27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.