Skip to content

debian: ignore pycompile errors#13602

Open
weizhouapache wants to merge 1 commit into
apache:mainfrom
weizhouapache:4.23-ignore-pycompile-errors
Open

debian: ignore pycompile errors#13602
weizhouapache wants to merge 1 commit into
apache:mainfrom
weizhouapache:4.23-ignore-pycompile-errors

Conversation

@weizhouapache

Copy link
Copy Markdown
Member

Description

This PR...

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Copilot AI review requested due to automatic review settings July 13, 2026 19:56
@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-common non-fatal by appending || true.
  • Make pycompile -p cloudstack-common /usr/share/cloudstack-common non-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

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 19.50%. Comparing base (d2a3bd1) to head (ef503a8).

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     
Flag Coverage Δ
uitests 3.41% <ø> (ø)
unittests 20.77% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 18555

@weizhouapache weizhouapache marked this pull request as ready for review July 13, 2026 22:43
@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@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

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian Build Failed (tid-16555)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants