Feature #5959
better antitesting of memory erasure
100%
Description
code the anti-test of checking that, without erasing memory, we can retrieve the known pattern. Just as we do manually.
Subtasks
Related issues
Blocks Tails - |
Resolved | ||
Blocked by Tails - |
Resolved | 2013-11-03 |
History
#1 Updated by Tails 2013-07-18 10:40:19
- Parent task set to
Feature #5690
#2 Updated by intrigeri 2013-10-03 12:36:11
- Category set to Test suite
- Starter set to No
#3 Updated by intrigeri 2013-12-28 09:30:35
- Status changed from Confirmed to In Progress
- Assignee set to intrigeri
- % Done changed from 0 to 10
- Feature Branch set to test/5959-antitest-memory-erasure
#4 Updated by intrigeri 2013-12-28 13:59:56
- % Done changed from 10 to 50
#5 Updated by intrigeri 2013-12-28 14:47:38
- Assignee changed from intrigeri to bertagaz
- QA Check set to Ready for QA
Done, works for me.
#6 Updated by intrigeri 2014-02-22 12:30:53
- Target version set to Tails_0.23
#7 Updated by intrigeri 2014-02-22 12:32:11
Reassigning to the current RM.
#8 Updated by intrigeri 2014-02-27 08:20:17
- Assignee changed from bertagaz to anonym
#9 Updated by anonym 2014-02-28 14:43:19
- Assignee changed from anonym to intrigeri
- QA Check changed from Ready for QA to Dev Needed
+ def reset
+ # ruby-libvirt 0.4 does not support the reset method.
+ # XXX: Once we use Jessie, use @domain.reset instead.
+ system("virsh reset " + @domain_name) if is_running?
+ end
For whatever reason, the TailsToaster domain isn’t present for me (also checked with virsh list
), so I get the following error in both anti-tests:
When I fill the guest's memory with a known pattern without verifying # features/step_definitions/erase_memory.rb:78
error: failed to get domain 'TailsToaster'
error: An error occurred, but the cause is unknown
And I reboot without wiping the verifying # features/step_definitions/erase_memory.rb:78
error: failed to get domain 'TailsToaster'
error: An error occurred, but the cause is unknown
And I reboot without wiping the memory # features/step_definitions/erase_memory.rb:159
FindFailed: can not find TailsBootSplashPostReset.png on the screen.
Line ?, in File ? (RuntimeError)
If I switch back to sysrq-resetting (revert commit 443d2d9) it works memory # features/step_definitions/erase_memory.rb:159
FindFailed: can not find TailsBootSplashPostReset.png on the screen.
Line ?, in File ? (RuntimeError)
If I switch back to sysrq-resetting (revert commit 443d2d9) it works fine.
#10 Updated by intrigeri 2014-03-01 14:01:33
- Assignee changed from intrigeri to anonym
- % Done changed from 50 to 60
- QA Check changed from Dev Needed to Ready for QA
Should be fixed by commit 0caac4a2.
#11 Updated by intrigeri 2014-03-01 14:49:02
- Assignee changed from anonym to intrigeri
Testing and replying to other anonym’s notes on this branch.
#12 Updated by intrigeri 2014-03-01 18:58:30
- Assignee changed from intrigeri to anonym
- % Done changed from 60 to 80
#13 Updated by anonym 2014-03-02 18:30:22
- Status changed from In Progress to Fix committed
- Assignee deleted (
anonym) - % Done changed from 80 to 100
- QA Check changed from Ready for QA to Pass
Merged!
#14 Updated by anonym 2014-03-19 07:37:00
- Status changed from Fix committed to Resolved