test_resolved_domain_restricted_dns in networkd-test.py from systemd ADT failed with J-oem-6.0.0-1007
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned | ||
linux-oem-6.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This issue does not exist with J-oem-6.0.0-1006
With systemd 249.11-0ubuntu3.6
ubuntu@
systemd-
test_bridge_init (__main_
test_bridge_
test_bridge_
It should be possible to set the bridge port priority to 0 ... ok
test_bridge_
Test the "[Bridge]" section keys ... ok
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_hotplug_
test_hotplug_
test_resolved_
resolved: domain-restricted DNS servers ... ERROR
test_resolved_
resolved queries to /etc/hosts ... ok
test_route_only_dns (__main_
test_route_
test_transient_
networkd sets transient hostname from DHCP ... ok
test_transient_
transient hostname is not applied if static hostname exists ... ok
test_basic_matching (__main_
Verify the Name= line works throughout this class. ... ok
test_inverted_
Verify that a '!'-prefixed value inverts the match. ... ok
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_dhcp_timezone (__main_
networkd sets time zone from DHCP ... ok
test_dropin (__main_
test_hotplug_
test_hotplug_
test_route_only_dns (__main_
test_route_
test_search_domains (__main_
test_catchall_
Verify link states with a catch-all config, hot-plug. ... ok
test_catchall_
Verify link states with a catch-all config, cold-plug. ... ok
test_unmanaged_
Verify link states with Unmanaged= settings, hot-plug. ... ok
test_unmanaged_
Verify link states with Unmanaged= settings, cold-plug. ... ok
=======
ERROR: test_resolved_
resolved: domain-restricted DNS servers
-------
Traceback (most recent call last):
File "/home/
out = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
-------
Ran 35 tests in 156.268s
FAILED (errors=1, skipped=2)
Linux curly 6.0.0-1007-oem #7-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 25 18:05:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Here is the test log with J-oem-6.0.0-1006
ubuntu@
systemd-
test_bridge_init (__main_
test_bridge_
test_bridge_
It should be possible to set the bridge port priority to 0 ... ok
test_bridge_
Test the "[Bridge]" section keys ... ok
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_hotplug_
test_hotplug_
test_resolved_
resolved: domain-restricted DNS servers ... ok
test_resolved_
resolved queries to /etc/hosts ... ok
test_route_only_dns (__main_
test_route_
test_transient_
networkd sets transient hostname from DHCP ... ok
test_transient_
transient hostname is not applied if static hostname exists ... ok
test_basic_matching (__main_
Verify the Name= line works throughout this class. ... ok
test_inverted_
Verify that a '!'-prefixed value inverts the match. ... ok
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_dhcp_timezone (__main_
networkd sets time zone from DHCP ... ok
test_dropin (__main_
test_hotplug_
test_hotplug_
test_route_only_dns (__main_
test_route_
test_search_domains (__main_
test_catchall_
Verify link states with a catch-all config, hot-plug. ... ok
test_catchall_
Verify link states with a catch-all config, cold-plug. ... ok
test_unmanaged_
Verify link states with Unmanaged= settings, hot-plug. ... ok
test_unmanaged_
Verify link states with Unmanaged= settings, cold-plug. ... ok
-------
Ran 35 tests in 178.496s
OK (skipped=2)
Linux curly 6.0.0-1006-oem #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 18 20:01:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Changed in linux-oem-6.0 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-6.0 (Ubuntu Jammy): | |
status: | New → Triaged |
tags: | added: sru-20230417 |
tags: | added: kernel-adt-failure |
The offending line is: check_output( ['resolvectl' , 'query', 'math.lab'])
678 out = subprocess.
With -1006: systemd- 249.11/ test/networkd- test.py( 21)<module> () systemd- 249.11/ test/networkd- test.py: 678 network: x:100:102: systemd Network Management, ,,:/run/ systemd: /usr/sbin/ nologin _.BridgeTest) ... ok port_priority (__main_ _.BridgeTest) ... ok port_priority_ set_zero (__main_ _.BridgeTest) port_property (__main_ _.BridgeTest) dhcp_ip4_ only (__main_ _.DnsmasqClient Test) ... ok dhcp_ip4_ only_no_ ra (__main_ _.DnsmasqClient Test) ... ok dhcp_ip6 (__main_ _.DnsmasqClient Test) ... ok dhcp_yes_ ip4 (__main_ _.DnsmasqClient Test) ... ok dhcp_yes_ ip4_no_ ra (__main_ _.DnsmasqClient Test) ... ok dhcp_ip4 (__main_ _.DnsmasqClient Test) ... ok dhcp_ip6 (__main_ _.DnsmasqClient Test) ... ok domain_ restricted_ dns (__main_ _.DnsmasqClient Test) systemd- 249.11/ test/networkd- test.py( 678)test_ resolved_ domain_ restricted_ dns() check_output( ['resolvectl' , 'query', 'math.lab'])
$ sudo pdb3 ./networkd-test.py
> /home/ubuntu/
-> import errno
(Pdb) b 678
Breakpoint 1 at /home/ubuntu/
(Pdb) c
systemd-
test_bridge_init (__main_
test_bridge_
test_bridge_
It should be possible to set the bridge port priority to 0 ... ok
test_bridge_
Test the "[Bridge]" section keys ... ok
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_hotplug_
test_hotplug_
test_resolved_
resolved: domain-restricted DNS servers ... > /home/ubuntu/
-> out = subprocess.
(Pdb)
(in another terminal)
ubuntu@curly:~$ resolvectl query math.lab
math.lab: 10.241.3.3 -- link: testvpnrouter
-- Information acquired via protocol DNS in 10.4732s.
-- Data is authenticated: no; Data was acquired via local or encrypted transport: no
-- Data from: network
With -1007 systemd- 249.11/ test/networkd- test.py( 21)<module> () systemd- 249.11/ test/networkd- test.py: 678 network: x:100:102: systemd Network Management, ,,:/run/ systemd: /usr/sbin/ nologin _.BridgeTest) ... ok port_priority (__main_ _.BridgeTest) ... ok port_priority_ set_zero (__main_ _.BridgeTest) port_property (__main_ _.BridgeTest) dhcp_ip4_ only (__main_ _.DnsmasqClient Test) ... ok dhcp_ip4_ only_no_ ra (__main_ _.DnsmasqClient Test) ... ok dhcp_ip6 (__main_ _.DnsmasqClient Test) ... ok dhcp_yes_ ip4 (__main_ _.DnsmasqClient Test) ... ok dhcp_yes_ ip4_no_ ra (__main_ _.DnsmasqClient Test) ... ok dhcp_ip4 (__main_ _.DnsmasqClient Test) ... ok dhcp_ip6 (__main_ _.DnsmasqClient Test) ... ok domain_ restricted_ dns (__main_ _.DnsmasqClient Test) systemd- 249.11/ test/networkd- test.py( 678)test_ resolved_ domain_ restricted_ dns() check_output( ['resolvectl' , 'query', 'math.lab'])
$ sudo pdb3 ./networkd-test.py
> /home/ubuntu/
-> import errno
(Pdb) b 678
Breakpoint 1 at /home/ubuntu/
(Pdb) c
systemd-
test_bridge_init (__main_
test_bridge_
test_bridge_
It should be possible to set the bridge port priority to 0 ... ok
test_bridge_
Test the "[Bridge]" section keys ... ok
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_coldplug_
test_hotplug_
test_hotplug_
test_resolved_
resolved: domain-restricted DNS servers ... > /home/ubuntu/
-> out = subprocess.
(Pdb)
(in another terminal)
ubuntu@curly:~$ resolvectl query math.lab
math.lab: resolve call failed: Lookup failed due to system error: No...