Feature: nmcli: ipv6Started: 2024-04-01 23:54:37 (1712008477)Dark modeHigh contrast toggleSummary
Passed: 0
Failed: 1
Started: 2024-04-01 23:54:37 (1712008477)
Duration: 2.85
Finished: 2024-04-01 23:54:40 (1712008480)
Expand AllCollapse AllExpand All Failed
Scenario: nmcli - ipv6 - ip6_privacy - default value
Scenario duration: 2.25s
PASS
Before scenario
(0.18s)
(1) write /tmp/pause_faf_reporting
NO DATA
(2) write /mnt/tests/NetworkManager-ci/.tmp/nmci-random-seed
3265855273
(3) Status Before Scenario
Download
(4) testeth0 check
--------------------------------------------------
(4) Command `nmcli -t -f connection,state device`
['nmcli', '-t', '-f', 'connection,state', 'device'] returned 0 in 0.011s
STDOUT:
testeth0:connected
lo:connected (externally)
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected


--------------------------------------------------
PASS
* Execute "echo 1 > /proc/sys/net/ipv6/conf/default/use_tempaddr"
(0.00s)
features/steps/commands.py:67
(5) Commands
--------------------------------------------------
(5) Command `'echo 1 > /proc/sys/net/ipv6/conf/default/use_tempaddr'`
['echo 1 > /proc/sys/net/ipv6/conf/default/use_tempaddr'] (shell) returned 0 in 0.002s

--------------------------------------------------
PASS
* Add "ethernet" connection named "con_ipv6" for device "eth10"
(0.02s)
features/steps/connection.py:8
(6) Commands
--------------------------------------------------
(6) Command `nmcli connection add type ethernet con-name con_ipv6 ifname eth10`
['nmcli', 'connection', 'add', 'type', 'ethernet', 'con-name', 'con_ipv6', 'ifname', 'eth10'] returned 0 in 0.014s
STDOUT:
Connection 'con_ipv6' (5f06c33f-9de6-4549-b33f-781ab33e7457) successfully added.


--------------------------------------------------
PASS
* Bring "up" connection "con_ipv6"
(0.22s)
features/steps/connection.py:119
(7) Commands
--------------------------------------------------
(7) Command `nmcli connection up id con_ipv6`
['nmcli', 'connection', 'up', 'id', 'con_ipv6'] returned 0 in 0.224s
STDOUT:
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/10)


