Skip to content

Commit

Permalink
test: disable ostree-remount service checking since /sysroot is ro an…
Browse files Browse the repository at this point in the history
…d /var rw already
  • Loading branch information
mcattamoredhat committed Oct 8, 2024
1 parent 905df41 commit 91414f3
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions test/data/ansible/check_ostree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -479,30 +479,6 @@
dest: "{{ workspace }}/{{ commit_log }}.installed.ostree.log"
delegate_to: localhost

# case: check ostree-remount mount log
- name: check ostree-remount mount log
command: journalctl -u ostree-remount
register: result_remount_jounalctl

# Skipping playbook task in Fedora40, CS9 and RHEL 9 due to bug https://issues.redhat.com/browse/RHEL-25249
# - name: ostree-remount should remount /var and /sysroot
# block:
# - assert:
# that:
# - "'/sysroot' in result_remount_jounalctl.stdout"
# - "'/var' in result_remount_jounalctl.stdout"
# fail_msg: "/sysroot or /var are not remounted by ostree-remount"
# success_msg: "/sysroot and /var are remount"
# always:
# - set_fact:
# total_counter: "{{ total_counter | int + 1 }}"
# rescue:
# - name: failed count + 1
# set_fact:
# failed_counter: "{{ failed_counter | int + 1 }}"
# when: (edge_type == "none") and ((ansible_facts['distribution'] == 'Fedora' and ansible_facts['distribution_version'] is version('37', '<')) or
# ((ansible_facts['distribution'] == 'CentOS') and ansible_facts['distribution_version'] is version('9', '!=')) or (ansible_facts['distribution'] != 'RedHat'))

# case: check dmesg error and failed log
- name: check dmesg output
command: dmesg
Expand Down

0 comments on commit 91414f3

Please sign in to comment.