apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.83k stars 1.07k forks source link

Ensure marvin package version is PEP440 compliant #9230

Closed vishesh92 closed 2 weeks ago

vishesh92 commented 3 weeks ago

Description

Fixes #7927

We replace the first occurence of - with + to make the marvin version PEP440 compliant

Types of changes

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

Bug Severity

Screenshots (if appropriate):

How Has This Been Tested?

  1. Built the deb packages.
  2. Extracted the marvin tar from the deb package
  3. pip install the package

For testing, use pip version 24.0. Able to reproduce the bug mentioned in the link with this version of pip.

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

vishesh92 commented 3 weeks ago

@blueorangutan package

blueorangutan commented 3 weeks ago

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 14.96%. Comparing base (edf7394) to head (7cd62ca). Report is 10 commits behind head on 4.19.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 4.19 #9230 +/- ## ============================================ - Coverage 14.96% 14.96% -0.01% Complexity 11002 11002 ============================================ Files 5373 5373 Lines 469311 469315 +4 Branches 57432 57901 +469 ============================================ Hits 70230 70230 - Misses 391307 391312 +5 + Partials 7774 7773 -1 ``` | [Flag](https://app.codecov.io/gh/apache/cloudstack/pull/9230/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [uitests](https://app.codecov.io/gh/apache/cloudstack/pull/9230/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `4.30% <ø> (ø)` | | | [unittests](https://app.codecov.io/gh/apache/cloudstack/pull/9230/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `15.67% <ø> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

blueorangutan commented 3 weeks ago

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

vishesh92 commented 3 weeks ago

@blueorangutan test

blueorangutan commented 3 weeks ago

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

vishesh92 commented 3 weeks ago

clgtm, not sure though if it makes sense to change the version globally this way instead of in the marvin setup.

We are changing only for marvin here. I am not sure if changing this globally will break some other stuff or not.

blueorangutan commented 2 weeks ago

[SF] Trillian test result (tid-10418) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 42973 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9230-t10418-kvm-centos7.zip Smoke tests completed. 130 look OK, 1 have errors, 0 did not run Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_02_trigger_shutdown Failure 341.74 test_safe_shutdown.py