# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ignore_auto_dns_nm.yml ***************************************** 2 plays in /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tests_ignore_auto_dns_nm.yml PLAY [Run playbook 'playbooks/tests_ignore_auto_dns.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tests_ignore_auto_dns_nm.yml:6 Friday 09 February 2024 16:17:55 +0000 (0:00:00.014) 0:00:00.014 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tests_ignore_auto_dns_nm.yml:9 Friday 09 February 2024 16:17:56 +0000 (0:00:00.830) 0:00:00.845 ******* included: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml for sut TASK [Verify DNS and ping still work before el repo setup] ********************* task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 16:17:56 +0000 (0:00:00.016) 0:00:00.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 16:17:56 +0000 (0:00:00.021) 0:00:00.883 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:33 Friday 09 February 2024 16:17:56 +0000 (0:00:00.227) 0:00:01.110 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:38 Friday 09 February 2024 16:17:56 +0000 (0:00:00.218) 0:00:01.328 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:42 Friday 09 February 2024 16:17:56 +0000 (0:00:00.023) 0:00:01.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:67 Friday 09 February 2024 16:17:56 +0000 (0:00:00.021) 0:00:01.374 ******* included: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 16:17:56 +0000 (0:00:00.037) 0:00:01.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 16:17:56 +0000 (0:00:00.012) 0:00:01.424 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 16:17:56 +0000 (0:00:00.013) 0:00:01.438 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 16:17:56 +0000 (0:00:00.012) 0:00:01.451 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 16:17:56 +0000 (0:00:00.012) 0:00:01.463 ******* ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Verify DNS and ping still work after el repo setup] ********************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:71 Friday 09 February 2024 16:17:57 +0000 (0:00:00.438) 0:00:01.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tests_ignore_auto_dns_nm.yml:11 Friday 09 February 2024 16:17:57 +0000 (0:00:00.012) 0:00:01.914 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test ipv4_ignore_auto_dns and ipv6_ignore_auto_dns settings] ************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:3 Friday 09 February 2024 16:17:57 +0000 (0:00:00.012) 0:00:01.927 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:10 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:01.939 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:12 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:01.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:16 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:01.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:01.972 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:01.983 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:01.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:17:57 +0000 (0:00:00.010) 0:00:02.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:17:57 +0000 (0:00:00.010) 0:00:02.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:17:57 +0000 (0:00:00.010) 0:00:02.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:17:57 +0000 (0:00:00.010) 0:00:02.061 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:17:57 +0000 (0:00:00.010) 0:00:02.072 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.083 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:17:57 +0000 (0:00:00.012) 0:00:02.129 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:17:57 +0000 (0:00:00.010) 0:00:02.140 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:17:57 +0000 (0:00:00.010) 0:00:02.151 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:17:57 +0000 (0:00:00.010) 0:00:02.162 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the nmcli ipv4.ignore-auto-dns setting] ****************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:39 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.173 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the nmcli ipv6.ignore-auto-dns setting] ****************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:44 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the setting ipv4.ignore-auto-dns is 'no'] ******************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:49 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the setting ipv6.ignore-auto-dns is 'yes'] ******************* task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:55 Friday 09 February 2024 16:17:57 +0000 (0:00:00.012) 0:00:02.209 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Bring down test devices and profiles] ************************************ task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:66 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete interface - 'ethtest0'] ******************************************* task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:74 Friday 09 February 2024 16:17:57 +0000 (0:00:00.013) 0:00:02.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:76 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_profile_absent.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:78 Friday 09 February 2024 16:17:57 +0000 (0:00:00.011) 0:00:02.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=8 changed=0 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Friday 09 February 2024 16:17:57 +0000 (0:00:00.007) 0:00:02.264 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tests_ignore_auto_dns_nm.yml:6 Enable EPEL 6 ----------------------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:40 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.23s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:17 ---- Check if system is ostree ----------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:33 ---- Include the task 'enable_epel.yml' -------------------------------------- 0.04s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:67 ---- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:38 ---- Verify DNS and ping still work before el repo setup --------------------- 0.02s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:3 ----- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:42 ---- Include the task 'el_repo_setup.yml' ------------------------------------ 0.02s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tests_ignore_auto_dns_nm.yml:9 Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:24 ------ Bring down test devices and profiles ------------------------------------ 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:66 Create EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:8 ------- Set network provider to 'nm' -------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tests_ignore_auto_dns_nm.yml:11 Assert that the setting ipv4.ignore-auto-dns is 'no' -------------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:49 Enable EPEL 7 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:30 ------ Enable EPEL 8 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/enable_epel.yml:35 ------ Verify DNS and ping still work after el repo setup ---------------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/tasks/el_repo_setup.yml:71 ---- linux-system-roles.network : Configure networking state ----------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:137 linux-system-roles.network : Install packages --------------------------- 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Get the nmcli ipv6.ignore-auto-dns setting ------------------------------ 0.01s /WORKDIR/git-bond_options_rewrite1hc0c1jw/tests/playbooks/tests_ignore_auto_dns.yml:44 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---