Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2460adbdef 
							
						 
					 
					
						
						
							
							tests: socket-based qrexec services  
						
						... 
						
						
						
						QubesOS/qubes-issues#3912  
					
						2020-03-10 11:56:47 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6874c7fece 
							
						 
					 
					
						
						
							
							tests/salt: don't depend on initial tags set  
						
						... 
						
						
						
						Some extensions may add tags at VM creation (guivm-*, audiovm-*). Take
this into account when calculating expected tags. 
						
					 
					
						2020-03-01 22:36:54 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ec88796129 
							
						 
					 
					
						
						
							
							tests: make audio tests less racy  
						
						... 
						
						
						
						Wait specifically for pulseaudio to start in the VM, instead of just
waiting few seconds.
Also, improve failure message to distinguish total lack of audio from
just missing few samples. 
						
					 
					
						2020-03-01 22:36:54 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8dda66d693 
							
						 
					 
					
						
						
							
							tests: fix key generation for dom0 updates tests  
						
						... 
						
						
						
						gpg2 requires explicit `%no-protection`, otherwise tries to
interactively (through gpg-agent) prompt for the passphrase. 
						
					 
					
						2020-01-17 04:50:31 +01:00 
						 
				 
			
				
					
						
							
							
								Pawel Marczewski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e69bdc5efa 
							
						 
					 
					
						
						
							
							Test file copy hang when target machine qrexec is disabled  
						
						... 
						
						
						
						See QubesOS/qubes-issues#5347 .
Fix in QubesOS/qubes-core-qrexec#15 . 
						
					 
					
						2020-01-14 15:07:42 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8965e9a8e4 
							
						 
					 
					
						
						
							
							tests/network: let xl devd bring the interfaces up  
						
						... 
						
						
						
						xl devd doesn't use startup notify, so when the service is started
(according to systemd) it may still be initializing interfaces. Add a
little sleep for that. 
						
					 
					
						2019-12-05 23:31:15 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ffa1a40e6e 
							
						 
					 
					
						
						
							
							tests/network: improve error reporting  
						
						... 
						
						
						
						Include stdout/stderr of failed command during netvm setup. 
						
					 
					
						2019-12-05 23:31:15 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							598d059c57 
							
						 
					 
					
						
						
							
							tests: check if storage driver adjust the size on import_volume/clone  
						
						... 
						
						
						
						Regression test for QubesOS/qubes-issues#4821  
						
					 
					
						2019-10-31 01:17:26 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8603571cbc 
							
						 
					 
					
						
						
							
							tests: skip networking tests for minimal templates  
						
						... 
						
						
						
						Minimal templates don't have networking packages installed by default. 
						
					 
					
						2019-10-28 03:30:49 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a1dabfefa0 
							
						 
					 
					
						
						
							
							tests: fix network re-attach tests  
						
						... 
						
						
						
						On slow systems (OpenQA), 5s isn't enough. Instead of hardcoding some
timeout, simply wait for the full VM startup. 
						
					 
					
						2019-10-13 05:58:50 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f0ae8c0454 
							
						 
					 
					
						
						
							
							tests: fix a fix for too short delay in 201_shutdown_event_race test  
						
						... 
						
						
						
						It's _domain_stopped_lock, not startup_lock. 
						
					 
					
						2019-10-13 05:58:19 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cc1ac0b859 
							
						 
					 
					
						
						
							
							tests: log stderr of paplay command  
						
						
						
					 
					
						2019-09-29 06:43:34 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							34e2f3a322 
							
						 
					 
					
						
						
							
							tests: fix sorting kernel version  
						
						... 
						
						
						
						Debian now has 4.9 and 4.19 kernels installed, so `sort -n` sorts them
wrong. 
						
					 
					
						2019-09-27 16:29:21 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4fa45dbc91 
							
						 
					 
					
						
						
							
							tests: fix (hopefully) too short delay in 201_shutdown_event_race test  
						
						... 
						
						
						
						Domain shutdown handling may take extended amount of time, especially on
