-
Notifications
You must be signed in to change notification settings - Fork 911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_net test fail in the calico network env #4973
Comments
Why do all cali* interfaces have the MAC address ee:ee:ee:ee:ee:ee? |
Thank you for reporting this bug! 23.4.1 has been superceded by 23.4.4 -- are you able to reproduce this issue in 23.4.4 as well? |
|
cloud-init-23.4.1: |
I will use the latest version for the past two days to test it as well. |
@xiaoge1001 I expect #5012 may solve the build issues you are seeing. If you get a chance to test #5012 in your environment it will help give us a signal as to whether this resolves the issue you filed. |
Prevent disable_sysfs_net fixture from impacting TestSysDevPath and TestReadSysNet in order to avoid shared mocks of /sys/class/net. This avoid test artifact pollution for TestReadSysNet. Adapt the following tests, dropping CiTestCase to use pytest: TestDHCPDiscoveryClean, TestSysDevPath, TestReadSysNet, TestGenerateFallbackConfig, TestNetFailOver, TestConvertNetJson Fixes canonicalGH-4973
Prevent disable_sysfs_net fixture from impacting TestSysDevPath and TestReadSysNet in order to avoid shared mocks of /sys/class/net. This avoid test artifact pollution for TestReadSysNet. Adapt the following tests, dropping CiTestCase to use pytest: TestDHCPDiscoveryClean, TestSysDevPath, TestReadSysNet, TestGenerateFallbackConfig, TestNetFailOver, TestConvertNetJson Fixes canonicalGH-4973
Prevent disable_sysfs_net fixture from impacting TestSysDevPath and TestReadSysNet in order to avoid shared mocks of /sys/class/net. This avoid test artifact pollution for TestReadSysNet. Adapt the following tests, dropping CiTestCase to use pytest: TestDHCPDiscoveryClean, TestSysDevPath, TestReadSysNet, TestGenerateFallbackConfig, TestNetFailOver, TestConvertNetJson Fixes canonicalGH-4973
Prevent disable_sysfs_net fixture from impacting TestSysDevPath and TestReadSysNet in order to avoid shared mocks of /sys/class/net. This avoid test artifact pollution for TestReadSysNet. Adapt the following tests, dropping CiTestCase to use pytest: TestDHCPDiscoveryClean, TestSysDevPath, TestReadSysNet, TestGenerateFallbackConfig, TestNetFailOver, TestConvertNetJson Fixes canonicalGH-4973
Prevent disable_sysfs_net fixture from impacting TestSysDevPath and TestReadSysNet in order to avoid shared mocks of /sys/class/net. This avoid test artifact pollution for TestReadSysNet. Adapt the following tests, dropping CiTestCase to use pytest: TestDHCPDiscoveryClean, TestSysDevPath, TestReadSysNet, TestGenerateFallbackConfig, TestNetFailOver, TestConvertNetJson Fixes canonicalGH-4973
Thank you very much. I have tested the latest code and this issue have solved. |
Prevent disable_sysfs_net fixture from impacting TestSysDevPath and TestReadSysNet in order to avoid shared mocks of /sys/class/net. This avoid test artifact pollution for TestReadSysNet. Adapt the following tests, dropping CiTestCase to use pytest: TestDHCPDiscoveryClean, TestSysDevPath, TestReadSysNet, TestGenerateFallbackConfig, TestNetFailOver, TestConvertNetJson Fixes canonicalGH-4973
Prevent disable_sysfs_net fixture from impacting TestSysDevPath and TestReadSysNet in order to avoid shared mocks of /sys/class/net. This avoid test artifact pollution for TestReadSysNet. Adapt the following tests, dropping CiTestCase to use pytest: TestDHCPDiscoveryClean, TestSysDevPath, TestReadSysNet, TestGenerateFallbackConfig, TestNetFailOver, TestConvertNetJson Fixes canonicalGH-4973
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 logs
The text was updated successfully, but these errors were encountered: