Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/QubesOS/qubes-core-admin
Qubes component: core-admin
https://github.com/QubesOS/qubes-core-admin
Checking device presence wasn't covered with try/except that send the
event.
It makes a lot of sense to call long-running operations in that event
handler, including calling...
Commit 15cf593bc56f9fdd2b433738254c3fe692f5b982 "tests/lvm: fix checking
lvm pool existence" att...
Add 'no-default-kernelopts' feature to skip default hardcoded
Linux-specific kernelopts.
This is...
vm.kill() will try to get vm.startup_lock, so it can't be called while
holding it already.
Fix t...
Fixes QubesOS/qubes-issues#4463
68dffb68950fe77892cf39f1c61cb279c4e5fba6 authored over 6 years agoe8201eebbaff101235f681d1872ad6b7de922021 authored over 6 years ago
Print human readable device name, instead of "<PCIDevice at ...".
QubesOS/qubes-issues#4461
64f290c9baa2930fe7082f37c96ba84d8d5d925d authored over 6 years ago
In practice backend_domain is ignored (all PCI devices belongs to dom0),
but lets fix this anyway.
If pool or group name have '-', it will be mangled as '--' in
/dev/mapper. Use /dev/VG_NAME/LV_N...
QubesVMError require 'vm' argument.
Fixes 2f3a9847 "exc: Make QubesMemoryError inherit from Qube...
* origin/pr/239:
storage: fix NotImplementedError message for import_data()
storage/reflink:...
* origin/pr/237:
progress thresold removed as Marek suggested
Avoid progress events flooding...
f30963fde1bb72ec92c3cc61f98823608948915f authored over 6 years ago
7e4812a525a2a87c0b97f1098e1546943e03885a authored over 6 years ago
73db2751b8590aa71b494b3e69374ab05f3d065d authored over 6 years ago
425d9937692bc6f7ebbc4a277f0eeb51c8be17c9 authored over 6 years ago
f621e8792c3a46e16ba42118fd1ff44769a83b7c authored over 6 years ago
It doesn't use 'self'. And pylint complains.
3740e2d48b72e534faa208de9e59dfbddeea663e authored over 6 years agodb6094f397344f86567e723443ee0373f49265c3 authored over 6 years ago
Remove methods not included in specification (or with different
constraints). Keep commented out...
Specifically do not use AssertionError, but also be consistent with
other value verification.
114a9db09abe0d8e3d2c9501e7bad97fa2f30d35 authored over 6 years ago
Do not prepend 'sudo' each time - do a copy of array if that's
necessary.
Try to collect more details about why the test failed. This will help
only if qvm-open-in-dvm ex...
First boot of whonix-ws based VM take extended period of time, because
a lot of files needs to b...
Nose loader do not provide loader.loadTestsFromTestCase(), use
loader.loadTestsFromNames() instead.
If domain is set to autostart, qubes-vm@ systemd service is used to
start it at boot. Cleanup th...
Yet another place wheren object references are leaked.
0b7aa546c6a7cf3b744860e7763f05d1b01a8360 authored over 6 years agoUse something included in coreutils installed everywhere.
e244c192ae1f87e4d252747eae66f8efb8c2a2f9 authored over 6 years ago
Same as other vm-related errors.
This helps QubesTestCase.cleanup_traceback() cleanup VM reference.
Cleanup VMs in template reverse topological order, not network one.
Network can be set to None t...
Clean VM shutdown may timeout if its initiated before full startup, so
make sure the full startu...
QubesOS/qubes-issues#3665 affects also tests...
4742a630f21ae0506c59ed60da98f62a711469f4 authored over 6 years ago
socat have only one variant, so one command line syntax to handle. It's
also installed by defaul...
It's weird to set it for Windows, but not Linux.
8be70c9e4d22e901fb41d21b55a3828306de7f90 authored over 6 years agoTest for QubesOS/qubes-issues#4014
4e762788a9b574d93c5a77f6d34ba5af3b6f14b0 authored over 6 years agocf8b6219a9f6c13246894ce45dc6c74e56a4250b authored over 6 years ago
Cleaning up after domain shutdown (domain-stopped and domain-shutdown
events) relies on libvirt ...
First unregister the domain from collection, and only then call
remove_from_disk(). Removing it ...
vm.shutdown(wait=True) waited indefinitely for the shutdown, which makes
useless without some bo...
LVM operations can take significant amount of time. This is especially
visible when stopping a V...
Both vm.create_on_disk() and vm.start() are coroutines. Tests in this
class didn't run them, so ...
On some storage pools this operation can also be time consuming - for
example require creating t...
Fixes QubesOS/qubes-issues#2829
295705a708b0f46fa514ccc4053dba927dd368cb authored over 6 years ago
Support 'supported-service.*' features requests coming from VMs. Set
such features directly (all...
a2db90f85fc6ed725debae4491aff00133d3be85 authored over 6 years ago
61c6288391299f68b6ae7522071c8bb8786d536b authored over 6 years ago
Make it clear that volume creation fails because it needs to be in the
same pool as its parent. ...
It can be leftover from previous failed attempt. Don't crash on it, and
replace it instead.
Qub...
ba210c41ee644a31fa605266bc06880b49301274 authored over 6 years agoc01ae06feee4c933aefd7d282afd5fcfccaafad3 authored over 6 years ago
R3 format had limitation of ~40 rules per VM. Do not generate compat
rules (possibly hitting tha...
1GB image easily exceed available space on openQA instances. Use 100MB
instead.
Make sure events are sent to specific window found with xdotool search,
not the one having the f...
Replace manual `xdotool search calls` with wait_for_window(), where
compatible.
Searching based on class is used in many tests, searching by class, not
only by name in wait_for...
Network tests create own temporary netvm. Make it disconnected from the
real netvm, to not inter...
Remove unused imports and unused variables, add some more docstrings.
15140255d5244e9f3b5e0e9f31c573d23ec98546 authored over 6 years agoMake PyCharm understand what mixin those objects are for.
375688837c3849cdce81130e961ff4a01f59423d authored over 6 years agofc3b28608e9ac87c1359ec13bba2e8f035e75cb1 authored over 6 years ago
Don't rely on top update timing, pause it updates for taking
screenshots.
start_standalone_with_cdrom_vm test essence is somewhere else, let not
fail it for just slow shu...
Reduce false positives when testing on busy machine.
29a26e7d69d0025c9fd040e9ad4ce63fe74d8bbe authored over 6 years ago
Allow removing VMs based on multiple prefixes at once. Removing them
separately doesn't handle a...
Continuation of 5bc0baea "tests: do not leak objects in object leaks
checking function".
c45ce78ee46558c9c085136c93dcc6325c1e69a7 authored over 6 years ago
d23636fa02abe49ff342ce5b0554cd68e2935613 authored over 6 years ago
399d2138bddb661934cd1c29db5d5fae2de8c305 authored over 6 years ago
Reset updatevm to None before removing VMs, otherwise removing updatevm
will fail.
If QUBES_TEST_TEMPLATES or QUBES_TEST_LOAD_ALL is set, create testcases
on modules import, inste...
c8929cfee9a39c6fdf9378aa493daf3267cd3964 authored over 6 years ago
Allow easily list templates to be tested, without enumerating all the
test classes. This is espe...
02f966116931612745d6f95e5be3c8ce41a2cb71 authored over 6 years ago
Clear also tracebacks of chained exceptions.
35c66987ab3c86b16916eede5feb75905339947f authored over 6 years ago
Those cases are already covered with basic core3 tests or are irrelevant
now.
7c91e82365e44ec10c20fce1238a29be55eeb52f authored over 6 years ago
If any object is leaked, QubesTestCase.cleanup_gc() raises an exception,
which have leaked objec...
b88fa398942ce1164162f6cfd05a3cd33cfcbf62 authored over 6 years ago
* origin/pr/235:
Add default_qrexec_timeout to qubes-prefs
1efac373ddb2366856c26c1961ebc8b58e44fc15 authored over 6 years ago
b2387389d0918ad509ed3896ffc0b4d11d20146b authored over 6 years ago
When a VM (or its template) does not explicitly set a qrexec_timeout,
fall back to a global defa...
* tests-20180913:
tests: fix time sync test
tests: wait for DispVM's qubes.VMShell exit
te...
This allows to prevent automatically starting VMs at boot, mostly for
troubleshooting.
Fixes Qu...
7feed2f680865af89ee9636b5b654009ba293e78 authored over 6 years ago
It isn't enough to wait for window to disappear, the service may still
be running. And if it is,...
Those may pop up before actual editor is found, which fails the test as
it can't handle such "ed...
ac8b8a3ad43537073f5784e124def621146fe6bf authored over 6 years ago
qvm-sync-clock no longer fetches time from the network, by design.
So, lets not break clockvm's ...
Those are moved to qubes-core-admin-client repository.
5a1bf11d0d49964e64f355705d833af7cbc9a6c5 authored over 6 years ago576bcb158e2f2f9c10d5b98abebd5aac2ffcbcc0 authored over 6 years ago
Instead of waiting 1sec, wait up to 5sec but skip when vm is shut off.
This fix tests on slow ma...
Don't rely on garbage collection to close and remove the tempfiles.
5756e870bd91ddd8ed4a81e79881adeec7d8d78a authored over 6 years ago867baf47d1720d85a5a8a6e355e8a64180cb1907 authored over 6 years ago
b3983f5ef82b4b09f1699c0f518390639279cb2a authored over 6 years ago
See https://github.com/QubesOS/qubes-issues/issues/4224#issuecomment-414513721.
5aa35a1208d972f3ec3a2158ed91850e3fa0866e authored over 6 years ago
* qubesos/pr/231: (30 commits)
tests/app: test varlibqubes pool driver selection
tests/stora...
cf1ea5cee1dfbe718a3d5328f97cff3d951560c3 authored over 6 years ago
Tested:
- _copy_file()
- _create_sparse_file()
- _resize_file()
- _update_loopd...
b82e739346bab6fbcfb59a9f28e32be809ed1dc1 authored over 6 years ago
volume.path and volume.export() refer to the same thing in lvm_thin and
'file', but not in file-...