slow machine (all the LVM teardown etc). Take care of it by
synchronizing using vm.startup_lock, instead of increasing constant
delay. This way, the shutdown event handler needs to be started within
3s, not finish in this time. 
						
					 
					
						2019-09-27 16:29:19 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dfa0626cea 
							
						 
					 
					
						
						
							
							tests: check event handler re-registration after libvirt restart  
						
						... 
						
						
						
						QubesOS/qubes-issues#5303  
					
						2019-09-27 16:29:19 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							273238bd2a 
							
						 
					 
					
						
						
							
							tests: fix qrexec abort test  
						
						... 
						
						
						
						Exit code depends on when exactly the other end was terminated. 
						
					 
					
						2019-09-22 23:30:38 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							05e48748d2 
							
						 
					 
					
						
						
							
							tests: update for not needing custom kernel modules anymore  
						
						... 
						
						
						
						kernel-devel package isn't needed in VMs anymore. 
						
					 
					
						2019-09-10 03:33:42 +02:00 
						 
				 
			
				
					
						
							
							
								Rusty Bird 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fe97a15d11 
							
						 
					 
					
						
						
							
							factor out utils.coro_maybe()  
						
						
						
					 
					
						2019-06-28 10:29:24 +00:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							33bf3d4506 
							
						 
					 
					
						
						
							
							tests/salt: log more details about failures  
						
						... 
						
						
						
						Log command output on failure. By default CalledProcessError
presentation do not include it. 
						
					 
					
						2019-04-13 21:51:42 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5d0f8f8efa 
							
						 
					 
					
						
						
							
							tests/mime: confirm closing Firefox  
						
						... 
						
						
						
						If Firefox is started for the first time, it will open both requested
page and its welcome page. This means closing the window will trigger a
confirmation about closing multiple tabs. Handle this. 
						
					 
					
						2019-04-13 21:50:34 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							66de41ac26 
							
						 
					 
					
						
						
							
							tests: use pkill instead of killall  
						
						... 
						
						
						
						killall isn't installed by default 
						
					 
					
						2019-04-13 16:42:37 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							75916dca5d 
							
						 
					 
					
						
						
							
							tests: fix waiting for audio recording to end  
						
						
						
					 
					
						2019-04-05 03:16:55 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fc154fbbad 
							
						 
					 
					
						
						
							
							tests: fix resource leaks - process not waited for  
						
						
						
					 
					
						2019-04-02 18:48:43 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							357231ca8f 
							
						 
					 
					
						
						
							
							tests: network reconnect after network provider shutdown/crash  
						
						... 
						
						
						
						QubesOS/qubes-issues#3642  
					
						2019-02-27 06:03:57 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							50a89aac3f 
							
						 
					 
					
						
						
							
							tests: check if page scrubbing is still enabled when switching kernel  
						
						... 
						
						
						
						QubesOS/qubes-issues#4736  
					
						2019-02-27 06:03:57 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2bd709501b 
							
						 
					 
					
						
						
							
							tests: adjust cleanup to added in-use storage pool detection on removal  
						
						
						
					 
					
						2019-02-27 06:03:57 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d8b6d3efde 
							
						 
					 
					
						
						
							
							Make add_pool/remove_pool coroutines, allow Pool.{setup,destroy} as coroutines  
						
						... 
						
						
						
						Pool setup/destroy may be a time consuming operation, allow them to be
asynchronous. Fortunately add_pool and remove_pool are used only through
Admin API, so the change does not require modification of other
components. 
						
					 
					
						2019-02-27 06:03:57 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							186702646e 
							
						 
					 
					
						
						
							
							tests: drop expectedFailure from qubes_desktop_run test  
						
						
						
					 
					
						2019-01-12 02:41:22 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							08621e7225 
							
						 
					 
					
						
						
							
							tests: grub in HVM qubes  
						
						... 
						
						
						
						Test grub in both PV and HVM. This change will also ease adding grub
test for PVH, when supported. 
						
					 
					
						2019-01-12 02:41:22 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							adc3c4daa4 
							
						 
					 
					
						
						
							
							tests: update dom0_update for new updates available flag  
						
						... 
						
						
						
						Pending updates for dom0 are now signaled the same way as for templates
- with 'updates-available' feature, not a flag file. 
						
					 
					
						2019-01-12 02:41:22 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0099aa1037 
							
						 
					 
					
						
						
							
							tests: adjust backupcompat for new maxmem handling  
						
						... 
						
						
						
						Since 4dc86310 
						
					 
					
						2019-01-06 04:33:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9f6c97596d 
							
						 
					 
					
						
						
							
							tests: updates-available notification  
						
						... 
						
						
						
						First install test-pkg-1.0, then add test-pkg-1.1 to repo and check if
updates-available flag is set. Then install updates and check if the
flag is cleared.
QubesOS/qubes-issues#2009  
						
					 
					
						2018-12-05 06:19:34 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cea9f66bc3 
							
						 
					 
					
						
						
							
							tests/network: reduce code duplication  
						
						
						
					 
					
						2018-12-05 05:42:15 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							42061cb194 
							
						 
					 
					
						
						
							
							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 exist early. On the other hand, if it hang, or