--------------------------------------------------
FAIL
When "1" is visible with command "cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr"
(2.00s)
features/steps/commands.py:492
(8..12) Commands
Download
-------------------------------------------------- (8) Command `'cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'` ['cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'] (shell) returned 0 in 0.002s STDOUT: 0 -------------------------------------------------- (9) Command `'cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'` ['cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'] (shell) returned 0 in 0.002s STDOUT: 0 -------------------------------------------------- (10) Command `'cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'` ['cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'] (shell) returned 0 in 0.002s STDOUT: 0 -------------------------------------------------- (11) Command `'cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'` ['cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'] (shell) returned 0 in 0.002s STDOUT: 0 -------------------------------------------------- (12) Command `'cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'` ['cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr'] (shell) returned 0 in 0.002s STDOUT: 0 --------------------------------------------------
Error Message
Assertion Failed: Did not see the pattern "1" in 2.000s seconds, output was:
0
Error Traceback
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/behave/model.py", line 1812, in run
    match.run(runner.context)
  File "/usr/lib/python3.9/site-packages/behave/matchers.py", line 103, in run
    self.func(context, *args, **kwargs)
  File "features/steps/commands.py", line 495, in pattern_visible_command
    return check_pattern_command(context, command, pattern, seconds)
  File "features/steps/commands.py", line 350, in check_pattern_command
    assert (
AssertionError: Did not see the pattern "1" in 2.000s seconds, output was:
0

SKIP
* Create NM config file "96-nmci-custom.conf" with content
(0.00s)
[connection.ip6-privacy]
ipv6.ip6-privacy=2
SKIP
* Restart NM
(0.00s)
SKIP
* Bring "down" connection "con_ipv6"
(0.00s)
SKIP
* Bring "up" connection "con_ipv6"
(0.00s)
SKIP
When "2" is visible with command "cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr"
(0.00s)
PASS
After scenario
(0.40s)
(13) Status After Scenario
Download
(14..20) Cleanup
Download
-------------------------------------------------- (14) Command `systemctl is-active NetworkManager` ['systemctl', 'is-active', 'NetworkManager'] returned 0 in 0.004s STDOUT: active -------------------------------------------------- (15) Command `nmcli connection` ['nmcli', 'connection'] returned 0 in 0.012s STDOUT: NAME UUID TYPE DEVICE testeth0 353624b6-4a11-4913-a80e-a098b7faf623 ethernet eth0 con_ipv6 5f06c33f-9de6-4549-b33f-781ab33e7457 ethernet eth10 lo d9bcff14-c482-4de8-b4ff-3e88a942b15e loopback lo testeth1 5f0887cd-f1c7-41c2-a36f-79f469be573e ethernet -- testeth10 2cef6e79-d164-4dfc-9dcb-e0ed63000888 ethernet -- testeth2 0337e9ce-7ed5-4bf2-9c45-f9fb3d35a3e1 ethernet -- testeth3 dd4afbe7-b58e-4a4e-bb56-4cb83c57ef3d ethernet -- testeth4 fbfed072-9eb4-4d23-9572-c68170edc4f8 ethernet -- testeth5 e14eef4e-d48c-4671-b200-a30635513113 ethernet -- testeth6 006ffea4-9bad-44df-a575-cb877d658756 ethernet -- testeth7 36c384b6-61d4-49cb-9eb8-dd2c76270bc3 ethernet -- testeth8 7e11a407-9e70-499f-9758-fb4598c6cbc0 ethernet -- testeth9 4cac1087-ef00-40b1-b87a-f0a045b1670b ethernet -- -------------------------------------------------- (16) Command `nmcli connection show -a` ['nmcli', 'connection', 'show', '-a'] returned 0 in 0.012s STDOUT: NAME UUID TYPE DEVICE testeth0 353624b6-4a11-4913-a80e-a098b7faf623 ethernet eth0 con_ipv6 5f06c33f-9de6-4549-b33f-781ab33e7457 ethernet eth10 lo d9bcff14-c482-4de8-b4ff-3e88a942b15e loopback lo -------------------------------------------------- (17) Command `nmcli con show testeth0` ['nmcli', 'con', 'show', 'testeth0'] returned 0 in 0.011s STDOUT: connection.id: testeth0 connection.uuid: 353624b6-4a11-4913-a80e-a098b7faf623 connection.stable-id: -- connection.type: 802-3-ethernet connection.interface-name: eth0 connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.multi-connect: 0 (default) connection.auth-retries: -1 connection.timestamp: 1712008444 connection.permissions: -- connection.zone: public connection.controller: -- connection.master: -- connection.slave-type: -- connection.port-type: -- connection.autoconnect-slaves: -1 (default) connection.autoconnect-ports: -1 (default) connection.down-on-poweroff: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default connection.mdns: -1 (default) connection.llmnr: -1 (default) connection.dns-over-tls: -1 (default) connection.mptcp-flags: 0x0 (default) connection.wait-device-timeout: -1 connection.wait-activation-delay: -1 802-3-ethernet.port: -- 802-3-ethernet.speed: 0 802-3-ethernet.duplex: -- 802-3-ethernet.auto-negotiate: no 802-3-ethernet.mac-address: -- 802-3-ethernet.cloned-mac-address: -- 802-3-ethernet.generate-mac-address-mask:-- 802-3-ethernet.mac-address-denylist: -- 802-3-ethernet.mtu: auto 802-3-ethernet.s390-subchannels: -- 802-3-ethernet.s390-nettype: -- 802-3-ethernet.s390-options: -- 802-3-ethernet.wake-on-lan: default 802-3-ethernet.wake-on-lan-password: -- 802-3-ethernet.accept-all-mac-addresses:-1 (default) ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: -- ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: 99 ipv4.route-table: 0 (unspec) ipv4.routing-rules: -- ipv4.replace-local-rule: -1 (default) ipv4.dhcp-send-release: -1 (default) ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-iaid: -- ipv4.dhcp-dscp: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.dhcp-hostname-flags: 0x0 (none) ipv4.never-default: no ipv4.may-fail: no ipv4.required-timeout: -1 (default) ipv4.dad-timeout: -1 (default) ipv4.dhcp-vendor-class-identifier: -- ipv4.link-local: 0 (default) ipv4.dhcp-reject-servers: -- ipv4.auto-route-ext-gw: -1 (default) ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: -- ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: 99 ipv6.route-table: 0 (unspec) ipv6.routing-rules: -- ipv6.replace-local-rule: -1 (default) ipv6.dhcp-send-release: -1 (default) ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.required-timeout: -1 (default) ipv6.ip6-privacy: -1 (unknown) ipv6.temp-valid-lifetime: 0 ipv6.temp-preferred-lifetime: 0 ipv6.addr-gen-mode: eui64 ipv6.ra-timeout: 0 (default) ipv6.mtu: auto ipv6.dhcp-pd-hint: -- ipv6.dhcp-duid: -- ipv6.dhcp-iaid: -- ipv6.dhcp-timeout: 0 (default) ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.dhcp-hostname-flags: 0x0 (none) ipv6.auto-route-ext-gw: -1 (default) ipv6.token: -- proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: testeth0 GENERAL.UUID: 353624b6-4a11-4913-a80e-a098b7faf623 GENERAL.DEVICES: eth0 GENERAL.IP-IFACE: eth0 GENERAL.STATE: activated GENERAL.DEFAULT: yes GENERAL.DEFAULT6: yes GENERAL.SPEC-OBJECT: -- GENERAL.VPN: no GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/2 GENERAL.ZONE: public GENERAL.MASTER-PATH: -- IP4.ADDRESS[1]: 10.43.135.53/22 IP4.GATEWAY: 10.43.135.254 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.43.135.254, mt = 99 IP4.ROUTE[2]: dst = 10.43.132.0/22, nh = 0.0.0.0, mt = 99 IP4.DNS[1]: 10.45.248.15 IP4.DNS[2]: 10.38.5.26 IP4.DOMAIN[1]: tpb.lab.eng.brq.redhat.com IP4.DOMAIN[2]: lab.eng.brq.redhat.com IP4.DOMAIN[3]: brq.redhat.com IP4.DOMAIN[4]: redhat.com DHCP4.OPTION[1]: dhcp_client_identifier = 01:52:54:00:75:47:fa DHCP4.OPTION[2]: dhcp_lease_time = 86400 DHCP4.OPTION[3]: dhcp_server_identifier = 10.38.5.26 DHCP4.OPTION[4]: domain_name = tpb.lab.eng.brq.redhat.com lab.eng.brq.redhat.com brq.redhat.com redhat.com DHCP4.OPTION[5]: domain_name_servers = 10.45.248.15 10.38.5.26 DHCP4.OPTION[6]: expiry = 1712094844 DHCP4.OPTION[7]: filename = pxelinux.0 DHCP4.OPTION[8]: host_name = wifi9-ml5-vm4.tpb.lab.eng.brq.redhat.com DHCP4.OPTION[9]: ip_address = 10.43.135.53 DHCP4.OPTION[10]: next_server = 10.44.0.15 DHCP4.OPTION[11]: ntp_servers = 10.2.32.38 10.2.32.37 10.11.160.238 DHCP4.OPTION[12]: requested_broadcast_address = 1 DHCP4.OPTION[13]: requested_domain_name = 1 DHCP4.OPTION[14]: requested_domain_name_servers = 1 DHCP4.OPTION[15]: requested_domain_search = 1 DHCP4.OPTION[16]: requested_host_name = 1 DHCP4.OPTION[17]: requested_interface_mtu = 1 DHCP4.OPTION[18]: requested_ms_classless_static_routes = 1 DHCP4.OPTION[19]: requested_nis_domain = 1 DHCP4.OPTION[20]: requested_nis_servers = 1 DHCP4.OPTION[21]: requested_ntp_servers = 1 DHCP4.OPTION[22]: requested_rfc3442_classless_static_routes = 1 DHCP4.OPTION[23]: requested_root_path = 1 DHCP4.OPTION[24]: requested_routers = 1 DHCP4.OPTION[25]: requested_static_routes = 1 DHCP4.OPTION[26]: requested_subnet_mask = 1 DHCP4.OPTION[27]: requested_time_offset = 1 DHCP4.OPTION[28]: requested_wpad = 1 DHCP4.OPTION[29]: routers = 10.43.135.254 DHCP4.OPTION[30]: subnet_mask = 255.255.252.0 IP6.ADDRESS[1]: 2620:52:0:2b86:5054:ff:fe75:47fa/64 IP6.ADDRESS[2]: fe80::5054:ff:fe75:47fa/64 IP6.GATEWAY: fe80::f6a7:3901:5e6c:5261 IP6.ROUTE[1]: dst = 2620:52:0:2b86::/64, nh = ::, mt = 99 IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 1024 IP6.ROUTE[3]: dst = ::/0, nh = fe80::f6a7:3901:5e6c:5261, mt = 99 -------------------------------------------------- (18) Command `nmcli connection delete con_ipv6` ['nmcli', 'connection', 'delete', 'con_ipv6'] returned 0 in 0.011s STDOUT: Connection 'con_ipv6' (5f06c33f-9de6-4549-b33f-781ab33e7457) successfully deleted. -------------------------------------------------- (19) Command `ip link set eth10 up` ['ip', 'link', 'set', 'eth10', 'up'] returned 0 in 0.002s -------------------------------------------------- (20) Command `ip -l 5 addr flush eth10` ['ip', '-l', '5', 'addr', 'flush', 'eth10'] returned 0 in 0.003s --------------------------------------------------
(21) write /tmp/pause_faf_reporting
NO DATA
(22) NM
Download
(23) Status After Clean
Download
(24) STDOUT
Download
NetworkManager process id before: 175937 before_scenario ... passed in 0.174s Scenario: nmcli - ipv6 - ip6_privacy - default value * Execute "echo 1 > /proc/sys/net/ipv6/conf/default/use_tempaddr" ... passed in 0.002s * Add "ethernet" connection named "con_ipv6" for device "eth10" ... passed in 0.015s * Bring "up" connection "con_ipv6" ... passed in 0.225s When "1" is visible with command "cat /proc/sys/net/ipv6/conf/eth10/use_tempaddr" ... failed in 2.003s Assertion Failed: Did not see the pattern "1" in 2.000s seconds, output was: 0 NetworkManager process id after: 175937 (now 175937) 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.039s passed in 0.039s cleanup action nmcli-connection-con_ipv6 (priority 20) ... passed in 0.011s cleanup action iface-reset-eth10 (priority 31) ... passed in 0.105s Attaching NM log after_scenario ... passed in 0.393s