ansible.utils icon indicating copy to clipboard operation
ansible.utils copied to clipboard

Add unit test showing high CPU utilization when attempting to get /120 subnet

Open sebastien-rosset opened this issue 3 years ago • 5 comments

SUMMARY

Two bugs are exposed by the unit tests, one in netaddr and one in ansible.utils. The "2600:1f1c:1b3:8f00::/56" | ipsubnet(120, 0) unit test causes the ipsubnet filter to attempt to create 18446744073709551616 subnets, this never returns.

  1. https://github.com/netaddr/netaddr/issues/241
  2. #132
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ipsubnet filter

ADDITIONAL INFORMATION

sebastien-rosset avatar Jan 31 '22 16:01 sebastien-rosset

Unable to freeze job graph: Job network-ee-unit-tests depends on network-ee-build-container-image which was not run.

Unable to freeze job graph: Job network-ee-unit-tests depends on network-ee-build-container-image which was not run.

recheck

ashwini-mhatre avatar Feb 25 '22 07:02 ashwini-mhatre

Build failed.

This at the very least needs a rebase, but the changelog update is also correct- no code is changing here outside of tests, so this is at best a doc_changes, or a trivial change

Qalthos avatar Nov 04 '22 16:11 Qalthos

Closing as above changes has already been added from a different PR

roverflow avatar Jul 19 '24 10:07 roverflow