remote side fails to find the right editor (which results in GUI error
message), this change will not provide any more details. 
						
					 
					
						2018-10-29 01:20:57 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fb14f589cb 
							
						 
					 
					
						
						
							
							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 startup is completed first. 
						
					 
					
						2018-10-27 16:44:53 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4742a630f2 
							
						 
					 
					
						
						
							
							tests: use iptables --wait  
						
						... 
						
						
						
						QubesOS/qubes-issues#3665  affects also tests... 
					
						2018-10-27 16:44:53 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e244c192ae 
							
						 
					 
					
						
						
							
							tests: use /bin/uname instead of /bin/hostname as dummy output generator  
						
						... 
						
						
						
						Use something included in coreutils installed everywhere. 
						
					 
					
						2018-10-27 16:44:53 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a972c61914 
							
						 
					 
					
						
						
							
							tests: use socat instead of nc  
						
						... 
						
						
						
						socat have only one variant, so one command line syntax to handle. It's
also installed by default in Qubes VMs. 
						
					 
					
						2018-10-27 16:44:53 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4e762788a9 
							
						 
					 
					
						
						
							
							tests: check if qubes-vm@ service is disabled on domain removal  
						
						... 
						
						
						
						Test for QubesOS/qubes-issues#4014  
						
					 
					
						2018-10-27 01:43:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8dc6cb916 
							
						 
					 
					
						
						
							
							tests: use smaller root.img in backupcompatibility tests  
						
						... 
						
						
						
						1GB image easily exceed available space on openQA instances. Use 100MB
instead. 
						
					 
					
						2018-10-15 05:24:24 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fd9f2e2a6c 
							
						 
					 
					
						
						
							
							tests: type commands into specific found window  
						
						... 
						
						
						
						Make sure events are sent to specific window found with xdotool search,
not the one having the focus. In case of Whonix, it can be first
connection wizard or whonixcheck report. 
						
					 
					
						2018-10-15 05:18:42 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9e81087b25 
							
						 
					 
					
						
						
							
							tests: use improved wait_for_window in various tests  
						
						... 
						
						
						
						Replace manual `xdotool search calls` with wait_for_window(), where
compatible. 
						
					 
					
						2018-10-15 05:16:29 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3f5618dbb0 
							
						 
					 
					
						
						
							
							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 interefere in tests. 
						
					 
					
						2018-10-15 00:39:32 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							15140255d5 
							
						 
					 
					
						
						
							
							tests/integ/network: few more code style improvement  
						
						... 
						
						
						
						Remove unused imports and unused variables, add some more docstrings. 
						
					 
					
						2018-10-15 00:38:38 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							375688837c 
							
						 
					 
					
						
						
							
							tests/integ/network: add type annotations  
						
						... 
						
						
						
						Make PyCharm understand what mixin those objects are for. 
						
					 
					
						2018-10-15 00:30:17 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3b6703f2bd 
							
						 
					 
					
						
						
							
							tests: fix race condition in gui_memory_pinning test  
						
						... 
						
						
						
						Don't rely on top update timing, pause it updates for taking
screenshots. 
						
					 
					
						2018-10-14 05:48:25 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9887b925b4 
							
						 
					 
					
						
						
							
							tests: increase timeout for vm shutdown  
						
						... 
						
						
						
						start_standalone_with_cdrom_vm test essence is somewhere else, let not
fail it for just slow shutdown (LVM cleanup etc). 
						
					 
					
						2018-10-14 05:29:05 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							29a26e7d69 
							
						 
					 
					
						
						
							
							tests: make timeout it shutdown test even longer  
						
						... 
						
						
						
						Reduce false positives when testing on busy machine. 
						
					 
					
						2018-10-14 03:32:17 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3e28ccefde 
							
						 
					 
					
						
						
							
							tests: fix cleanup after backup compatibility tests  
						
						... 
						
						
						
						Allow removing VMs based on multiple prefixes at once. Removing them
separately doesn't handle all the dependencies (default_netvm, netvm)
correctly. This is needed for backup compatibility tests, where VMs are
created with `test-` prefix and `disp-tests-`. Additionally backup code
will create `disp-no-netvm`, which also may need to be removed. 
						
					 
					
						2018-10-14 03:29:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d23636fa02 
							
						 
					 
					
						
						
							
							tests: migrate qvm-block tests to core3  
						
						
						
					 
					
						2018-10-10 00:44:15 +02:00