Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: disable ostree-remount service checking since /sysroot is ro and /var rw already #4394

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading