Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e92da0e116 
							
						 
					 
					
						
						
							
							version 3.0.1  
						
						
						
					 
					
						2015-03-26 23:53:22 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c878beb25d 
							
						 
					 
					
						
						
							
							utils/block: catch an exception when talking to disconnected qubesdb  
						
						... 
						
						
						
						This can happen for example when domain disappeared in the meantime. 
						
					 
					
						2015-03-26 22:10:49 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							96cd341162 
							
						 
					 
					
						
						
							
							tests: typo fix  
						
						
						
					 
					
						2015-03-25 00:48:01 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							55f7556c41 
							
						 
					 
					
						
						
							
							tests: include dom0 update tests by default  
						
						... 
						
						
						
						Looks like an oversight. 
						
					 
					
						2015-03-25 00:47:56 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							fbd96532e8 
							
						 
					 
					
						
						
							
							tests: automatically iterate tests over templates  
						
						
						
					 
					
						2015-03-22 03:32:01 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							20e4e26111 
							
						 
					 
					
						
						
							
							tests: add missing skip if no xdotool installed  
						
						
						
					 
					
						2015-03-22 01:40:19 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							4dfb629dd8 
							
						 
					 
					
						
						
							
							Update libvirt config syntax for new version of driver domain patches  
						
						... 
						
						
						
						Finally accepted patches uses different syntax: <backenddomain name=.../> tag
instead of <source domain=.../>. 
						
					 
					
						2015-03-21 21:12:48 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							246d0f4609 
							
						 
					 
					
						
						
							
							tests: if xdotool is not installed, skip tests that uses it  
						
						
						
					 
					
						2015-03-19 23:17:34 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							370057bad3 
							
						 
					 
					
						
						
							
							tests: unlock qubes.xml after creating VMs  
						
						... 
						
						
						
						Otherwise it could cause deadlocks. 
						
					 
					
						2015-03-19 23:17:20 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							668a2ac62b 
							
						 
					 
					
						
						
							
							linux: set sgid for /var/run/qubes  
						
						... 
						
						
						
						This is much simpler than ensuring proper group set in every qubes
tool. 
						
					 
					
						2015-03-19 10:31:50 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							7463a55f0f 
							
						 
					 
					
						
						
							
							dispvm: do not require shmoverride loaded to start gui daemon  
						
						... 
						
						
						
						This isn't needed anymore because we'll show no window in invisible
mode. This allows to prepare DispVM from firstboot. 
						
					 
					
						2015-03-19 10:30:18 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							304ed1dec5 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'woju/wip-tests'  
						
						
						
					 
					
						2015-03-07 02:48:21 +01:00 
						 
				 
			
				
					
						
							
							
								Wojciech Zygmunt Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							ad7c6d0dec 
							
						 
					 
					
						
						
							
							tests/run: add option to list available tests  
						
						
						
					 
					
						2015-03-05 15:38:59 +01:00 
						 
				 
			
				
					
						
							
							
								Wojciech Zygmunt Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							95ae3f44aa 
							
						 
					 
					
						
						
							
							Revert "tests: use dot to separate test name components"  
						
						... 
						
						
						
						This reverts commit 454788d459 
						
					 
					
						2015-03-05 15:38:16 +01:00 
						 
				 
			
				
					
						
							
							
								Wojciech Zygmunt Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							f61045178a 
							
						 
					 
					
						
						
							
							tests: add --do-not-clean  
						
						
						
					 
					
						2015-03-05 15:38:10 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							74d90a2886 
							
						 
					 
					
						
						
							
							Merge branch 'dispvm-speedup3'  
						
						
						
					 
					
						2015-03-04 02:24:48 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							d6ea80eb5c 
							
						 
					 
					
						
						
							
							tests: wait before pressing ctrl-s in gedit  
						
						... 
						
						
						
						Apparently gedit doesn't handle well fast keystrokes flow. 
						
					 
					
						2015-03-04 02:21:47 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							69f8d8aecf 
							
						 
					 
					
						
						
							
							dispvm: create /qubes-restore-complete qubesdb key  
						
						... 
						
						
						
						It is used by just started DispVM to notice when restore process
