Skip to content

Conversation

weizhouapache
Copy link
Member

Description

We faced some issues with systemvm template on VMware 80u3 in the past

GetDomRVersionAnswer":{"templateVersion":"Cloudstack Release 4.20.2 Mon Jul 28 10:05:08 AM UTC 2025","scriptsVersion":"9c19873be16a634b982a3838db1ee0d7
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
","result":"true","details":"Cloudstack Release 4.20.2 Mon Jul 28 10:05:08 AM UTC 2025&9c19873be16a634b982a3838db1ee0d7
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

the issue is fixed by rebuilding the systemvm template

this issue appears again with last systemvm template for #11778

The issue seems to be caused by duplicated "en_US.UTF-8 UTF-8" in /etc/locale.gen

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?

@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 16.17%. Comparing base (4d95f08) to head (144672c).

Additional details and impacted files
@@            Coverage Diff            @@
##               4.20   #11823   +/-   ##
=========================================
  Coverage     16.17%   16.17%           
- Complexity    13297    13301    +4     
=========================================
  Files          5656     5656           
  Lines        498331   498331           
  Branches      60476    60476           
=========================================
+ Hits          80591    80602   +11     
+ Misses       408767   408754   -13     
- Partials       8973     8975    +2     
Flag Coverage Δ
uitests 4.00% <ø> (ø)
unittests 17.02% <ø> (+<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

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

@blueorangutan
Copy link

[SF] Trillian Build Failed (tid-14628)

@blueorangutan
Copy link

[SF] Trillian test result (tid-14629)
Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 63082 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11823-t14629-kvm-ol8.zip
Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@blueorangutan
Copy link

[SF] Trillian test result (tid-14630)
Environment: kvm-ubuntu24 (x2), zone: Advanced Networking with Mgmt server u24
Total time taken: 64339 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11823-t14630-kvm-ubuntu24.zip
Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@blueorangutan
Copy link

[SF] Trillian test result (tid-14627)
Environment: vmware-80u3 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 79859 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11823-t14627-vmware-80u3.zip
Smoke tests completed. 140 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_deploy_more_vms_than_limit_allows Error 200.13 test_deploy_vms_in_parallel.py

@blueorangutan
Copy link

[SF] Trillian test result (tid-14626)
Environment: xcpng82 (x2), zone: Advanced Networking with Mgmt server ol9
Total time taken: 89107 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11823-t14626-xcpng82.zip
Smoke tests completed. 138 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_02_enableHumanReadableLogs Error 0.23 test_human_readable_logs.py
test_08_upgrade_kubernetes_ha_cluster Failure 807.33 test_kubernetes_clusters.py
test_01_primary_storage_iscsi Error 0.90 test_primary_storage.py

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

makes sense, are we sure “en_US.UTF-8 UTF-8” is always put on a new line in the cat statement? iirc yes, but my bash needs brushing up ;)

@weizhouapache
Copy link
Member Author

makes sense, are we sure “en_US.UTF-8 UTF-8” is always put on a new line in the cat statement? iirc yes, but my bash needs brushing up ;)

yes, if we use cat >>

Copy link
Contributor

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

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

code LGTM

@blueorangutan
Copy link

[SF] Trillian test result (tid-14636)
Environment: vmware-80u3 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 80953 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11823-t14636-vmware-80u3.zip
Smoke tests completed. 138 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
ContextSuite context=TestClusterDRS>:setup Error 0.00 test_cluster_drs.py
test_deploy_more_vms_than_limit_allows Error 207.02 test_deploy_vms_in_parallel.py
test_08_upgrade_kubernetes_ha_cluster Failure 3680.00 test_kubernetes_clusters.py

@blueorangutan
Copy link

[SF] Trillian test result (tid-14635)
Environment: xcpng82 (x2), zone: Advanced Networking with Mgmt server ol9
Total time taken: 81811 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11823-t14635-xcpng82.zip
Smoke tests completed. 139 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_primary_storage_iscsi Error 0.85 test_primary_storage.py
test_02_list_cpvm_vm Failure 0.04 test_ssvm.py
test_04_cpvm_internals Failure 0.05 test_ssvm.py

@weizhouapache weizhouapache marked this pull request as ready for review October 13, 2025 17:14
@apache apache deleted a comment from blueorangutan Oct 13, 2025
@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

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