Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-127256

failing test_static_ipv6_route_not_covert_auto_ip

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.1
    • nmstate
    • None
    • None
    • None
    • rhel-net-mgmt
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      None


      ( ) Integration test case is available upstream.


      ( ) Code is reviewed and merged upstream.


      ( ) Preliminary testing is done.


      ( ) Upstream documentation is written in the upstream MR.


      ( ) Release notes text is written in the RHEL issue.


      ( ) A demo is recorded

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. None ( ) Integration test case is available upstream. ( ) Code is reviewed and merged upstream. ( ) Preliminary testing is done. ( ) Upstream documentation is written in the upstream MR. ( ) Release notes text is written in the RHEL issue. ( ) A demo is recorded
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      There is a failure in the nmstate test suite

       

      =================================== FAILURES ===================================
      __________________ test_static_ipv6_route_not_covert_auto_ip ___________________
      dhcpcli_up_with_dynamic_ip = {'interfaces': [{'accept-all-mac-addresses': False, 'ethtool': {'feature':
      {'highdma': True, 'rx-checksum': True, 'rx-...': 24, 'valid-life-time': '172798sec'}
      ], 'auto-dns': True, 'auto-gateway': True, 'auto-route-table-id': 0, ...}, ...}]}
      @pytest.mark.tier1
      def test_static_ipv6_route_not_covert_auto_ip(dhcpcli_up_with_dynamic_ip):
      iface_state = dhcpcli_up_with_dynamic_ip[Interface.KEY][0]
      (pre_dhcpv4_addrs, pre_dhcpv6_addrs) = get_dhcp_addr(iface_state)
      state_yml = """---
      routes:
      config:
      
      destination: ::/0
      next-hop-interface: dhcpcli
      next-hop-address: fe80::1
      """
      desired_state = yaml.load(state_yml, Loader=yaml.SafeLoader)
      apply_with_description(
      "set the default route to fe80::1 on dhcpcli",
      desired_state,
      )
      assert _poll(_has_dhcpv4_addr)
      assert _poll(_has_dhcpv6_addr)
      current_state = statelib.show_only((DHCP_CLI_NIC,))
      (new_dhcpv4_addrs, new_dhcpv6_addrs) = get_dhcp_addr(
      current_state[Interface.KEY][0]
      )
      assert pre_dhcpv4_addrs == new_dhcpv4_addrs
      > assert pre_dhcpv6_addrs == new_dhcpv6_addrs
      E AssertionError: assert ['2001:db8:1::ac0'] == []
      E Left contains one more item: '2001:db8:1::ac0'
      E Full diff:
      E - []
      E + ['2001:db8:1::ac0']
       
      

      Full log attached.

       
      platform linux – Python 3.12.11, pytest-7.4.3, pluggy-1.3.0 – /usr/bin/python3
      cachedir: .pytest_cache
      RPMs: NetworkManager-1.54.0-1.el10 NetworkManager-libreswan-1.2.27-4.el10
      OS: CentOS Stream 10 (Coughlan)
      nmstate: nmstate-2.2.55-0.20251109.2672git4d343091.el10

              nm-team Network Management Team
              rhn-engineering-vbenes Vladimir Benes
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: