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

vm: send domain-start-failed event also if some device is missing

Checking device presence wasn't covered with try/except that send the
event.

35a53840f163facd826210a1885406a7e1700c7c authored about 6 years ago
ext/core-features: make 'template-postinstall' event async

It makes a lot of sense to call long-running operations in that event
handler, including calling...

0eab082d853cdc07800ccb4bef8a818a1d828da6 authored about 6 years ago
tests/lvm: fix checking lvm pool existence cont.

Commit 15cf593bc56f9fdd2b433738254c3fe692f5b982 "tests/lvm: fix checking
lvm pool existence" att...

d2585aa87126e61f694d856f5635b4f4ed64b24a authored about 6 years ago
libvirt: allow skipping hardcoded kernelopts

Add 'no-default-kernelopts' feature to skip default hardcoded
Linux-specific kernelopts.
This is...

85a20428a6b05610db6087cf02b6dba7f3e4f511 authored about 6 years ago
vm: fix deadlock on qrexec timeout handling

vm.kill() will try to get vm.startup_lock, so it can't be called while
holding it already.
Fix t...

328697730b21875bcf6bbed47a69e7ded5cfa13c authored over 6 years ago
api/admin: fix error message when refusing to create template on template

Fixes QubesOS/qubes-issues#4463

68dffb68950fe77892cf39f1c61cb279c4e5fba6 authored over 6 years ago
version 4.0.34

e8201eebbaff101235f681d1872ad6b7de922021 authored over 6 years ago
ext/pci: fix error message about missing device

Print human readable device name, instead of "<PCIDevice at ...".

QubesOS/qubes-issues#4461

64f290c9baa2930fe7082f37c96ba84d8d5d925d authored over 6 years ago
ext/pci: use correct backend domain for getting PCIDevice instance

In practice backend_domain is ignored (all PCI devices belongs to dom0),
but lets fix this anyway.

00ca0459d9933f4e965260b9c2d78fbc809f5001 authored over 6 years ago
tests/lvm: fix checking lvm pool existence

If pool or group name have '-', it will be mangled as '--' in
/dev/mapper. Use /dev/VG_NAME/LV_N...

15cf593bc56f9fdd2b433738254c3fe692f5b982 authored over 6 years ago
exc: fix QubesMemoryError constructor

QubesVMError require 'vm' argument.
Fixes 2f3a9847 "exc: Make QubesMemoryError inherit from Qube...

1ae6abdff5870fe96559b4bb1f86cf8d4ecd47bd authored over 6 years ago
Merge remote-tracking branch 'origin/pr/239'

* origin/pr/239:
storage: fix NotImplementedError message for import_data()
storage/reflink:...

b9a18a819c309460a0bfa97f339d471e7f43b8b8 authored over 6 years ago
Merge remote-tracking branch 'origin/pr/237'

* origin/pr/237:
progress thresold removed as Marek suggested
Avoid progress events flooding...

fa2429aae44cbca1a9c7be770d55c9302ead9a0e authored over 6 years ago
tests/qubespolicy: adjust for removing 'assert' usage

f30963fde1bb72ec92c3cc61f98823608948915f authored over 6 years ago
storage: fix NotImplementedError message for import_data()

7e4812a525a2a87c0b97f1098e1546943e03885a authored over 6 years ago
storage/reflink: make resize()/import_volume() more readable

73db2751b8590aa71b494b3e69374ab05f3d065d authored over 6 years ago
storage/reflink: unblock import_data() and import_data_end()

425d9937692bc6f7ebbc4a277f0eeb51c8be17c9 authored over 6 years ago
Merge branch 'master' into devel-no-assert

f621e8792c3a46e16ba42118fd1ff44769a83b7c authored over 6 years ago
api: make enforce() static

It doesn't use 'self'. And pylint complains.

3740e2d48b72e534faa208de9e59dfbddeea663e authored over 6 years ago
tests/api: adjust for proper exceptions instead of AssertionError

