debian: ignore pycompile errors#13602
Conversation
|
@blueorangutan package |
|
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
There was a problem hiding this comment.
Pull request overview
Updates the Debian cloudstack-common post-install script to tolerate pycompile failures during package configuration, avoiding installation aborts when byte-compilation encounters issues.
Changes:
- Make
pycompile -p cloudstack-commonnon-fatal by appending|| true. - Make
pycompile -p cloudstack-common /usr/share/cloudstack-commonnon-fatal by appending|| true.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| if which pycompile >/dev/null 2>&1; then | ||
| pycompile -p cloudstack-common | ||
| pycompile -p cloudstack-common || true |
|
|
||
| if which pycompile >/dev/null 2>&1; then | ||
| pycompile -p cloudstack-common /usr/share/cloudstack-common | ||
| pycompile -p cloudstack-common /usr/share/cloudstack-common || true |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #13602 +/- ##
============================================
- Coverage 19.50% 19.50% -0.01%
- Complexity 19441 19442 +1
============================================
Files 6303 6303
Lines 569288 569288
Branches 69792 69792
============================================
- Hits 111029 111027 -2
- Misses 446108 446109 +1
- Partials 12151 12152 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 18555 |
|
@blueorangutan test matrix |
|
@weizhouapache a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests |
|
[SF] Trillian Build Failed (tid-16555) |
Description
This PR...
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?