Skip to content

Commit

Permalink
Show blivet log on failures of problematic CI tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwlehman committed Dec 1, 2020
1 parent 978f4d2 commit 642a053
Showing 1 changed file with 24 additions and 19 deletions.
43 changes: 24 additions & 19 deletions tests/tests_luks_pool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,25 +194,30 @@
- import_tasks: verify-data-preservation.yml

- name: Add both encryption and raid to the pool
include_role:
name: linux-system-roles.storage
vars:
storage_safe_mode: false
storage_use_partitions: true
storage_pools:
- name: foo
type: lvm
disks: "{{ unused_disks }}"
encryption: true
encryption_password: 'yabbadabbadoo'
encryption_luks_version: luks1
encryption_key_size: 512
encryption_cipher: 'serpent-xts-plain64'
raid_level: raid1
volumes:
- name: test1
mount_point: "{{ mount_location }}"
size: 4g
block:
- name: Add luks and raid to the pool
include_role:
name: linux-system-roles.storage
vars:
storage_safe_mode: false
storage_use_partitions: true
storage_pools:
- name: foo
type: lvm
disks: "{{ unused_disks }}"
encryption: true
encryption_password: 'yabbadabbadoo'
encryption_luks_version: luks1
encryption_key_size: 512
encryption_cipher: 'serpent-xts-plain64'
raid_level: raid1
volumes:
- name: test1
mount_point: "{{ mount_location }}"
size: 4g
rescue:
- name: Gather logs for debugging
shell: cat /tmp/blivet.log

- include_tasks: verify-role-results.yml

Expand Down

0 comments on commit 642a053

Please sign in to comment.