db6094f397344f86567e723443ee0373f49265c3 authored over 6 years ago
tests/api: do not test non-existing methods

Remove methods not included in specification (or with different
constraints). Keep commented out...

2b5fc6299e80ef77b82656414759be7add3dcdc6 authored over 6 years ago
Use ValueError in PropertyHolder.property_require()

Specifically do not use AssertionError, but also be consistent with
other value verification.

c1c6dc2acd6fe295462462219630f0dbc14a9f57 authored over 6 years ago
version 4.0.33

114a9db09abe0d8e3d2c9501e7bad97fa2f30d35 authored over 6 years ago
storage/lvm: minor fix for lvs command building

Do not prepend 'sudo' each time - do a copy of array if that's
necessary.

26a553737f62a5714fa66a5992bd0ede0ee4fe29 authored over 6 years ago
tests: try to collect qvm-open-in-dvm output if no editor window is shown

Try to collect more details about why the test failed. This will help
only if qvm-open-in-dvm ex...

42061cb1947669c93a583ecfd06991368a14d817 authored over 6 years ago
tests: increase session startup timeout for whonix-ws based VMs

First boot of whonix-ws based VM take extended period of time, because
a lot of files needs to b...

84c321b923f215f064867e1dfcc3eabfde74847d authored over 6 years ago
tests: adjust extra tests loader to work with nose2

Nose loader do not provide loader.loadTestsFromTestCase(), use
loader.loadTestsFromNames() instead.

84d3547f0943d910e4aaffad0c7fa7b8eb6376a6 authored over 6 years ago
vm: disable/enable qubes-vm@ service when domain is removed/created

If domain is set to autostart, qubes-vm@ systemd service is used to
start it at boot. Cleanup th...

f13029219b7b1312bb33cebc5299657c5056b5e5 authored over 6 years ago
tests: remove VM reference from QubesVMError

Yet another place wheren object references are leaked.

0b7aa546c6a7cf3b744860e7763f05d1b01a8360 authored over 6 years ago
tests: use /bin/uname instead of /bin/hostname as dummy output generator

Use something included in coreutils installed everywhere.

e244c192ae1f87e4d252747eae66f8efb8c2a2f9 authored over 6 years ago
exc: Make QubesMemoryError inherit from QubesVMError

Same as other vm-related errors.
This helps QubesTestCase.cleanup_traceback() cleanup VM reference.

2f3a9847425e1dbbf13ac5172518d6f2d05228c4 authored over 6 years ago
tests: improve VMs cleanup wrt custom templates

Cleanup VMs in template reverse topological order, not network one.
Network can be set to None t...

08ddeee9fbb55768fe930d22947991fce60472fa authored over 6 years ago
tests: wait for full user session before doing rest of the test

Clean VM shutdown may timeout if its initiated before full startup, so
make sure the full startu...

fb14f589cb0c449e32141893ebea8f508387ce7b authored over 6 years ago
tests: use iptables --wait

QubesOS/qubes-issues#3665 affects also tests...

4742a630f21ae0506c59ed60da98f62a711469f4 authored over 6 years ago
tests: use socat instead of nc

socat have only one variant, so one command line syntax to handle. It's
also installed by defaul...

a972c61914e0a5c12a2e91d9b7f6e5157fc49cfc authored over 6 years ago
ext/services: allow for os=Linux feature request from VM

It's weird to set it for Windows, but not Linux.

8be70c9e4d22e901fb41d21b55a3828306de7f90 authored over 6 years ago
tests: check if qubes-vm@ service is disabled on domain removal

Test for QubesOS/qubes-issues#4014

4e762788a9b574d93c5a77f6d34ba5af3b6f14b0 authored over 6 years ago
tests: make use of vm.shutdown(wait=True)

cf8b6219a9f6c13246894ce45dc6c74e56a4250b authored over 6 years ago
vm: call after-shutdown cleanup also from vm.kill and vm.shutdown

Cleaning up after domain shutdown (domain-stopped and domain-shutdown
events) relies on libvirt ...

