Re: [Tails-dev] [review'n'merge:1.1] #6559, #7062, #6275: te…

Delete this message

Reply to this message
Autor: anonym
Data:  
Para: The Tails public development discussion list
Assunto: Re: [Tails-dev] [review'n'merge:1.1] #6559, #7062, #6275: test/6559-adapt-test-suite-for-Wheezy
09/05/14 13:49, intrigeri wrote:
> Hi,
>
> anonym wrote (08 May 2014 15:52:25 GMT) :
>> Tickets: https://labs.riseup.net/code/issues/6559
>>          https://labs.riseup.net/code/issues/7062
>>          https://labs.riseup.net/code/issues/6275
>> Branch:  test/6559-adapt-test-suite-for-Wheezy

>
> The "the computer boots Tails" step fails for me: it does not detect
> TailsBootSplash.png. It seems that the syslinux menu is quite smaller
> than before (in --view mode, it takes about 2 thirds of the screen),


Interesting. For as long as I can remember I've got the initial boot
screen to only cover ~2/3 of the full 1024x768 for fresh boots --
fullscreen is used first when Xorg starts. Only after a reboot (e.g. in
memory_erasure.feature) does the boot splash cover all 1024x768 of the
screen, and I thought this was the reason for TailsBootSplash.png vs
TailsBootSplashPostReset.png.

Could you please elaborate on all this just so we don't misunderstand
each other, possibly by attaching screenshots of both cases to the ticket?

> presumably since the move to QXL.


For the record, I get the exact same results with QXL and cirrus (I took
screenshots and compared them to be really sure).

Could you test if the temporary change

    sed -i 's/qxl/cirrus/' features/domains/default.xml


fixes the issue (or, equivalently, reverting 353fcde)?

> Needless to say, it prevents from running 99% of the test suite
> without fixing it myself => reassigning to anonym.


By the way, are you also affected by #7171 (Test suite fails to start
Xorg with cirrus graphics device on x86_64 arch)?

Even if you are, you could use the cirrus + <cpu> workaround from #7171
to be able to run the full test suite and at least test the other things
in the branch, which may be more convenient for you depending on you
availability. For that, just apply the attached patch.

Cheers!

diff --git a/features/domains/default.xml b/features/domains/default.xml
index f65bbf5..95de247 100644
--- a/features/domains/default.xml
+++ b/features/domains/default.xml
@@ -12,6 +12,10 @@
     <apic/>
     <pae/>
   </features>
+  <cpu mode='custom' match='exact'>
+    <model fallback='allow'>SandyBridge</model>
+    <vendor>Intel</vendor>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
@@ -53,7 +57,7 @@
       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
     </sound>
     <video>
-      <model type='qxl' vram='9216' heads='1'/>
+      <model type='cirrus' vram='9216' heads='1'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
     </video>
     <memballoon model='virtio'>