-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install-driven enhancements #242
Commits on Aug 28, 2024
-
host.main_sr: don't return "<not in database>" as UUID on missing def…
…ault-SR Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d29d7d - Browse repository at this point
Copy the full SHA 4d29d7dView commit details -
Host: rename main_sr to main_sr_uuid
Other methods to get SRs return `SR` objects, this was inconsistent. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1450f8c - Browse repository at this point
Copy the full SHA 1450f8cView commit details -
local_cmd: log command to be run, like ssh does
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a987e4 - Browse repository at this point
Copy the full SHA 7a987e4View commit details -
VM: fix name of method dealing with CD insertion, provide a generic API
"vm-cd-insert" does not mount anything, as the need for a subsequent "mount" in the only test using it shows. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84af37b - Browse repository at this point
Copy the full SHA 84af37bView commit details -
VM: add logging for CD insert/eject
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15ce1bd - Browse repository at this point
Copy the full SHA 15ce1bdView commit details -
_ssh: remove duplicate default values
The entrypoint is ssh(), and the default values are already there. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d985f3 - Browse repository at this point
Copy the full SHA 0d985f3View commit details -
Remove redundant logs on VM creation
Since f9b5365 the VM ctor takes care of reporting this info. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3dacc0 - Browse repository at this point
Copy the full SHA e3dacc0View commit details -
host.import_vm: report when VM not found in cache
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f963e1 - Browse repository at this point
Copy the full SHA 7f963e1View commit details -
host: split cached_vm identification from import_vm
This will be useful to the plugin that allows not rerunning a cached dependency: it needs to probe the cache. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 820b38d - Browse repository at this point
Copy the full SHA 820b38dView commit details -
requirements: cleanup cruft, avoid duplication in README
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16e44d4 - Browse repository at this point
Copy the full SHA 16e44d4View commit details -
try_get_and_store_ip: raise boot timeout for nested tests
When testing in a nested setup, 2 min is not enough to boot a Debian 12 to the point the XS agent has published to xenstore. 5 min should be enough for everyone. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7282e94 - Browse repository at this point
Copy the full SHA 7282e94View commit details -
test_guest_tools_unix: make requirements more explicit
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95f7c1b - Browse repository at this point
Copy the full SHA 95f7c1bView commit details -
test_basic_without_ssh: split start/stop test from those needing a ru…
…nning VM. There is no other inter-test dependency in this file, this allows to stop using @pytest.mark.incremental here. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d4a5b1 - Browse repository at this point
Copy the full SHA 6d4a5b1View commit details -
test_basic_without_ssh: clarify requirements a bit (fixes #244)
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f79b05 - Browse repository at this point
Copy the full SHA 4f79b05View commit details -
test_guest_tools_unix: use a fixture instead of expecting test_install
Same as for test_basic_without_ssh, and this allows to stop using @pytest.mark.incremental here too. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e445e03 - Browse repository at this point
Copy the full SHA e445e03View commit details -
Previous commits removed its two only uses, replaced by an autouse fixture. Other possible uses would be covered (with a more fine-grained approach) by pytest-dependency. This frees the global pytest_runtest_makereport hook for potential reuse. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14eeee6 - Browse repository at this point
Copy the full SHA 14eeee6View commit details -
conftest: regroup all pytest hooks together, separated from fixtures
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 980080c - Browse repository at this point
Copy the full SHA 980080cView commit details -
CACHE_IMPORTED_VM: parse only once
We will need this value in other places. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c66ddcf - Browse repository at this point
Copy the full SHA c66ddcfView commit details -
BaseVM: add missing param_* methods
And make the whole easier to copypaste. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a41cdbd - Browse repository at this point
Copy the full SHA a41cdbdView commit details -
vm: remove duplicate file_exists()
Reported by mypy. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04008cd - Browse repository at this point
Copy the full SHA 04008cdView commit details -
Host.join_pool(): update the host's pool after new pool is joined
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2fe3e54 - Browse repository at this point
Copy the full SHA 2fe3e54View commit details -
pytest: do not restrict timestamping to CLI
We want to have it in log-file. Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b700f55 - Browse repository at this point
Copy the full SHA b700f55View commit details -
pytest: add milliseconds to log timestamp
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4de1e3d - Browse repository at this point
Copy the full SHA 4de1e3dView commit details -
LocalCommandFailed: fix ctor upcall
Signed-off-by: Yann Dirson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 462ff23 - Browse repository at this point
Copy the full SHA 462ff23View commit details