From 726d5686ac5b7a7a1b3ecc25bcc1a8928c8e0df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 9 Feb 2015 22:09:15 +0100 Subject: [PATCH] tests: disable qrexec_filecopy_self test When vchan connection is established back to the source domain, gntalloc crashes with this message: [ 9.937990] BUG: Bad page map in process qrexec-agent pte:80000000f9d41167 pmd:131c3067 [ 9.938010] page:ffffea00036a6638 count:1 mapcount:-1 mapping: (null) index:0xffffffffffffffff [ 9.938018] page flags: 0x4000000000000c14(referenced|dirty|reserved|private) [ 9.938033] addr:00007fa856d47000 vm_flags:140400fb anon_vma: (null) mapping:ffff880011efe940 index:11 [ 9.938042] vma->vm_ops->fault: (null) [ 9.938057] vma->vm_file->f_op->mmap: gntalloc_mmap+0x0/0x1c0 [xen_gntalloc] [ 9.938066] CPU: 0 PID: 1108 Comm: qrexec-agent Tainted: G O 3.12.23-1.pvops.qubes.x86_64 #1 [ 9.938074] ffff8800131f3818 ffff88001316fc78 ffffffff814db550 00007fa856d47000 [ 9.938085] ffff88001316fcb8 ffffffff81139413 ffff880011efe940 ffff8800131c3a38 [ 9.938096] ffffea00036a6638 00007fa856d47000 00007fa856d57000 ffff88001316fe18 [ 9.938107] Call Trace: [ 9.938117] [] dump_stack+0x45/0x56 [ 9.938126] [] print_bad_pte+0x1a3/0x240 [ 9.938133] [] unmap_page_range+0x6ee/0x7d0 [ 9.938142] [] unmap_single_vma+0x76/0xa0 [ 9.938149] [] unmap_vmas+0x49/0x90 [ 9.938157] [] exit_mmap+0x9c/0x170 [ 9.938166] [] mmput+0x5c/0x110 [ 9.938175] [] do_exit+0x27c/0xa20 [ 9.938184] [] ? vtime_account_user+0x4f/0x60 [ 9.938194] [] ? context_tracking_user_exit+0x52/0xc0 [ 9.938203] [] do_group_exit+0x3a/0xa0 [ 9.938211] [] SyS_exit_group+0xf/0x10 [ 9.938220] [] tracesys+0xdd/0xe2 --- tests/vm_qrexec_gui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/vm_qrexec_gui.py b/tests/vm_qrexec_gui.py index f0f0bcd8..918a2de2 100644 --- a/tests/vm_qrexec_gui.py +++ b/tests/vm_qrexec_gui.py @@ -326,6 +326,8 @@ class VmRunningTests(unittest.TestCase): "copy was " "denied") + @unittest.skip("Xen gntalloc driver crashes when page is mapped in the " + "same domain") def test_120_qrexec_filecopy_self(self): self.testvm1.start() p = self.testvm1.run("qvm-copy-to-vm %s /etc/passwd" %