2c1629da042d6495c6dae5ae1fdc411cc105f825 authored over 6 years ago
vm/dispvm: fix DispVM cleanup

First unregister the domain from collection, and only then call
remove_from_disk(). Removing it ...

5be003d53904fe3585dbc63e9cc4585e4dd32961 authored over 6 years ago
vm: add shutdown_timeout property, make vm.shutdown(wait=True) use it

vm.shutdown(wait=True) waited indefinitely for the shutdown, which makes
useless without some bo...

e1f65bdf7b823562db25a8714ec3994e6ef547e4 authored over 6 years ago
storage: convert lvm driver to async version

LVM operations can take significant amount of time. This is especially
visible when stopping a V...

b65fdf97005c2dbea3070d6e19aec5cf12b1160c authored over 6 years ago
tests: fix asyncio usage in storage_lvm.TC_01_ThinPool

Both vm.create_on_disk() and vm.start() are coroutines. Tests in this
class didn't run them, so ...

299c5146474fd654cf152bb7a913f7c97642f47e authored over 6 years ago
storage: allow import_data and import_data_end be coroutines

On some storage pools this operation can also be time consuming - for
example require creating t...

6170edb291fa016ba978fd97a4317999c2736b7d authored over 6 years ago
doc: document features, qvm-features-request and services

Fixes QubesOS/qubes-issues#2829

295705a708b0f46fa514ccc4053dba927dd368cb authored over 6 years ago
ext/services: mechanism for advertising supported services

