Skip to content

Conversation

@harikrishna-patnala
Copy link
Contributor

@harikrishna-patnala harikrishna-patnala commented Nov 27, 2025

Description

Upgrade failures observed on main branch

04:35:27.501 [main] ERROR com.cloud.upgrade.DatabaseUpgradeChecker - Unable to upgrade the database
com.cloud.utils.exception.CloudRuntimeException: Unable to find META-INF/db/schema-42210to42300.sql
	at com.cloud.upgrade.dao.DbUpgrade.getPrepareScripts(DbUpgrade.java:43) ~[cloud-engine-schema-4.23.0.0-SNAPSHOT.jar:4.23.0.0-SNAPSHOT]
	at com.cloud.upgrade.DatabaseUpgradeChecker.executeUpgrade(DatabaseUpgradeChecker.java:368) ~[cloud-engine-schema-4.23.0.0-SNAPSHOT.jar:4.23.0.0-SNAPSHOT]

In this PR, renamed the files schema-42200to42300.sql, schema-42200to42300-cleanup.sql to schema-42210to42300.sql, schema-42210to42300-cleanup.sql

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?

@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.56%. Comparing base (4e61ddd) to head (bc5d890).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #12155      +/-   ##
============================================
- Coverage     17.56%   17.56%   -0.01%     
  Complexity    15548    15548              
============================================
  Files          5913     5913              
  Lines        529440   529440              
  Branches      64670    64670              
============================================
- Hits          93019    93018       -1     
- Misses       425963   425964       +1     
  Partials      10458    10458              
Flag Coverage Δ
uitests 3.58% <ø> (ø)
unittests 18.63% <ø> (-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.

Copy link
Collaborator

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

@harikrishna-patnala
Copy link
Contributor Author

no need of packaging here. Simulator runs should be fine.

Copy link
Member

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

@DaanHoogland DaanHoogland merged commit 5798fb4 into apache:main Nov 27, 2025
27 checks passed
@DaanHoogland DaanHoogland deleted the fixUpgradeFiles branch November 27, 2025 14:56
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants