1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/instances/tests
catborise aadf5270f2 fix(migrate): recovery removes the disk copies of a migration whose worker stopped
A worker that stopped during the copy left the partial files on the
destination: libvirt ends the migration and the VM stays, but the files
took the space and refused the next try, as a copy never replaces a
file. The job records the copies before libvirt makes them, and
recovery deletes them while the destination has no VM of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-07 23:10:19 +03:00
..
js perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
create_page.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_access_tab.py feat(instances): a VM's access in one strip, its console password kept to its rule 2026-10-30 20:39:40 +03:00
test_addresses.py feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
test_api_parity.py fix(api): VM API answers as the VM pages do 2026-10-26 17:47:18 +03:00
test_audit_rows.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
test_change_network.py fix(instances): a network device keeps its source unless another is chosen 2026-10-31 18:10:05 +03:00
test_change_xml.py fix(instances): the XML dialog keeps the edit and defines only this VM 2026-10-24 20:03:20 +03:00
test_claim_after_permission.py fix(instances): a request refused by the permission check takes no claim 2026-11-05 18:08:03 +03:00
test_clone_disks.py feat(instances): VM clone runs as a job 2026-10-15 09:28:43 +03:00
test_clone_job.py fix(logs): a job's rows carry the address it was asked from, and a cancel its own user 2026-11-07 14:36:44 +03:00
test_clone_permission.py fix(instances): the quota counts queued clones and pending values 2026-10-31 00:51:31 +03:00
test_cloud_init_create.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_console_access.py test: test files named by their topic, one file per topic 2026-11-06 13:48:04 +03:00
test_console_settings.py test: test files named by their topic, one file per topic 2026-11-06 13:48:04 +03:00
test_cpu_mode.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_create_dialog_cpu.py fix(instances): an empty panel says what to do next 2026-11-07 16:50:24 +03:00
test_create_form_input.py fix(instances): an empty panel says what to do next 2026-11-07 16:50:24 +03:00
test_create_instance.py fix(instances): an empty panel says what to do next 2026-11-07 16:50:24 +03:00
test_create_job.py fix(operations): a job's unexpected error is not shown raw; the log has its traceback 2026-11-06 23:48:44 +03:00
test_create_page_js.py fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
test_create_rollback.py feat(instances): a new VM can have UEFI Secure Boot and a TPM 2.0 2026-11-01 16:18:29 +03:00
test_create_wizard_url.py fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
test_destroy.py feat(jobs): deleting a VM is a job that recovery finishes 2026-11-06 09:49:31 +03:00
test_detail_reads.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_detail_unreachable.py feat(operations): jobs page 2026-10-14 23:27:57 +03:00
test_disk_isolation.py fix(instances): Refresh ISO list says which pools it could not read 2026-11-02 16:11:15 +03:00
test_disk_move_job.py fix(migrate): a copied disk's source file is deleted only when no compute may use it 2026-11-07 22:51:25 +03:00
test_drbd_target.py fix(instances): a DRBD status the compute did not tell is Unknown, not None DRBD 2026-11-05 18:58:13 +03:00
test_duplicate_devices.py fix(instances): an ISO already in a CD-ROM of the VM is not added again 2026-11-05 18:58:13 +03:00
test_error_handling.py feat(instances): a VM's owners with their rights, and XML edits kept until saved 2026-10-30 17:02:38 +03:00
test_find_address.py feat(instances): the address search finds a VM by its MAC address too 2026-10-24 22:45:47 +03:00
test_find_address_js.py fix(instances): the address search shows host names as they are 2026-10-25 21:33:41 +03:00
test_gstfsd.py fix(gstfsd): at most 4 connections at a time; one more is told it is busy 2026-11-05 18:58:13 +03:00
test_host_busy.py fix(instances): a busy host is reported as busy, not as unreachable 2026-11-05 16:16:28 +03:00
test_host_devices.py fix(quota): a snapshot revert must fit the quota 2026-11-07 16:19:03 +03:00
test_index.py feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
test_index_host_alerts.py perf(instances): a user's VM list reads only the hosts of their VMs 2026-11-05 16:16:28 +03:00
test_instance_tabs_js.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_list_rpc.py perf(instances): a VM list reads only the VMs it shows 2026-11-05 07:33:13 +03:00
test_list_unreachable.py perf(instances): a VM list reads only the VMs it shows 2026-11-05 07:33:13 +03:00
test_live_clone.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_create.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_dataloss.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_guest.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_iscsi.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_jobs.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_lvm.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_views.py test: the live VM page tests run the delete job 2026-11-06 13:48:04 +03:00
test_migrate_form.py feat(instances): a VM's migration in a route, a disk plan and its transfer settings 2026-10-30 14:55:57 +03:00
test_migrate_job.py fix(migrate): recovery removes the disk copies of a migration whose worker stopped 2026-11-07 23:10:19 +03:00
test_migration_bookkeeping.py feat(instances): migrate a VM with its disks copied into pools of the destination 2026-10-29 19:46:31 +03:00
test_migration_log.py fix(migrate): a copied disk's source file is deleted only when no compute may use it 2026-11-07 22:51:25 +03:00
test_missing_fields.py feat(instances): a VM's resize tab as a ledger, its vCPU changes kept 2026-10-30 18:16:11 +03:00
test_moved_while_waiting.py feat(jobs): deleting a VM is a job that recovery finishes 2026-11-06 09:49:31 +03:00
test_new_disk_name.py feat(instances): a CD-ROM is added on the bus chosen, with its ISO 2026-11-01 16:27:39 +03:00
test_owner_race.py fix(instances): two owners added at once keep a VM to one owner 2026-10-31 00:21:06 +03:00
test_page_controls.py perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
test_paused_block.py fix(instances): an owner cannot power a VM an administrator paused 2026-10-26 13:49:37 +03:00
test_pci_slots.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_pending_edits.py perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
test_permissions.py test: test files named by their topic, one file per topic 2026-11-06 13:48:04 +03:00
test_quota.py fix(quota): a disk whose size is unknown is not counted as 0 GiB 2026-11-07 16:19:12 +03:00
test_resize_input.py fix(instances): a resize keeps a VM's maximum vCPUs above the host's CPUs 2026-11-03 23:07:59 +03:00
test_root_pass.py fix(deps): libpass instead of crypt-r; gstfsd's python3-libguestfs on a RHEL compute; PyYAML for the tests 2026-11-07 17:52:35 +03:00
test_snapshot_delete_job.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
test_snapshot_jobs.py fix(quota): a snapshot revert must fit the quota 2026-11-07 16:19:03 +03:00
test_snapshot_views.py feat(instances): the Snapshots tab shows the VM's history as a line 2026-11-04 08:59:50 +03:00
test_states.py perf(instances): a VM list reads only the VMs it shows 2026-11-05 07:33:13 +03:00
test_stats_sample.py refactor(instances): the VM page's scripts load from static files 2026-11-02 09:04:29 +03:00
test_stats_tab.py feat(instances): a VM's stats in one grid, its logs a switch away 2026-10-30 23:41:17 +03:00
test_table_filter_js.py fix(templates): the list pages search their rows as text, with one script 2026-10-25 23:08:42 +03:00
test_templates.py test: test files named by their topic, one file per topic 2026-11-06 13:48:04 +03:00
test_vm_addresses.py perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
test_vm_audit_rows.py feat(jobs): deleting a VM is a job that recovery finishes 2026-11-06 09:49:31 +03:00
test_vm_page_records.py fix(instances): the page of a VM removed outside the panel sends the user to the list 2026-11-05 18:08:03 +03:00
test_vm_report.py feat(instances): a report of every VM with its addresses and OS, as an Excel file 2026-10-24 22:30:07 +03:00
test_vm_states.py fix(instances): a VM list poll for a host id that is not a number is 404 2026-11-06 13:46:27 +03:00
test_xss.py test: classes that use no database are SimpleTestCase 2026-11-06 13:48:03 +03:00