completed. Alternatively it could watch its own domid, but lets do it in
Xen-independent way. 
						
					 
					
						2015-03-04 02:20:24 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							90b76b489d 
							
						 
					 
					
						
						
							
							dispvm: start gui-daemon in "invisible mode" when preparing DispVM  
						
						
						
					 
					
						2015-03-04 02:19:29 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							2eeea65ce6 
							
						 
					 
					
						
						
							
							core: do not call GUI-related RPC services, when qrexec is not running  
						
						
						
					 
					
						2015-03-04 02:18:46 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							7265cb9d0f 
							
						 
					 
					
						
						
							
							Merge branch 'dispvm-speedup' into dispvm-speedup3  
						
						... 
						
						
						
						Conflicts:
	dispvm/qubes-prepare-saved-domain.sh 
						
					 
					
						2015-03-02 03:35:15 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c5ffba8eb7 
							
						 
					 
					
						
						
							
							tests: save qubes.xml after preparing VMs to backup  
						
						
						
					 
					
						2015-02-22 18:24:18 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							1f30a03a09 
							
						 
					 
					
						
						
							
							tests: fix handling old backup format  
						
						
						
					 
					
						2015-02-22 16:18:39 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							bc9e4d1fe5 
							
						 
					 
					
						
						
							
							linux/block-snapshot: improve support for HVM domain  
						
						... 
						
						
						
						Handle stubdomains (the same device will be removed twice).
Use target domain name instead of stubdomain name for committing
template changes. 
						
					 
					
						2015-02-22 14:44:09 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							fc439edf2f 
							
						 
					 
					
						
						
							
							linux/block-snapshot: call qvm-template-commit in offline mode  
						
						... 
						
						
						
						When called from libvirt->libxl, there is libvirt lock taken on that
domain. Because of that, we can't access libvirt domain, so basically
any runtime information. Without that --offline-mode, script waited on
the lock and then was killed by libxl after a timeout - before actually
committing the changes. 
						
					 
					
						2015-02-22 04:01:18 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							54a06f3f46 
							
						 
					 
					
						
						
							
							core: add dummy QubesTemplateHVm.commit_changes  
						
						... 
						
						
						
						It does nothing as root-cow.img isn't used by HVMs (yet), but this
function is required by qvm-template-commit. 
						
					 
					
						2015-02-22 03:53:51 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							67ea5bc441 
							
						 
					 
					
						
						
							
							tests: encourage to release the lock after completing the setup  
						
						... 
						
						
						
						Many functions and especially standalone tools takes the lock itself, so
to prevent deadlocks, as a rule execute the tests with lock released.
Also reload qubes.xml before cleanup. 
						
					 
					
						2015-02-22 01:26:38 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							ae6ca5c0a3 
							
						 
					 
					
						
						
							
							core: prevent taking database lock twice  
						
						
						
					 
					
						2015-02-22 01:25:51 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							b858488719 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'woju/master'  
						
						
						
					 
					
						2015-02-21 03:09:29 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							454788d459 
							
						 
					 
					
						
						
							
							tests: use dot to separate test name components  
						
						... 
						
						
						
						This way the name can be directly copied to cmdline to rerun that
particular test. 
						
					 
					
						2015-02-21 00:39:19 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e65842322a 
							
						 
					 
					
						
						
							
							core: hold the lock after QubesVmCollection.save()  
						
						... 
						
						
						
						The statement that unlock_db() is always called directly after save() is
no longer true - tests holds the lock all the time, doing multiple saves
in the middle. 
						
					 
					
						2015-02-21 00:25:50 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							bb5099dc9b 
							
						 
					 
					
						
						
							
							Revert "tests: separate test component names with dot"  
						
						... 
						
						
						
						This reverts commit f7a47e6c66 
						
					 
					
						2015-02-19 21:32:55 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							5a9c390485 
							
						 
					 
					
						
						
							
							tests/run: fix log message formatting  
						
						
						
					 
					
						2015-02-19 21:32:43 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							3e725efe15 
							
						 
					 
					
						
						
							
							tests/run: add command line parser to runner  
						
						
						
					 
					
						2015-02-19 21:32:43 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							2b14bc88d0 
							
						 
					 
					
						
						
							
							core/modules: debug important VM changes  
						
						
						
					 
					
						2015-02-19 21:32:43 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							241cf2e089 
							
						 
					 
					
						
						
							
							core/qubes.py: ensure that all default_*vm are present in collection  
						
						... 
						
						
						
						References to invalid qids are None'd. Failure to do so may cause KeyErrors even