Support 'supported-service.*' features requests coming from VMs. Set
such features directly (all...

d1f5cb5d15d7cd39bcffec9d0cb743d75b2df470 authored over 6 years ago
progress thresold removed as Marek suggested

a2db90f85fc6ed725debae4491aff00133d3be85 authored over 6 years ago
Avoid progress events flooding

61c6288391299f68b6ae7522071c8bb8786d536b authored over 6 years ago
qubesvm: improve error message about same-pool requirement

Make it clear that volume creation fails because it needs to be in the
same pool as its parent. ...

58bcec2a64e5c49bf42633776f4502a5615dfee8 authored over 6 years ago
qubesvm: don't crash VM creation if icon symlink already exists

It can be leftover from previous failed attempt. Don't crash on it, and
replace it instead.

Qub...

ba210c41ee644a31fa605266bc06880b49301274 authored over 6 years ago
tests: add basic ServicesExtension tests

c01ae06feee4c933aefd7d282afd5fcfccaafad3 authored over 6 years ago
Do not generate R3 compat firewall rules if R4 format is supported

R3 format had limitation of ~40 rules per VM. Do not generate compat
rules (possibly hitting tha...

133219f6d390b9bb2fdf3831951d38a4ea4911c7 authored over 6 years ago
tests: use smaller root.img in backupcompatibility tests

1GB image easily exceed available space on openQA instances. Use 100MB
instead.

e8dc6cb916f7828c34e71a135e7ada7586f52ffa authored over 6 years ago
tests: type commands into specific found window

Make sure events are sent to specific window found with xdotool search,
not the one having the f...

fd9f2e2a6c7360bab0391dc2b2ba58e3006cb6b8 authored over 6 years ago
tests: use improved wait_for_window in various tests

Replace manual `xdotool search calls` with wait_for_window(), where
compatible.

9e81087b252bdd194ff6fb6b1010744f39194706 authored over 6 years ago
tests: add search based on window class to wait_for_window

Searching based on class is used in many tests, searching by class, not
only by name in wait_for...

f1621c01e907d339e8a3fbbd978d5f162fbf0b96 authored over 6 years ago
tests/integ/network: make the tests independend of default netvm

Network tests create own temporary netvm. Make it disconnected from the
real netvm, to not inter...

3f5618dbb0aa7004252ba4239e8073280ec16c5c authored over 6 years ago
tests/integ/network: few more code style improvement

Remove unused imports and unused variables, add some more docstrings.

15140255d5244e9f3b5e0e9f31c573d23ec98546 authored over 6 years ago
tests/integ/network: add type annotations

Make PyCharm understand what mixin those objects are for.

375688837c3849cdce81130e961ff4a01f59423d authored over 6 years ago
version 4.0.32

fc3b28608e9ac87c1359ec13bba2e8f035e75cb1 authored over 6 years ago
tests: fix race condition in gui_memory_pinning test

Don't rely on top update timing, pause it updates for taking
screenshots.

3b6703f2bd6c449a9f1ebce3e7a39508e4bf963b authored over 6 years ago
tests: increase timeout for vm shutdown

start_standalone_with_cdrom_vm test essence is somewhere else, let not
fail it for just slow shu...

9887b925b428ca57fd04920d1d1ba5ee704fb00d authored over 6 years ago
tests: make timeout it shutdown test even longer

Reduce false positives when testing on busy machine.

29a26e7d69d0025c9fd040e9ad4ce63fe74d8bbe authored over 6 years ago
tests: fix cleanup after backup compatibility tests

Allow removing VMs based on multiple prefixes at once. Removing them
separately doesn't handle a...

3e28ccefde8041f7b8d2a9ebbe46686abddd67c9 authored over 6 years ago
tests: cleanup tracebacks also for expectedFailure exception

Continuation of 5bc0baea "tests: do not leak objects in object leaks
checking function".

00c0b4c69f09470d3f85bc584b2135533eb131e3 authored over 6 years ago
version 4.0.31

c45ce78ee46558c9c085136c93dcc6325c1e69a7 authored over 6 years ago
tests: migrate qvm-block tests to core3

d23636fa02abe49ff342ce5b0554cd68e2935613 authored over 6 years ago
tests: remove old hardware.py tests, migrated to devices_pci.py

399d2138bddb661934cd1c29db5d5fae2de8c305 authored over 6 years ago
tests: fix cleanup of dom0_update tests

Reset updatevm to None before removing VMs, otherwise removing updatevm
will fail.

124560645314ea18027b38a004791f01ffe1bb4d authored over 6 years ago
tests: create testcases on module import if environment variable is set

If QUBES_TEST_TEMPLATES or QUBES_TEST_LOAD_ALL is set, create testcases
on modules import, inste...

8dab298b893a9724297f346c49be528cb9822944 authored over 6 years ago
tests: improve handling backups in core3

c8929cfee9a39c6fdf9378aa493daf3267cd3964 authored over 6 years ago
tests: add QUBES_TEST_TEMPLATES env variable

Allow easily list templates to be tested, without enumerating all the
test classes. This is espe...

7a607e3731edbdacdac7ffb8de80c67664f80d35 authored over 6 years ago
tests: migrate mime handlers test to core3

02f966116931612745d6f95e5be3c8ce41a2cb71 authored over 6 years ago
tests: improve clearing tracebacks from Qubes* objects

Clear also tracebacks of chained exceptions.

35c66987ab3c86b16916eede5feb75905339947f authored over 6 years ago
tests: remove old 'hvm' test file

Those cases are already covered with basic core3 tests or are irrelevant
now.

f33eca1e3fd2f54d54f2ed838a1d7d187a403f0e authored over 6 years ago
tests: handle KWrite editor in DispVM tests

7c91e82365e44ec10c20fce1238a29be55eeb52f authored over 6 years ago
tests: do not leak objects in object leaks checking function

If any object is leaked, QubesTestCase.cleanup_gc() raises an exception,
which have leaked objec...

5bc0baeafa27f7ec75779a10ef61633d364fd0d6 authored over 6 years ago
Fix mock-based build

b88fa398942ce1164162f6cfd05a3cd33cfcbf62 authored over 6 years ago
Merge remote-tracking branch 'origin/pr/235'

* origin/pr/235:
Add default_qrexec_timeout to qubes-prefs

8b75b264ae352592aa9e2ab7f5e1c8f2963028b6 authored over 6 years ago
version 4.0.30

1efac373ddb2366856c26c1961ebc8b58e44fc15 authored over 6 years ago
Update documentation for device-attach event

b2387389d0918ad509ed3896ffc0b4d11d20146b authored over 6 years ago
Add default_qrexec_timeout to qubes-prefs

When a VM (or its template) does not explicitly set a qrexec_timeout,
fall back to a global defa...

bee69a98b9bf1d0b94f7ef4d18dc7275391733ee authored over 6 years ago
Merge branch 'tests-20180913'

* tests-20180913:
tests: fix time sync test
tests: wait for DispVM's qubes.VMShell exit
te...

eed2076722561c0944446dd0a399565ee3acfc38 authored over 6 years ago
Handle qubes.skip_autostart option on kernel command line

This allows to prevent automatically starting VMs at boot, mostly for
troubleshooting.

Fixes Qu...

7feed2f680865af89ee9636b5b654009ba293e78 authored over 6 years ago
tests: wait for DispVM's qubes.VMShell exit

It isn't enough to wait for window to disappear, the service may still
be running. And if it is,...

c4a84b3298721782775707cf02360e7b5b722f24 authored over 6 years ago
tests: exclude whonixcheck and NetworkManager from editor window search

Those may pop up before actual editor is found, which fails the test as
it can't handle such "ed...

240b1dd75e2a0116cd97de4c4dd4609e2f937cf4 authored over 6 years ago
tests: reenable some qrexec tests, convert them to py3k/asyncio

ac8b8a3ad43537073f5784e124def621146fe6bf authored over 6 years ago
tests: fix time sync test

qvm-sync-clock no longer fetches time from the network, by design.
So, lets not break clockvm's ...

e26655bc823f9779f9e24485c21ab3e5883d42f1 authored over 6 years ago
tests: drop qvm-prefs tests

Those are moved to qubes-core-admin-client repository.

5a1bf11d0d49964e64f355705d833af7cbc9a6c5 authored over 6 years ago
tests: skip tests not relevant on Whonix

576bcb158e2f2f9c10d5b98abebd5aac2ffcbcc0 authored over 6 years ago
tests: improve shutdown timeout handling

Instead of waiting 1sec, wait up to 5sec but skip when vm is shut off.
This fix tests on slow ma...

556a08cb783e91085f2d0696c17331f820b8d07f authored over 6 years ago
storage/reflink: use context managers in is_supported()

Don't rely on garbage collection to close and remove the tempfiles.

5756e870bd91ddd8ed4a81e79881adeec7d8d78a authored over 6 years ago
api/admin: fix typo

867baf47d1720d85a5a8a6e355e8a64180cb1907 authored over 6 years ago
'except FileNotFoundError' instead of ENOENT check

b3983f5ef82b4b09f1699c0f518390639279cb2a authored over 6 years ago
Make log location more explicit in error message

See https://github.com/QubesOS/qubes-issues/issues/4224#issuecomment-414513721.

5aa35a1208d972f3ec3a2158ed91850e3fa0866e authored over 6 years ago
Merge remote-tracking branch 'qubesos/pr/231'

* qubesos/pr/231: (30 commits)
tests/app: test varlibqubes pool driver selection
tests/stora...

4dab76993449ccbd3ea96ac1f6c5dc39a38c1b88 authored over 6 years ago
tests/app: test varlibqubes pool driver selection

cf1ea5cee1dfbe718a3d5328f97cff3d951560c3 authored over 6 years ago
tests/storage_reflink: test some file-reflink helpers

Tested:

- _copy_file()
- _create_sparse_file()
- _resize_file()
- _update_loopd...

797bbc43a0676e3ee57e7db3d313f68d10f4085a authored over 6 years ago
tests/integ/storage: add file-reflink integration tests

b82e739346bab6fbcfb59a9f28e32be809ed1dc1 authored over 6 years ago
tests/integ/basic: use export() in get_rootimg_checksum()

volume.path and volume.export() refer to the same thing in lvm_thin and
'file', but not in file-...

8c117549ad6591d340e2408a07a3e996949a9523 authored over 6 years ago