Skip to content

Fix Ubuntu package installation#13207

Draft
vishesh92 wants to merge 1 commit into
apache:mainfrom
shapeblue:fix-ubuntu-package-installation
Draft

Fix Ubuntu package installation#13207
vishesh92 wants to merge 1 commit into
apache:mainfrom
shapeblue:fix-ubuntu-package-installation

Conversation

@vishesh92
Copy link
Copy Markdown
Member

Description

This PR fixes package installation errors on debian

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?

@vishesh92
Copy link
Copy Markdown
Member Author

@blueorangutan package

@vishesh92 vishesh92 added this to the 4.23.0 milestone May 21, 2026
@blueorangutan
Copy link
Copy Markdown

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

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Debian/Ubuntu cloudstack-common post-install script to use Python 3 byte-compilation tooling during package installation, aiming to resolve install-time failures related to Python compilation steps.

Changes:

  • Replace pycompile invocations with py3compile in debian/cloudstack-common.postinst.
  • Keep post-install Python module copying and explicit python3 -m py_compile/compileall steps intact.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread debian/cloudstack-common.postinst
Comment thread debian/cloudstack-common.postinst
@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.09%. Comparing base (1fe486f) to head (8e3bbe2).

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13207      +/-   ##
============================================
- Coverage     18.09%   18.09%   -0.01%     
  Complexity    16732    16732              
============================================
  Files          6037     6037              
  Lines        542780   542780              
  Branches      66464    66464              
============================================
- Hits          98233    98232       -1     
- Misses       433499   433500       +1     
  Partials      11048    11048              
Flag Coverage Δ
uitests 3.51% <ø> (ø)
unittests 19.26% <ø> (-0.01%) ⬇️

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

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

@blueorangutan
Copy link
Copy Markdown

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

@weizhouapache
Copy link
Copy Markdown
Member

@blueorangutan test debian12 kvm-debian12

@blueorangutan
Copy link
Copy Markdown

@weizhouapache a [SL] Trillian-Jenkins test job (debian12 mgmt + kvm-debian12) has been kicked to run smoke tests

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.

4 participants