on fixing ntpd service during instantiation of QubesVmCollection. 
						
					 
					
						2015-02-19 21:32:43 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c37390e33f 
							
						 
					 
					
						
						
							
							tests: remove expectedFailure from test_051_qrexec_simple_eof_reverse  
						
						... 
						
						
						
						This is already fixed in R3 qrexec code. 
						
					 
					
						2015-02-19 04:03:19 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							f7a47e6c66 
							
						 
					 
					
						
						
							
							tests: separate test component names with dot  
						
						... 
						
						
						
						This way the same name can be simply copy-pasted to command line - to
rerun a single test. 
						
					 
					
						2015-02-19 03:55:31 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							7596f753d8 
							
						 
					 
					
						
						
							
							tests: add some timeout for process exit  
						
						
						
					 
					
						2015-02-19 03:54:57 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							091d02b9a3 
							
						 
					 
					
						
						
							
							tests: reload qubes.xml after save  
						
						... 
						
						
						
						This is to make sure that QubesVmCollection state is consistent with
qubes.xml - unfortunately some changes are applied to Qubes*Vm object
only at load time (for example connected_vms collections). 
						
					 
					
						2015-02-19 03:52:35 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							f7a06ae29b 
							
						 
					 
					
						
						
							
							tests: missing imports  
						
						
						
					 
					
						2015-02-18 22:49:47 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							bdae560770 
							
						 
					 
					
						
						
							
							backup: fix deadlock on error while receiving backup from a VM  
						
						... 
						
						
						
						When qfile-dom0-unpacker detects an error, it sends error report to
stdout and terminate (so stdout is closed). That close should be
transferred to the VM process (as EOF on its stdin), which will signal
it to stop sending the data and handle error report.
Also qrexec-client holds the connection until both stdin and
stdout are closed.
So when that EOF is missing, tar2qfile will not detect error report and
still tries to send the data and qrexec-client will hold the
connection while receiving process is long dead.
To prevent that deadlock from happening, close FD in python code, so
qfile-dom0-unpacker will be the last owner of write end of the pipe.
When it closes its stdout, qrexec-client will receive EOF at its stdin. 
						
					 
					
						2015-02-18 21:41:22 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							affb39f435 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'woju/master'  
						
						
						
					 
					
						2015-02-18 15:11:05 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							d81ae01d48 
							
						 
					 
					
						
						
							
							tests: add logging  
						
						... 
						
						
						
						Test suite now logs to three places:
 * syslog
 * ${HOME}/qubes-tests.log
 * /dev/kmsg (only start and errors; this is handy while debugging Oopses by
   correlating them with tests) 
						
					 
					
						2015-02-11 16:34:35 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							ef1bf9b33b 
							
						 
					 
					
						
						
							
							dispvm: fix setting up DispVM based on non-default template  
						
						... 
						
						
						
						Replace 'vmdir' symlink instead of creating new one inside of 'vmdir'
directory. 
						
					 
					
						2015-02-11 15:02:33 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							246de96dcd 
							
						 
					 
					
						
						
							
							core: make vm.rootcow_img a property  
						
						
						
					 
					
						2015-02-11 13:59:57 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							b6530200c9 
							
						 
					 
					
						
						
							
							tests: fix after Marek's review  
						
						
						
					 
					
						2015-02-11 13:15:35 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							7f75ed4d73 
							
						 
					 
					
						
						
							
							tests: runner backported from core3  
						
						
						
					 
					
						2015-02-10 23:24:24 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							226e257d2a 
							
						 
					 
					
						
						
							
							tests: refactored  
						
						
						
					 
					
						2015-02-10 23:24:24 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							cf41d94754 
							
						 
					 
					
						
						
							
							core: implement VM suspend  
						
						... 
						
						
						
						Required for proper host sleep when netvm is running. 
						
					 
					
						2015-02-10 06:45:47 +01:00