Feature: NM: dispatcher NetworkManager process id before: 69650 before_scenario ... passed in 0.571s Scenario: NM - dispatcher - track dns changes * Cleanup execute ... passed in 0.000s """ echo 'dns-resolver: config: search: [] server: [] ' | nmstatectl apply - """ * Write file "/tmp/change_global_dns.yaml" with content ... passed in 0.000s """ dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 - 8.8.8.8 - 2606:4700:4700::1111 - 8.8.4.4 """ * Start following journal ... passed in 0.413s * Commentary ... passed in 0.000s """ We modified the global dns configuration and we expect that the dispatcher event 'dns-change' will be triggered. """ * Execute "nmstatectl apply /tmp/change_global_dns.yaml" ... passed in 0.641s Then "NM_DISPATCHER_ACTION=dns-change" is visible in journal in "10" seconds ... passed in 0.232s * Start following journal ... passed in 0.007s * Commentary ... passed in 0.000s """ The dispatcher event 'dns-change' should not be triggered again, since there was no change in the dns configuration. """ * Execute "nmstatectl apply /tmp/change_global_dns.yaml" ... passed in 0.607s Then "NM_DISPATCHER_ACTION=dns-change" is not visible in journal in "10" seconds ... passed in 10.001s NetworkManager process id after: 69650 (now 69650) cleanup action cleanup-execute (priority 0) ... failed (`echo 'dns-resolver: config: search: [] server: [] ' | nmstatectl apply -` exited with 1 STDERR: 2023-12-13 09:43:47,795 root DEBUG Nmstate version: 1.4.5 2023-12-13 09:43:47,795 root DEBUG Applying desire state: STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN connected full missing enabled missing enabled STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN connected full missing enabled missing enabled STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN connected full missing enabled missing enabled Traceback (most recent call last): File "/bin/nmstatectl", line 11, in load_entry_point('nmstate==1.4.5', 'console_scripts', 'nmstatectl')() File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 74, in main return args.func(args) File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 355, in apply args.save_to_disk, File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 419, in apply_state save_to_disk=save_to_disk, File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 78, in apply validator.schema_validate(desired_state) File "/usr/lib/python3.6/site-packages/libnmstate/validator.py", line 38, in schema_validate _validate_max_supported_intface_count(data) File "/usr/lib/python3.6/site-packages/libnmstate/validator.py", line 76, in _validate_max_supported_intface_count [intface for intface in data.get(schema.Interface.KEY, ())] AttributeError: 'str' object has no attribute 'get' ) in 0.421s cleanup action tag-restart_if_needed (priority 10) ...Executing @restart_if_needed * waiting for testeth0 to connect ** we do have IPv4 complete @restart_if_needed ... passed in 0.082s passed in 0.082s cleanup action tag-restore_resolvconf (priority 10) ...Executing @restore_resolvconf reload NM service * waiting for testeth0 to connect ** we do have IPv4 complete @restore_resolvconf ... passed in 0.111s passed in 0.111s cleanup action pexpect (priority 40) ... passed in 0.102s cleanup action pexpect (priority 40) ... passed in 0.103s cleanup action file-['/tmp/change_global_dns.yaml'] (priority 70) ... passed in 0.000s Attaching NM log after_scenario ... failed in 1.058s