Skip to content

test_net test fail in the calico network env #4973

@xiaoge1001

Description

@xiaoge1001

Bug report

RuntimeError: duplicate mac found! both 'calixxx' and 'caliyyy' have mac 'ee:ee:ee:ee:ee:ee'.

Steps to reproduce the problem

pytest tests/unittests/test_net.py

Environment details

  • Cloud-init version:23.4.1
  • Operating System Distribution:openeuler

cloud-init logs

2024-02-27 10:05:36                 msg = "duplicate mac found! both '%s' and '%s' have mac '%s'." % (
2024-02-27 10:05:36                     name,
2024-02-27 10:05:36                     ret[mac],
2024-02-27 10:05:36                     mac,
2024-02-27 10:05:36                 )
2024-02-27 10:05:36 >               raise RuntimeError(msg)
2024-02-27 10:05:36 E               RuntimeError: duplicate mac found! both 'caliaadab05bca1' and 'cali7a099f8b737' have mac 'ee:ee:ee:ee:ee:ee'.
2024-02-27 10:05:36 
2024-02-27 10:05:36 cloudinit/net/__init__.py:987: RuntimeError

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions