Skip to content

Conversation

@rushikeshjadhav
Copy link
Contributor

@rushikeshjadhav rushikeshjadhav commented Jul 8, 2025

Incorporating image-format fixture into following SR types for storage tests

  • ext
  • lvm
  • xfs
  • zfs
  • largeblock
  • nfs

@rushikeshjadhav rushikeshjadhav marked this pull request as draft July 8, 2025 12:26
@rushikeshjadhav rushikeshjadhav requested a review from Nambrok July 10, 2025 12:21
@rushikeshjadhav rushikeshjadhav force-pushed the storage-qcow2 branch 2 times, most recently from 1d35ab2 to da6c5d5 Compare September 18, 2025 17:35
@rushikeshjadhav rushikeshjadhav marked this pull request as ready for review September 18, 2025 17:41
@glehmann glehmann self-requested a review September 30, 2025 13:06
Comment on lines 26 to 29
sr = host.sr_create('zfs-vol', "ZFS-local-SR-test", {
'device': '/dev/' + sr_disk_wiped,
'preferred-image-formats': image_format
}, verify=True)
Copy link
Member

@Wescoeur Wescoeur Sep 30, 2025

Choose a reason for hiding this comment

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

Did you test it @rushikeshjadhav ? We don't support QCOW2 with ZFS vol driver (SMAPIv3 plugin).
So we must not add image_format for this one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, although the test passes, its volume is not of qcow2 format. Will remove it and add additional checks for qcow2 VDI validation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added additional check for qcow2 VDI validation as well with test_vdi_image_format.

@rushikeshjadhav rushikeshjadhav force-pushed the storage-qcow2 branch 3 times, most recently from 38db6d5 to 79264c0 Compare October 1, 2025 14:32
@rushikeshjadhav rushikeshjadhav marked this pull request as draft October 1, 2025 14:37
@rushikeshjadhav rushikeshjadhav marked this pull request as ready for review October 2, 2025 12:35
@glehmann
Copy link
Member

glehmann commented Oct 2, 2025

The CI workflow is not run on the PR. We should run it before merging.

@glehmann
Copy link
Member

glehmann commented Oct 2, 2025

There are a few problems to fix:

❯ mypy --install-types --non-interactive lib/ conftest.py pkgfixtures.py tests/
  pyright lib/ conftest.py pkgfixtures.py
  ruff check lib/ tests/
  flake8
tests/install/test.py:88: error: Value of type "object" is not indexable  [index]
tests/install/test.py:342: error: Value of type "object" is not indexable  [index]
Found 2 errors in 1 file (checked 191 source files)
WARNING: there is a new pyright version available (v1.1.402 -> v1.1.406).
Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`

0 errors, 0 warnings, 0 informations
All checks passed!
./tests/storage/largeblock/conftest.py:17:19: E128 continuation line under-indented for visual indent

@glehmann
Copy link
Member

glehmann commented Oct 2, 2025

@rushikeshjadhav the CI should run when using a branch directly in this repository.

Copy link
Member

@stormi stormi left a comment

Choose a reason for hiding this comment

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

Automatically installing packages that support qcow2 could have been a good idea, but here it might cause more friction than it avoids.

@stormi stormi requested review from stormi and removed request for stormi November 24, 2025 15:27
@stormi
Copy link
Member

stormi commented Nov 24, 2025

Why haven't we merged this one yet?

@glehmann
Copy link
Member

Why haven't we merged this one yet?

Tests are currently running in the CI. Will be merged soon hopefully :)

@stormi
Copy link
Member

stormi commented Nov 25, 2025

It will require a last rebase, too.

@rushikeshjadhav
Copy link
Contributor Author

It will require a last rebase, too.

Will get the rebase done and update the branch.

@glehmann
Copy link
Member

glehmann commented Dec 8, 2025

FYI, a successful full CI run was done with this branch.

@rzr
Copy link

rzr commented Dec 8, 2025

FYI, a successful full CI run was done with this branch.

great, Is there anything to be done before merging, meanwhile please double check and mark open discussions resolved

… format

Signed-off-by: Rushikesh Jadhav <rushikesh7@gmail.com>
… format

Signed-off-by: Rushikesh Jadhav <rushikesh7@gmail.com>
… format

Signed-off-by: Rushikesh Jadhav <rushikesh7@gmail.com>
… format

Signed-off-by: Rushikesh Jadhav <rushikesh7@gmail.com>
…cow2 vdi image format

Signed-off-by: Rushikesh Jadhav <rushikesh7@gmail.com>
… format

Signed-off-by: Rushikesh Jadhav <rushikesh7@gmail.com>
@glehmann
Copy link
Member

If it's ok for everyone, I'll merge this PR this afternoon.

@stormi stormi requested a review from Nambrok December 15, 2025 10:33
@stormi
Copy link
Member

stormi commented Dec 15, 2025

If it's ok for everyone, I'll merge this PR this afternoon.

We need stable CI for this week's round of updates. Is it safe?

@glehmann
Copy link
Member

I think so, but the only way to be sure is to run the CI on this branch

@rzr
Copy link

rzr commented Dec 17, 2025

I think so, but the only way to be sure is to run the CI on this branch

is there anything blocking, doing it ? if it helps you can use forks and reset your master branch to avoid changing branches names

@stormi
Copy link
Member

stormi commented Dec 17, 2025

is there anything blocking, doing it ? if it helps you can use forks and reset your master branch to avoid changing branches names

The availability of hardware was blocking it. But now it can likely be merged, if that's OK on @Nambrok's side (he was running tests for the qcow2 release).

@Nambrok
Copy link
Contributor

Nambrok commented Dec 19, 2025

@glehmann Up, are we good with merging it? No tests are running at the moment.

@glehmann
Copy link
Member

glehmann commented Dec 19, 2025

I've relaunched a complete run with this PR and the integrity PRs this morning, to be sure :)

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.

7 participants